soft-fp: Refactor exception handling for comparisons.
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5         (_FP_CMP_EQ): Likewise.
6         (_FP_CMP_UNORD): Likewise.
7         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8         (FP_CMP_EQ_D): Likewise.
9         (FP_CMP_UNORD_D): Likewise.
10         * soft-fp/extended.h (FP_CMP_E): Likewise.
11         (FP_CMP_EQ_E): Likewise.
12         (FP_CMP_UNORD_E): Likewise.
13         * soft-fp/quad.h (FP_CMP_Q): Likewise.
14         (FP_CMP_EQ_Q): Likewise.
15         (FP_CMP_UNORD_Q): Likewise.
16         * soft-fp/single.h (FP_CMP_S): Likewise.
17         (FP_CMP_EQ_S): Likewise.
18         (FP_CMP_UNORD_S): Likewise.
19         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32         to FP_CMP_Q.
33         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34         FP_CMP_Q.
35         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37         FP_CMP_EQ_Q.
38         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39         FP_CMP_Q.
40         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44         FP_CMP_EQ_Q.
45         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46         FP_CMP_Q.
47         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
48         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
49         FP_CMP_EQ_Q.
50         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
51         FP_CMP_Q.
52         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
53         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
54         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
55         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
56         FP_CMP_EQ_Q.
57
58         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
59         a subnormal result, set the underflow exception if trapping on
60         underflow is enabled.
61         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
62         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
63         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
64         redefine to 0.
65         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
66         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
67         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
68         * soft-fp/extendxftf2.c (__extendxftf2): Use
69         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
70
71         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
72         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
73         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
74         FP_HANDLE_EXCEPTIONS.
75         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
76         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
77         FP_HANDLE_EXCEPTIONS.
78         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
79         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
80         FP_HANDLE_EXCEPTIONS.
81         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
82         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
83         FP_HANDLE_EXCEPTIONS.
84
85 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
86
87         [BZ #14132]
88         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
89         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
90         use INTUSE.
91         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
92         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
93         Remove alias.
94         (__adjtimex): Define using libc_hidden_ver.
95         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
96         Remove declaration.
97         (ntp_gettime): Call __adjtimex directly.
98         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
99         Remove declaration.
100         (ntp_gettimex): Call __adjtimex directly.
101         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
102         __adjtimex_internal alias.
103
104 2014-10-08  Roland McGrath  <roland@hack.frob.com>
105
106         [BZ #17460]
107         * nscd/nscd.c (more_help): Rewrite list of tables collection
108         using xstrdup and asprintf.
109
110         * nscd/nscd_conf.c: Remove local xstrdup declaration.
111
112 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
113             Roland McGrath  <roland@hack.frob.com>
114
115         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
116         (do_lookup_unique): ... local function 'enter' here; update callers.
117
118 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
119
120         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
121         compat_symbol calls on [SHARED].
122         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
123         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
124         Remove.
125         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
126         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
127         (oldsetrlimit): Remove.
128         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
130         (lchown): New syscall entry.
131         (oldsetrlimit): Remove.
132         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
134         (oldsetrlimit): Remove.
135         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
136
137         [BZ #14138]
138         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
139         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
140         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
141         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
143         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
144         (fchown): Likewise.
145         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
146         (fchown): Likewise.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
148         Likewise.
149
150 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
151
152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
153         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
154         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
155         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
156         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
157         Likewise.
158         (__old_sem_post): Likewise.
159
160 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
161
162         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
163         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
164         HAVE_CLOCK_GETTIME_VSYSCALL macros.
165         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
166         Use INLINE_VSYSCALL macro.
167         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
168         __vdso_clock_gettime.
169         * sysdeps/unix/sysv/linux/tile/init-first.c
170         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
171         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
172         __vdso_clock_gettime.
173
174         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
175         to set up frame more cleanly.
176
177         * sysdeps/tile/memcmp.c: New file.
178
179         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
180
181         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
182         * sysdeps/tile/tilegx/strcasestr.c: New file.
183         * sysdeps/tile/tilegx/strnlen.c: New file.
184         * sysdeps/tile/tilegx/strstr.c: New file.
185
186         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
187
188 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
189
190         * nptl/tst-setuid3.c: Write errors to stdout.
191
192 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
193
194         * elf/dl-deps.c
195         (preload): New functions broken out of _dl_map_object_deps.
196         (_dl_map_object_deps):  Remove a nested function. Update call sites.
197
198 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
199
200         [BZ #14138]
201         * sysdeps/unix/sysv/linux/execve.c: Remove file.
202         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
203
204 2014-10-01  Steve Ellcey  <sellcey@mips.com>
205
206         * sysdeps/mips/strcmp.S: New.
207
208 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
209
210         [BZ #14138]
211         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
212         (linkat): Likewise.
213         (mkdirat): Likewise.
214         (readlinkat): Likewise.
215         (renameat): Likewise.
216         (symlinkat): Likewise.
217         (unlinkat): Likewise.
218         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
219         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
220         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
221         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
222         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
223         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
224         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
225
226 2014-09-30  Will Newton  <will.newton@linaro.org>
227
228         * math/math.h: Define long double math functions if
229         _LIBC_TEST is defined.
230         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
231
232         * localedata/Makefile: Move assignment to tests-special
233         into an ifdef testing run-built-tests.
234         * timezone/Makefile: Likewise.
235
236 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
237
238         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
239         with $(BASH) not $(SHELL).
240
241 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
242             Matthew LeGendre  <legendre1@llnl.gov>
243
244         [BZ #17411]
245         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
246         l_reloc_result.
247
248 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
249
250         * stdio-common/printf_fp.c
251         (hack_digit): New function, broken out of ...
252         (__printf_fp): ... local function here.  Update call sites.
253         hack_digit now takes an additional parameter that is a pointer
254         to a struct of the referenced locals.  Those locals moved inside
255         the struct and references updated.
256
257 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
258
259         * aclocal.m4: Require autoconf 2.69.
260         * configure: Regenerated.
261         * sysdeps/aarch64/configure: Likewise.
262         * sysdeps/alpha/configure: Likewise.
263         * sysdeps/arm/armv7/configure: Likewise.
264         * sysdeps/arm/configure: Likewise.
265         * sysdeps/ia64/configure: Likewise.
266         * sysdeps/mach/configure: Likewise.
267         * sysdeps/mips/configure: Likewise.
268         * sysdeps/s390/configure: Likewise.
269         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
271
272         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
273         file.
274         * sysdeps/ia64/configure.ac: Likewise.
275
276 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
277
278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
279         specify symbol version for ld.so.  Do not include entry for
280         libpthread.
281         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
282         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
283         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
284
285         [BZ #14171]
286         * Makeconfig [$(build-shared) = yes]
287         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
288         makefiles.
289         [$(build-shared) = yes && $(soversions.mk-done) = t]
290         ($(common-objpfx)gnu/lib-names.h): Remove rule.
291         [$(build-shared) = yes && $(soversions.mk-done) = t]
292         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
293         to Makerules.
294         [$(build-shared) = yes && $(soversions.mk-done) = t]
295         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
296         here.
297         [$(build-shared) = yes && $(soversions.mk-done) = t]
298         (common-generated): Don't append gnu/lib-names.h and
299         gnu/lib-names.stmp here.
300         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
301         (lib-names-h-abi): New variable.
302         [$(build-shared) = yes && $(soversions.mk-done) = t]
303         (lib-names-stmp-abi): Likewise.
304         [$(build-shared) = yes && $(soversions.mk-done) = t &&
305         abi-variants] (before-compile): Append
306         $(common-objpfx)$(lib-names-h-abi).
307         [$(build-shared) = yes && $(soversions.mk-done) = t &&
308         abi-variants] (common-generated): Append gnu/lib-names.h.
309         [$(build-shared) = yes && $(soversions.mk-done) = t &&
310         abi-variants] (install-others-nosubdir): Depend on
311         $(inst_includedir)/$(lib-names-h-abi).
312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
313         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
314         [$(build-shared) = yes && $(soversions.mk-done) = t]
315         ($(common-objpfx)$(lib-names-h-abi)): New rule.
316         [$(build-shared) = yes && $(soversions.mk-done) = t]
317         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
318         [$(build-shared) = yes && $(soversions.mk-done) = t]
319         (common-generated): Append $(lib-names-h-abi) and
320         $(lib-names-stmp-abi).
321         * scripts/lib-names.awk: Do not handle multi being set.
322         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
323         Remove variable.
324         (abi-lp64_be-ld-soname): Likewise.
325         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
326         Likewise.
327         (abi-hard-ld-soname): Likewise.
328         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
329         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
330         Remove variable.
331         (abi-o32_hard-ld-soname): Likewise.
332         (abi-o32_soft_2008-ld-soname): Likewise.
333         (abi-o32_hard_2008-ld-soname): Likewise.
334         (abi-n32_soft-ld-soname): Likewise.
335         (abi-n32_hard-ld-soname): Likewise.
336         (abi-n32_soft_2008-ld-soname): Likewise.
337         (abi-n32_hard_2008-ld-soname): Likewise.
338         (abi-n64_soft-ld-soname): Likewise.
339         (abi-n64_hard-ld-soname): Likewise.
340         (abi-n64_soft_2008-ld-soname): Likewise.
341         (abi-n64_hard_2008-ld-soname): Likewise.
342         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
343         Likewise.
344         (abi-64-v2-ld-soname): Likewise.
345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
346         ld.so entries.
347         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
348         variable.
349         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
350         entry.
351         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
352         variable.
353         (abi-64-ld-soname): Likewise.
354         (abi-x32-ld-soname): Likewise.
355         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
356         entry.
357         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
358
359 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
360
361         [BZ #14138]
362         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
363         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
364         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
366         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
367         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
368         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
369         syscall entry for GLIBC_2.2 symbol version.
370         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
371         Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
373         (setrlimit): Likewise.
374         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
375         Likewise.
376
377 2014-09-23  Will Newton  <will.newton@linaro.org>
378
379         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
380         _LINUX_ARM_SYSDEP_H include guard too.
381         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
382         define.
383
384 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
385
386         * sysdeps/unix/sysv/linux/eventfd.c:
387         Make first argument unsigned.
388         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
389         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
390
391 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
392
393         * socket/recvmmsg.c (recvmmsg): Drop const argument.
394         * socket/sys/socket.h: Likewise
395         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
396
397 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
398
399         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
400
401 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
402
403         * time/tst-ftime.c: New test.
404         * time/Makefile (tests): Add tst-ftime.
405
406 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
407
408         * soft-fp/extended.h: Fix comment formatting.
409         * soft-fp/op-1.h: Likewise.
410         * soft-fp/op-2.h: Likewise.
411         * soft-fp/op-4.h: Likewise.
412         * soft-fp/op-8.h: Likewise.
413         * soft-fp/op-common.h: Likewise.
414         * soft-fp/soft-fp.h: Likewise.
415
416         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
417
418 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
419
420         [BZ #6652]
421         * Makeconfig (soversions-default-setname): Remove variable.
422         ($(common-objpfx)soversions.i): Don't pass default_setname to
423         soversions.awk.
424         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
425         oldest_abi to abi-versions.awk.
426         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
427         * config.make.in (oldest-abi): Remove variable.
428         * configure.ac (--enable-oldest-abi): Remove configure option.
429         * configure: Regenerated.
430         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
431         text.
432         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
433         * scripts/soversions.awk: Do not handle default_setname variable.
434         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
435         variable.
436         * sysdeps/mach/hurd/configure: Regenerated.
437         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
438         variable.
439         * sysdeps/unix/sysv/linux/configure: Regenerated.
440
441 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
442
443         * elf/Makefile (CFLAGS-interp.c): Remove.
444         ($(elf-objpfx)runtime-linker.h): Generate header with linker
445         path string.
446         * elf/interp.c: Include generated runtime-linker.h
447
448         * Makerules (lib%.so): Don't include $(+interp) in
449         prerequisites.
450         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
451         * dlfcn/eval.c: Remove file.
452
453         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
454         macros.
455
456         [BZ #17266]
457         * misc/sys/cdefs.h: Define __extern_always_inline for clang
458         4.2 and newer.
459
460         [BZ #17370]
461         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
462
463 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
464             Jakub Jelinek  <jakub@redhat.com>
465
466         [BZ #17266]
467         * libio/stdio.h: Check definition of __fortify_function
468         instead of __extern_always_inline to include bits/stdio2.h.
469         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
470         check if __extern_always_inline is defined.
471         [__USE_MISC || __USE_XOPEN]: Likewise.
472         [__USE_ISOC99] Likewise.
473         * misc/sys/cdefs.h (__fortify_function): Define only if
474         __extern_always_inline is defined.
475         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
476         __extern_always_inline and __extern_inline only for g++-4.3
477         and newer or a compatible gcc.
478
479 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
480
481         [BZ #17371]
482         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
483         last change to handle zero prefix length.
484
485 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
486
487         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
488         _SC_REGEX_VERSION.
489
490         * posix/getconf.c (vars): Add _POSIX_IPV6 and
491         _POSIX_RAW_SOCKETS.
492
493 2014-09-13  Allan McRae  <allan@archlinux.org>
494
495         * po/ru.po: Update Russian translation from translation project.
496
497 2014-09-12  Roland McGrath  <roland@hack.frob.com>
498
499         * locale/programs/locale.c (show_locale_vars): Inline local function
500         into its sole call site.  Clean up some style nits.
501         (print_item): New function, broken out of ...
502         (show_info): ... local function here.  Clean up style nits.
503
504         * locale/programs/ld-ctype.c (set_one_default): New function, broken
505         out of ...
506         (set_class_defaults): ... local function set_default here.
507         Define set_default as a macro locally to pass constant parameters.
508         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
509         rather than a shared local.
510
511         * stdlib/rpmatch.c (try): New function, broken out of ...
512         (rpmatch): ... local function here.  Also, prototypify definition.
513
514 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
515
516         * scripts/soversions.awk: Do not handle configuration names.
517         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
518         vendor and os variables to soversions.awk.
519         * configure.ac: Do not modify gnu-* host_os.
520         * configure: Regenerated
521         * shlib-versions: Remove first column with configuration names.
522         * nptl/shlib-versions: Likewise.
523         * nptl_db/shlib-versions: Likewise.
524         * sysdeps/hppa/shlib-versions: Likewise.
525         * sysdeps/m68k/shlib-versions: Likewise.
526         * sysdeps/mach/hurd/shlib-versions: Likewise.
527         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
528         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
529         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
530         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
531         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
532         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
533         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
534         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
536         Likewise.
537         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
538         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
539         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
540         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
541         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
542         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
543         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
544         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
545
546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
547         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
549         Regenerated.
550         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
552         Condition symbol version definitions on [HAVE_ELFV2_ABI].
553
554         * shlib-versions: Remove OS-specific entries.  Moved to files in
555         sysdeps.
556         * sysdeps/mach/hurd/shlib-versions: New file.
557         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
558
559         * nptl/shlib-versions: Remove architecture-specific entries.
560         Moved to files in sysdeps.
561         * shlib-versions: Likewise.
562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
563         file.
564         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
565         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
566         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
567         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
568
569         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
570         (UDP_NO_CHECK6_RX): Likewise.
571
572 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
573
574         * sysdeps/posix/sysconf.c (__sysconf): Spell
575         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
576
577 2014-08-12  Florian Weimer  <fweimer@redhat.com>
578
579         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
580         loading.
581         * iconv/Versions (__gconv_transliterate): Export for use from
582         gconv modules.
583         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
584         (struct __gconv_trans_data, __gconv_trans_fct,
585         __gconv_trans_context_fct, __gconv_trans_query_fct,
586         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
587         definitions.
588         (struct __gconv_step_data): Remove __trans member.
589         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
590         longer hidden.  Remove unused trans_data argument.
591         * iconv/gconv_int.h (struct trans_struct): Remove definition.
592         (__gconv_translit_find): Remove declaration.
593         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
594         prototype.
595         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
596         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
597         trans_data argument.  Add hidden definition.
598         (__gconv_translit_find): Remove.
599         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
600         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
601         * iconv/skeleton.c: Remove transliteration initialization.
602         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
603         __gconv_step_data initialization.
604         * libio/iofwide.c (__libio_translit_): Remove.
605         (_IO_fwide): Adjust struct __gconv_step_data initialization.
606         * wcsmbs/btowc.c (__btowc): Likewise.
607         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
608         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
609         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
610         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
611         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
612         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
613         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
614         * wcsmbs/wctob.c (wctob): Likewise.
615
616 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
617
618         [BZ #16194]
619         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
620         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
621         register usage.
622         * sysdeps/x86/Makefile: Adjust.
623
624 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
625             Roland McGrath  <roland@hack.frob.com>
626
627         * locale/weight.h: Add include guard.
628         (findidx): Make static rather than auto; take new parameters
629         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
630         * locale/weightwc.h: Likewise.
631         * posix/fnmatch_loop.c
632         (FCT): Change type of EXTRA from int32_t to wint_t.
633         Don't include either header inside the function.
634         Call FINDIDX rather than findidx, and pass new arguments.
635         #undef FINDIDX at the end of the file.
636         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
637         FINDIDX before including fnmatch_loop.c for the non-wide version.
638         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
639         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
640         for the wide version.
641         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
642         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
643         Pass new arguments to findidx.
644         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
645         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
646         Don't #include it inside the function.  Pass new arguments to findidx.
647         * posix/regex_internal.h
648         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
649         (re_string_elem_size_at): Don't #include it inside the function.
650         Pass new arguments to findidx.
651         * string/strcoll_l.c: #include WEIGHT_H at top level.
652         (get_next_seq): Don't #include it inside the function.
653         Pass new arguments to findidx.
654         (get_next_seq_nocache): Likewise.
655         * string/strxfrm_l.c: #include WEIGHT_H at top level.
656         (STRXFRM): Don't #include it inside the function.
657         Pass new arguments to findidx.
658
659 2014-09-11  Florian Weimer  <fweimer@redhat.com>
660
661         [BZ #17344]
662         * malloc/malloc.c (unlink): Turn asserts into a call to
663         malloc_printerr.
664
665 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
666
667         [BZ #17370]
668         * libio/wfileops (do_ftell_wide): Free OUT.
669
670 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
671
672         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
673
674 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
675
676         [BZ #17363]
677         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
678         group if the current group is empty.
679
680 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681
682         * benchtests/bench-memset.c (test_main): Add more test from size
683         from 32 to 512 bytes.
684         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
685         Add POWER8 memset object.
686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
687         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
688         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
689         implementation.
690         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
691         Likewise.
692         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
693         multiarch POWER8 memset optimization.
694         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
695         POWER8 memset optimization.
696
697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
698         Remove bzero multiarch objects.
699         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
700         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
701         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
702         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
703         Remove define.
704         [__bzero]: Redefine to specific name.
705         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
706         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
707         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
708         define.
709         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
710         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
711
712 2014-09-10  Florian Weimer  <fweimer@redhat.com>
713
714         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
715         warnings into errors.
716
717         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
718         __cxa_thread_atexit_impl prototype.
719
720 2014-09-09  Steve Ellcey  <sellcey@mips.com>
721
722         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
723         Fix capitalization of error message.
724
725 2014-09-09  Steve Ellcey  <sellcey@mips.com>
726
727         * sysdeps/mips/preconfigure: Modify ABI tests.
728
729 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
730
731         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
732
733 2014-09-07  Roland McGrath  <roland@hack.frob.com>
734             Carlos O'Donell  <carlos@systemhalted.org>
735
736         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
737         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
738         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
739         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
740         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
741         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
742         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
743         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
744         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
745         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
747         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
749         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
751         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
755         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
757         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
758         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
759         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
760         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
761         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
762         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
763         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
764         Deconditionalize the code that was previously under [RESET_PID].
765         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
766         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
767         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
768         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
769         include sysdep.h.
770
771 2014-09-08  Allan McRae  <allan@archlinux.org>
772
773         * version.h (RELEASE): Set to "development".
774         (VERSION): Set to "2.20.90"
775
776 2014-09-07  Allan McRae  <allan@archlinux.org
777
778         * version.h (RELEASE): Set to "stable".
779         (VERSION): Set to "2.20"
780         * include/features.h (__GLIBC_MINOR__): Set to 20.
781
782         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
783         Liebler.
784
785         * po/ko.po: Update Korean translation from translation project.
786
787 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
788
789         [BZ #17354]
790         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
791         macro for handling signed relocations.
792
793 2014-09-03  Florian Weimer  <fweimer@redhat.com>
794
795         [BZ #17325]
796         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
797         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
798         assert.
799         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
800         * iconvdata/ibm935.c (BODY): Likewise.
801         * iconvdata/ibm937.c (BODY): Likewise.
802         * iconvdata/ibm939.c (BODY): Likewise.
803         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
804         assert.
805         * iconvdata/Makefile (iconv-test.out): Pass module list to test
806         script.
807         * iconvdata/run-iconv-test.sh: New test loop for checking for
808         decoder crashers.
809
810 2014-09-02  Khem Raj  <raj.khem@gmail.com>
811
812         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
813         libm_hidden_ver.
814
815 2014-09-01  Allan McRae  <allan@archlinux.org>
816
817         * po/eo.po: Update Esperanto translation from translation project.
818
819         * po/ca.po: Update Catalan translation from translation project.
820
821 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
822
823         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
824         __proc_dostop call.
825
826 2014-08-27  Mark Wielaard  <mjw@redhat.com>
827
828         [BZ #17319]
829         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
830         to call set_thread_area instead of hand written asm.
831         (__NR_set_thread_area): Removed define.
832         (TLS_FLAG_WRITABLE): Likewise.
833         (__ASSUME_SET_THREAD_AREA): Remove check.
834         (TLS_EBX_ARG): Remove define.
835         (TLS_LOAD_EBX): Likewise.
836
837 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
838
839         Simplify atomicity of socket creation in bind.
840
841         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
842         looking up the name after linking the file.
843
844 2014-08-27  Allan McRae  <allan@archlinux.org>
845
846         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
847
848 2014-08-26  Florian Weimer  <fweimer@redhat.com>
849
850         [BZ #17187]
851         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
852         trans_compare, open_translit, __gconv_translit_find):
853         Remove module loading code.
854
855 2014-08-26  Allan McRae  <allan@archlinux.org>
856
857         * po/vi.po: Update Vietnamese translation from translation project.
858
859         * po/uk.po: Update Ukrainian translation from translation project.
860
861         * po/fr.po: Update French translation from translation project.
862
863         * po/ru.po: Update Russian translation from translation project.
864
865         * po/pl.po: Update Polish translation from translation project.
866
867         * po/cs.po: Update Czech translation from translation project.
868
869         * po/de.po: Update German translation from translation project.
870
871         * po/bg.po: Update Bulgarian translation from translation project.
872
873         * po/sv.po: Update Sweedish translation from translation project.
874
875         * po/nl.po: Update Dutch translation from translation project.
876
877         * po/es.po: Update Spanish translation from translation project.
878
879 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
880
881         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
882
883         * catgets/Makefile (CPPFLAGS-gencat): Remove.
884         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
885         (CPPFLAGS-iconvconfig): Likewise.
886         * timezone/Makefile (CPPFLAGS-zic): Likewise.
887
888         * include/libc-symbols.h: Remove unnecessary check for
889         NOT_IN_libc.
890         * nptl/pthreadP.h: Likewise.
891         * sysdeps/aarch64/setjmp.S: Likewise.
892         * sysdeps/alpha/setjmp.S: Likewise.
893         * sysdeps/arm/sysdep.h: Likewise.
894         * sysdeps/i386/setjmp.S: Likewise.
895         * sysdeps/m68k/setjmp.c: Likewise.
896         * sysdeps/posix/getcwd.c: Likewise.
897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
898         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
899         * sysdeps/s390/s390-32/setjmp.S: Likewise.
900         * sysdeps/s390/s390-64/setjmp.S: Likewise.
901         * sysdeps/sh/sh3/setjmp.S: Likewise.
902         * sysdeps/sh/sh4/setjmp.S: Likewise.
903         * sysdeps/unix/alpha/sysdep.h: Likewise.
904         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
905         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
906         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
907         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
910         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
911         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
912         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
915         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
917         * sysdeps/x86_64/setjmp.S: Likewise.
918
919 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
920
921         [BZ #17263]
922         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
923         <stdint.h>.
924         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
925         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
926
927 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
928
929         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
930
931         [BZ #17262]
932         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
933         and __x86_64__ when disabling x87 inline functions.
934
935 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
936
937         [BZ #17259]
938         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
939         asm statement with __cpuid_count.
940
941 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
942
943         * configure.ac: Change __ehdr_start code to dereference the struct.
944         Run readelf on the output to look for relocations.
945         * configure: Regenerated.
946
947 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
948
949         [BZ #17261]
950         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
951         value to 0.
952         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
953
954 2014-08-12  Roland McGrath  <roland@hack.frob.com>
955
956         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
957
958 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
959
960         [BZ #16892]
961         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
962         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
963
964 2014-08-12  Sean Anderson  <seanga2@gmail.com>
965
966         * malloc/malloc.c: Fix typo in comment.
967
968 2014-08-09  Allan McRae  <allan@archlinux.org>
969
970         * Regenerate libc.po.
971
972 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
973
974         * intl/tst-gettext2.sh: Check every lang file for creation.
975
976 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
977
978         * sysdeps/aarch64/fpu/math_private.h
979         (libc_feholdsetround_noex_aarch64_ctx): New function.
980
981 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
982
983         * sysdeps/arm/armv6/strcpy.S (strcpy):
984         Fix performance issue in misaligned cases.
985
986 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987
988         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
989         Move definition from termios.h.
990         (struct termio): Likewise.
991         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
992         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
993         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
994         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
995         Likewise.
996         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
997         Move definition to ioctl-types.h
998         (struct termio): Likewise.
999         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1000         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1001         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1002         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1003         Likewise.
1004
1005 2014-08-05  Richard Henderson  <rth@redhat.com>
1006
1007         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1008         exceptions.
1009         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1010         Add fraiseexcpt.
1011         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1012         Use __feraiseexcept.
1013         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1014         Protect libm symbols with IS_IN_libm.
1015
1016         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1017
1018 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1019
1020         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1021
1022 2014-08-04  Will Newton  <will.newton@linaro.org>
1023
1024         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1025         file.
1026
1027 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1028
1029         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1030         variants for each function.
1031
1032 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1033
1034         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1035         appended ...
1036         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1037         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1038         appended ...
1039         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1040         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1041         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1042         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1043         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1044         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1045         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1046         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1047         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1048         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1049         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1050         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1051         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1053         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1054         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1055         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1057         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1058         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1059         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1060         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1061         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1062         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1063         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1065         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1067         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1068         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1069         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1070         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1071         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1072         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1073         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1074         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1075         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1076         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1077         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1078         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1079         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1080         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1081         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1082         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1083         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1085         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1086         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1087         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1089         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1090         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1091         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1092         Update #include.
1093         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1094         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1095
1096 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1097
1098         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1099         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1100         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1101         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1102         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1103         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1104
1105 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1106
1107         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1108         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1109         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1110         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1111
1112 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1113
1114         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1115         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1116         (__libc_vfork): Define function under this name.
1117         (__vfork): Define as an alias.
1118         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1119         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1120
1121 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1122
1123         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1124         that was previously under [RESET_PID].
1125         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1126
1127 2014-08-04  Andreas Schwab  <schwab@suse.de>
1128
1129         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1130
1131 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1132
1133         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1134         (main): Likewise.
1135
1136 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1137
1138         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1139
1140 2014-08-01  Richard Henderon  <rth@redhat.com>
1141
1142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1143         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1144         typo in exact zero test.
1145         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1146         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1148
1149 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1150
1151         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1152         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1153         * sysdeps/arm/sysdep.h: ... here.
1154         [!__ASSEMBLER__]: Include <stdint.h>.
1155
1156 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1157
1158         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1159         (HAVE_WCTYPE_H): Likewise.
1160         (HAVE_ISWCTYPE): Likewise.
1161         (ENABLE_NLS): Likewise.
1162         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1163         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1164
1165         * posix/regex_internal.c: Check if DEBUG is defined and is
1166         set.
1167
1168         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1169         (HAVE_MBSRTOWCS): Likewise.
1170         * posix/fnmatch.c: Include string.h unconditionally.
1171
1172 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1173
1174         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1175         reversal.
1176
1177 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1178
1179         * sysdeps/generic/safe-fatal.h: New file.
1180         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1181         * nptl/forward.c: Include it.
1182         (__pthread_unwind): Use __safe_fatal as default action, rather
1183         than a bogus use of INTERNAL_SYSCALL that could never work.
1184
1185         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1186         * configure.ac (libc_cv_builtin_trap): New test.
1187         * configure: Regenerated.
1188         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1189         (ABORT_INSTRUCTION): Define using __builtin_trap.
1190
1191         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1192         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1193         * sysdeps/nptl/nptl-signals.h: New file.
1194         * nptl/pthreadP.h: Include <nptl-signals.h>.
1195
1196 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1197
1198         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1199         (ONE_DIRECTION): Define.
1200         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1201         (ONE_DIRECTION): Define.
1202         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1203         (ONE_DIRECTION): Define.
1204
1205 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1206
1207         * sysdeps/s390/Makefile: Delete file.
1208         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1209         * sysdeps/s390/__longjmp.c: Delete file.
1210         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1211         Remove fields __flags and __reserved.
1212         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1213         and add versioning.
1214         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1215         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1216         * sysdeps/s390/rtld-setjmp.S: Likewise.
1217         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1218         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1219         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1220         * sysdeps/s390/s390-32/setjmp.S: ... here.
1221         Add versioning.
1222         (__sigsetjmp): Remove setting __flags field.
1223         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1224         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1225         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1226         * sysdeps/s390/s390-64/setjmp.S: ... here.
1227         Add versioning.
1228         (__sigsetjmp): Remove setting __flags field.
1229         * sysdeps/s390/setjmp.S: Delete file.
1230         * sysdeps/s390/sigjmp.c: Likewise.
1231         * sysdeps/s390/v1-longjmp.c: Likewise.
1232         * sysdeps/s390/v1-setjmp.h: Likewise.
1233         * sysdeps/s390/v1-sigjmp.c: Likewise.
1234         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1235         Remove v1-longjmp_chk.
1236         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1237         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1238         Include debug/longjmp_chk.c and add versioning.
1239         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1240         Include nptl/pt-longjmp.c and add versioning.
1241         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1242         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1243         Include __longjmp.c.
1244         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1245         Move to ...
1246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1247         (__getcontext): Remove setting __flags field.
1248         Add versioning.
1249         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1250         Don't restore upper high grps.
1251         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1252         Likewise.
1253         (__swapcontext): Remove setting uc_flags field.
1254         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1255         Delete file.
1256         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1257         Include __longjmp.c.
1258         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1259         Move to ...
1260         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1261         (__getcontext): Remove setting __flags field.
1262         Add versioning.
1263         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1264         (__swapcontext): Remove setting uc_flags field.
1265         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1266         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1267         Remove fields uc_high_gprs and __reserved.
1268         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1269         New file with reverted content.
1270         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1272         Regenerated.
1273         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1274         Regenerated.
1275
1276 2014-07-31  Andreas Schwab  <schwab@suse.de>
1277
1278         * config.h.in (HAVE_IFUNC): Define to 0.
1279         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1280         definedness.
1281
1282 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1283
1284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1285         memmove-avx-unaligned, memcpy-avx-unaligned and
1286         mempcpy-avx-unaligned.
1287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1288         Add tests for AVX memcpy functions.
1289         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1290         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1291         memcpy_chk.
1292         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1293         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1294         memmove_chk.
1295         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1296         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1297         mempcpy_chk.
1298         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1299         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1300         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1301
1302 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1303
1304         [BZ #17213]
1305         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1306         powerpc64le.
1307
1308 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1309
1310         [BZ #16839]
1311         * manual/llio.texi: Add section about open file description locks.
1312         * manual/examples/ofdlocks.c: Example of open file description
1313         lock usage.
1314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1315         F_OFD_SETLK, and F_OFD_SETLKW.
1316
1317 2014-07-23  Allan McRae  <allan@archlinux.org>
1318
1319         * po/es.po: Update Spanish translation from translation project.
1320
1321 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1322
1323         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1324
1325 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1326
1327         [BZ #17078]
1328         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1329         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1330         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1331
1332 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1333
1334         [BZ #17088]
1335         * math/fesetenv.c (__fesetenv)
1336         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1337         * math/feupdateenv.c (__feupdateenv)
1338         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1339
1340         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1341         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1342         (__ASSUME_SOCKETCALL): Do not define.
1343
1344         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1345         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1346         (__ASSUME_SOCKETCALL): Do not define.
1347         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1348         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1349         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1350         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1351         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1352         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1353         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1354         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1355
1356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1357         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1358         (__ASSUME_SOCKETCALL): Do not define.
1359         (__ASSUME_IPC64): Define unconditionally.
1360         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1361         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1362         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1364         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1366         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1367         Likewise.
1368
1369         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1370         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1371         (__ASSUME_SOCKETCALL): Do not define.
1372         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1373         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1374         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1375         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1376         (__ASSUME_REQUEUE_PI): Define unconditionally.
1377         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1378         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1379         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1380         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1382         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1383
1384         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1385         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1386         (__ASSUME_SOCKETCALL): Do not define.
1387         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1389         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1390         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1392         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1393
1394         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1395         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1396         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1397         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1399         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1400         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1401         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1402         (__ASSUME_GETCPU_SYSCALL): Likewise.
1403
1404         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1405         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1406         cases for individual architectures.
1407         * sysdeps/gnu/configure: Regenerated.
1408         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1409         LIBC_SLIBDIR_RTLDDIR.
1410         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1411         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1412         LIBC_SLIBDIR_RTLDDIR.
1413         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1415         LIBC_SLIBDIR_RTLDDIR.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1417         Regenerated.
1418         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1419         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1420         file.
1421         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1422         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1423         file.
1424         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1425         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1426         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1427         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1428
1429         * sysdeps/aarch64/shlib-versions: Move to ...
1430         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1431         * sysdeps/alpha/shlib-versions: Move to ...
1432         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1433         * sysdeps/arm/shlib-versions: Move to ...
1434         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1435         * sysdeps/hppa/shlib-versions: Move all contents except for
1436         libgcc_s entry to ...
1437         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1438         entry from ...
1439         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1440         * sysdeps/ia64/shlib-versions: Move to ...
1441         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1442         entry from ...
1443         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1444         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1445         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1446         * sysdeps/microblaze/shlib-versions: Move to ...
1447         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1448         * sysdeps/mips/shlib-versions: Move to ...
1449         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1450         entry from ...
1451         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1452         * sysdeps/tile/shlib-versions: Move to ...
1453         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1454         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1455         from ...
1456         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1457         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1458         entry from ...
1459         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1460
1461 2014-07-17  Will Newton  <will.newton@linaro.org>
1462
1463         * sysdeps/arm/bits/atomic.h
1464         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1465         (__arch_compare_and_exchange_bool_16_int): Likewise.
1466         (__arch_compare_and_exchange_bool_64_int): Likewise.
1467
1468         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1469         into an #else block.
1470
1471 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1472
1473         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1474         just Linux configurations.  Test empirically that the compiler sets
1475         __ARM_EABI__, rather than using the tuple to decide.
1476         * sysdeps/arm/preconfigure: Regenerated.
1477         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1478         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1479         contents appended ...
1480         * sysdeps/arm/configure.ac: ... here.
1481         * sysdeps/arm/configure: Regenerated.
1482
1483 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1484
1485         * nptl/pthread_kill.c: New file.
1486         * nptl/pthread_sigmask.c: New file.
1487         * nptl/pthread_sigqueue.c: New file.
1488
1489         * sysdeps/nptl/lowlevellock.h: New file.
1490         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1491         * sysdeps/nptl/lowlevellock-futex.h: New file.
1492
1493         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1494         Remove dead declarations.
1495
1496 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1497
1498         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1499         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1500         config-cflags-avx2.
1501         * sysdeps/x86_64/configure.ac: Likewise.
1502         * sysdeps/i386/configure: Regenerated.
1503         * sysdeps/x86_64/configure: Likewise.
1504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1505         memset-avx2 only if config-cflags-avx2 is yes.
1506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1507         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1508         defined.
1509         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1510         only if HAVE_AVX2_SUPPORT is defined.
1511         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1512
1513 2014-07-14  Alan Modra  <amodra@gmail.com>
1514
1515         [BZ #17153]
1516         * elf/elf.h (DT_PPC64_NUM): Correct value.
1517         * NEWS: Add to fixed bug list.
1518
1519 2014-07-13  Jim Meyering  <meyering@fb.com>
1520
1521         [BZ 17150]
1522         regex: don't deref NULL upon heap allocation failure
1523         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1524         failure in one more place.
1525         To trigger the segfault, configure grep -with-included-regex,
1526         build it, and run these commands:
1527         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1528
1529 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1530
1531         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1532
1533 2014-07-11  Richard Henderson  <rth@redhat.com>
1534
1535         * sysdeps/aarch64/libm-test-ulps: Update.
1536
1537 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1538
1539         [BZ #17135]
1540         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1541         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1542         (__nptl_setxid): Initialize error member.  Call
1543         __nptl_setxid_error.
1544         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1545         * nptl/descr.h (struct xid_command): Add error member.
1546         * nptl/tst-setuid3.c: New file.
1547         * nptl/Makefile (tests): Add it.
1548
1549 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1550
1551         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1552         New define.
1553         (__lll_trylock): Use __lll_base_trylock.
1554         (__lll_cond_trylock): Likewise.
1555
1556 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1557
1558         * nptl/pthread_create.c (start_thread): Use atomic_or and
1559         lll_futex_wake directly rather than lll_robust_dead.
1560         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1561         (lll_robust_dead): Macro removed.
1562         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1563         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1564         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1565         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1566         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1567         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1568         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1569         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1572         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1573         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1574         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1575         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1576         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1577
1578         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1579         Use atomic_compare_and_exchange_val_acq directly rather than
1580         lll_robust_trylock.
1581         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1582         (__lll_robust_trylock, lll_robust_trylock): Removed.
1583         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1584         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1585         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1586         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1587         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1588         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1589         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1590         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1591         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1592         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1593         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1594         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1595         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1597
1598 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1599
1600         * manual/locale.texi (Locale Names): New section documenting
1601         locale name syntax.  Adjust menu and node chaining accordingly.
1602         (Choosing Locale): Reference Locale Names, Locale Categories.
1603         Mention setting LC_ALL=C.  Reflect that name syntax is now
1604         documented.
1605         (Locale Categories): New section title.  Reference Locale Names.
1606         LC_ALL is an environment variable, but not a category.
1607         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1608         description, now in Locale Name.  Reference that section.  Locale
1609         name syntax is now documented.
1610
1611 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1612
1613         [BZ #17137]
1614         * locale/findlocale.c (name_present, valid_locale_name): New
1615         functions.
1616         (_nl_find_locale): Use the loc_name variable to store name
1617         candidates.  Call name_present and valid_locale_name to check and
1618         validate locale names.  Return an error if the locale is invalid.
1619
1620 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1621
1622         * locale/setlocale.c (setlocale): Use strdup for allocating
1623         composite name copy.
1624
1625 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1626
1627         Sync up with gnulib.
1628         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1629         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1630         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1631         and _GL_ARG_NONNULL.
1632         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1633         [!_LIBC]: Include code for Windows and Cygwin.
1634         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1635         Include prototype for int strerror_r.
1636         [!_LIBC] (is_open): New function.
1637         (flush_stdout): New function.
1638         (print_errno_message): Use it.
1639         (error): Likewise.
1640         (error_at_line): Likewise.
1641         (error_tail) Add function attribute macros.  Use
1642         __builtin_expect.
1643
1644         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1645
1646         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1647
1648         * io/ftw.c: Include sys/param.h unconditionally.
1649
1650         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1651
1652         [BZ #17125]
1653         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1654         libc_freeres_ptr.
1655         (freecache): New function to free CACHE on exit.
1656
1657         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1658         initialization.
1659
1660 2014-07-09  David S. Miller  <davem@davemloft.net>
1661
1662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1663
1664         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1665         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1666         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1667         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1668         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1669         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1670         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1671         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1672         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1673         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1674         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1675         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1676         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1677
1678 2014-07-09  Andreas Schwab  <schwab@suse.de>
1679
1680         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1681         output.
1682         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1683         (do_test): Likewise.
1684
1685         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1686
1687 2014-07-09  Will Newton  <will.newton@linaro.org>
1688
1689         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1690         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1691         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1692         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1693         * sysdeps/hppa/start.S (_start): Likewise.
1694
1695 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1696
1697         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1698
1699         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1700         defined.
1701
1702 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1703
1704         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1705         after checking that it is non-NULL.
1706
1707         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1708
1709 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1710
1711         * sysdeps/powerpc/memmove.c: Remove file.
1712         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1713         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1715         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1717         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1719         string memmove instead of removed powerpc one.
1720
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1722         [weak_alias]: Fix compiler warning due trailing data.
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1724         [weak_alias]: Likewise.
1725         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1726         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1727
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1729         (__libc_ifunc_impl_list): Add memmove functions.
1730
1731 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1732
1733         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1734         Remove code.
1735         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1736         Likewise
1737         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1738         Likewise
1739         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1740         Likewise
1741         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1742         Likewise
1743         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1744         Likewise
1745         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1746         Likewise
1747         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1748         Likewise
1749         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1750         Likewise
1751         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1752         Likewise
1753         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1754         Likewise
1755         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1756         Likewise
1757         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1758         Likewise
1759         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1760         Likewise
1761         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1762         Likewise
1763         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1764         Likewise
1765         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1766         Likewise
1767
1768 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1769
1770         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1771         to avoid alignment traps in non-cacheable memory.
1772         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1773
1774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1775         multiarch objects.
1776         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1777         file: multiarch power7 memmove.
1778         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1779         multiarch default memmove.
1780         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1781         multiarch memove for powerpc32/power4.
1782
1783         * string/bcopy.c: Use full path to include memmove.c.
1784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1785         multiarch objects.
1786         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1787         bcopy for powerpc64.
1788         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1789         bcopy for powerpc64.
1790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1791         and memmove implementations.
1792         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1793         optimized multiarch memmove for POWER7/powerpc64.
1794         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1795         default multiarch memmove for powerpc64.
1796         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1797         multiarch for powerpc64.
1798         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1799         for POWER7/powerpc64.
1800         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1801         memmove for POWER7/powerpc64.
1802
1803         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1804         glibc default one.
1805
1806         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1807         __ELF_NATIVE_CLASS equal to 64.
1808
1809 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1810
1811         * sysdeps/nptl/lowlevellock.h: File removed.
1812
1813         * NEWS: NPTL is no longer an add-on!
1814         * nptl/internaltypes.h: Moved ...
1815         * sysdeps/nptl/internaltypes.h: ... here.
1816         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1817         * sysdeps/nptl/fork.c: Likewise.
1818         * sysdeps/nptl/gai_misc.h: Likewise.
1819         * sysdeps/nptl/librt-cancellation.c: Likewise.
1820         * sysdeps/nptl/jmp-unwind.c: Likewise.
1821         * sysdeps/nptl/setxid.h: Likewise.
1822         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1823         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1824         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1825         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1826         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1827         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1828         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1829         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1830         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1831         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1832         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1833         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1834         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1835         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1836         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1837         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1838         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1839         * nptl/Makeconfig: Moved ...
1840         * sysdeps/nptl/Makeconfig: ... here.
1841         * nptl/configure: File removed.
1842         * nptl/ANNOUNCE: File removed.
1843         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1844         * sysdeps/unix/sysv/linux/configure: Regenerated.
1845
1846         * nptl/Makefile (routines): Add libc_pthread_init,
1847         libc_multiple_threads, register-atfork and unregister-atfork.
1848         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1849         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1850         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1851         pthread-pi-defines.sym, structsem.sym.
1852         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1853         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1854         [$(subdir) = nptl] (tests): Add tst-setgetname.
1855         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1856         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1857         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1858         [!LIBC_SIGACTION]: Remove aliases.
1859         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1860         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1861         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1862         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1863         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1864         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1865         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1866         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1867         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1868         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1869         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1870         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1871         __libc_allocate_rtsig_private.
1872         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1873         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1874         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1875         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1876         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1877         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1878         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1879         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1880         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1881         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1882         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1883         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1884         * nptl/internaltypes.h: ... here.
1885         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1886         * sysdeps/nptl/jmp-unwind.c: ... here.
1887         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1888         * nptl/libc-lowlevellock.c: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1890         * nptl/libc_multiple_threads.c: ... here.
1891         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1892         * nptl/libc_pthread_init.c: ... here.
1893         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1894         * nptl/lowlevelbarrier.sym: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1896         * nptl/lowlevelcond.sym: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1898         * nptl/lowlevellock.c: ... here.
1899         * nptl/lowlevellock.h: Moved ...
1900         * sysdeps/nptl/lowlevellock.h: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1902         * nptl/lowlevelrobustlock.c: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1904         * nptl/lowlevelrobustlock.sym: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1906         * nptl/lowlevelrwlock.sym: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1908         * nptl/pt-fork.c: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1910         * nptl/pthread-pi-defines.sym: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1912         * nptl/pthread_attr_getaffinity.c: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1914         * nptl/pthread_attr_setaffinity.c: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1916         * nptl/pthread_mutex_cond_lock.c: ... here.
1917         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1918         Update #include.
1919         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1920         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1921         * nptl/pthread_once.c: ... here, replacing old file.
1922         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1923         * nptl/pthread_yield.c: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1925         * nptl/register-atfork.c: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1927         * nptl/sem_post.c: ... here.
1928         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1929         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1930         * nptl/sem_timedwait.c: ... here.
1931         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1932         * nptl/sem_trywait.c: ... here.
1933         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1934         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1935         * nptl/sem_wait.c: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1937         * nptl/structsem.sym: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1939         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1940         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1941         * nptl/unregister-atfork.c: ... here.
1942         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1943         * nptl/unwindbuf.sym: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1945         * sysdeps/nptl/fork.c: ... here.
1946         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1947         * sysdeps/nptl/fork.h: ... here.
1948         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1949         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1950         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1951         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1952         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1954         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1956         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1957         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1958         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1959         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1960         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1961         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1962         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1963         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1964         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1965         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1966         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1967         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1968         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1969         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1970         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1971         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1972         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1974         * sysdeps/unix/sysv/linux/raise.c: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1976         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1977         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1978         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1980         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1982         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1984         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1985         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1986         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1988         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1989         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1990
1991 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1992
1993         * sysdeps/generic/memcopy.h: Add comment for
1994         MEMCPY_OK_FOR_FWD_MEMMOVE.
1995
1996 2014-07-04  Will Newton  <will.newton@linaro.org>
1997
1998         * string/memchr.c: Merge from gnulib.
1999         [_LIBC]: Remove conditionals.
2000         (__ptr_t): Remove define.
2001         (LONG_MAX_32_BITS): Likewise.
2002         (LONG_MAX): Likewise.
2003         (MEMCHR): Use ANSI prototype and optimize algorithm.
2004
2005         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2006
2007 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2008
2009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2010         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2011
2012         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2013         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2014         in a bare environment with no <stdlib.h> installed.
2015         * sysdeps/nptl/configure: Regenerated.
2016
2017         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2018
2019         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2020         AC_EGREP_CPP for kernel header checks, so they only succeed if
2021         including <linux/version.h> actually works right.
2022         * sysdeps/unix/sysv/linux/configure: Regenerated.
2023
2024         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2025         value so it's not diagnosed as unused.
2026
2027         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2028         thing) with "ifeq ($(subdir),rt)".
2029
2030 2014-07-03  Richard Henderson  <rth@redhat.com>
2031
2032         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2033         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2034         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2035
2036         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2037         (math_force_eval): New.
2038
2039         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2040         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2041
2042         * sysdeps/alpha/fpu/s_round.c: Remove file.
2043         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2044
2045         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2046         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2047         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2048         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2049         (_dl_start, print_statistics): Likewise.
2050         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2051         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2052
2053         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2054         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2055         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2056         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2058         (HP_SMALL_TIMING_AVAIL): Define.
2059         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2060         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2061         (HP_SMALL_TIMING_AVAIL): Define.
2062         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2063         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2064
2065         * sysdeps/aarch64/hp-timing.h: New file.
2066
2067         * sysdeps/generic/hp-timing.h: Remove dead comment.
2068         * sysdeps/generic/hp-timing-common.h: New file.
2069         * sysdeps/alpha/hp-timing.h: Include it.
2070         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2071         * sysdeps/i386/i686/hp-timing.h: Likewise.
2072         * sysdeps/ia64/hp-timing.h: Likewise.
2073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2074         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2075         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2076         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2077         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2078         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2079         (hp_timing_t): New.
2080
2081         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2082         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2083         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2084         * elf/rtld.c (_dl_start_final): Likewise.
2085         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2086         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2087         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2088         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2089         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2090         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2091         (HP_TIMING_DIFF_INIT): Remove.
2092         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2094         (HP_TIMING_DIFF_INIT): Remove.
2095         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2096         * sysdeps/i386/i686/hp-timing.c: Remove file.
2097         * sysdeps/x86_64/hp-timing.c: Remove file.
2098         * sysdeps/ia64/hp-timing.c: Remove file.
2099         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2100         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2102         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2103
2104         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2105         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2106         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2107         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2109         (HP_TIMING_ACCUM): Remove.
2110         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2111         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2112         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2113
2114         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2115         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2116         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2117         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2118         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2119         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2120         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2121         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2122
2123         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2124
2125 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2126
2127         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2128
2129 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2130
2131         Sync up with gettext.
2132         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2133         [_MSC_VER]: Include malloc.h
2134         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2135         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2136         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2137         TEMP_FAILURE_RETRY.  Cast return of alloca.
2138         [!_LIBC] Call gl_rwlock_init.
2139         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2140
2141 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2142
2143         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2144         before checking its value.
2145
2146 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2147
2148         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2149
2150         * debug/memcpy_chk.c: Don't include pagecopy.h.
2151         * debug/mempcpy_chk.c: Likewise.
2152         * string/memcpy.c: Likewise.
2153         * string/memmove.c: Likewise.
2154         * sysdeps/powerpc/memmove.c: Likewise.
2155         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2156         definition of PAGE_COPY_FWD_MAYBE here...
2157         * sysdeps/generic/pagecopy.h: ... from here.
2158         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2159
2160 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2161             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2162
2163         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2165         optimizations.
2166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2167         (__libc_ifunc_impl_list): Likewise.
2168         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2169         multiarch strcat for PPC64.
2170         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2171         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2172
2173 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2174
2175         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2176
2177 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2178
2179         * intl/loadmsgcat.c: Remove declaration of
2180         get_sysdep_segment_value.
2181         (get_sysdep_segment_value): Use ISO C style.
2182         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2183         semicolon.  Fix typo and formatting in comment.
2184         (_nl_unload_domain): Use ISO C style.
2185
2186         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2187
2188 2014-07-02  Will Newton  <will.newton@linaro.org>
2189
2190         * malloc/obstack.c: Merge from gnulib master.
2191         [HAVE_CONFIG_H]: Remove conditional code.
2192         [!_LIBC]: Include config.h.
2193         [!ELIDE_CODE]: Don't include inttypes.h, include
2194         stdint.h unconditionally.
2195         (print_and_abort): Mark as _Noreturn.
2196         (_obstack_allocated_p): Mark as __attribute_pure__.
2197         (obstack_free): Rename to __obstack_free.
2198         [!__attribute__]: Remove conditional code.
2199         * malloc/obstack.h: Merge from gnulib master.
2200         [__cplusplus]: Move conditional down.
2201         [!__attribute_pure__]: Define __attribute_pure__ here
2202         if it is not already defined.
2203         (_obstack_memory_used): Mark as __attribute_pure__.
2204         [!__obstack_free]: Define as obstack_free.
2205         [__GNUC__]: Remove check for ancient NeXT gcc.
2206
2207 2014-07-02  Will Newton  <will.newton@linaro.org>
2208             Paul Eggert  <eggert@cs.ucla.edu>
2209
2210         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2211
2212 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2213
2214         * resolv/gethnamaddr.c: Add comment warning that the file is
2215         not maintained.
2216
2217 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2218
2219         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2220         entries.
2221
2222         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2223         entry for aio_cancel and aio_cancel64.
2224         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2225         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2226         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2227         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2228         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2229         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2230         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2231         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2232         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2233         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2234         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2235         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2236         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2237
2238 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2239
2240         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2241         * nptl/pthread_mutex_lock.c: Likewise.
2242         * nptl/pthread_mutex_timedlock.c: Likewise.
2243         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2244
2245 2014-07-01  Richard henderson  <rth@redhat.com>
2246
2247         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2248         (__isnan, __isnanl): Remove.
2249         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2250
2251         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2252
2253 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2254
2255         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2256
2257 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2258
2259         * resolv/nss_dns/dns-host.c (getanswer_r)
2260         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2261
2262 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2263
2264         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2265         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2266         undefine.
2267         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2268         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2269
2270 2014-07-01  Roland McGrath <roland@hack.frob.com>
2271
2272         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2273         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2274
2275         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2276         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2277
2278         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2280         ... here.
2281         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2282         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2283
2284         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2285         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2286         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2287         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2288
2289         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2290         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2291         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2292         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2294         Moved ...
2295         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2296         ... here.
2297         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2304         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2305         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2306         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2316         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2317         ... here.
2318         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2321         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2322         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2323         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2324         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2325         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2326
2327 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2328
2329         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2330         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2331         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2332         Add sysdep.
2333
2334 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335
2336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2337
2338 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2339
2340         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2341         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2342
2343         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2344
2345         * sysdeps/arm/libm-test-ulps: Regenerated.
2346
2347 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2348             Roland McGrath <roland@hack.frob.com>
2349
2350         * test-skeleton.c (signal_handler): Kill the whole process group
2351         before killing the child individually.
2352         (main): Report any failure on `setpgid'.
2353
2354 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2355
2356         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2357         from _TLS_H to _ARM_NPTL_TLS_H.
2358         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2359         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2360
2361 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2362
2363         [BZ #16539]
2364         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2365         (__expm1l): Return argument unchanged when small but not
2366         subnormal.
2367
2368         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2369         include macro name.
2370         (_FP_UNPACK_RAW_1_P): Likewise.
2371         (_FP_PACK_RAW_1): Likewise.
2372         (_FP_PACK_RAW_1_P): Likewise.
2373         (_FP_MUL_MEAT_1_wide): Likewise.
2374         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2375         (_FP_MUL_MEAT_1_hard): Likewise.
2376         (_FP_DIV_MEAT_1_imm): Likewise.
2377         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2378         (_FP_DIV_MEAT_1_udiv): Likewise.
2379         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2380         (_FP_UNPACK_RAW_2): Likewise.
2381         (_FP_UNPACK_RAW_2_P): Likewise.
2382         (_FP_PACK_RAW_2): Likewise.
2383         (_FP_PACK_RAW_2_P): Likewise.
2384         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2385         (_FP_MUL_MEAT_2_wide): Likewise.
2386         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2387         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2388         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2389         (_FP_MUL_MEAT_2_gmp): Likewise.
2390         (_FP_DIV_MEAT_2_udiv): Likewise.
2391         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2392         (_FP_FRAC_SRL_4): Likewise.
2393         (_FP_FRAC_SRST_4): Likewise.
2394         (_FP_FRAC_SRS_4): Likewise.
2395         (_FP_UNPACK_RAW_4): Likewise.
2396         (_FP_UNPACK_RAW_4_P): Likewise.
2397         (_FP_PACK_RAW_4): Likewise.
2398         (_FP_PACK_RAW_4_P): Likewise.
2399         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2400         (_FP_MUL_MEAT_4_wide): Likewise.
2401         (_FP_MUL_MEAT_4_gmp): Likewise.
2402         (umul_ppppmnnn): Likewise.
2403         (_FP_DIV_MEAT_4_udiv): Likewise.
2404         (__FP_FRAC_ADD_4): Likewise.
2405         (__FP_FRAC_SUB_3): Likewise.
2406         (__FP_FRAC_SUB_4): Likewise.
2407         (__FP_FRAC_DEC_3): Likewise.
2408         (__FP_FRAC_DEC_4): Likewise.
2409         (__FP_FRAC_ADDI_4): Likewise.
2410         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2411         (_FP_FRAC_SRL_8): Likewise.
2412         (_FP_FRAC_SRS_8): Likewise.
2413
2414         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2415         include macro name.
2416         (FP_UNPACK_RAW_EP): Likewise.
2417         (FP_PACK_RAW_E): Likewise.
2418         (FP_PACK_RAW_EP): Likewise.
2419         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2420         (_FP_ISSIGNAN): Likewise.
2421         (_FP_ADD_INTERNAL): Likewise.
2422         (_FP_FMA): Likewise.
2423         (_FP_CMP): Likewise.
2424         (_FP_SQRT): Likewise.
2425         (_FP_TO_INT): Likewise.
2426         (_FP_FROM_INT): Likewise.
2427         (FP_EXTEND): Likewise.
2428         (_FP_DIV_MEAT_N_loop): Likewise.
2429
2430 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2431
2432         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2433         throughout.
2434
2435 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2436
2437         [BZ #17097]
2438         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2439         result with correct sign in case of exponents that produce
2440         overflow except for X very close to 1.
2441
2442 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2443
2444         mktime: merge #if/#ifdef usage from glibc
2445         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2446         as that works with both Glibc's and Gnulib's style.
2447         See thread starting at Siddhesh Poyarekar's bug report at:
2448         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2449
2450 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2451
2452         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2453         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2454         * sysdeps/tile/tilegx/memmove.c: Remove file.
2455
2456 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2457
2458         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2459         abi-name definition.
2460         * scripts/soversions.awk: Do not handle or generate ABI lines.
2461         * shlib-versions: Remove ABI entries.
2462         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2463         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2464
2465 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2466
2467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2468         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2469         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2472         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2474         Moved ...
2475         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2476         ... here.
2477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2478         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2480         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2482         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2484         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2486         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2488         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2490         Moved ...
2491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2493         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2495         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2497         Moved ...
2498         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2500         Moved ...
2501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2505         Moved ...
2506         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2508         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2510         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2512         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2514         Moved ...
2515         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2517         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2519         Moved ...
2520         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2522         Moved ...
2523         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2527         Moved ...
2528         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2529         ... here.
2530         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2531         Identical file removed.
2532         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2533         Moved ...
2534         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2535         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2536         Identical file removed.
2537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2538         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2540         Moved ...
2541         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2543         Identical file removed.
2544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2547         Identical file removed.
2548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2549         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2551         Identical file removed.
2552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2553         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2555         Identical file removed.
2556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2557         Moved ...
2558         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2560         Identical file removed.
2561         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2562         Moved ...
2563         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2565         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2567         Identical file removed.
2568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2569         Moved ...
2570         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2571         ... here.
2572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2573         Identical file removed.
2574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2575         Moved ...
2576         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2578         Identical file removed.
2579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2580         Moved ...
2581         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2583         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2585         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2587         Moved ...
2588         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2589         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2590         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2591
2592         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2593         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2594         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2595         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2596         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2597
2598 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2599
2600         [BZ #17092]
2601         * nscd/nscd.c (monitor_child): Return exit status of child
2602         instead of return value from wait syscall.
2603
2604 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2605
2606         * configure.ac (libc_commonpagesize): Remove variable.
2607         (libc_relro_required): Likewise.
2608         (libc_cv_z_relro): Remove configure test.
2609         * configure: Regenerated.
2610         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2611         variable.
2612         (libc_relro_required): Likewise.
2613         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2614         (libc_relro_required): Likewise.
2615         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2616         (libc_relro_required): Likewise.
2617         * sysdeps/arm/preconfigure: Regenerated.
2618         * sysdeps/ia64/preconfigure: Remove file.
2619         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2620         variable.
2621         (libc_relro_required): Likewise.
2622
2623         [BZ #16561]
2624         [BZ #16562]
2625         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2626         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2627         recompute overflowing results in original rounding mode.
2628         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2629         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2630         recompute overflowing results in original rounding mode.
2631         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2632         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2633         recompute overflowing results in original rounding mode.
2634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2635         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2636         recompute overflowing results in original rounding mode.
2637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2638         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2639         recompute overflowing results in original rounding mode.
2640         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2641         (libc_feholdsetround_ctx): New macro.
2642         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2643         * sysdeps/i386/fpu/libm-test-ulps: Update.
2644         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2645
2646 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2647
2648         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2649         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2650         corresponding .cpsetup call.
2651
2652 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2653
2654         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2655         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2656         * sysdeps/arm/Makefile [$(subdir) = csu]
2657         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2658         (static-only-routines): Add aeabi_read_tp here.
2659         (shared-only-routines): Add libc-aeabi_read_tp here.
2660         (CFLAGS-libc-start.c): Add -fexceptions here.
2661         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2662         (sysdep_routines, static-only-routines, shared-only-routines):
2663         Don't add to these here.
2664         (CFLAGS-libc-start.c): Likewise.
2665
2666         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2667         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2668         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2669         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2670         * sysdeps/arm/Makefile [$(subdir) = rt]
2671         (librt-sysdep_routines, librt-shared-only-routines):
2672         Append rt-aeabi_unwind_cpp_pr1 here.
2673         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2674         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2675         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2676         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2677         Append nptl-aeabi_unwind_cpp_pr1 here.
2678         (tests): Filter out tst-cleanupx4 here.
2679         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2680         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2681         Don't do those here.
2682
2683 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2684
2685         * scripts/list-sources.sh: Do not handle ports specially.
2686
2687 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2688
2689         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2690         * sysdeps/arm/feupdateenv.c: Likewise.
2691
2692         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2693
2694 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2695
2696         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2697         trailing whitespace removed.
2698         * scripts/config.guess: Update to version 2014-03-23.
2699         * scripts/config.sub: Update to version 2014-05-01
2700         * scripts/install-sh: Update to version 2013-12-25.23.
2701         * scripts/move-if-change: Update from gnulib.
2702
2703 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2704
2705         * debug/memmove_chk.c: Remove pagecopy.h include.
2706
2707 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2708
2709         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2710         identical to gnulib mktime.
2711
2712 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2713
2714         * configure.ac: Do not test for machine being rs6000.  Do not test
2715         for powerpc*-*soft.
2716         * configure: Regenerated.
2717
2718         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2719         test.
2720         * configure: Regenerated.
2721         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2722         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2723         Remove configure test.
2724         * sysdeps/arm/configure: Regenerated.
2725         * sysdeps/nptl/configure.ac: Do not check
2726         libc_cv_asm_cfi_directives.
2727         * sysdeps/nptl/configure: Regenerated.
2728         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2729         * sysdeps/x86_64/nptl/configure: Remove generated file.
2730         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2731         unconditional.
2732         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2733
2734 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2735
2736         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2737         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2738         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2739         it is defined.
2740
2741         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2742         instead of whether it is defined.
2743         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2744         * sysdeps/hppa/dl-machine.h: Likewise.
2745         * sysdeps/ia64/dl-machine.h: Likewise.
2746         * sysdeps/m68k/dl-machine.h: Likewise.
2747         * sysdeps/microblaze/dl-machine.h: Likewise.
2748         * sysdeps/mips/dl-machine.: Likewise.
2749         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2750         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2751         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2752         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2753         * sysdeps/sh/dl-machine.h: Likewise.
2754         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2755         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2756         * sysdeps/tile/dl-machine.h: Likewise.
2757         * sysdeps/x86_64/dl-machine.h: Likewise.
2758
2759         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2760         code.
2761         (verify_persistent_db): Likewise.
2762
2763 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2764
2765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2766         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2768         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2770         Moved ...
2771         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2772         ... here.
2773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2774         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2776         Identical file removed.
2777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2778         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2780         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2782         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2784         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2788         Moved ...
2789         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2793         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2795         Moved ...
2796         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2798         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2800         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2802         Identical file removed.
2803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2804         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2806         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2810         ... here.
2811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2812         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2814         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2818         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2822         Moved ...
2823         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2825         Moved ...
2826         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2828         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2830         Moved ...
2831         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2833         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2834
2835         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2836         folded into ...
2837         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2838         * sysdeps/unix/sysv/linux/s390/Versions
2839         (libpthread: GLIBC_2.19): New version set.
2840         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2841         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2842         (librt: GLIBC_2.3.3): New version set.
2843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2844         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2845         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2846         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2847         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2848         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2849         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2850         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2851         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2852         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2853         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2854         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2855         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2856         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2857         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2858         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2859         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2860         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2861         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2862         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2863         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2865         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2867         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2869         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2870         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2871         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2873         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2874         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2879         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2881         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2883         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2885         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2887         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2888
2889         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2890         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2891         (__libc_vfork): Define the function under this name.
2892         [!NOT_IN_libc] (__vfork): Make this an alias.
2893         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2895         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2896         (__libc_vfork): Define the function under this name.
2897         [!NOT_IN_libc] (__vfork): Make this an alias.
2898         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2899         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2900         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2902         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2903         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2904
2905         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2906         code that was previously under [RESET_PID].
2907         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2908         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2910
2911         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2912         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2913         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2914         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2915         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2916         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2917         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2918         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2919         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2920         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2922         Moved ...
2923         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2945         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2946         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2947         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2948         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2949         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2951         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2952
2953 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2954
2955         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2956         that was previously under [RESET_PID].
2957         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2958
2959 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2960
2961         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2962         not undefine and redefine.
2963         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2964         [O_CLOEXEC]: Make code unconditional.
2965         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2966         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2967         <kernel-features.h>.
2968         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2969         conditional variable definition.
2970         (shm_open) [O_CLOEXEC]: Make code unconditional.
2971         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2972         code.
2973
2974         * configure.ac (USE_REGPARMS): Don't define here.
2975         * configure: Regenerated.
2976         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2977         * sysdeps/i386/configure: Regenerated.
2978
2979         * nptl/createthread.c: Don't include kernel-features.h.
2980         * nptl/pthread_cancel.c: Likewise.
2981         * nptl/pthread_condattr_setclock.c: Likewise.
2982         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2983         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2984         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2985         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2986         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2987         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2988         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2991         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2992         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2993         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2994         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2995         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2996         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2997         * nscd/gai.c: Likewise.
2998         * nss/nss_db/db-open.c: Likewise.
2999         * sysdeps/generic/ldsodefs.h: Likewise.
3000         * sysdeps/sh/nptl/tls.h: Likewise.
3001         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3002         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3003         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3004         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3005         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3006         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3007         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3008         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3009         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3010         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3011         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3012         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3013         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3014         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3015         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3016         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3017         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3018         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3019         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3020         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3023         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3024         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3029         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3030         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3031         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3032         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3033         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3034         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3035         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3036         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3037         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3038         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3039         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3040         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3041         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3042         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3043         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3044         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3045         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3046         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3048         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3049         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3050         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3051         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3052         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3053         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3054         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3055         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3056         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3058         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3081         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3082         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3083         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3084         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3085         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3086         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3087         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3088         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3089         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3090         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3091         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3092         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3093         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3094         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3095         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3096         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3097         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3098         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3099         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3100         * sysdeps/unix/sysv/linux/system.c: Likewise.
3101         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3102         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3103         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3104         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3105         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3106         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3107         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3108
3109         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3110         * configure: Regenerated.
3111         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3112
3113         * configure.ac (base_machine): Do not set specially for particular
3114         machines here.
3115         * configure: Regenerated.
3116         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3117         settings from configure.ac.
3118         * sysdeps/i386/preconfigure: New file.
3119         * sysdeps/s390/preconfigure: Likewise.
3120         * sysdeps/sh/preconfigure: Likewise.
3121         * sysdeps/sparc/preconfigure: Likewise.
3122
3123 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3124
3125         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3126         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3127         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3128         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3129         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3130         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3131         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3132         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3133         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3134         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3135         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3136         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3137         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3138         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3139         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3140         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3141         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3142         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3143         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3144
3145         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3146         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3147         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3148         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3149         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3150         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3151         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3152         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3153         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3154         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3155         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3156         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3157         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3158         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3159         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3160         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3161         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3162         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3163         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3164         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3166         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3170         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3174         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3176         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3177         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3178         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3180         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3181         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3182         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3183
3184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3185         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3187         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3189         Moved ...
3190         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3191         ... here.
3192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3195         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3200         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3202         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3204         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3206         Moved ...
3207         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3209         Moved ...
3210         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3212         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3214         Moved ...
3215         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3217         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3219         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3221         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3223         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3225         Moved ...
3226         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3227         ... here.
3228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3229         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3231         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3233         Moved ...
3234         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3236         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3240         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3242         Moved ...
3243         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3245         Moved ...
3246         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3250         Moved ...
3251         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3253         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3255         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3256
3257 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3258
3259         * timezone/checktab.awk: Update from tzcode 2014e.
3260         * timezone/private.h: Likewise.
3261         * timezone/tzfile.h: Likewise.
3262         * timezone/zdump.c: Likewise.
3263         * timezone/zic.c: Likewise.
3264
3265         * sysdeps/unix/sysv/linux/kernel-features.h
3266         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3267         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3268         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3269         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3270         Remove conditional code.
3271
3272 2014-06-25  Will Newton  <will.newton@linaro.org>
3273
3274         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3275         (_dl_arm_cap_flags): Add HWCAP2 values.
3276         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3277         (_DL_HWCAP_COUNT): Increase to 37.
3278         (_DL_HWCAP_LAST): New define.
3279         (_DL_HWCAP2_LAST): New define.
3280         (_dl_procinfo): Add support for printing
3281         AT_HWCAP2 entries.
3282         (_dl_string_hwcap): Use _dl_hwcap_string.
3283
3284 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3285
3286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3287
3288 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3289
3290         * README: Do not mention ports directory.
3291
3292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3293         Remove macro.
3294         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3295         <kernel-features.h>.
3296         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3297         conditional variable definition.
3298         (__futimes): Update comment.
3299         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3300         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3301
3302         [BZ #16560]
3303         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3304         arguments close to 0.
3305         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3306         Likewise.
3307         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3308         Likewise.
3309         * math/auto-libm-test-in: Add more tests of exp10.
3310         * math/auto-libm-test-out: Regenerated.
3311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3312
3313         * sysdeps/unix/sysv/linux/kernel-features.h
3314         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3315         * sysdeps/unix/sysv/linux/readv.c: Do not include
3316         <kernel-features.h>.
3317         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3318         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3319         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3320         unconditional.
3321         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3322         conditional code.
3323         * sysdeps/unix/sysv/linux/writev.c: Do not include
3324         <kernel-features.h>.
3325         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3326         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3327         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3328         unconditional.
3329         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3330         conditional code.
3331
3332 2014-06-25  Will Newton  <will.newton@linaro.org>
3333
3334         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3335         comment changes throughout the file.  Remove checks
3336         for HAVE_*_H definitions that are not required.
3337         (__gen_tempname): Call abort if an unknown kind value is
3338         passed.
3339
3340 2014-06-25  Andreas Schwab  <schwab@suse.de>
3341
3342         [BZ #17086]
3343         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3344         scalbln, scalblnf, scalblnl in libc.
3345
3346 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3347
3348         [BZ #17086]
3349         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3350         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3351         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3352
3353 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3354
3355         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3356         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3357         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3358         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3359         Update #include.
3360         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3361         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3362         Update #include.
3363         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3364         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3365         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3366         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3367         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3368         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3369         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3370         * sysdeps/x86/bits/semaphore.h: ... here.
3371         * sysdeps/x86/nptl/elide.h: Moved ...
3372         * sysdeps/x86/elide.h: ... here.
3373         * sysdeps/x86_64/nptl/Implies: File removed.
3374         * sysdeps/i386/nptl/Implies: File removed.
3375
3376 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3377
3378         [BZ #16539]
3379         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3380         return the argument for normal arguments with exponent below -64.
3381         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3382         Likewise.
3383         * math/auto-libm-test-in: Add another test of expm1.
3384         * math/auto-libm-test-out: Regenerated.
3385
3386         [BZ #16287]
3387         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3388         calling __erfcl for arguments at least 16.
3389         * math/auto-libm-test-in: Add more tests of erf.
3390         * math/auto-libm-test-out: Regenerated.
3391
3392         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3393         individual architectures.
3394         * sysdeps/unix/sysv/linux/configure: Regenerated.
3395         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3396         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3397         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3398         (ldd_rewrite_script): Define variable.
3399         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3401         file.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3403         generated file.
3404         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3405         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3406         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3407         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3408         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3409         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3410         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3411         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3412
3413 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3414
3415         [BZ #17084]
3416         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3417         Rename member __data.d to __data.__elision_data.
3418
3419 2014-06-24  Wilco  <wdijkstr@arm.com>
3420
3421         * NEWS: Add 16918 to fixed bug list.
3422
3423 2014-06-24  Wilco  <wdijkstr@arm.com>
3424
3425         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3426
3427 2014-06-24  Wilco  <wdijkstr@arm.com>
3428
3429         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3430         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3431         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3432         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3433         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3434         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3435         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3436         Use _FPU_MASK_RM.
3437
3438 2014-06-24  Wilco  <wdijkstr@arm.com>
3439
3440         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3441
3442 2014-06-24  Wilco  <wdijkstr@arm.com>
3443
3444         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3445         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3446         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3447         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3448
3449 2014-06-24  Wilco  <wdijkstr@arm.com>
3450
3451         [BZ #16918]
3452         * sysdeps/arm/feupdateenv.c (feupdateenv):
3453         Rewrite to reduce FPSCR accesses and fix return value.
3454
3455 2014-06-24  Wilco  <wdijkstr@arm.com>
3456
3457         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3458         Optimize to avoid unnecessary FPSCR writes.
3459         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3460         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3461         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3462         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3463
3464 2014-06-24  Wilco  <wdijkstr@arm.com>
3465
3466         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3467         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3468         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3469         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3470         Call libc_fetestexcept_vfp.
3471         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3472         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3473         __SOFTFP__ ifdef so that they can be built for softfp.
3474
3475 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3476
3477         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3478         argument type signed char.
3479
3480         * Makerules (check-abi): Dump diff of symlist if the test
3481         fails.
3482
3483 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3484
3485         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3486         using abort.
3487
3488         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3489         Remove unused variable ST.
3490
3491 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3492
3493         [BZ #16354]
3494         [BZ #17061]
3495         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3496         small arguments before calling __expm1.
3497         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3498         small arguments before calling __expm1f.
3499         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3500         small arguments before calling __expm1l.
3501         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3502         Likewise.
3503         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3504         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3505         spurious underflow for some cosh tests.
3506         * math/auto-libm-test-out: Regenerated.
3507         * sysdeps/i386/fpu/libm-test-ulps: Update.
3508
3509         [BZ #17050]
3510         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3511         (__ieee754_y1): Set errno if return value overflows.
3512         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3513         (__ieee754_y1f): Set errno if return value overflows.
3514         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3515         (__ieee754_y1l): Set errno if return value overflows.
3516         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3517         (__ieee754_y1l): Set errno if return value overflows.
3518         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3519         * math/auto-libm-test-out: Regenerated.
3520
3521         * math/gen-auto-libm-tests.c: Document use of
3522         ignore-zero-inf-sign.
3523         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3524         (input_flags): Add ignore-zero-inf-sign.
3525         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3526         * math/gen-libm-test.pl (generate_testfile): Handle
3527         ignore-zero-inf-sign.
3528         * math/auto-libm-test-in: Mark some cpow tests with
3529         ignore-zero-inf-sign and some with xfail-rounding.
3530         * math/auto-libm-test-out: Regenerated.
3531         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3532         * sysdeps/i386/fpu/libm-test-ulps: Update.
3533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3534
3535         [BZ #16315]
3536         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3537         overflowing or underflowing operations take place with sign of
3538         result.
3539         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3540         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3541         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3542         (__ieee754_pow): Recompute overflowing and underflowing results in
3543         original rounding mode.
3544         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3545         (__powl_helper): Allow negative argument X and scale negated value
3546         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3547         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3548         overflowing or underflowing operations take place with sign of
3549         result.
3550         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3551         Include <math.h>.
3552         * math/auto-libm-test-in: Add more tests of pow.
3553         * math/auto-libm-test-out: Regenerated.
3554         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3555         (pow_tonearest_test_data): Remove.
3556         (pow_test_tonearest): Likewise.
3557         (pow_towardzero_test_data): Likewise.
3558         (pow_test_towardzero): Likewise.
3559         (pow_downward_test_data): Likewise.
3560         (pow_test_downward): Likewise.
3561         (pow_upward_test_data): Likewise.
3562         (pow_test_upward): Likewise.
3563         (main): Don't call removed functions.
3564         * sysdeps/i386/fpu/libm-test-ulps: Update.
3565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3566
3567 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3568
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3579         Moved ...
3580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3582         File removed.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3584         File removed.
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3586         File removed.
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3588         File removed.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3590         File removed.
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3592         File removed.
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3594         File removed.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3596         File removed.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3598         File removed.
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3600         File removed.
3601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3602         File removed.
3603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3604         File removed.
3605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3606         Moved ...
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3609         Moved ...
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3611         ... here.
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3613         Moved ...
3614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3616         Moved ...
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3619         Moved ...
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3625         Moved ...
3626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3628         Moved ...
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3631         Moved ...
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3635         ... here.
3636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3637         Moved ...
3638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3640         Moved ...
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3642         ... here.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3644         Moved ...
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3646         ... here.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3648         Moved ...
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3650         ... here.
3651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3652         Moved ...
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3655         Moved ...
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3660         Moved ...
3661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3662         ... here.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3666         ... here.
3667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3668         Moved ...
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3674         Moved ...
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3677         Moved ...
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3680         Moved ...
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3682         ... here.
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3684         Moved ...
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3687         Moved ...
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3701         Moved ...
3702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3704         Moved ...
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3706         ... here.
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3708         Moved ...
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3710         ... here.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3712         Moved ...
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3714         ... here.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3716         Moved ...
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3719         Moved ...
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3722         Moved ...
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3725         Moved ...
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3727         ... here.
3728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3729         Moved ...
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3731         ... here.
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3733         Moved ...
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3735         ... here.
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3737         Moved ...
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3740         Moved ...
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3742
3743 2014-06-23  Will Newton  <will.newton@linaro.org>
3744             Wilco  <wdijkstr@arm.com>
3745
3746         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3747         implementation.  Include get-rounding-mode.h.
3748         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3749         [!libc_feholdsetround_noex_ctx]: Define
3750         libc_feholdsetround_noex_ctx.
3751         [!libc_feholdsetround_noexf_ctx]: Define
3752         libc_feholdsetround_noexf_ctx.
3753         [!libc_feholdsetround_noexl_ctx]: Define
3754         libc_feholdsetround_noexl_ctx.
3755         (libc_feholdsetround_ctx): New function.
3756         (libc_feresetround_ctx): New function.
3757         (libc_feholdsetround_noex_ctx): New function.
3758         (libc_feresetround_noex_ctx): New function.
3759
3760 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3761
3762         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3763         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3764         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3765         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3766         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3767         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3768
3769         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3770         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3771         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3772         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3773         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3774         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3776         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3778         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3780         Moved ...
3781         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3782         ... here.
3783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3784         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3786         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3788         Moved ...
3789         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3791         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3793         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3795         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3797         Moved ...
3798         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3800         Moved ...
3801         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3803         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3805         Moved ...
3806         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3808         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3809         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3810         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3811         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3812         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3814         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3816         Moved ...
3817         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3818         ... here.
3819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3820         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3822         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3824         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3826         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3828         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3830         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3831         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3832         Moved ...
3833         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3835         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3837         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3842         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3843         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3844         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3845
3846         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3847         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3848         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3849         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3850         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3851         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3852         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3853         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3854         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3855         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3856         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3857         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3858         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3859         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3860         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3861         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3862         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3863         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3864         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3865         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3866         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3867         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3868         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3869         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3870         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3871         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3872         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3873         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3874
3875 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3876
3877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3878         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3879         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3880         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3881         (IPV6_PMTUDISC_INTERFACE): Likewise.
3882         (IPV6_PMTUDISC_OMIT): Likewise.
3883
3884 2014-06-23  Andreas Schwab  <schwab@suse.de>
3885
3886         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3887         Remove unused errout label.
3888
3889 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3890
3891         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3892         macro: hardware supports Vector Crypto instructions.
3893
3894 2014-06-23  Will Newton  <will.newton@linaro.org>
3895
3896         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3897         rather than __builtin_expect.
3898
3899         * elf/dl-lookup.c (undefined_msg): Remove variable.
3900         (_dl_lookup_symbol_x): Replace undefined_msg with string
3901         literal.
3902
3903         * elf/dl-lookup.c (do_lookup_unique): New function.
3904         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3905         to a separate function.
3906
3907 2014-06-23  Andreas Schwab  <schwab@suse.de>
3908
3909         [BZ #17079]
3910         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3911         before reading the next line.
3912
3913 2014-06-23  Will Newton  <will.newton@linaro.org>
3914
3915         * test-skeleton.c (signal_handler): Use printf and %m
3916         rather than perror.  Use printf rather than fprintf to
3917         stderr.  Use puts rather than fputs to stderr.
3918         (main): Likewise.
3919
3920 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3921
3922         * nscd/nscd.c (thread_info_t): Remove typedef.
3923         (thread_info): Remove variable.
3924
3925 2014-06-21  Allan McRae  <allan@archlinux.org>
3926
3927         * NEWS: Mention CVE-2014-4043.
3928
3929 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3930
3931         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3932         * nptl/smp.h: ... here.
3933
3934         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3935
3936         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3937         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3938         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3939         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3940
3941         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3942         * nptl/stack-aliasing.h: New file.
3943         * sysdeps/i386/i686/stack-aliasing.h: New file.
3944         * sysdeps/i386/i686/nptl/Makefile: File removed.
3945         * sysdeps/x86_64/stack-aliasing.h: New file.
3946         * sysdeps/x86_64/nptl/Makefile
3947         (CFLAGS-pthread_create.c): Variable removed.
3948
3949         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3950         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3951         old file.
3952         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3953         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3954         old file.
3955
3956 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3957
3958         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3959         (__ASSUME_SIGFRAME_V2): Remove macro.
3960         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3961         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3962         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3963         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3964         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3965         Declare as function.  Remove conditional macro definitions.
3966         (__default_rt_sa_restorer): Likewise.
3967         (__default_sa_restorer_v1): Remove declaration.
3968         (__default_sa_restorer_v2): Likewise.
3969         (__default_rt_sa_restorer_v1): Likewise.
3970         (__default_rt_sa_restorer_v2): Likewise.
3971         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3972         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3973         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3974
3975 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3976
3977         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3978         (libpthread-routines): Add sysdep.
3979         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3980         * sysdeps/unix/sysv/linux/sparc/Versions
3981         (libpthread: GLIBC_2.3.3): New version set.
3982         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3983         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3984         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3985         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3986         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3987         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3988         Moved ...
3989         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3990         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3991         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3992         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3993         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3994         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3995         * sysdeps/sparc/nptl/sem_init.c: ... here.
3996         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3997         * sysdeps/sparc/nptl/sem_post.c: ... here.
3998         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3999         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4000         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4001         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4002         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4004         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4005         (libpthread-routines): Add cpu_relax.
4006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4007         File removed.
4008         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4009         (librt: GLIBC_2.3.3): New version set.
4010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4011         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4012         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4013         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4016         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4018         Moved ...
4019         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4021         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4023         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4025         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4027         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4029         Moved ...
4030         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4031         Update #include.
4032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4033         Moved ...
4034         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4035         Update #include.
4036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4037         Moved ...
4038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4039         Update #include.
4040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4041         Moved ...
4042         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4043         Update #include.
4044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4045         Moved ...
4046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4047         Update #include.
4048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4049         Moved ...
4050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4051         Update #include.
4052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4053         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4061         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4066         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4069
4070 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4071
4072         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4073         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4074         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4075         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4076         * nscd/nscd.c: Likewise.
4077         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4078         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4079         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4080         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4081
4082         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4083         <kernel-features.h>.
4084         (init_mq_netlink): Remove conditional have_sock_cloexec
4085         definitions.  Remove code conditional on have_sock_cloexec < 0.
4086         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4087         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4088         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4089         <kernel-features.h>.
4090         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4091         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4092
4093 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4094
4095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4096         Add tests for memset_chk and memset.
4097
4098         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4099         with AVX2_Usable.
4100
4101 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4102
4103         [BZ #16046]
4104         * elf/tst-dl-iter-static.c: New file.
4105         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4106
4107         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4108         error.
4109
4110 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4111
4112         * sysdeps/unix/sysv/linux/kernel-features.h
4113         (__ASSUME_F_GETOWN_EX): Remove macro.
4114         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4115         <kernel-features.h>.
4116         (miss_F_GETOWN_EX): Remove variable or macro.
4117         (do_fcntl): Do not check miss_F_GETOWN_EX.
4118         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4119
4120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4121         Remove macro.
4122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4123         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4124         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4125
4126         * sysdeps/unix/sysv/linux/kernel-features.h
4127         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4128         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4129         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4130         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4131
4132 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4133
4134         [BZ #17075]
4135         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4136         Fix calculation of the symbol's value.
4137         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4138         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4139         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4140         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4141         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4142         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4143         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4144         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4145         (modules-names): Add `tst-armtlsdescmod',
4146         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4147         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4148         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4149         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4150         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4151         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4152         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4153         ($(objpfx)tst-armtlsdescloc): New dependency.
4154         ($(objpfx)tst-armtlsdescextnow): Likewise.
4155         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4156         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4157         TLS scheme support.
4158         * sysdeps/arm/configure: Regenerate.
4159
4160 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4161
4162         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4163         (__atfct_seterrno_2): Likewise.
4164         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4165         <kernel-features.h>.
4166         (__ASSUME_ATFCTS): Do not undefine and redefine.
4167         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4168         (__have_atfcts): Remove conditional definition.
4169         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4170         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4171         unreachable if [__ASSUME_ATFCTS].
4172         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4173         not undefine and redefine.
4174         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4175         <kernel-features.h>.
4176         (faccessat) [__NR_faccessat]: Make code unconditional.
4177         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4178         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4179         <kernel-features.h>.
4180         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4181         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4182         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4183         <kernel-features.h>.
4184         (fchownat) [__NR_fchownat]: Make code unconditional.
4185         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4186         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4187         <kernel-features.h>.
4188         (futimesat) [__NR_futimesat]: Make code unconditional.
4189         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4190         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4191         <kernel-features.h>.
4192         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4194         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4195         <kernel-features.h>.
4196         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4197         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4198         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4199         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4200         <kernel-features.h>.
4201         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4202         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4203         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4204         <kernel-features.h>.
4205         (linkat) [__NR_linkat]: Make code unconditional.
4206         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4207         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4208         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4209         <kernel-features.h>.
4210         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4211         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4212         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4213         <kernel-features.h>.
4214         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4215         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4216         * sysdeps/unix/sysv/linux/openat.c: Do not include
4217         <kernel-features.h>.
4218         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4219         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4220         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4221         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4222         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4223         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4224         <kernel-features.h>.
4225         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4226         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4227         result of INLINE_SYSCALL directly, not via int variable.
4228         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4229         <kernel-features.h>.
4230         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4231         (renameat) [__NR_renameat]: Make code unconditional.
4232         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4233         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4234         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4235         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4236         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4237         (__ASSUME_ATFCTS): Do not undefine and redefine.
4238         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4239         <kernel-features.h>.
4240         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4241         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4242         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4243         <kernel-features.h>.
4244         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4245         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4246         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4247         (__ASSUME_ATFCTS): Do not undefine and redefine.
4248         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4249         <kernel-features.h>.
4250         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4251         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4252         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4253         <kernel-features.h>.
4254         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4255         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4256
4257 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4258
4259         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4260
4261 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4262
4263         [BZ #17069]
4264         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4265         constructed tree before returning error.
4266         * posix/bug-regexp36.c: Expand test case.
4267
4268 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4269
4270         [BZ #6803]
4271         * math/libm-test.inc (scalbln_test_date):
4272         Add errno expectations.
4273         * math/w_scalblnf.c: New File.
4274         Add wrapper which checks for setting errno to ERANGE.
4275         Add weak_alias for corresponding scalbln function.
4276         * math/w_scalbln.c: Likewise.
4277         * math/w_scalblnl.c: Likewise.
4278         * math/Makefile (libm-calls): Add w_scalbln.
4279         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4280         Remove weak_alias for corresponding scalbln function.
4281         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4283         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4285         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4286         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4287         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4288         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4289         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4290         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4291         Remove long_double_symbol for scalblnl function in libm, libc.
4292         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4293         Add wrapper which checks for setting errno to ERANGE.
4294         Add long_double_symbol for scalblnl function in libm, libc.
4295         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4296         Remove long_double_symbol for scalblnl in libm.
4297         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4298         Add wrapper which checks for setting errno to ERANGE.
4299         Add long_double_symbol for scalblnl function in libm.
4300         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4301         Do not use wrapper because of own implementation.
4302
4303 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4304
4305         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4306         3 bytes for __pad1 for x32.
4307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4308
4309 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4310             H.J. Lu  <hongjiu.lu@intel.com>
4311
4312         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4313         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4314         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4315         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4316         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4317
4318 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4319
4320         [BZ #17069]
4321         * posix/regcomp.c (parse_expression): Deallocate partially
4322         constructed tree before returning error.
4323         * posix/Makefile.c (tests): Add bug-regex36.
4324         (generated): Add bug-regex36.mtrace.
4325         (tests-special): Add $(objpfx)bug-regex36-mem.out
4326         (bug-regex36-ENV): New variable.
4327         ($(objpfx)bug-regex36-mem.out): New rule.
4328         * posix/bug-regex36.c: New file.
4329
4330 2014-06-19  Will Newton  <will.newton@linaro.org>
4331
4332         * malloc/malloc.c (systrim): If extra is zero then return
4333         early.
4334
4335 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4336
4337         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4338
4339 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4340
4341         * sysdeps/aarch64/strchr.S: New file.
4342
4343 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4344
4345         [BZ #17022]
4346         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4347         from arguments -2 or below.
4348         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4349         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4350
4351 2014-06-18  Andreas Schwab  <schwab@suse.de>
4352
4353         [BZ #17062]
4354         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4355         of a bracket expr not to run off the end of the string.
4356         * posix/Makefile (tests): Add tst-fnmatch3.
4357         * posix/tst-fnmatch3.c: New file.
4358
4359 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4360
4361         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4362         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4363         [$(cross-compiling) = no]: Likewise.
4364         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4365         [$(cross-compiling) = no]: Likewise.
4366
4367 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4368
4369         [BZ #17031]
4370         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4371         double, adjusted for any remainder from the high double.
4372         * math/libm-test.inc (nearbyint): Add tests.
4373         (rint): Likewise.
4374
4375 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4376
4377         * nptl/sysdeps/powerpc/Makefile: Moved ...
4378         * sysdeps/powerpc/nptl/Makefile: ... here.
4379         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4380         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4381         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4382         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4383         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4384         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4385         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4386         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4387         * nptl/sysdeps/powerpc/tls.h: Moved ...
4388         * sysdeps/powerpc/nptl/tls.h: ... here.
4389
4390 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4391
4392         [BZ #16681]
4393         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4394         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4395         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4396         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4397         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4398         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4399         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4400         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4401         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4402
4403 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4404
4405         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4406
4407 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4408
4409         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4410         defined operator.
4411
4412         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4413         $TIMEOUTFACTOR.
4414
4415 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4416
4417         [BZ #17058]
4418         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4419         non-executed part of the test.
4420
4421 2014-06-16  Andreas Schwab  <schwab@suse.de>
4422
4423         * string/bits/string2.h (strdup, strndup): Update feature guard.
4424
4425 2014-06-14  David S. Miller  <davem@davemloft.net>
4426
4427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4428
4429 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4430
4431         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4432         that was previously under [RESET_PID].
4433         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4434
4435         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4436         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4437         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4438         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4439         (__libc_vfork): New strong alias.
4440         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4441
4442 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4443
4444         * sysdeps/generic/elide.h: New file.
4445
4446 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4447
4448         * Makefile (installed-headers): Adjust path of pthread.h header.
4449
4450 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4451
4452         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4453         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4454         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4455         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4456
4457         * nptl/sysdeps/s390/Makefile: Moved ...
4458         * sysdeps/s390/nptl/Makefile: ... here.
4459         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4460         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4461         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4462         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4463         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4464         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4465         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4466         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4467         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4468         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4469         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4470         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4471         * nptl/sysdeps/s390/tls.h: Moved ...
4472         * sysdeps/s390/nptl/tls.h: ... here.
4473
4474         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4475         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4476
4477 2014-06-13  David S. Miller  <davem@davemloft.net>
4478
4479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4482         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4486         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4487         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4488         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4489         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4490         Remove RESET_PID cpp guards.
4491         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4492         Remove RESET_PID cpp guards.
4493         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4494
4495 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4496
4497         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4498         __sp to uintptr_t.
4499
4500 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4501
4502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4504         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4508         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4509         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4510         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4511         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4515         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4518         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4520         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4521         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4522
4523         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4524         (pthread_rwlock_rdlock): Add elision.
4525         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4526         (pthread_rwlock_wrlock): Add elision.
4527         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4528         (pthread_rwlock_trywrlock): Add elision.
4529         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4530         (pthread_rwlock_tryrdlock): Add elision.
4531         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4532         (pthread_rwlock_tryrdlock): Add elision unlock.
4533         * nptl/sysdeps/pthread/pthread.h:
4534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4535         (PTHREAD_RWLOCK_INITIALIZER,
4536         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4537         Handle new elision field.
4538         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4539         * sysdeps/arm/nptl/bits/pthreadtypes.h
4540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4541         * sysdeps/sh/nptl/bits/pthreadtypes.h
4542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4543         * sysdeps/tile/nptl/bits/pthreadtypes.h
4544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4545         * sysdeps/a/nptl/bits/pthreadtypes.h
4546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4547         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4549         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4551         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4553         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4555         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4557         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4559         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4561         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4562         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4563         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4564         (elision_init): Set try_xbegin to zero when no RTM.
4565         * sysdeps/x86/nptl/bits/pthreadtypes.h
4566         (pthread_rwlock_t): Change __pad1 to __rwelision.
4567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4568
4569 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4570
4571         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4572         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4573         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4574         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4575
4576 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4577
4578         [BZ #16996]
4579         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4580         that the cached result has been set before returning it.
4581
4582 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4583
4584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4585         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4586         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4587         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4589         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4590
4591         * nptl/sysdeps/sparc/Makefile: Moved ...
4592         * sysdeps/sparc/nptl/Makefile: ... here.
4593         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4594         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4595         * nptl/sysdeps/sparc/tls.h: Moved ...
4596         * sysdeps/sparc/nptl/tls.h: ... here.
4597         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4598         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4599         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4600         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4601         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4602         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4603         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4604         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4605         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4606         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4607         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4608         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4609         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4610         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4611         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4612         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4615         Update #include.
4616         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4618         Update #include.
4619         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4620         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4621         Update #include.
4622         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4623         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4624         Update #include.
4625
4626         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4627
4628         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4629         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4630
4631         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4632         (struct list_links): Type removed.
4633         (struct thread_node, struct timer_node): Replace struct list_links
4634         with struct list_head.
4635         (list_unlink_ip): Likewise.
4636         * sysdeps/pthread/timer_routines.c
4637         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4638         (list_append, list_insbefore): Likewise.
4639         (list_init): Function removed.
4640         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4641         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4642         * sysdeps/pthread/Makefile: ... here, new file.
4643
4644         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4645         * sysdeps/nptl/Implies: ... here.
4646         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4647         * nptl/sysdeps/pthread/list.h: Moved ...
4648         * include/list.h: ... here.
4649         * nptl/sysdeps/pthread/createthread.c: Moved ...
4650         * nptl/createthread.c: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4652         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4653         * nptl/pt-longjmp.c: ... here.
4654         * nptl/sysdeps/pthread/Makefile: Moved ...
4655         * sysdeps/nptl/Makefile: ... here.
4656         * nptl/sysdeps/pthread/Subdirs: Moved ...
4657         * sysdeps/nptl/Subdirs: ... here.
4658         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4659         * sysdeps/nptl/aio_misc.h: ... here.
4660         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4661         * sysdeps/nptl/bits/libc-lock.h: ... here.
4662         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4663         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4664         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4665         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4666         * nptl/sysdeps/pthread/configure: Moved ...
4667         * sysdeps/nptl/configure: ... here.
4668         * nptl/sysdeps/pthread/configure.ac: Moved ...
4669         * sysdeps/nptl/configure.ac: ... here.
4670         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4671         * sysdeps/nptl/gai_misc.h: ... here.
4672         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4673         * sysdeps/nptl/librt-cancellation.c: ... here.
4674         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4675         * sysdeps/nptl/malloc-machine.h: ... here.
4676         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4677         * sysdeps/nptl/pthread-functions.h: ... here.
4678         * nptl/sysdeps/pthread/pthread.h: Moved ...
4679         * sysdeps/nptl/pthread.h: ... here.
4680         * nptl/sysdeps/pthread/setxid.h: Moved ...
4681         * sysdeps/nptl/setxid.h: ... here.
4682         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4683         * sysdeps/nptl/sigfillset.c: ... here.
4684         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4685         * sysdeps/nptl/tcb-offsets.h: ... here.
4686         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4687         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4688         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4689         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4690         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4691         * sysdeps/pthread/allocalim.h: ... here.
4692         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4693         * sysdeps/pthread/bits/sigthread.h: ... here.
4694         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4695         * sysdeps/pthread/flockfile.c: ... here.
4696         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4697         * sysdeps/pthread/ftrylockfile.c: ... here.
4698         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4699         * sysdeps/pthread/funlockfile.c: ... here.
4700         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4701         * sysdeps/pthread/posix-timer.h: ... here.
4702         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4703         * sysdeps/pthread/timer_create.c: ... here.
4704         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4705         * sysdeps/pthread/timer_delete.c: ... here.
4706         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4707         * sysdeps/pthread/timer_getoverr.c: ... here.
4708         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4709         * sysdeps/pthread/timer_gettime.c: ... here.
4710         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4711         * sysdeps/pthread/timer_routines.c: ... here.
4712         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4713         * sysdeps/pthread/timer_settime.c: ... here.
4714         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4715         * sysdeps/pthread/tst-timer.c: ... here.
4716         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4717         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4718
4719         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4720         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4721
4722         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4723         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4724         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4725         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4726         Update #include target.
4727         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4728         * sysdeps/i386/i686/nptl/Makefile: ... here.
4729         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4730         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4731         Update #include target.
4732         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4733         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4734         * nptl/sysdeps/i386/Makefile: Moved ...
4735         * sysdeps/i386/nptl/Makefile: ... here.
4736         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4737         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4738         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4739         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4740         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4741         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4742         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4743         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4744         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4745         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4746         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4747         * nptl/sysdeps/i386/tls.h: Moved ...
4748         * sysdeps/i386/nptl/tls.h: ... here.
4749
4750         * sysdeps/sh/Makefile [$(subdir) = csu]
4751         (gen-as-const-headers): Add tcb-offsets.sym.
4752         * nptl/sysdeps/sh/Makefile: File removed.
4753         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4754         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4755         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4756         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4757         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4758         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4759         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4760         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4761         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4762         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4763         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4764         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4765         * nptl/sysdeps/sh/tls.h: Moved ...
4766         * sysdeps/sh/nptl/tls.h: ... here.
4767         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4768         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4769         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4770         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4771         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4772         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4773         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4774         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4775         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4776         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4778         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4780         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4782         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4784         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4786         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4788         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4790         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4792         Moved ...
4793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4795         Moved ...
4796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4799         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4801         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4802         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4803         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4804         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4805         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4806         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4807         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4808         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4810         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4811         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4812         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4814         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4815
4816 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4817
4818         * posix/spawn_faction_addopen.c: Include string.h.
4819
4820 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4821
4822         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4823         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4824         * nptl/sysdeps/x86_64/Makefile: Moved ...
4825         * sysdeps/x86_64/nptl/Makefile: ... here.
4826         * nptl/sysdeps/x86_64/configure: Moved ...
4827         * sysdeps/x86_64/nptl/configure: ... here.
4828         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4829         * sysdeps/x86_64/nptl/configure.ac: ... here.
4830         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4831         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4832         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4833         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4834         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4835         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4836         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4837         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4838         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4839         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4840         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4841         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4842         * nptl/sysdeps/x86_64/tls.h: Moved ...
4843         * sysdeps/x86_64/nptl/tls.h: ... here.
4844         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4845         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4846         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4847         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4848
4849         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4850
4851 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4852
4853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4854
4855 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4856
4857         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4858         type.
4859         [POSIX] (off_t): Likewise.
4860         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4861         [POSIX] (S_ISBLK): Require macro.
4862         [POSIX] (S_ISCHR): Likewise.
4863         [POSIX] (S_ISDIR): Likewise.
4864         [POSIX] (S_ISFIFO): Likewise.
4865         [POSIX] (S_ISREG): Likewise.
4866         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4867         optional-macro.
4868         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4869         type.
4870         [POSIX] (time_t): Likewise.
4871         [POSIX] (timer_t): Likewise.
4872
4873 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4874
4875         [BZ #17048]
4876         * posix/spawn_int.h (struct __spawn_action): Make the path string
4877         non-const to support deallocation.
4878         * posix/spawn_faction_addopen.c
4879         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4880         * posix/spawn_faction_destroy.c
4881         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4882         path in all spawn_do_open actions.
4883         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4884         posix_spawn_file_actions_addopen.
4885
4886 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4887
4888         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4889         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4890         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4891         conditional code always true.
4892         (__libc_vfork): New alias.
4893
4894 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4895
4896         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4897         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4898
4899         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4900
4901         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4902         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4903
4904         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4905         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4906
4907         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4908         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4909
4910 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4911
4912         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4913         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4914         multiarch strcmp for PPC64.
4915         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4916         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4918         multiarch optimizations.
4919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4920         (__libc_ifunc_impl_list): Likewise.
4921
4922 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4923
4924         * benchtests/scripts/validate_benchout.py: New script.
4925         * benchtests/Makefile (bench-func): Call it.
4926         * benchtests/scripts/benchout.schema.json: New file.
4927
4928 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4929
4930         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4931         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4932         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4933         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4934         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4935         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4936         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4937         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4938         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4939         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4940         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4941         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4942         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4943         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4944         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4945         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4947         Moved ...
4948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4949         ... here.
4950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4954         Moved ...
4955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4956         ... here.
4957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4958         Moved ...
4959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4960         ... here.
4961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4962         Moved ...
4963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4965         Moved ...
4966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4967         ... here.
4968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4969         Moved ...
4970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4971         ... here.
4972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4973         Moved ...
4974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4976         Moved ...
4977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4978         ... here.
4979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4980         Moved ...
4981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4982         ... here.
4983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4984         Moved ...
4985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4986         ... here.
4987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4991         Moved ...
4992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4993         ... here.
4994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4995         Moved ...
4996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4997         ... here.
4998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4999         Moved ...
5000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5001         ... here.
5002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5003         Moved ...
5004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5006         Moved ...
5007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5008         ... here.
5009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5010         Moved ...
5011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5012         ... here.
5013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5014         Moved ...
5015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5017         Moved ...
5018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5019         ... here.
5020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5021         Moved ...
5022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5024         Moved ...
5025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5027         Moved ...
5028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5029         ... here.
5030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5031         Moved ...
5032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5033         ... here.
5034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5035         Moved ...
5036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5037         ... here.
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5039         Moved ...
5040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5042         Moved ...
5043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5044         ... here.
5045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5046         Moved ...
5047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5048         ... here.
5049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5050         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5052         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5053         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5054         Moved ...
5055         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5056         ... here.
5057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5058         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5060         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5062         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5064         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5066         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5068         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5070         Moved ...
5071         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5073         Moved ...
5074         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5076         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5078         Moved ...
5079         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5081         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5082         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5083         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5084         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5085         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5086
5087 2014-06-10  Wilco  <wdijkstr@arm.com>
5088
5089         * math/test-fenv-return.c: New file.
5090         * math/Makefile: Add new test test-fenv-return.
5091
5092 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5093
5094         [BZ #17042]
5095         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5096         when x - 1 is zero.
5097         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5098         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5099         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5100         0.0L for an argument of 1.0L.
5101         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5102         Likewise.
5103         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5104         value when x - 1 is zero.
5105         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5106         * sysdeps/i386/fpu/libm-test-ulps: Update.
5107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108
5109 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5110
5111         [BZ #15119]
5112         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5113
5114 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5115
5116         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5117         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5118
5119 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5120
5121         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5122         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5123
5124         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5125         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5126
5127         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5128         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5129
5130         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5131         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5132
5133         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5134         if not already defined.
5135         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5136         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5137         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5138         (TLS_INIT_TP): Use it.
5139         (TLS_DEFINE_INIT_TP): New macro.
5140         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5141
5142 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5143
5144         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5145         constant.
5146         [POSIX] (IXANY): Likewise.
5147         [POSIX] (OLCUC): Likewise.
5148         [POSIX || POSIX2008] (CBAUD): Do not allow.
5149         [POSIX || POSIX2008] (DEFECHO): Likewise.
5150         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5151         [POSIX || POSIX2008] (ECHOKE): Likewise.
5152         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5153         [POSIX || POSIX2008] (EXTA): Likewise.
5154         [POSIX || POSIX2008] (EXTB): Likewise.
5155         [POSIX || POSIX2008] (FLUSHO): Likewise.
5156         [POSIX || POSIX2008] (LOBLK): Likewise.
5157         [POSIX || POSIX2008] (PENDIN): Likewise.
5158         [POSIX || POSIX2008] (SWTCH): Likewise.
5159         [POSIX || POSIX2008] (VDISCARD): Likewise.
5160         [POSIX || POSIX2008] (VDSUSP): Likewise.
5161         [POSIX || POSIX2008] (VLNEXT): Likewise.
5162         [POSIX || POSIX2008] (VREPRINT): Likewise.
5163         [POSIX || POSIX2008] (VSTATUS): Likewise.
5164         [POSIX || POSIX2008] (VWERASE): Likewise.
5165         (B*): Change to B[0123456789]*.
5166         * conform/data/time.h-data [POSIX || UNIX98]
5167         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5168         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5169         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5170         [POSIX] (tm_*): Do not allow.
5171
5172 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5173
5174         * Makefile (install): Don't set LANGUAGE.
5175         * Makefile.in (install): Likewise.
5176         * assert/Makefile (test-assert-ENV): Remove variable.
5177         (test-assert-perr-ENV): Likewise.
5178         * elf/Makefile (neededtest4-ENV): Likewise.
5179         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5180         [$(cross-compiling) = no]: Don't set LANGUAGE.
5181         * io/ftwtest-sh (LANG): Remove variable.
5182         * libio/Makefile (tst-widetext-ENV): Likewise.
5183         * manual/install.texi (Running make install): Don't refer to
5184         environment settings for make install.
5185         * INSTALL: Regenerated.
5186         * nptl/tst-tls6.sh: Don't set LANG.
5187         * posix/globtest.sh (LANG): Remove variable.
5188         * string/Makefile (tester-ENV): Likewise.
5189         (inl-tester-ENV): Likewise.
5190         (noinl-tester-ENV): Likewise.
5191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5192         [$(cross-compiling) = no]: Don't set LANGUAGE.
5193         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5194         without explicit environment settings.
5195
5196 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5197
5198         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5199         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5201         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5202
5203 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5204
5205         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5206         other files in the crypt directory.
5207         * crypt/crypt.c: Remove duplicate includes.
5208         * crypt/crypt-entry.c: Likewise.
5209         * crypt/crypt_util.c: Likewise.
5210
5211 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5212
5213         * Makeconfig (run-program-env): New variable.
5214         (run-program-prefix-before-env): Likewise.
5215         (run-program-prefix-after-env): Likewise.
5216         (run-program-prefix): Define in terms of new variables.
5217         (built-program-cmd-before-env): New variable.
5218         (built-program-cmd-after-env): Likewise.
5219         (built-program-cmd): Define in terms of new variables.
5220         (test-program-prefix-before-env): New variable.
5221         (test-program-prefix-after-env): Likewise.
5222         (test-program-prefix): Define in terms of new variables.
5223         (test-program-cmd-before-env): New variable.
5224         (test-program-cmd-after-env): Likewise.
5225         (test-program-cmd): Define in terms of new variables.
5226         * Rules (make-test-out): Use $(run-program-env).
5227         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5228         (help): Do not mention environment variables.  Mention
5229         --timeoutfactor option.
5230         (timeoutfactor): New variable.
5231         (blacklist_exports): Remove function.
5232         (exports): Remove variable.
5233         (command): Do not include ${exports}.
5234         * manual/install.texi (Configuring and compiling): Do not mention
5235         test wrappers preserving environment variables.  Mention that last
5236         assignment to a variable must take precedence.
5237         * INSTALL: Regenerated.
5238         * benchtests/Makefile (run-bench): Use $(run-program-env).
5239         * catgets/Makefile ($(objpfx)test1.cat): Use
5240         $(built-program-cmd-before-env), $(run-program-env) and
5241         $(built-program-cmd-after-env).
5242         ($(objpfx)test2.cat): Do not specify environment variables
5243         explicitly.
5244         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5245         $(run-program-env) and $(built-program-cmd-after-env).
5246         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5247         $(run-program-env) and $(test-program-cmd-after-env).
5248         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5249         explicitly.
5250         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5251         run_program_env and test_program_cmd_after_env arguments.
5252         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5253         * elf/tst-pathopt.sh: Use run_program_env argument.
5254         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5255         $(test-wrapper-env) and $(run-program-env).
5256         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5257         run_program_env arguments.
5258         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5259         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5260         $(test-program-prefix-before-env), $(run-program-env) and
5261         $(test-program-prefix-after-env).
5262         ($(objpfx)tst-gettext2.out): Likewise.
5263         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5264         run_program_env and test_program_prefix_after_env arguments.
5265         * intl/tst-gettext2.sh: Likewise.
5266         * intl/tst-gettext4.sh: Do not set environment variables
5267         explicitly.
5268         * intl/tst-gettext6.sh: Likewise.
5269         * intl/tst-translit.sh: Likewise.
5270         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5271         $(test-program-prefix-before-env), $(run-program-env) and
5272         $(test-program-prefix-after-env).
5273         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5274         run_program_env and test_program_prefix_after_env arguments.
5275         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5276         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5277         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5278         explicitly with each use of ${test_wrapper_env}.
5279         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5280         $(test-program-prefix-before-env), $(run-program-env) and
5281         $(test-program-prefix-after-env).
5282         * posix/tst-getconf.sh: Do not set environment variables
5283         explicitly.
5284         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5285         run_program_env and test_program_prefix_after_env arguments.
5286         * stdio-common/tst-printf.sh: Do not set environment variables
5287         explicitly.
5288         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5289         $(test-program-prefix-before-env), $(run-program-env) and
5290         $(test-program-prefix-after-env).
5291         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5292         run_program_env and test_program_prefix_after_env arguments.
5293         Split $test calls into $test_pre and $test.
5294         * timezone/Makefile (build-testdata): Use
5295         $(built-program-cmd-before-env), $(run-program-env) and
5296         $(built-program-cmd-after-env).
5297
5298 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5299
5300         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5301         strlen for non SHARED builds.
5302
5303 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304
5305         * nptl/allocatestack.c (check_list): Inlined function...
5306         (__reclaim_stacks): ... here.
5307
5308 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5309
5310         [BZ #15698]
5311         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5312         memory overrun.
5313
5314 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5315
5316         * Rules (make-test-out): Include
5317         LOCPATH=$(common-objpfx)localedata in default environment.
5318         * debug/Makefile (tst-chk1-ENV): Remove variable.
5319         (tst-chk2-ENV): Likewise.
5320         (tst-chk3-ENV): Likewise.
5321         (tst-chk4-ENV): Likewise.
5322         (tst-chk5-ENV): Likewise.
5323         (tst-chk6-ENV): Likewise.
5324         (tst-lfschk1-ENV): Likewise.
5325         (tst-lfschk2-ENV): Likewise.
5326         (tst-lfschk3-ENV): Likewise.
5327         (tst-lfschk4-ENV): Likewise.
5328         (tst-lfschk5-ENV): Likewise.
5329         (tst-lfschk6-ENV): Likewise.
5330         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5331         (tst-iconv7-ENV): Likewise.
5332         * intl/Makefile (LOCPATH-ENV): Likewise.
5333         (tst-codeset-ENV): Likewise.
5334         (tst-gettext3-ENV): Likewise.
5335         (tst-gettext5-ENV): Likewise.
5336         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5337         (tst-fopenloc-ENV): Likewise.
5338         (tst-fgetws-ENV): Remove variable.
5339         (tst-ungetwc1-ENV): Likewise.
5340         (tst-ungetwc2-ENV): Likewise.
5341         (bug-ungetwc2-ENV): Likewise.
5342         (tst-swscanf-ENV): Likewise.
5343         (bug-ftell-ENV): Likewise.
5344         (tst-fgetwc-ENV): Likewise.
5345         (tst-fseek-ENV): Likewise.
5346         (tst-ftell-partial-wide-ENV): Likewise.
5347         (tst-ftell-active-handler-ENV): Likewise.
5348         (tst-ftell-append-ENV): Likewise.
5349         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5350         (tst-regexloc-ENV): Likewise.
5351         (bug-regex1-ENV): Likewise.
5352         (tst-regex-ENV): Likewise.
5353         (tst-regex2-ENV): Likewise.
5354         (bug-regex5-ENV): Likewise.
5355         (bug-regex6-ENV): Likewise.
5356         (bug-regex17-ENV): Likewise.
5357         (bug-regex18-ENV): Likewise.
5358         (bug-regex19-ENV): Likewise.
5359         (bug-regex20-ENV): Likewise.
5360         (bug-regex22-ENV): Likewise.
5361         (bug-regex23-ENV): Likewise.
5362         (bug-regex25-ENV): Likewise.
5363         (bug-regex26-ENV): Likewise.
5364         (bug-regex30-ENV): Likewise.
5365         (bug-regex32-ENV): Likewise.
5366         (bug-regex33-ENV): Likewise.
5367         (bug-regex34-ENV): Likewise.
5368         (bug-regex35-ENV): Likewise.
5369         (tst-rxspencer-ENV): Likewise.
5370         (tst-rxspencer-no-utf8-ENV): Likewise.
5371         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5372         (tst-sscanf-ENV): Likewise.
5373         (tst-swprintf-ENV): Likewise.
5374         (tst-swscanf-ENV): Likewise.
5375         (test-vfprintf-ENV): Likewise.
5376         (scanf13-ENV): Likewise.
5377         (bug14-ENV): Likewise.
5378         (tst-grouping-ENV): Likewise.
5379         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5380         (tst-strtod3-ENV): Likewise.
5381         (tst-strtod4-ENV): Likewise.
5382         (tst-strtod5-ENV): Likewise.
5383         (testmb2-ENV): Likewise./
5384         * string/Makefile (tst-strxfrm-ENV): Likewise.
5385         (tst-strxfrm2-ENV): Likewise.
5386         (bug-strcoll1-ENV): Likewise.
5387         (test-strcasecmp-ENV): Likewise.
5388         (test-strncasecmp-ENV): Likewise.
5389         * time/Makefile (tst-strptime-ENV): Likewise.
5390         (tst-ftime_l-ENV): Likewise.
5391         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5392         (tst-mbrtowc-ENV): Likewise.
5393         (tst-wcrtomb-ENV): Likewise.
5394         (tst-mbrtowc2-ENV): Likewise.
5395         (tst-c16c32-1-ENV): Likewise.
5396         (tst-mbsnrtowcs-ENV): Likewise.
5397
5398 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5399
5400         * manual/resource.texi (How to get information about the memory
5401         subsystem?): Fix typo.
5402         Reported by Peon de la Parra Ivan <peon@keba.com>
5403
5404 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5405
5406         [BZ #16882]
5407         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5408         (pthread_spin_lock): Branch out of spin loop to proper location.
5409         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5410         (pthread_spin_lock): Likewise.
5411
5412         * nptl/tst-spin4.c: New test.
5413         * nptl/Makefile (tests): Add tst-spin4.
5414
5415 2014-06-03  Andreas Schwab  <schwab@suse.de>
5416
5417         [BZ #15946]
5418         * resolv/res_send.c (send_dg): Reload file descriptor after
5419         calling reopen.
5420
5421 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5422
5423         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5424
5425 2014-06-03  Richard Henderson  <rth@redhat.com>
5426
5427         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5428         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5429         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5430         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5431         in the SAVE_PID block.
5432         (__libc_vfork): New alias.
5433         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5434
5435         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5436         child in registers, not on the stack.  Remove RESET_PID conditionals.
5437         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5438
5439 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5440
5441         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5442
5443 2014-06-03  Wilco  <wdijkstr@arm.com>
5444
5445         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5446         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5447         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5448         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5449         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5450         Likewise.
5451
5452 2014-06-03  Wilco  <wdijkstr@arm.com>
5453
5454         * sysdeps/aarch64/fpu/math_private.h
5455         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5456         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5457         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5458         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5459         Fix declarations.
5460
5461 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5462
5463         * crypt/crypt-private.h: Include ufc-crypt.h.
5464         (__b64_from_24bit): Declare extern.
5465         * crypt/crypt_util.c(__b64_from_24bit): New function.
5466         (b64t): New static const variable.
5467         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5468         (b64t): Remove variable.
5469         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5470         * crypt/sha256-crypt.c: Include crypt-private.h.
5471         (b64t): Remove variable.
5472         (__sha256_crypt_r): Remove b64_from_24bit and replace
5473         with __b64_from_24bit.
5474         * crypt/sha512-crypt.c: Likewise.
5475
5476 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5477
5478         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5479         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5480         Label the code __libc_vfork rather than __vfork.
5481         [!NOT_IN_libc] (vfork): Define as weak alias.
5482         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5483         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5484         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5485
5486 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5487
5488         * malloc/malloc.c (malloc_info): Fix format specifier for
5489         n_mmaps.
5490
5491 2014-06-02  Wilco  <wdijkstr@arm.com>
5492
5493         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5494         FPCR write.
5495
5496 2014-06-02  Wilco  <wdijkstr@arm.com>
5497
5498         [BZ #17009]
5499         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5500         Rewrite to reduce FPCR/FPSR accesses.
5501
5502 2014-06-01  David S. Miller  <davem@davemloft.net>
5503
5504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5505
5506 2014-05-31  David S. Miller  <davem@davemloft.net>
5507
5508         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5509         to occur in round to nearest mode when |x| >= 2.0
5510
5511 2014-05-30  Richard Henderson  <rth@twiddle.net>
5512
5513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5514         (PSEUDO_RET_NOERRNO): Remove.
5515         (ret): Don't redefine.
5516         (ret_NOERRNO): Define in terms of ret.
5517         (ret_ERRVAL): Likewise.
5518
5519         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5520         use of PSEUDO_RET; perform the error check directly.
5521
5522 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5523
5524         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5525         with __int128_t.
5526
5527 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5528
5529         * malloc/malloc (malloc_info): Fix formatting.
5530
5531 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5532             Roland McGrath  <roland@hack.frob.com>
5533
5534         * malloc/malloc (malloc_info): Also print mmapped statistics.
5535
5536 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5537
5538         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5539         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5540
5541 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5542
5543         * malloc/malloc.c (malloc_info): Inline mi_arena.
5544
5545 2014-05-29  Richard Henderson  <rth@twiddle.net>
5546
5547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5548         Remove comma before expanding ASM_ARGS_##nr.
5549         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5550         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5551         of ASM_ARGS_##nr.
5552         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5553         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5554         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5555         (ASM_ARGS_1): Add leading comma.
5556
5557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5558         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5559         to __errno_location.
5560         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5561         Remove the expected plt for __errno_location.
5562
5563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5564         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5565         call to __read_tp.
5566
5567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5568         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5569         it and break it down.
5570         (DOCARGS_0, DOCARGS_1): Do nothing.
5571         (DOCARGS_2): Update to store into the new stack frame.
5572         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5573         (UNDOCARGS_1): Update to restore from the new stack frame.
5574         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5575         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5576
5577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5578         (SINGLE_THREAD_P): New parameter for result regno.
5579         (PSEUDO): Update to match; use cbz instead of beq.
5580
5581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5582         Use ENTRY to define the _nocancel entry point.  Share the syscall
5583         and syscall error check paths with the cancel path.
5584         (PSEUDO_END): New.
5585
5586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5587         whitespace; tabs before and after asm mnemonics.
5588
5589 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5590
5591         [BZ #15132]
5592         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5593         Call fstat64 or stat64 internally, depending on arguments passed.
5594         Replace stat buffer argument with file descriptor argument.
5595         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5596         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5597         Pass fd to __internal_statvfs instead of calling fstat64.
5598         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5599         Pass fd to __internal_statvfs64 instead of calling fstat64.
5600         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5601         Pass -1 to __internal_statvfs instead of calling stat64.
5602         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5603         Pass -1 to __internal_statvfs64 instead of calling stat64.
5604
5605 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5606
5607         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5608         that was previously under [RESET_PID].
5609         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5610
5611         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5612         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5613
5614 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5615
5616         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5617
5618         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5619         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5620
5621 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5622
5623         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5624
5625 2014-05-27  Andreas Schwab  <schwab@suse.de>
5626
5627         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5628         TLS_INIT_TP macro.
5629         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5630         * elf/rtld.c (init_tls, dl_main): Likewise.
5631         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5632         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5633         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5634         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5635         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5636         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5637         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5638         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5639         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5640         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5641         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5642         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5643         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5644         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5645         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5646         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5647         * sysdeps/generic/tls.h: Update description.
5648
5649 2014-05-27  Will Newton  <will.newton@linaro.org>
5650
5651         [BZ #16990]
5652         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5653         and restore r2 rather than just restoring.
5654
5655 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5656
5657         [BZ #16724]
5658         * libio/tst-ftell-append.c: New test case.
5659         * libio/Makefile (tests): Add test case.
5660         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5661         append mode.
5662         * libio/wfileops.c (do_ftell_wide): Likewise.
5663
5664 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5665
5666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5667
5668         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5669         ...
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5672         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5673         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5674         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5675         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5676         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5677         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5679         Moved ...
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5682         Moved ...
5683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5684         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5685         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5686         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5687         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5688         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5689         ...
5690         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5691         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5692         Moved ...
5693         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5694         here.
5695         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5696         ...
5697         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5698         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5699         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5700
5701         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5702         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5703         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5704         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5705
5706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5707         merge into ...
5708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5710         ...
5711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5713         ...
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5716         Moved ...
5717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5718         here.
5719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5720         Moved ...
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5723         Moved ...
5724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5725
5726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5727         conditional [RESET_PID].
5728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5730         removed.
5731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5732         removed.
5733
5734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5735         <tcb-offsets.h>.
5736         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5737         (__libc_vfork): New strong alias.
5738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5739         removed.
5740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5741         Removed.
5742
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5744         <tcb-offsets.h>.
5745         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5746         (__libc_vfork): New strong alias.
5747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5748         removed.
5749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5750         removed.
5751
5752 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5753
5754         * malloc/malloc.c (mi_arena): New function.
5755         (malloc_info): Remove nested function mi_arena. Call non-nosted
5756         function mi_arena.
5757
5758 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5759
5760         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5761         by insrwi.
5762         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5763         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5764         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5765         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5766         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5767         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5768         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5769
5770 2014-05-26  Andreas Schwab  <schwab@suse.de>
5771
5772         [BZ #16984]
5773         * locale/programs/repertoire.c (repertoire_read): Add slash
5774         between I18NPATH element and file name.
5775         * locale/programs/locfile.c (locfile_read): Likewise.
5776
5777 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5778
5779         * nptl/pthread_mutexattr_settype.c
5780         (__pthread_mutexattr_settype):
5781         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5782
5783 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5784
5785         * nptl/tst-mutex5 (do_test):
5786         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5787
5788 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5789
5790         * benchtests/README: Document 'init' directive.
5791         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5792         BENCH_INIT.
5793         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5794         (parse_file): Recognize 'init' directive.
5795
5796 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5797
5798         [BZ #16796]
5799         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5800         alignment of struct pthread.
5801
5802 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5803
5804         [BZ #16878]
5805         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5806         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5807         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5808         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5809
5810 2014-05-25  Richard Henderson  <rth@twiddle.net>
5811
5812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5813         (SINGLE_THREAD_P_PIC): Remove.
5814         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5815         (SINGLE_THREAD_P_PIC): Remove.
5816
5817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5818         branch to syscall error ...
5819         (PSEUDO): ... here.
5820         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5821         from __local_syscall_error to .Lsyscall_error.
5822         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5823         (SYSCALL_ERROR): Update label name.
5824
5825         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5826         Do not use DOARGS/UNDOARGS.
5827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5828         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5829         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5830         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5831         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5832
5833         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5834         block comment.
5835
5836         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5837         define if !NOT_IN_libc.
5838         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5839         define with non-default symbol versions.
5840
5841 2014-05-23  Richard Henderson  <rth@twiddle.net>
5842
5843         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5844         (vfork, __vfork): Define via compat_symbol.
5845
5846         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5847         [!HAVE_IFUNC] (vfork_compat): Remove.
5848         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5849
5850 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5851
5852         [BZ #16978]
5853         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5854         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5855         variable.
5856
5857 2014-05-23  Richard Henderson  <rth@twiddle.net>
5858
5859         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5860         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5861         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5862         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5863
5864         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5865         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5866         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5867         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5868         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5869         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5870         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5871         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5872         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5873         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5874         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5875         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5876         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5877         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5878         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5879         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5880         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5881         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5882         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5883         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5884         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5885         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5886         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5887         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5888         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5889         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5890         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5891         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5892         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5893         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5894         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5895         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5896         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5897         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5898         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5899         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5900         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5901         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5902         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5903         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5904         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5905         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5906         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5907         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5908         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5909         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5910         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5911         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5912         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5913         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5915         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5917         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5919         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5920
5921         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5922         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5923         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5924         before exiting on error.
5925         (__libc_vfork): New strong alias.
5926         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5927         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5928
5929         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5930         that was previously under [RESET_PID].
5931         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5932
5933         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5934
5935 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5936
5937         [BZ #16977]
5938         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5939         value when x - 1 is zero.
5940         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5941         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5942         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5943         0.0L for an argument of 1.0L.
5944         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5945         Likewise.
5946         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5947         value when x - 1 is zero.
5948         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5949         * sysdeps/i386/fpu/libm-test-ulps: Update.
5950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951
5952 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5953
5954         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5955         alphasort and versionsort.
5956
5957 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5958
5959         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5960         macro.
5961         [copysignf]: Likewise.
5962
5963 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5964
5965         * crypt/md5-crypt.c: Fix formatting.
5966
5967 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5968
5969         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5970         (b64_from_24bit): New function.
5971
5972 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5973
5974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5975         libc_hidden_builtin_def to ifunc.
5976         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5977         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5978
5979 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5980
5981         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5982         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5983
5984 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5985
5986         * nscd/Depend (linuxthreads): Remove.
5987         (nptl): Add.
5988         * resolv/Depend (linuxthreads): Remove.
5989         * rt/Depend (linuxthreads): Remove.
5990
5991         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5992         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5993         $(common-objpfx)elf/.
5994         (link-libc-before-gnulib): Likewise.
5995         (elfobjdir): Remove variable.
5996         * Makefile (install): Use $(elf-objpfx) instead of
5997         $(common-objpfx)elf/.
5998         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5999         $(elfobjdir)/.
6000         (link-libc-deps): Likewise.
6001         ($(common-objpfx)libc.so): Likewise.
6002         ($(common-objpfx)linkobj/libc.so): Likewise.
6003         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6004         instead of $(common-objpfx)elf/.
6005         (symbolic-link-list): Likewise.
6006         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6007         [$(cross-compiling) = no]: Likewise.
6008         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6009         $(elfobjdir)/.
6010         (static-gnulib-arch): Likewise.
6011         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6012         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6013         $(common-objpfx)elf/.
6014
6015 2014-05-21  Richard Henderson  <rth@redhat.com>
6016
6017         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6018         (SINGLE_THREAD_P): Use the correct width load.  Fold
6019         into the ldr offset.
6020
6021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6022         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6023
6024 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6025
6026         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6027         (libgcc_s_resume): Use __attribute_used__.
6028         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6029         Likewise.
6030
6031 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6032
6033         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6034         optimization when used with float constants.
6035
6036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6037
6038 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6039
6040         [BZ #16915]
6041         * locale/nl_langinfo_l.c: Make direct reference to every
6042         _nl_current_CATEGORY symbol.
6043         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6044         (tests-static): Add tst-langinfo-static.
6045         (tests-special): Add tst-langinfo-static.out.
6046         ($(objpfx)tst-langinfo.out): Redirect output.
6047         ($(objpfx)tst-langinfo-static.out): New.
6048         * localedata/tst-langinfo.sh: Send output to stdout.
6049         * localedata/tst-langinfo-static.c: New file.
6050
6051         [BZ #16965]
6052         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6053         when the shift amount is modulo the limb size.
6054
6055 2014-05-20  Richard Henderson  <rth@redhat.com>
6056
6057         [BZ #16967]
6058         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6059         Change type of sa_flags from unsigned int to int.
6060
6061         [BZ #16966]
6062         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6063
6064         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6065
6066 2014-05-20  Will Newton  <will.newton@linaro.org>
6067
6068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6069         Test the return value of the system call in the nocancel case.
6070
6071 2014-05-20  Will Newton  <will.newton@linaro.org>
6072             Yvan Roux  <yvan.roux@linaro.org>
6073
6074         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6075         #include of asm/ptrace.h.
6076         (PTRACE_GET_THREAD_AREA): Remove #undef.
6077         (PTRACE_GETHBPREGS): Likewise.
6078         (PTRACE_SETHBPREGS): Likewise.
6079         (struct user_regs_struct): New structure.
6080         (struct user_fpsimd_struct): New structure.
6081         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6082         #include of asm/ptrace.h and second #include of sys/user.h.
6083         (PTRACE_GET_THREAD_AREA): Remove #undef.
6084         (PTRACE_GETHBPREGS): Likewise.
6085         (PTRACE_SETHBPREGS): Likewise.
6086         (ELF_NGREG): Use new struct user_regs_struct.
6087         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6088
6089 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6090
6091         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6093
6094 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6095
6096         [BZ #16958]
6097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6098         membar to avoid block loads/stores to overlap previous stores.
6099
6100 2014-05-17  Richard Henderson  <rth@redhat.com>
6101
6102         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6103         Create the __##syscall_name##_nocancel entry point.
6104         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6105         Remove; let the sysdep-cancel.h code create it.
6106
6107 2014-05-17  David S. Miller  <davem@davemloft.net>
6108
6109         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6110         Protect with __USE_GNU.
6111         (TIOCSET_TEMPT): Likewise.
6112         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6113         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6114         these are already provided in bits/ioctl-types.h
6115
6116 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6117
6118         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6119         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6120
6121         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6122         Use wait4 regardless of [__NR_waitpid].
6123
6124 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6125
6126         PR libgcc/60166
6127         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6128         (_FP_NANSIGN_Q): Set the quiet bit.
6129
6130 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6131
6132         * benchtests/Makefile
6133         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6134         not $(common-objpfx)math/libm.so.
6135         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6136         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6137         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6138         $(common-objpfx)dlfcn/libdl.so.
6139         ($(objpfx)tst-audit8): Depend on $(libm), not
6140         $(common-objpfx)math/libm.so.
6141         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6142         not $(common-objpfx)dlfcn/libdl.so.
6143         * math/Makefile
6144         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6145         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6146         [$(build-shared) = yes].
6147         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6148         $(common-objpfx)nptl/libpthread.so.
6149         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6150         $(common-objpfx)math/libm.so$(libm.so-version) or
6151         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6152         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6153         $(common-objpfx)dlfcn/libdl.so.
6154         * setjmp/Makefile (link-libm): Remove variable.
6155         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6156         * stdio-common/Makefile (link-libm): Remove variable.
6157         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6158         * stdlib/Makefile (link-libm): Remove variable.
6159         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6160         ($(objpfx)tst-strtod-round): Likewise.
6161         ($(objpfx)tst-tininess): Likewise.
6162         ($(objpfx)tst-strtod-underflow): Likewise.
6163         ($(objpfx)tst-strtod6): Likewise.
6164         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6165         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6166         $(common-objpfx)dlfcn/libdl.so.
6167
6168 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6169
6170         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6171         BSD terminal modes definitions.
6172
6173 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6174
6175         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6176         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6177
6178         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6179         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6180         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6181         Don't do #include_next.
6182         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6183         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6184         Don't do #include_next.
6185         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6186         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6187         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6188         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6189
6190 2014-05-16  Allan McRae  <allan@archlinux.org>
6191
6192         * po/sv.po: Update Swedish translation from translation project.
6193
6194         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6195         in sed expression.
6196
6197 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6198
6199         [BZ #16917]
6200         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6201         errno if the TIOCGPTN ioctl fails with an error different than
6202         EINVAL.
6203         * login/tst-ptsname.c: New file.
6204         * login/Makefile (tests): Add tst-ptsname.
6205
6206         [BZ #16943]
6207         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6208         and prlimit64.
6209
6210 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211
6212         [BZ #16849]
6213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6214         herrno to return EAI_AGAIN.
6215
6216 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6217
6218         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6219         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6220         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6221         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6222         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6223         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6224         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6225         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6227         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6228         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6229         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6231         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6232         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6233         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6234         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6235         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6237         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6238         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6239         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6240         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6241         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6242         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6243         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6245         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6246         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6247         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6249         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6251         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6253         Moved ...
6254         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6256         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6258         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6264         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6266         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6268         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6270         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6272         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6274         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6276         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6278         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6280         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6282         Moved ...
6283         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6285         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6287         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6289         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6291         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6295         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6297         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6299         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6301         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6307
6308         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6309         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6310         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6311         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6312         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6313         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6314         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6315         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6316         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6317         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6318         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6319         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6320         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6321         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6322         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6323         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6324         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6325         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6326         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6328         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6329         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6330         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6332         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6333         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6335         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6336         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6337         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6338         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6339
6340         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6341         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6342
6343         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6344         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6345         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6346         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6347         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6349         Moved ...
6350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6352         Moved ...
6353         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6355         Moved ...
6356         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6358         Moved ...
6359         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6360         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6361         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6363         Moved ...
6364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6366         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6368         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6369         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6370         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6372         Moved ...
6373         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6375         Moved ...
6376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6377         ... here.
6378         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6379         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6381         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6382         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6383         Moved ...
6384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6385         ... here.
6386         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6387         Moved ...
6388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6389         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6390         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6391         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6392         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6394         Moved ...
6395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6397         Moved ...
6398         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6400         Moved ...
6401         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6403         Moved ...
6404         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6405         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6406         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6408         Moved ...
6409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6410         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6411         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6413         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6414         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6415         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6416         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6420         Moved ...
6421         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6422         ... here.
6423         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6424         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6426         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6428         Moved ...
6429         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6430         ... here.
6431         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6432         Moved ...
6433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6435         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6436         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6437         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6438         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6440         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6441         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6443         Moved ...
6444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6446         Moved ...
6447         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6448         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6449         Moved ...
6450         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6451         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6455         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6457         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6459         Moved ...
6460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6462         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6463         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6464         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6465         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6466         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6467         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6468         Moved ...
6469         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6470         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6471         Moved ...
6472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6473         ... here.
6474         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6475         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6476         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6477         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6479         Moved ...
6480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6481         ... here.
6482         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6483         Moved ...
6484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6485         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6486         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6487         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6488         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6489         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6490         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6492         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6493         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6494         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6495
6496         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6497         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6498
6499         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6500         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6501
6502         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6503         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6504         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6505         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6506         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6507         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6508         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6509         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6510         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6511         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6512         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6513         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6515         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6516         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6518         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6520         Moved ...
6521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6523         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6525         Moved ...
6526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6530         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6532         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6534         Moved ...
6535         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6537         Moved ...
6538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6542         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6544         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6546         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6547         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6548         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6549         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6550         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6552         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6554         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6555
6556         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6557         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6558         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6559         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6560         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6561
6562         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6563         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6564         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6565         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6566         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6567         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6568         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6569         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6570         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6571         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6572
6573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6575
6576         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6577         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6578         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6579         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6580         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6581         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6582         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6583         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6584         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6585         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6586         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6587         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6588         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6589         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6591         Update #include.
6592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6593         Likewise.
6594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6595         Likewise.
6596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6597         Likewise.
6598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6599         Likewise.
6600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6601         Likewise.
6602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6603         Likewise.
6604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6605         Likewise.
6606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6607         Likewise.
6608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6609         Likewise.
6610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6617         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6618         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6619         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6625
6626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6627         that was previously under [RESET_PID].
6628         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6629         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6630         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6631
6632         * sysdeps/i386/nptl/Implies: New file.
6633         * sysdeps/x86_64/nptl/Implies: New file.
6634         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6635         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6636         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6637         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6638
6639         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6640         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6641         (__libc_vfork): New strong alias.
6642         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6643         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6644
6645         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6646         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6647         (__libc_vfork): New strong alias.
6648         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6649         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6650
6651         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6652         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6653         (__libc_vfork): New strong alias.
6654         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6655         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6656         * nptl/pt-vfork.c: New file.
6657         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6658         (libpthread: GLIBC_2.20): New version set (empty).
6659
6660 2014-05-14  Will Newton  <will.newton@linaro.org>
6661
6662         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6663         rather than #if.
6664
6665 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6666
6667         [BZ #16564]
6668         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6669         arguments with exponent 65 or above.
6670         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6671         arguments 0x1p113L or above.
6672         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6673         to arguments 0x1p107L or above.
6674         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6675         positive arguments with exponent 65 or above.
6676         * math/auto-libm-test-in: Add more tests of log1p.
6677         * math/auto-libm-test-out: Regenerated.
6678
6679         [BZ #16928]
6680         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6681         non-finite arguments is +0.
6682         * math/s_cacosf.c (__cacosf): Likewise.
6683         * math/s_cacosl.c (__cacosl): Likewise.
6684         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6685         * sysdeps/i386/fpu/libm-test-ulps: Update.
6686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6687
6688         [BZ #16927]
6689         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6690         value.
6691         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6692         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6693         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6694         for explicit high bit of mantissa when testing for argument equal
6695         to 1.
6696         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6697         * sysdeps/i386/fpu/libm-test-ulps: Update.
6698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6699
6700         [BZ #16516]
6701         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6702         (__erf): Scale by 16 instead of 8 in potentially underflowing
6703         case.  Ensure exception if result actually underflows.
6704         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6705         (__erff): Scale by 16 instead of 8 in potentially underflowing
6706         case.  Ensure exception if result actually underflows.
6707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6708         (efx8): Remove variable.
6709         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6710         case.  Ensure exception if result actually underflows.
6711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6712         (efx8): Remove variable.
6713         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6714         case.  Ensure exception if result actually underflows.
6715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6716         (efx8): Remove variable.
6717         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6718         case.  Ensure exception if result actually underflows.
6719         * math/auto-libm-test-in: Add more tests of erf.
6720         * math/auto-libm-test-out: Regenerated.
6721
6722 2014-05-14  Andreas Schwab  <schwab@suse.de>
6723
6724         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6725         Remove code conditionalized on USE___THREAD.
6726
6727         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6728         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6729         not definedness.
6730
6731 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6732
6733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6734         Define unconditionally.
6735         (__ASSUME_O_CLOEXEC): Likewise.
6736         (__ASSUME_SOCK_CLOEXEC): Likewise.
6737         (__ASSUME_IN_NONBLOCK): Likewise.
6738         (__ASSUME_PIPE2): Likewise.
6739         (__ASSUME_EVENTFD2): Likewise.
6740         (__ASSUME_SIGNALFD4): Likewise.
6741         (__ASSUME_DUP3): Likewise.
6742         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6743         (__ASSUME_DUP3): Do not define.
6744         (__ASSUME_EVENTFD2): Likewise.
6745         (__ASSUME_IN_NONBLOCK): Likewise.
6746         (__ASSUME_O_CLOEXEC): Likewise.
6747         (__ASSUME_PIPE2): Likewise.
6748         (__ASSUME_SIGNALFD4): Likewise.
6749         (__ASSUME_SOCK_CLOEXEC): Likewise.
6750         (__ASSUME_UTIMES): Undefine.
6751         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6752         (__ASSUME_UTIMES): Do not define.
6753         (__ASSUME_O_CLOEXEC): Likewise.
6754         (__ASSUME_SOCK_CLOEXEC): Likewise.
6755         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6756         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6757         0x020621].
6758         (__ASSUME_PIPE2): Likewise.
6759         (__ASSUME_EVENTFD2): Likewise.
6760         (__ASSUME_SIGNALFD4): Likewise.
6761         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6762         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6763         Do not define.
6764         (__ASSUME_EVENTFD2): Likewise.
6765         (__ASSUME_SIGNALFD4): Likewise.
6766         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6767         (__ASSUME_32BITUIDS): Likewise.
6768         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6769         (__ASSUME_IPC64): Likewise.
6770         (__ASSUME_ST_INO_64_BIT): Likewise.
6771         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6772         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6773         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6774         (__ASSUME_UTIMES): Do not define.
6775         (__ASSUME_PSELECT): Likewise.
6776         (__ASSUME_PPOLL): Likewise.
6777         (__ASSUME_O_CLOEXEC): Likewise.
6778         (__ASSUME_SOCK_CLOEXEC): Likewise.
6779         (__ASSUME_IN_NONBLOCK): Likewise.
6780         (__ASSUME_PIPE2): Likewise.
6781         (__ASSUME_EVENTFD2): Likewise.
6782         (__ASSUME_SIGNALFD4): Likewise.
6783         (__ASSUME_DUP3): Likewise.
6784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6785         (__ASSUME_UTIMES): Likewise.
6786         (__ASSUME_O_CLOEXEC): Likewise.
6787         (__ASSUME_SOCK_CLOEXEC): Likewise.
6788         (__ASSUME_IN_NONBLOCK): Likewise.
6789         (__ASSUME_PIPE2): Likewise.
6790         (__ASSUME_EVENTFD2): Likewise.
6791         (__ASSUME_SIGNALFD4): Likewise.
6792         (__ASSUME_DUP3): Likewise.
6793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6794         (__ASSUME_UTIMES): Likewise.
6795         (__ASSUME_O_CLOEXEC): Likewise.
6796         (__ASSUME_SOCK_CLOEXEC): Likewise.
6797         (__ASSUME_IN_NONBLOCK): Likewise.
6798         (__ASSUME_PIPE2): Likewise.
6799         (__ASSUME_EVENTFD2): Likewise.
6800         (__ASSUME_SIGNALFD4): Likewise.
6801         (__ASSUME_DUP3): Likewise.
6802         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6803         Likewise.
6804         (__ASSUME_UTIMES): Likewise.
6805         (__ASSUME_EVENTFD2): Likewise.
6806         (__ASSUME_SIGNALFD4): Likewise.
6807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6808         (__ASSUME_O_CLOEXEC): Likewise.
6809         (__ASSUME_SOCK_CLOEXEC): Likewise.
6810         (__ASSUME_IN_NONBLOCK): Likewise.
6811         (__ASSUME_PIPE2): Likewise.
6812         (__ASSUME_EVENTFD2): Likewise.
6813         (__ASSUME_SIGNALFD4): Likewise.
6814         (__ASSUME_DUP3): Likewise.
6815         (__ASSUME_UTIMES): Undefine.
6816
6817         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6818         feclearexcept.  Remove symbol versioning code.
6819         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6820         symbol versioning code.
6821         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6822         symbol versioning code.
6823         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6824         feupdateenv.  Remove symbol versioning code.
6825         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6826         fegetexceptflag.  Remove symbol versioning code.
6827         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6828         fesetexceptflag.  Remove symbol versioning code.
6829         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6830         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6831         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6832         (__posix_fadvise64_l32): Remove prototype.
6833         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6834         code.
6835
6836 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6837
6838         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6839         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6840         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6841         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6842
6843 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6844
6845         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6846         current working directory
6847
6848 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6849
6850         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6851         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6852         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6853         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6854         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6855         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6856         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6857         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6858         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6859         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6860         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6861         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6862         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6867         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6869         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6875         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6876         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6877         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6878         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6879         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6880         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6881         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6882         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6883         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6884         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6885         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6886         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6887         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6888         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6889         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6890         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6891         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6892
6893         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6894         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6895
6896         * sysdeps/unix/sysv/linux/arm/Makefile
6897         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6898         Add rt-aeabi_unwind_cpp_pr1.
6899         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6900         Add nptl-aeabi_unwind_cpp_pr1.
6901         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6902         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6903         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6904         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6905         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6906         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6907
6908         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6909         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6910         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6911         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6912
6913         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6914         Deconditionalize the code that was previously under [RESET_PID].
6915         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6916
6917         * sysdeps/generic/exit-thread.h: New file.
6918         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6919         * include/unistd.h (__exit_thread): Remove declaration.
6920         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6921         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6922         * csu/libc-start.c: Include <exit-thread.h>.
6923         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6924         * nptl/pthread_create.c: Include <exit-thread.h>.
6925         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6926         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6927         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6928         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6929         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6930         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6931         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6932         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6933         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6934         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6935         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6936         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6937         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6938         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6939         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6940         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6941         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6942
6943 2014-05-13  Andreas Schwab  <schwab@suse.de>
6944
6945         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6946
6947 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6948
6949         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6950         (__ASSUME_UTIMES): Do not condition on kernel version.
6951         (__ASSUME_PSELECT): Define unconditionally.
6952         (__ASSUME_PPOLL): Likewise.
6953         (__ASSUME_ATFCTS): Likewise.
6954         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6955         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6956         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6957         (__ASSUME_UTIMENSAT): Define unconditionally.
6958         (__ASSUME_PRIVATE_FUTEX): Likewise.
6959         (__ASSUME_FALLOCATE): Likewise.
6960         (__ASSUME_O_CLOEXEC): Likewise.
6961         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6962         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6963         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6964         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6965         (__ASSUME_IN_NONBLOCK): Likewise.
6966         (__ASSUME_PIPE2): Likewise.
6967         (__ASSUME_EVENTFD2): Likewise.
6968         (__ASSUME_SIGNALFD4): Likewise.
6969         (__ASSUME_DUP3): Likewise.
6970         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6971         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6972         (__ASSUME_AT_RANDOM): Likewise.
6973         (__ASSUME_PREADV): Likewise.
6974         (__ASSUME_PWRITEV): Likewise.
6975         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6976         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6977         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6978         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6979         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6981         (__ASSUME_O_CLOEXEC): Define unconditionally.
6982         (__ASSUME_PSELECT): Do not undefine conditionally.
6983         (__ASSUME_PPOLL): Likewise.
6984         (__ASSUME_ATFCTS): Likewise.
6985         (__ASSUME_SET_ROBUST_LIST): Likewise.
6986         (__ASSUME_UTIMENSAT): Likewise.
6987         (__ASSUME_FDATASYNC): Define unconditionally.
6988         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6989         (__ASSUME_SIGFRAME_V2): Likewise.
6990         )__ASSUME_EVENTFD2): Likewise.
6991         (__ASSUME_SIGNALFD4): Likewise.
6992         (__ASSUME_PSELECT): Do not undefine conditionally.
6993         (__ASSUME_PPOLL): Likewise.
6994         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6995         (__ASSUME_PSELECT): Define unconditionally.
6996         (__ASSUME_PPOLL): Likewise.
6997         (__ASSUME_O_CLOEXEC): Likewise.
6998         (__ASSUME_SOCK_CLOEXEC): Likewise.
6999         (__ASSUME_IN_NONBLOCK): Likewise.
7000         (__ASSUME_PIPE2): Likewise.
7001         (__ASSUME_EVENTFD2): Likewise.
7002         (__ASSUME_SIGNALFD4): Likewise.
7003         (__ASSUME_DUP3): Likewise.
7004         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7005         (__ASSUME_O_CLOEXEC): Likewise.
7006         (__ASSUME_SOCK_CLOEXEC): Likewise.
7007         (__ASSUME_IN_NONBLOCK): Likewise.
7008         (__ASSUME_PIPE2): Likewise.
7009         (__ASSUME_EVENTFD2): Likewise.
7010         (__ASSUME_SIGNALFD4): Likewise.
7011         (__ASSUME_DUP3): Likewise.
7012         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7013         (__ASSUME_EVENTFD2): Likewise.
7014         (__ASSUME_SIGNALFD4): Likewise.
7015         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7016
7017 2014-05-12  Andreas Schwab  <schwab@suse.de>
7018
7019         [BZ #16932]
7020         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7021         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7022         than maximum RPC packet size.
7023         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7024         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7025         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7026         (_nss_nis_getservbyport_r): Likewise.
7027
7028 2014-05-12  Will Newton  <will.newton@linaro.org>
7029
7030         * malloc/Makefile (tests): Add tst-mallopt.
7031         * malloc/tst-mallopt.c: New file.
7032
7033 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7034
7035         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7036         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7037
7038 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7039
7040         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7041         (tst-tlsmod6.so): Likewise.
7042
7043 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7044
7045         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7046
7047 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7048
7049         [BZ #16064]
7050         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7051         and <dl-procinfo.h>.
7052         (__fegetenv): Save SSE state in envp->__eip if supported.
7053         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7054         envp->__eip if supported.
7055         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7056         and <dl-procinfo.h>.
7057         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7058         __data_offset and __data_selector in environment to 0.  Set SSE
7059         state if supported.
7060         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7061         test-fenv-sse.
7062         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7063         -mfpmath=sse.
7064         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7065
7066 2014-05-09  Will Newton  <will.newton@linaro.org>
7067
7068         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7069         and libc_relro_required for ARM.
7070         * sysdeps/arm/preconfigure: Regenerate.
7071
7072 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7073             Stefan Liebler  <stli@linux.vnet.ibm.com>
7074
7075         * config.make.in (enable-lock-elision): New Makefile variable.
7076         * configure.ac: Likewise.
7077         * configure: Regenerate.
7078         * sysdeps/s390/configure.ac:
7079         Add check for gcc transactions support.
7080         * sysdeps/s390/configure: Regenerate.
7081         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7082         Build elision files if enabled.
7083         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7084         Add lock elision support for s390.
7085         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7086         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7087         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7088         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7089         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7090         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7091         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7092         Likewise.
7093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7094         Likewise.
7095         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7096         Likewise.
7097         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7098         Likewise.
7099         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7100         (__lll_timedlock_elision, __lll_lock_elision)
7101         (__lll_unlock_elision, __lll_trylock_elision)
7102         (lll_timedlock_elision, lll_lock_elision)
7103         (lll_unlock_elision, lll_trylock_elision): Add.
7104         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7105         (pthread_mutex_t): Add lock elision support for s390.
7106
7107 2014-05-14  Wilco  <wdijkstr@arm.com>
7108
7109         * sysdeps/arm/fclrexcpt.c: Cleanup.
7110         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7111         * sysdeps/arm/feenablxcpt.c: Cleanup.
7112         * sysdeps/arm/fegetenv.c: Cleanup.
7113         * sysdeps/arm/fegetexcept.c: Cleanup.
7114         * sysdeps/arm/fegetround.c: Cleanup.
7115         * sysdeps/arm/feholdexcpt.c: Cleanup.
7116         * sysdeps/arm/fesetenv.c: Cleanup.
7117         * sysdeps/arm/fesetround.c: Cleanup.
7118         * sysdeps/arm/feupdateenv.c: Cleanup.
7119         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7120         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7121         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7122         * sysdeps/arm/ftestexcept.c: Cleanup.
7123         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7124         * sysdeps/arm/setfpucw.c: Cleanup.
7125
7126 2014-05-09  Will Newton  <will.newton@linaro.org>
7127
7128         * sysdeps/arm/armv7/strcmp.S: New file.
7129         * NEWS: Mention addition of ARMv7 optimized strcmp.
7130
7131 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7132
7133         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7134         look for %.ac rather than %.in.
7135
7136         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7137         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7138         * sysdeps/mach/hurd/configure: Regenerated.
7139         * sysdeps/unix/sysv/linux/configure: Regenerated.
7140
7141         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7142
7143 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7144
7145         [BZ# 16922]
7146         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7147         (LONG_SUB): Ditto.
7148         (PTR_SUB): Ditto.
7149
7150 2014-05-07  Andreas Schwab  <schwab@suse.de>
7151
7152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7153         when skipping over non-matching result from nscd.
7154
7155 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7156
7157         [BZ #16876]
7158         * nptl/sockperf.c (client): Check socket return value.
7159
7160         [BZ #16877]
7161         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7162         nscd security class.
7163
7164 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7165
7166         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7167         * sysdeps/arm/unwind.h: ... here.
7168
7169 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7170
7171         [BZ# 16916]
7172         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7173         Define.
7174
7175 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7176
7177         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7178         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7179         multiarch strncpy for PPC64.
7180         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7181         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7183         multiarch optimizations.
7184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7185         (__libc_ifunc_impl_list): Likewise.
7186         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7187         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7188         multiarch stpncpy for PPC64.
7189         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7190         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7191
7192 2014-05-06  Andreas Schwab  <schwab@suse.de>
7193
7194         [BZ #16912]
7195         * gmon/mcount.c (_MCOUNT_DECL): Use
7196         atomic_compare_and_exchange_bool_acq instead of
7197         catomic_compare_and_exchange_bool_acq.
7198
7199 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7200
7201         * elf/Makefile (others, install-bin): Remove pldd.
7202         (pldd-modules): Variable removed.
7203         ($(objpfx)pldd): Target removed.
7204         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7205         (others, install-bin): Append pldd here.
7206         ($(objpfx)pldd): New target.
7207
7208         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7209         to 0, so the first #if test emitted later doesn't see it undefined.
7210         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7211         * sysdeps/gnu/errlist.c: Regenerated.
7212
7213 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7214
7215         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7216         [libc_hidden_builtin_def]: Define to empty value.
7217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7218         [libc_hidden_builtin_def]: Likewise.
7219         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7220         [libc_hidden_builtin_def]: Likewise.
7221         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7222         [libc_hidden_builtin_def]: Likewise.
7223         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7224         __redirect_memcpy and define ifunc as default hidden symbol.
7225         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7226         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7227
7228 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7229
7230         * locale/iso-4217.def: Reintroduce XDR currency.
7231
7232 2014-05-04  Allan McRae  <allan@archlinux.org>
7233
7234         * po/eo.po: Update Esperanto translation from translation project.
7235
7236 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7237
7238         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7239         and FEATURE_INDEX_MAX to 1.
7240         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7241
7242 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7243
7244         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7245         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7246         * iconvdata/big5.c (ONE_DIRECTION): Define.
7247         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7248         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7249         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7250         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7251         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7252         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7253         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7254         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7255         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7256         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7257         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7258         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7259         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7260         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7261         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7262         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7263         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7264         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7265         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7266         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7267         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7268         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7269         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7270         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7271         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7272         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7273         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7274         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7275         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7276         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7277         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7278         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7279         * iconvdata/johab.c (ONE_DIRECTION): Define.
7280         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7281         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7282         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7283         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7284         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7285         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7286         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7287         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7288         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7289         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7290
7291 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7292
7293         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7294         (_IO_JUMPS_OFFSET): Define to 0.
7295
7296         * nptl/sysdeps/pthread/bits/libc-lock.h
7297         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7298         (__libc_lock_define_initialized_recursive): Always define using
7299         initializer.  Modern compilers treat uninitialized (implicit zero) and
7300         explicit zero initializers the same (i.e. put the datum in bss).
7301
7302 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7303
7304         * nscd/nscd-client.h: Include <string.h>.
7305
7306 2014-05-01  David S. Miller  <davem@davemloft.net>
7307
7308         [BZ #16885]
7309         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7310         multiple zero bytes exist at the end of a string.
7311         Reported by Aurelien Jarno <aurelien@aurel32.net>
7312
7313         * string/test-strcmp.c (check): Add explicit test for situations where
7314         there are multiple zero bytes after the first.
7315
7316 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7317
7318         [BZ #16890]
7319         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7320         when compiling wprintf.
7321         * stdio-common/tstdiomisc.c (t3): New function.
7322         (main): Call it.
7323
7324 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7325
7326         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7327         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7328         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7329         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7330
7331 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7332
7333         * stdlib/longlong.h: Updated from GCC.
7334
7335 2014-05-01  Will Newton  <will.newton@linaro.org>
7336             Bernard Ogden  <bernie.ogden@linaro.org>
7337
7338         * NEWS: Update fixed bug list.
7339
7340         [BZ #15119]
7341         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7342
7343 2014-04-30  David S. Miller  <davem@davemloft.net>
7344
7345         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7346         (libc_feholdexcept_setround_sparc_ctx): New function.
7347         (libc_fesetenv_sparc_ctx): Likewise.
7348         (libc_feupdateenv_sparc_ctx): Likewise.
7349         (libc_feholdsetround_sparc_ctx): Likewise.
7350         (libc_feholdexcept_setround_ctx): Define.
7351         (libc_feholdexcept_setroundf_ctx): Likewise.
7352         (libc_feholdexcept_setroundl_ctx): Likewise.
7353         (libc_fesetenv_ctx): Likewise.
7354         (libc_fesetenvf_ctx): Likewise.
7355         (libc_fesetenvl_ctx): Likewise.
7356         (libc_feupdateenv_ctx): Likewise.
7357         (libc_feupdateenvf_ctx): Likewise.
7358         (libc_feupdateenvl_ctx): Likewise.
7359         (libc_feresetround_ctx): Likewise.
7360         (libc_feresetroundf_ctx): Likewise.
7361         (libc_feresetroundl_ctx): Likewise.
7362         (libc_feholdsetround_ctx): Likewise.
7363         (libc_feholdsetroundf_ctx): Likewise.
7364         (libc_feholdsetroundl_ctx): Likewise.
7365
7366         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7367         with __USE_GNU instead of XOPEN cpp guards.
7368
7369         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7370         0.
7371
7372         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7373         with XOPEN cpp guards.
7374
7375 2014-04-30  Julian Brown  <julian@codesourcery.com>
7376
7377         [BZ #16888]
7378         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7379         handling.
7380
7381 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7382
7383         [BZ #9894]
7384         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7385         Change to 2.6.32.
7386         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7387         * sysdeps/unix/sysv/linux/configure: Regenerated.
7388         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7389         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7390         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7391         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7392         * README: Update reference to required Linux kernel version.
7393         * manual/install.texi (Linux): Update reference to required Linux
7394         kernel headers version.
7395         * INSTALL: Regenerated.
7396
7397         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7398         header inclusion.
7399         [POSIX] (limits.h): Likewise.
7400         [POSIX] (math.h): Likewise.
7401         [POSIX] (sys/wait.h): Likewise.
7402         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7403         function.
7404         [POSIX] (stddef.h): Do not allow header inclusion.
7405
7406 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7407
7408         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7409
7410 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7411
7412         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7413         Return immediately after lll_futex_wake.
7414
7415 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7416
7417         [BZ #16791]
7418         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7419         structure.
7420         (datahead_init_pos): Call datahead_init_common early.
7421         (datahead_init_neg): Likewise.
7422
7423         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7424         datahead_init_neg): New functions.
7425         * nscd/aicache.c (addhstaiX): Use them.
7426         * nscd/grpcache.c (cache_addgr): Likewise.
7427         * nscd/hstcache.c (cache_addhst): Likewise.
7428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7429         * nscd/netgroupcache.c (do_notfound): Likewise.
7430         (addgetnetgrentX): Likewise.
7431         (addinnetgrX): Likewise.
7432         * nscd/pwdcache.c (cache_addpw): Likewise.
7433         * nscd/servicescache.c (cache_addserv): Likewise.
7434
7435 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7436             Atsushi Onoe  <atsushi@onoe.org>
7437
7438         [BZ #14308]
7439         [BZ #12994]
7440         [BZ #13651]
7441         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7442         one response is valid.
7443         * resolv/res_send.c (send_dg): Check for validity of other
7444         response if the current response is a referral.
7445
7446 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7447
7448         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7449
7450 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7451
7452         [BZ #16823]
7453         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7454         Always divide by positive zero when computing -Inf result.
7455         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7456         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7457
7458 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7459
7460         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7461         FPSCR if value do not change.
7462         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7463         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7464         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7465         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7466         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7467         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7468         function.
7469
7470 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7471
7472         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7473         * sysdeps/unix/sysv/linux/hppa: Move directory from
7474         ports/systeps/unix/sysv/linux/hppa.
7475         * README: Update listing for hppa-*-linux-gnu.
7476
7477 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7478
7479         [BZ #16754]
7480         * manual/stdio.texi (Hook functions): Fix types of stream hook
7481         functions.
7482         [BZ #16854]
7483         * socket/sys/socket.h: Fix typo in comment.
7484
7485 2014-04-28  Wilco  <wdijkstr@arm.com>
7486
7487         * sysdeps/arm/fenv_private.h: New file.
7488         * sysdeps/arm/math_private.h: New file.
7489         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7490
7491 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7492
7493         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7494         with __int128_t.
7495         (La_x86_64_retval): Likewise.
7496
7497 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7498
7499         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7500         fpsr if value didn't change.
7501         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7502         to fpcr if value didn't change.
7503         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7504         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7505         fpsr or fpcr if value didn't change.
7506         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7507         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7508         fpcr if value didn't change.
7509         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7510         to fpsr if value didn't change.
7511
7512 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7513
7514         * nptl/tst-sem3.c: Use test-skeleton.c
7515         (main): Rename to do_test.  Use return instead of
7516         exit.
7517         * nptl/tst-sem4.c: Use test-skeleton.c
7518         (main): Rename to do_test.
7519
7520 2014-04-22  David S. Miller  <davem@davemloft.net>
7521
7522         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7523         (struct sigaction): New struct member __glibc_reserved0, change
7524         type of sa_flags to int.
7525
7526 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7527
7528         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7529         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7530
7531 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7532
7533         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7534         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7535
7536 2014-04-22  Will Newton  <will.newton@linaro.org>
7537             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7538
7539         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7540         (__longjmp): Add longjmp and longjmp_target SystemTap
7541         probes.
7542         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7543         (__sigsetjmp): Add setjmp SystemTap probe.
7544
7545 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7546
7547         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7548         match manual order.
7549
7550 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7551
7552         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7553
7554         * sysdeps/powerpc/fpu/fenv_private.h
7555         (libc_feholdexcept_setroundl_ctx): Define to
7556         libc_feholdexcept_setround_ppc_ctx.
7557         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7558         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7559         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7560         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7561
7562 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7563
7564         * sysdeps/aarch64/math-tests.h: New file.
7565
7566 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7567
7568         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7569         New.
7570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7571         Check and set bit_AVX2_Usable.
7572         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7573         macro.
7574         (bit_AVX2): Likewise.
7575         (index_AVX2_Usable): Likewise.
7576         (CPUID_AVX2): Likewise.
7577         (HAS_AVX2): Likewise.
7578
7579 2014-04-17  Will Newton  <will.newton@linaro.org>
7580
7581         * manual/setjmp.texi (System V contexts): Add note that
7582         calling setcontext on a context created by a call to a
7583         signal handler is undefined.  Update text to note that
7584         setcontext from a signal handler is possible but not
7585         recommended.
7586
7587         [BZ #16629]
7588         * stdlib/tst-setcontext.c: Include signal.h.
7589         (main): Check that the signal stack before and
7590         after swapcontext is the same.
7591
7592         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7593         Re-implement to restore registers in user code and avoid
7594         rt_sigreturn system call.
7595
7596 2014-04-17  Wilco  <wdijkstr@arm.com>
7597
7598         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7599         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7600         * math/test-fenv.c: Skip exception trap tests on targets which only
7601         support non-stop mode.
7602
7603 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7604             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7605
7606         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7607         (libc_feholdsetround_aarch64_ctx)
7608         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7609         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7610         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7611         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7612         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7613         (libc_feresetround_noexl_ctx): Define.
7614
7615 2014-04-16  Richard Henderson  <rth@redhat.com>
7616
7617         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7618
7619         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7620         unwind tables.
7621
7622         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7623         const from the non-libc, non-ldso copy.
7624
7625         * sysdeps/alpha/libm-test-ulps: Regenerate.
7626
7627 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7628             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7629
7630         * sysdeps/aarch64/fpu/math_private.h: New file.
7631
7632 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7633
7634         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7635
7636 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7637
7638         [BZ #16275]
7639         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7640         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7642         Intel MPX bound registers before _dl_profile_fixup.
7643         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7644         registers after _dl_profile_fixup.  Save and restore bound
7645         registers bnd0/bnd1 when calling _dl_call_pltexit.
7646         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7647         (LR_BND_OFFSET): Likewise.
7648         (LRV_BND0_OFFSET): Likewise.
7649         (LRV_BND1_OFFSET): Likewise.
7650
7651 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7652
7653         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7654         to...
7655         * sysdeps/mach/hurd/i386/tls.h: ... here.
7656         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7657         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7658         fields.
7659
7660 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7661
7662         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7663
7664 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7665
7666         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7667
7668 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7669
7670         [BZ #14770]
7671         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7672         * sysdeps/s390/configure: Regenerate.
7673
7674         [BZ #16824]
7675         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7676         Set round-to-nearest internally to reduce error accumulation.
7677
7678 2014-04-16  Alan Modra  <amodra@gmail.com>
7679
7680         [BZ #16740]
7681         [BZ #16619]
7682         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7683         * math/libm-test.inc (frexp_test_data): Add tests.
7684         * NEWS: Update fixed bug list.
7685
7686 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7687
7688         * benchtests/Makefile: Depend on libraries in build directory.
7689         (bench-math): Separate out math tests.
7690         (bench-pthread): Separate out pthread tests.
7691         (bench): Include math and pthread tests.
7692
7693 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7694
7695         [BZ #16831]
7696         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7697         _dl_debug_initialize.
7698
7699         * configure.ac: Remove SELinux header check.
7700         * configure: Regenerate.
7701         * nscd/selinux.c (perms): Array of const char* to permission names.
7702         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7703         default policy. Call string_to_security_class and string_to_av_perm to
7704         translate strings. Enforce default policy and call avs_has_perm with
7705         results of translated strings.
7706
7707 2014-04-13  David S. Miller  <davem@davemloft.net>
7708
7709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7710
7711 2014-04-12  Allan McRae  <allan@archlinux.org>
7712
7713         [BZ #16838]
7714         * manual/string.texi (Collation Functions): Fix qsort argument
7715         order in example.
7716         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7717
7718 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7719
7720         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7721         Make the test a no-op if there are no exceptions defined.
7722
7723 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7724
7725         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7726         enable-hardcoded-path-in-tests
7727
7728 2014-04-11  Will Newton  <will.newton@linaro.org>
7729
7730         * benchtests/Makefile (extra-objs): Add json-lib.o.
7731         (bench-func): Tidy up JSON output.
7732         * benchtests/bench-skeleton.c: Include json-lib.h.
7733         (main): Use JSON library functions to do output of
7734         benchmark results.
7735         * benchtests/bench-timing-type.c (main): Output the
7736         timing type simply, leaving formatting to the user.
7737         * benchtests/json-lib.c: New file.
7738         * benchtests/json-lib.h: Likewise.
7739
7740 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7741
7742         [BZ #15215]
7743         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7744         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7745         memory barriers.  Add comments.
7746         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7747         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7748         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7749         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7750         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7751         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7752
7753 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7754
7755         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7756         * sysdeps/s390/s390-64/configure.ac: ... this ...
7757         * sysdeps/s390/configure.ac: ... to here.
7758         * sysdeps/s390/s390-32/configure: Delete file.
7759         * sysdeps/s390/s390-64/configure: Delete file.
7760         * sysdeps/s390/configure: Regenerate.
7761
7762 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7763
7764         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7765
7766 2014-04-11  Will Newton  <will.newton@linaro.org>
7767
7768         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7769         to zero if it is not defined elsewhere.  (mtrim): Test
7770         the value of MALLOC_DEBUG with #if rather than #ifdef.
7771
7772 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7773
7774         * benchtests/pthread_once-inputs: New file.
7775         * benchtests/pthread_once-source.c: New file.
7776         * benchtests/README: Update documentation.
7777
7778 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7779             H.J. Lu  <hongjiu.lu@intel.com>
7780
7781         [BZ #16275]
7782         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7783         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7784         * sysdeps/x86_64/configure: Regenerated.
7785         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7786         macro.
7787         (REGISTER_SAVE_RAX): Likewise.
7788         (REGISTER_SAVE_RCX): Likewise.
7789         (REGISTER_SAVE_RDX): Likewise.
7790         (REGISTER_SAVE_RSI): Likewise.
7791         (REGISTER_SAVE_RDI): Likewise.
7792         (REGISTER_SAVE_R8): Likewise.
7793         (REGISTER_SAVE_R9): Likewise.
7794         (REGISTER_SAVE_BND0): Likewise.
7795         (REGISTER_SAVE_BND1): Likewise.
7796         (REGISTER_SAVE_BND2): Likewise.
7797         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7798         bound registers when calling _dl_fixup.
7799
7800 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7801
7802         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7803         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7804         of its definition.
7805         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7806         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7807         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7808         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7809         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7810         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7811         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7812
7813 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7814
7815         [BZ #15514]
7816         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7817         pathconf(_PC_NAME_MAX).
7818
7819 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7820
7821         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7822         Remove macro usage.
7823         (__PTHREAD_SPINS): Move definition to ...
7824         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7825         (__PTHREAD_SPINS): ... here.
7826         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7827         (__PTHREAD_SPIN): Likewise.
7828         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7829         (__PTHREAD_SPIN): Likewise.
7830         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7831         (__PTHREAD_SPIN): Likewise.
7832         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7833         (__PTHREAD_SPIN): Likewise.
7834         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7835         (__PTHREAD_SPIN): Likewise.
7836         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7837         (__PTHREAD_SPIN): Likewise.
7838         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7839         (__PTHREAD_SPIN): Likewise.
7840         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7841         (__PTHREAD_SPIN): Likewise.
7842         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7843         (__PTHREAD_SPIN): Likewise.
7844         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7845         (__PTHREAD_SPIN): Likewise.
7846         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7847         (__PTHREAD_SPIN): Likewise.
7848         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7849         (__PTHREAD_SPIN): Likewise.
7850
7851         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7852         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7853         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7854         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7855         imply folder.
7856         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7857         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7858         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7859         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7860         correct imply path.
7861         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7862         strlen symbol for non multi-arch builds.
7863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7864         missing hidden_def and weak_alias.
7865
7866 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7867
7868         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7869
7870 2014-04-07  Will Newton  <will.newton@linaro.org>
7871
7872         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7873         and contents.  [!_LIBC] Remove #ifndef and contents.
7874         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7875         * string/memccpy.c (__memccpy): Use ANSI prototype.
7876         * string/memfrob.c (memfrob): Likewise.
7877         * string/strcoll.c (STRCOLL): Likewise.
7878         * string/strlen.c (strlen): Likewise.
7879         * string/strtok.c (STRTOK): Likewise.
7880         * string/strcat.c: Remove unused #include of memcopy.h.
7881         (strcat): Use ANSI prototype.
7882         * string/strchr.c: Remove unused #include of memcopy.h.
7883         (strchr): Use ANSI prototype.
7884         * string/strcmp.c: Remove unused #include of memcopy.h.
7885         (strcmp): Use ANSI prototype.
7886         * string/strcpy.c: Remove unused #include of memcopy.h.
7887         (strcpy): Use ANSI prototype.
7888
7889 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7890
7891         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7892         * config.make.in (config-extra-cppflags): Set it from
7893         libc_extra_cppflags.
7894         * configure.ac (libc_extra_cflags): Make it accumulate over
7895         configure fragments.
7896         (libc_extra_cppflags): New flag.
7897         * configure. Regenerate.
7898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7899         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7900         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7902
7903         [BZ #16815]
7904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7905         result for FE_DOWNWARD rounding mode.
7906         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7907         Likewise.
7908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7909
7910 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7911
7912         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7913         in function argument name.
7914
7915 2014-04-03  David Svoboda  <svoboda@cert.org>
7916
7917         [BZ #5666]
7918         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7919         explicitly.
7920
7921 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7922
7923         * elf/dl-unmap-segments.h: New file.
7924         * sysdeps/generic/ldsodefs.h
7925         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7926         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7927         * elf/dl-fptr.c: Likewise.
7928         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7929         * sysdeps/aarch64/tlsdesc.c: Likewise.
7930         * sysdeps/arm/tlsdesc.c: Likewise.
7931         * sysdeps/i386/tlsdesc.c: Likewise.
7932         * sysdeps/tile/dl-runtime.c: Likewise.
7933         * sysdeps/x86_64/tlsdesc.c: Likewise.
7934         * elf/dl-load.h: New file.
7935         * elf/dl-load.c: Include it.
7936         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7937         Macros moved to dl-load.h.
7938         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7939         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7940         Use _dl_unmap_segments in place of __munmap.
7941         Break out segment-mapping loop into ...
7942         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7943
7944 2014-04-03  Will Newton  <will.newton@linaro.org>
7945
7946         * elf/dl-lookup.c (do_lookup_x): Remove comment
7947         referring to nested function and move variable
7948         declarations down to before first use.
7949
7950 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7951
7952         [BZ #16799]
7953         [BZ #16800]
7954         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7955         with 0 numerator.
7956         * math/s_catanf.c (__catanf): Likewise.
7957         * math/s_catanh.c (__catanh): Likewise.
7958         * math/s_catanhf.c (__catanhf): Likewise.
7959         * math/s_catanhl.c (__catanhl): Likewise.
7960         * math/s_catanl.c (__catanl): Likewise.
7961         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7962         by positive zero when computing -Inf result.
7963         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7964         (catanh_test): Likewise.
7965         * sysdeps/i386/fpu/libm-test-ulps: Update.
7966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7967
7968         [BZ #16789]
7969         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7970         instead of using underflowing value in computing result.
7971         * math/s_clog10.c (__clog10): Likewise.
7972         * math/s_clog10f.c (__clog10f): Likewise.
7973         * math/s_clog10l.c (__clog10l): Likewise.
7974         * math/s_clogf.c (__clogf): Likewise.
7975         * math/s_clogl.c (__clogl): Likewise.
7976         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7977         (clog10_test): Likewise.
7978         * sysdeps/i386/fpu/libm-test-ulps: Update.
7979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7980
7981 2014-04-02  Alan Modra  <amodra@gmail.com>
7982
7983         [BZ #16739]
7984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7985         output when value is near a power of two.  Use int64_t for lx and
7986         remove casts.  Use decimal rather than hex exponent constants.
7987         Don't use long double multiplication when double will suffice.
7988         * math/libm-test.inc (nextafter_test_data): Add tests.
7989         * NEWS: Add 16739 and 16786 to bug list.
7990
7991         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7992
7993         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7994
7995 2014-04-01  Will Newton  <will.newton@linaro.org>
7996
7997         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7998         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7999
8000 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8001
8002         [BZ #13347]
8003         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8004         * nptl/tst-setuid2.c: New file.
8005         * nptl/Makefile (xtests): Add tst-setuid2.
8006
8007 2014-04-01  Alan Modra  <amodra@gmail.com>
8008
8009         [BZ #16786]
8010         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8011
8012 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8013
8014         [BZ #6803]
8015         [BZ #6804]
8016         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8017         set errno as appropriate.
8018         * math/w_scalbf.c (__scalbf): Likewise.
8019         * math/w_scalbl.c (__scalbl): Likewise.
8020         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8021         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8022         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8023         Add more NaN tests.
8024
8025         [BZ #16349]
8026         * math/w_atan2.c: Include <errno.h>.
8027         (__atan2): Set errno for result underflowing to zero.
8028         * math/w_atan2f.c: Include <errno.h>.
8029         (__atan2f): Set errno for result underflowing to zero.
8030         * math/w_atan2l.c: Include <errno.h>.
8031         (__atan2l): Set errno for result underflowing to zero.
8032         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8033         tests.
8034         * math/auto-libm-test-out: Regenerated.
8035
8036 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8037
8038         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8039         Encode instruction correctly in little endian.
8040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8041         Likewise.
8042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8043         Likewise.
8044         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8045         Likewise.
8046         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8047         Likewise.
8048
8049 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8050
8051         [BZ #9894]
8052         * sysdeps/unix/sysv/linux/kernel-features.h
8053         [__sparc__ && !__arch64__ && !__sparc_v9__]
8054         (__ASSUME_SET_ROBUST_LIST): Do not define.
8055         [__sparc__ && !__arch64__ && !__sparc_v9__]
8056         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8057         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8060         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8061         (__ASSUME_REQUEUE_PI): Likewise.
8062         (__ASSUME_SET_ROBUST_LIST): Likewise.
8063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8064         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8065         Undefine.
8066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8068         Likewise.
8069         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8070         Likewise.
8071         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8074         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8075         Undefine.
8076         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8077         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8078         Likewise.
8079
8080         [BZ #16648]
8081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8082         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8083         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8084
8085 2014-03-31  Will Newton  <will.newton@linaro.org>
8086
8087         * benchtests/Makefile (bench): Add ffs and ffsll to list
8088         of tests.
8089         * benchtests/ffs-inputs: New file.
8090         * benchtests/ffsll-inputs: Likewise.
8091
8092 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8093
8094         [BZ #16770]
8095         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8096         too large before casting to int.
8097         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8098         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8099         * math/libm-test.inc (scalb_test_data): Add more tests.
8100
8101 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8102
8103         * benchtests/Makefile (DETAILED_OPT): New make option.
8104         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8105         set.
8106         * benchtests/bench-skeleton.c: Include stdbool.h.
8107         (main): Store and print timings per input.
8108         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8109         member to each argument value.
8110         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8111         (_print_arg_data): Initialize per-input timing to 0.
8112
8113         * benchtests/Makefile (timing-type): New binary.
8114         (bench-clean): Also remove bench-timing-type.
8115         (bench): New target for timing-type.
8116         (bench-func): Print output in JSON format.
8117         * benchtests/bench-skeleton.c (main): Print output in JSON
8118         format.
8119         * benchtests/bench-timing-type.c: New file.
8120         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8121         (TIMING_PRINT_STATS): Remove.
8122         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8123         name separately.
8124
8125         * benchtests/bench-modf.c: Remove.
8126         * benchtests/modf-inputs: New inputs file.
8127
8128 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8129
8130         [BZ #16362]
8131         * math/s_clog10.c (M_PI_LOG10E): New macro.
8132         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8133         imaginary parts are 0.
8134         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8135         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8136         imaginary parts are 0.
8137         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8138         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8139         imaginary parts are 0.
8140         * math/libm-test.inc (clog10_test_data): Update expected results
8141         for when real and imaginary parts are 0.
8142
8143 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8144
8145         * elf/dl-load.c: Finish conversion of __builtin_expect into
8146         __glibc_{un}likely.
8147
8148 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8149
8150         [BZ #16348]
8151         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8152         1+x for argument with exponent below -67.
8153         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8154         Likewise.
8155         * math/auto-libm-test-in: Add more tests of exp.
8156         * math/auto-libm-test-out: Regenerated.
8157
8158 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8159
8160         [BZ #16759]
8161         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8162         (nscd_getnetgrent): Use it.
8163
8164         [BZ #16760]
8165         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8166         of stpcpy.
8167
8168 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8169
8170         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8171         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8172         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8173         (lll_robust_unlock): Remove out of line section. Use cfi
8174         intrinsics.
8175         (LLL_STUB_UNWIND_INFO*): Remove.
8176         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8177         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8178         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8179         (lll_robust_unlock): Remove out of line section. Use cfi
8180         intrinsics.
8181         (LLL_STUB_UNWIND_INFO*): Remove.
8182
8183 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8184
8185         [BZ #16758]
8186         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8187         blank values.
8188
8189 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8190
8191         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8192
8193 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8194
8195         [BZ #16198]
8196         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8197         fnstenv.
8198         * math/test-fenv-preserve.c: New file.
8199         * math/Makefile (tests): Add test-fenv-preserve.
8200
8201 2014-03-26  Will Newton <will.newton@linaro.org>
8202
8203         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8204
8205 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8206
8207         * scripts/versionlist.awk: Partition the version sets and emit all
8208         GLIBC_* (sorted) before all others (sorted).
8209
8210 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8211
8212         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8213         GLIBC_2.2.5 version.
8214
8215 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8216
8217         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8218         calls.
8219
8220         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8221         previous change.
8222
8223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8224
8225 2014-03-25  Andreas Schwab  <schwab@suse.de>
8226
8227         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8228         label to be used after in6ailist is initialized.
8229
8230 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8231
8232         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8233         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8234
8235 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8236
8237         [BZ #16357]
8238         [BZ #16599]
8239         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8240         min_plus_half.
8241         (fp_formats): Update initializers.
8242         (init_fp_formats): Initialize new field.
8243         (output_for_one_input_case): Allow underflow for results up to
8244         min_plus_half.
8245         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8246         * math/auto-libm-test-in: Don't mark some underflows from asin and
8247         atanh as spurious.
8248         * math/auto-libm-test-out: Regenerated.
8249         * sysdeps/i386/fpu/libm-test-ulps: Update.
8250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251
8252 2014-03-25  Andreas Schwab  <schwab@suse.de>
8253
8254         * libio/Makefile (tst-ftell-partial-wide-ENV)
8255         (tst-ftell-active-handler-ENV): Define.
8256
8257 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8258
8259         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8260
8261 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8262
8263         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8264
8265 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8266
8267         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8268         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8269         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8270
8271 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8272
8273         [BZ #16634]
8274         * elf/dl-load.c (open_verify): Add mode parameter.
8275         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8276         (open_path): Change from boolean 'secure' to complete flag 'mode'
8277         (_dl_map_object): Adjust.
8278         * elf/Makefile (tests): Add tst-dlopen-aout.
8279         * elf/tst-dlopen-aout.c: New test.
8280
8281 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8282
8283         [BZ #16714]
8284         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8285         (struct stat): Rename member pad0 to __glibc_reserved0.
8286
8287         [BZ #16712]
8288         * sysdeps/s390/s390-32/bits/wordsize.h
8289         (__WORDSIZE32_SIZE_ULONG): New define.
8290         * sysdeps/s390/s390-64/bits/wordsize.h
8291         (__WORDSIZE32_SIZE_ULONG): Likewise.
8292         * sysdeps/generic/stdint.h (SIZE_MAX):
8293         Define as UL if __WORDSIZE32_SIZE_ULONG.
8294
8295         [BZ #16713]
8296         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8297         (__glibc_reserved0): New variable.
8298         (sa_flags): Change type to int.
8299
8300         * posix/Makefile (before-compile): Use += before-compile instead
8301         of a :=.
8302
8303         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8304         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8305
8306 2014-03-20  Andreas Schwab  <schwab@suse.de>
8307
8308         [BZ #16743]
8309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8310         non-matching result from nscd.
8311
8312 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8313
8314         * scripts/bench.py: Moved to ...
8315         * benchtests/scripts/bench.py: ... here.
8316         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8317
8318 2014-03-24  Andreas Schwab  <schwab@suse.de>
8319
8320         [BZ #16002]
8321         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8322         alloca_account and account alloca use for struct in6ailist.
8323
8324 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8325
8326         [BZ #16284]
8327         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8328         rounding mode to recompute results that overflow to infinity or
8329         underflow to zero.
8330         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8331         bug 16284.
8332         * math/auto-libm-test-out: Regenerated.
8333         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8334         (ccosh_test): Likewise.
8335         (csin_test_data): Use plus_oflow.
8336         (csin_test): Use ALL_RM_TEST.
8337         (csinh_test_data): Use plus_oflow.
8338         (csinh_test): Use ALL_RM_TEST.
8339         * sysdeps/i386/fpu/libm-test-ulps: Update.
8340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341
8342 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8343
8344         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8345         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8346         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8347
8348         [BZ #16731]
8349         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8350         when x - 1 is zero.
8351         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8352         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8353         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8354         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8355         argument is 1.
8356         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8357         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8358         zero.
8359         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8360         * sysdeps/i386/fpu/libm-test-ulps: Update.
8361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8362
8363 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8364
8365         * scripts/bench.pl: Remove file.
8366         * scripts/bench.py: New benchmark script.
8367         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8368         * benchtests/README: Mention python dependency.
8369         * scripts/pylintrc: New file.
8370         * scripts/pylint: New file.
8371
8372         * bits/mathdef.h: Use #ifdef instead of #if.
8373         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8374         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8375         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8376         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8377         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8378         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8379
8380 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8381             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8382
8383         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8385         and strpbrk-ppc64 objects.
8386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8387         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8388         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8389         multiarch strpbrk for POWER7.
8390         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8391         multiarch strpbrk for PPC64.
8392         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8393         ifunc selector.
8394         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8395         strpbrk for POWER7.
8396
8397 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8398
8399         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8400         (atan_test): Likewise.
8401         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8402         (atanh_test): Use ALL_RM_TEST.
8403         (atan2_test_data): Likewise.
8404         (cabs_test): Likewise.
8405         (cacosh_test): Likewise.
8406         (carg_test): Likewise.
8407         (casin_test): Likewise.
8408         (casinh_test): Likewise.
8409         (cbrt_test): Likewise.
8410         (csqrt_test): Likewise.
8411         (erf_test): Likewise.
8412         (erfc_test): Likewise.
8413         (pow10_test): Likewise.
8414         (exp2_test): Likewise.
8415         (hypot_test): Likewise.
8416         (j0_test): Likewise.
8417         (j1_test): Likewise.
8418         (lgamma_test): Likewise.
8419         (gamma_test): Likewise.
8420         (sincos_test): Likewise.
8421         (tanh_test): Likewise.
8422         (y0_test): Likewise.
8423         (y1_test): Likewise.
8424         * sysdeps/i386/fpu/libm-test-ulps: Update.
8425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8426
8427 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8428
8429         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8431         and strcspn-ppc64 objects.
8432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8433         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8434         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8435         multiarch strcspn for POWER7.
8436         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8437         multiarch strcspn for PPC64.
8438         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8439         ifunc selector.
8440         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8441         strcspn for POWER7.
8442
8443 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8444
8445         * math/gen-libm-test.pl (generate_testfile): Expect only function
8446         name as argument to AUTO_TESTS_* and pass results for all rounding
8447         modes to parse_args.
8448         (parse_auto_input): Separate inputs of automatic tests from
8449         outputs before storing in %auto_tests.
8450         * math/libm-test.inc (acos_test_data): Update call to
8451         AUTO_TESTS_f_f.
8452         (acos_test): Use ALL_RM_TEST.
8453         (acos_tonearest_test_data): Remove.
8454         (acos_test_tonearest): Likewise.
8455         (acos_towardzero_test_data): Likewise.
8456         (acos_test_towardzero): Likewise.
8457         (acos_downward_test_data): Likewise.
8458         (acos_test_downward): Likewise.
8459         (acos_upward_test_data): Likewise.
8460         (acos_test_upward): Likewise.
8461         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8462         (asin_test_data): Likewise.
8463         (asin_test): Use ALL_RM_TEST.
8464         (asin_tonearest_test_data): Remove.
8465         (asin_test_tonearest): Likewise.
8466         (asin_towardzero_test_data): Likewise.
8467         (asin_test_towardzero): Likewise.
8468         (asin_downward_test_data): Likewise.
8469         (asin_test_downward): Likewise.
8470         (asin_upward_test_data): Likewise.
8471         (asin_test_upward): Likewise.
8472         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8473         (atan_test_data): Likewise.
8474         (atanh_test_data): Likewise.
8475         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8476         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8477         (carg_test_data): Likewise.
8478         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8479         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8480         (ccosh_test_data): Likewise.
8481         (cexp_test_data): Likewise.
8482         (clog_test_data): Likewise.
8483         (clog10_test_data): Likewise.
8484         (cos_test_data): Update call to AUTO_TESTS_f_f.
8485         (cos_test): Use ALL_RM_TEST.
8486         (cos_tonearest_test_data): Remove.
8487         (cos_test_tonearest): Likewise.
8488         (cos_towardzero_test_data): Likewise.
8489         (cos_test_towardzero): Likewise.
8490         (cos_downward_test_data): Likewise.
8491         (cos_test_downward): Likewise.
8492         (cos_upward_test_data): Likewise.
8493         (cos_test_upward): Likewise.
8494         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8495         (cosh_test): Use ALL_RM_TEST.
8496         (cosh_tonearest_test_data): Remove.
8497         (cosh_test_tonearest): Likewise.
8498         (cosh_towardzero_test_data): Likewise.
8499         (cosh_test_towardzero): Likewise.
8500         (cosh_downward_test_data): Likewise.
8501         (cosh_test_downward): Likewise.
8502         (cosh_upward_test_data): Likewise.
8503         (cosh_test_upward): Likewise.
8504         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8505         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8506         (ctan_test_data): Likewise.
8507         (ctan_test): Use ALL_RM_TEST.
8508         (ctan_tonearest_test_data): Remove.
8509         (ctan_test_tonearest): Likewise.
8510         (ctan_towardzero_test_data): Likewise.
8511         (ctan_test_towardzero): Likewise.
8512         (ctan_downward_test_data): Likewise.
8513         (ctan_test_downward): Likewise.
8514         (ctan_upward_test_data): Likewise.
8515         (ctan_test_upward): Likewise.
8516         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8517         (ctanh_test): Use ALL_RM_TEST.
8518         (ctanh_tonearest_test_data): Remove.
8519         (ctanh_test_tonearest): Likewise.
8520         (ctanh_towardzero_test_data): Likewise.
8521         (ctanh_test_towardzero): Likewise.
8522         (ctanh_downward_test_data): Likewise.
8523         (ctanh_test_downward): Likewise.
8524         (ctanh_upward_test_data): Likewise.
8525         (ctanh_test_upward): Likewise.
8526         (erf_test_data): Update call to AUTO_TESTS_f_f.
8527         (erfc_test_data): Likewise.
8528         (exp_test_data): Likewise.
8529         (exp_test): Use ALL_RM_TEST.
8530         (exp_tonearest_test_data): Remove.
8531         (exp_test_tonearest): Likewise.
8532         (exp_towardzero_test_data): Likewise.
8533         (exp_test_towardzero): Likewise.
8534         (exp_downward_test_data): Likewise.
8535         (exp_test_downward): Likewise.
8536         (exp_upward_test_data): Likewise.
8537         (exp_test_upward): Likewise.
8538         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8539         (exp10_test): Use ALL_RM_TEST.
8540         (exp10_tonearest_test_data): Remove.
8541         (exp10_test_tonearest): Likewise.
8542         (exp10_towardzero_test_data): Likewise.
8543         (exp10_test_towardzero): Likewise.
8544         (exp10_downward_test_data): Likewise.
8545         (exp10_test_downward): Likewise.
8546         (exp10_upward_test_data): Likewise.
8547         (exp10_test_upward): Likewise.
8548         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8549         (expm1_test_data): Likewise.
8550         (expm1_test): Use ALL_RM_TEST.
8551         (expm1_tonearest_test_data): Remove.
8552         (expm1_test_tonearest): Likewise.
8553         (expm1_towardzero_test_data): Likewise.
8554         (expm1_test_towardzero): Likewise.
8555         (expm1_downward_test_data): Likewise.
8556         (expm1_test_downward): Likewise.
8557         (expm1_upward_test_data): Likewise.
8558         (expm1_test_upward): Likewise.
8559         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8560         (fma_test): Use ALL_RM_TEST.
8561         (fma_towardzero_test_data): Remove.
8562         (fma_test_towardzero): Likewise.
8563         (fma_downward_test_data): Likewise.
8564         (fma_test_downward): Likewise.
8565         (fma_upward_test_data): Likewise.
8566         (fma_test_upward): Likewise.
8567         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8568         (j0_test_data): Update call to AUTO_TESTS_f_f.
8569         (j1_test_data): Likewise.
8570         (jn_test_data): Update call to AUTO_TESTS_if_f.
8571         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8572         (log_test_data): Update call to AUTO_TESTS_f_f.
8573         (log10_test_data): Likewise.
8574         (log1p_test_data): Likewise.
8575         (log2_test_data): Likewise.
8576         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8577         (pow_tonearest_test_data): Likewise.
8578         (sin_test_data): Update call to AUTO_TESTS_f_f.
8579         (sin_test): Use ALL_RM_TEST.
8580         (sin_tonearest_test_data): Remove.
8581         (sin_test_tonearest): Likewise.
8582         (sin_towardzero_test_data): Likewise.
8583         (sin_test_towardzero): Likewise.
8584         (sin_downward_test_data): Likewise.
8585         (sin_test_downward): Likewise.
8586         (sin_upward_test_data): Likewise.
8587         (sin_test_upward): Likewise.
8588         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8589         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8590         (sinh_test): Use ALL_RM_TEST.
8591         (sinh_tonearest_test_data): Remove.
8592         (sinh_test_tonearest): Likewise.
8593         (sinh_towardzero_test_data): Likewise.
8594         (sinh_test_towardzero): Likewise.
8595         (sinh_downward_test_data): Likewise.
8596         (sinh_test_downward): Likewise.
8597         (sinh_upward_test_data): Likewise.
8598         (sinh_test_upward): Likewise.
8599         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8600         (sqrt_test): Use ALL_RM_TEST.
8601         (sqrt_tonearest_test_data): Remove.
8602         (sqrt_test_tonearest): Likewise.
8603         (sqrt_towardzero_test_data): Likewise.
8604         (sqrt_test_towardzero): Likewise.
8605         (sqrt_downward_test_data): Likewise.
8606         (sqrt_test_downward): Likewise.
8607         (sqrt_upward_test_data): Likewise.
8608         (sqrt_test_upward): Likewise.
8609         (tan_test_data): Update call to AUTO_TESTS_f_f.
8610         (tan_test): Use ALL_RM_TEST.
8611         (tan_tonearest_test_data): Remove.
8612         (tan_test_tonearest): Likewise.
8613         (tan_towardzero_test_data): Likewise.
8614         (tan_test_towardzero): Likewise.
8615         (tan_downward_test_data): Likewise.
8616         (tan_test_downward): Likewise.
8617         (tan_upward_test_data): Likewise.
8618         (tan_test_upward): Likewise.
8619         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8620         (tgamma_test_data): Likewise.
8621         (y0_test_data): Likewise.
8622         (y1_test_data): Likewise.
8623         (yn_test_data): Update call to AUTO_TESTS_if_f.
8624         (main): Do not call removed functions.
8625
8626 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8627
8628         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8629         (ldexp_test_data): Remove.
8630         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8631         scalbn_test_data.
8632         (scalb_test): Use ALL_RM_TEST.
8633
8634 2014-03-19  Andreas Schwab  <schwab@suse.de>
8635
8636         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8637
8638 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8639
8640         [BZ #16649]
8641         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8642         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8643         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8645         (__ASSUME_PREADV): Undefine.
8646         (__ASSUME_PWRITEV): Likewise.
8647
8648 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8649
8650         * bits/mman-linux.h: Add comment about non-Linux use.
8651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8652         bits/mman-linux.h resting place.
8653
8654         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8655         * bits/mman-linux.h: ... here.
8656
8657 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8658
8659         * conform/conformtest.pl: Add standard definition when calling C
8660         preprocessor on data files.
8661         (checknamespace): Remove unused variable.
8662
8663 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8664
8665         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8666         minus_oflow, plus_uflow and minus_uflow in expected results.
8667         * math/libm-test.inc (scalbn_test_data): Add more tests of
8668         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8669         minus_uflow.
8670         (scalbn_test): Use ALL_RM_TEST.
8671         (scalbln_test_data): Add more tests of negative arguments.  Use
8672         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8673         (scalbln_test): Use ALL_RM_TEST.
8674
8675 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8676
8677         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8678
8679 2014-03-18  Will Newton  <will.newton@linaro.org>
8680
8681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8682         inaccurate comment.
8683
8684 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8685
8686         * Makerules [!subdir] (check-abi): Exit with error status if a
8687         test failed.
8688
8689 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8690
8691         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8692         for rint.  Include results for all rounding modes.
8693         (nearbyint_test): Use ALL_RM_TEST.
8694         (rint_test_data): Include all tests used for nearbyint.
8695
8696 2014-03-17  Will Newton  <will.newton@linaro.org>
8697
8698         * nptl/sysdeps/pthread/pthread.h: Revert previous
8699         change.
8700
8701         * sysdeps/generic/ldsodefs.h: Revert previous
8702         change.
8703
8704         * libio/genops.c: Revert previous change.
8705         * libio/libioP.h: Likewise.
8706         * stdio-common/vfprintf.c: Likewise.
8707
8708         * sysdeps/generic/math_private.h: Revert previous
8709         change.
8710
8711         * sysdeps/generic/math_private.h: Check whether
8712         HAVE_RM_CTX is defined with #ifdef rather
8713         than #if.
8714
8715         * argp/argp-fmtstream.h: Check whether
8716         __STRICT_ANSI__ is defined with #ifdef rather
8717         than #if.
8718         * argp/argp.h: Likewise.
8719
8720         * libio/genops.c: Check whether
8721         _IO_JUMPS_OFFSET is defined with #ifdef rather
8722         than #if.
8723         * libio/libioP.h: Likewise.
8724         * stdio-common/vfprintf.c: Likewise.
8725
8726         * sysdeps/generic/ldsodefs.h: Check whether
8727         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8728         than #if.
8729
8730         * nptl/sysdeps/pthread/pthread.h: Check
8731         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8732         its value.
8733
8734 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8735
8736         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8737         setting O_APPEND.
8738         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8739         test case.
8740
8741         [BZ #16680]
8742         * libio/fileops.c (_IO_file_open): Seek to end of file but
8743         don't cache the offset.
8744         (get_file_offset): Remove function.
8745         (do_ftell): Use cached offset when available.
8746         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8747         don't cache the offset.
8748         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8749         case.
8750         (do_one_test): Call it.
8751         (do_ftell_test): Fix up expected old offset for a+ mode.
8752         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8753         available.
8754
8755         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8756         up test status with function return status.
8757         (do_write_test): Likewise.
8758         (do_append_test): Likewise.
8759
8760         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8761         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8762         Remove.
8763
8764 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8765
8766         * math/gen-libm-test.pl (parse_args): Handle results specified for
8767         each rounding mode separately.
8768         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8769         tests and results from lrint_tonearest_test_data,
8770         lrint_towardzero_test_data, lrint_downward_test_data and
8771         lrint_upward_test_data.
8772         (lrint_test): Use ALL_RM_TEST.
8773         (lrint_tonearest_test_data): Remove.
8774         (lrint_test_tonearest): Likewise.
8775         (lrint_towardzero_test_data): Likewise.
8776         (lrint_test_towardzero): Likewise.
8777         (lrint_downward_test_data): Likewise.
8778         (lrint_test_downward): Likewise.
8779         (lrint_upward_test_data): Likewise.
8780         (lrint_test_upward): Likewise.
8781         (llrint_test_data): Merge in per-rounding-mode tests and results
8782         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8783         llrint_downward_test_data and llrint_upward_test_data.
8784         (llrint_test): Use ALL_RM_TEST.
8785         (llrint_tonearest_test_data): Remove.
8786         (llrint_test_tonearest): Likewise.
8787         (llrint_towardzero_test_data): Likewise.
8788         (llrint_test_towardzero): Likewise.
8789         (llrint_downward_test_data): Likewise.
8790         (llrint_test_downward): Likewise.
8791         (llrint_upward_test_data): Likewise.
8792         (llrint_test_upward): Likewise.
8793         (rint_test_data): Merge in per-rounding-mode tests and results
8794         from rint_tonearest_test_data, rint_towardzero_test_data,
8795         rint_downward_test_data and rint_upward_test_data.  Add
8796         per-rounding-mode results for tests not in those arrays.
8797         (rint_test): Use ALL_RM_TEST.
8798         (rint_tonearest_test_data): Remove.
8799         (rint_test_tonearest): Likewise.
8800         (rint_towardzero_test_data): Likewise.
8801         (rint_test_towardzero): Likewise.
8802         (rint_downward_test_data): Likewise.
8803         (rint_test_downward): Likewise.
8804         (rint_upward_test_data): Likewise.
8805         (rint_test_upward): Likewise.
8806         (main): Don't call removed functions.
8807
8808 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8809
8810         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8811         "Compiled on ..." crapola.  It is anti-useful.
8812
8813 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8814
8815         * scripts/evaluate-test.sh: Handle fourth argument to determine
8816         whether test run should stop on failure.
8817         * Makeconfig (stop-on-test-failure): New variable.
8818         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8819         $(stop-on-test-failure).
8820         * Makefile (tests): Give a summary of results from testing and
8821         exit with failure status if they include an ERROR or FAIL.
8822         (xtests): Likewise.
8823         * manual/install.texi (Configuring and compiling): Mention
8824         stop-on-test-failure=y.
8825         * INSTALL: Regenerated.
8826
8827 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8828
8829         * scripts/versionlist.awk: New file.
8830         * Makerules [$(build-shared) = yes]
8831         (postclean-generated): Add Versions.def, not Versions.def.v and
8832         Versions.def.v.i.
8833         ($(common-objpfx)Versions.def.v.i): Target removed.
8834         ($(common-objpfx)Versions.def): New target.
8835         ($(common-objpfx)Versions.all): Depend on that rather that
8836         $(common-objpfx)Versions.def.v.
8837         * Versions.def: File removed.
8838
8839         * Makeconfig (+gccwarn): Add -Wundef.
8840         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8841         a dl-sysdep.h breaking its contract.
8842         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8843         * include/stackinfo.h: New file.
8844         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8845         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8846         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8847         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8848         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8849         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8850         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8851         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8852         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8853         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8854         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8855         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8856         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8857         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8858         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8859
8860 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8861
8862         [BZ #16707]
8863         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8864         implementation.
8865         * math/libm-test.inc (round_test_data): Add more tests.
8866
8867         [BZ #16706]
8868         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8869         implementation.
8870         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8871
8872         [BZ #16701]
8873         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8874         implementation.
8875         * math/libm-test.inc (ceil_test_data): Add more tests.
8876
8877         * math/libm-test.inc (trunc_test_data): Add more tests related to
8878         BZ#16414.
8879
8880 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8881
8882         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8883         with #if rather than #ifdef.
8884         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8885
8886 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8887
8888         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8889         first.  Disable AVX-512 GCC support if assembler doesn't support
8890         it.
8891         * sysdeps/x86_64/configure: Regenerated.
8892
8893 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8894
8895         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8896         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8897         (__old_pthread_attr_setstack): Likewise.
8898         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8899         [!_STACK_GROWS_DOWN]: Likewise.
8900
8901 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8902
8903         * config.make.in (have-bash2): Delete.
8904         * configure.ac (libc_cv_have_bash2): Delete.
8905         * configure: Regenerate.
8906         * elf/Makefile (common-ldd-rewrite): Rename to ...
8907         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8908         (sh-ldd-rewrite): Delete.
8909         (bash-ldd-rewrite): Delete.
8910         (have-bash2): Delete checks.
8911         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8912         ldd-rewrite.
8913
8914         * config.make.in (have-ksh): Delete.
8915         (KSH): Delete.
8916         * configure.ac (libc_cv_have_ksh): Delete.
8917         * configure: Regenerate.
8918
8919         * elf/Makefile: Delete $(have-ksh) check.
8920         ($(objpfx)sotruss): Change KSH to BASH.
8921         * elf/sotruss.ksh: Rename to ...
8922         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8923         function style to match POSIX.  Drop ksh vim mode setting.
8924
8925         * manual/time.texi (Specifying the Time Zone with TZ): Change
8926         Tuesday to Thursday.
8927
8928         * debug/tst-longjmp_chk2.c: Update header comment.
8929         (stackoverflow_handler): Add comment.  Call assert on pass value.
8930
8931 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8932
8933         [BZ #16194]
8934         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8935         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8936         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8937         (La_x86_64_vector): Add zmm.
8938         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8939         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8940         ($(objpfx)tst-audit10): New target.
8941         ($(objpfx)tst-audit10.out): Likewise.
8942         (tst-audit10-ENV): New.
8943         (AVX512-CFLAGS): Likewise.
8944         (CFLAGS-tst-audit10.c): Likewise.
8945         (CFLAGS-tst-auditmod10a.c): Likewise.
8946         (CFLAGS-tst-auditmod10b.c): Likewise.
8947         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8948         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8949         * sysdeps/x86_64/configure: Regenerated.
8950         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8951         AVX-512 zmm register support.
8952         (_dl_x86_64_save_sse): Likewise.
8953         (_dl_x86_64_restore_sse): Likewise.
8954         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8955         size vector registers.
8956         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8957         (ZMM_SIZE): Likewise.
8958         * sysdeps/x86_64/tst-audit10.c: New file.
8959         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8960         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8961
8962 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8963
8964         * configure.ac (HAVE_EHDR_START): New check.
8965         * configure: Regenerated.
8966         * config.h.in (HAVE_EHDR_START): New #undef.
8967         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8968         assuming the lowest-addressed segment maps the start of the file.
8969
8970 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8971
8972         * INSTALL: Regenerated.
8973
8974 2014-03-13  Will Newton  <will.newton@linaro.org>
8975
8976         * manual/setjmp.texi (System V contexts): Improve
8977         clarity and grammar of documentation.
8978
8979 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8980
8981         [BZ #16381]
8982         * elf/Makefile (tests): Add tst-pie2.
8983         (tests-pie): Add tst-pie2.
8984         * elf/tst-pie2.c: New file.
8985         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8986         for ET_EXEC.
8987         * elf/rtld.c (map_doit): Load executable as lt_executable.
8988         (dl_main): Likewise.
8989
8990 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8991
8992         [BZ #16642]
8993         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8994         (__ASSUME_PSELECT): Undefine.
8995
8996 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8997
8998         [BZ #16689]
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9000         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9001         static build.
9002         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9003         selector for static builds.
9004
9005 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9006
9007         [BZ #16695]
9008         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9009         key in the buffer.
9010
9011 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9012
9013         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9014         IFUNC selector for static builds.
9015
9016 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9017
9018         * sysdeps/mips/math_private.h [__mips_hard_float]
9019         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9020         libc_feresetround_mips_ctx.
9021         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9022         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9023         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9024
9025         [BZ #16677]
9026         * math/s_nextafter.c (__nextafter): Do not return value from
9027         overflowing computation.
9028         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9029         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9030         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9031         Likewise.
9032         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9033         Likewise.
9034         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9035         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9036
9037 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9038
9039         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9040         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9041         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9042         the new mov targetting sp.
9043
9044 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9045
9046         [BZ #16683]
9047         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9048         Define it for static builds as well.
9049         (NO_BZERO_IMPL): Likewise.
9050
9051 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9052
9053         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9054         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9055         multiarch strspn for PPC64.
9056         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9057         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9059         (__libc_ifunc_impl_list): Likewise.
9060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9061         multiarch optimizations
9062         * string/strspn.c (strspn): Using macro to redefine symbol name.
9063
9064 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9065             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9066
9067         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9068         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9069         multiarch strncat for PPC64.
9070         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9071         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9073         (__libc_ifunc_impl_list): Likewise.
9074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9075         multiarch optimizations
9076
9077 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9078
9079         [BZ #16639]
9080         * nscd/nscd.service: Make service type forking.
9081
9082 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9083
9084         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9085         sign in non default rounding modes.
9086         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9087
9088 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9089
9090         * math/libm-test.inc (ALL_RM_TEST): New macro.
9091         (ceil_test): Use ALL_RM_TEST.
9092         (cimag_test): Likewise.
9093         (conj_test): Likewise.
9094         (copysign_test): Likewise.
9095         (cproj_test): Likewise.
9096         (creal_test): Likewise.
9097         (fabs_test): Likewise.
9098         (floor_test): Likewise.
9099         (fmax_test): Likewise.
9100         (fmin_test): Likewise.
9101         (fmod_test): Likewise.
9102         (fpclassify_test): Likewise.
9103         (frexp_test): Likewise.
9104         (ilogb_test): Likewise.
9105         (isfinite_test): Likewise.
9106         (finite_test): Likewise.
9107         (isgreater_test): Likewise.
9108         (isgreaterequal_test): Likewise.
9109         (isinf_test): Likewise.
9110         (isless_test): Likewise.
9111         (islessequal_test): Likewise.
9112         (islessgreater_test): Likewise.
9113         (isnan_test): Likewise.
9114         (isnormal_test): Likewise.
9115         (issignaling_test): Likewise.
9116         (isunordered_test): Likewise.
9117         (logb_test): Likewise.
9118         (logb_downward_test_data): Remove.
9119         (logb_test_downward): Likewise.
9120         (lround_test): Use ALL_RM_TEST.
9121         (llround_test): Likewise.
9122         (modf_test): Likewise.
9123         (nexttoward_test): Likewise.
9124         (remainder_test): Likewise.
9125         (drem_test): Likewise.
9126         (remainder_tonearest_test_data): Likewise.
9127         (remainder_test_tonearest): Likewise.
9128         (drem_test_tonearest): Likewise.
9129         (remainder_towardzero_test_data): Likewise.
9130         (remainder_test_towardzero): Likewise.
9131         (drem_test_towardzero): Likewise.
9132         (remainder_downward_test_data): Likewise.
9133         (remainder_test_downward): Likewise.
9134         (drem_test_downward): Likewise.
9135         (remainder_upward_test_data): Likewise.
9136         (remainder_test_upward): Likewise.
9137         (drem_test_upward): Likewise.
9138         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9139         (round_test): Use ALL_RM_TEST.
9140         (signbit_test): Likewise.
9141         (trunc_test): Likewise.
9142         (significand_test): Likewise.
9143         (main): Don't call removed functions.
9144
9145 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9146
9147         [BZ #16674]
9148         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9149         || __USE_XOPEN2K8].
9150         (ILL_ILLOPN): Likewise.
9151         (ILL_ILLADR): Likewise.
9152         (ILL_ILLTRP): Likewise.
9153         (ILL_PRVOPC): Likewise.
9154         (ILL_PRVREG): Likewise.
9155         (ILL_COPROC): Likewise.
9156         (ILL_BADSTK): Likewise.
9157         (FPE_INTDIV): Likewise.
9158         (FPE_INTOVF): Likewise.
9159         (FPE_FLTDIV): Likewise.
9160         (FPE_FLTOVF): Likewise.
9161         (FPE_FLTUND): Likewise.
9162         (FPE_FLTRES): Likewise.
9163         (FPE_FLTINV): Likewise.
9164         (FPE_FLTSUB): Likewise.
9165         (SEGV_MAPERR): Likewise.
9166         (SEGV_ACCERR): Likewise.
9167         (BUS_ADRALN): Likewise.
9168         (BUS_ADRERR): Likewise.
9169         (BUS_OBJERR): Likewise.
9170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9171         (TRAP_TRACE): Likewise.
9172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9173         __USE_XOPEN2K8].
9174         (CLD_KILLED): Likewise.
9175         (CLD_DUMPED): Likewise.
9176         (CLD_TRAPPED): Likewise.
9177         (CLD_STOPPED): Likewise.
9178         (CLD_CONTINUED): Likewise.
9179         (POLL_IN): Likewise.
9180         (POLL_OUT): Likewise.
9181         (POLL_MSG): Likewise.
9182         (POLL_ERR): Likewise.
9183         (POLL_PRI): Likewise.
9184         (POLL_HUP): Likewise.
9185         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9186         Likewise.
9187         (ILL_ILLOPN): Likewise.
9188         (ILL_ILLADR): Likewise.
9189         (ILL_ILLTRP): Likewise.
9190         (ILL_PRVOPC): Likewise.
9191         (ILL_PRVREG): Likewise.
9192         (ILL_COPROC): Likewise.
9193         (ILL_BADSTK): Likewise.
9194         (FPE_INTDIV): Likewise.
9195         (FPE_INTOVF): Likewise.
9196         (FPE_FLTDIV): Likewise.
9197         (FPE_FLTOVF): Likewise.
9198         (FPE_FLTUND): Likewise.
9199         (FPE_FLTRES): Likewise.
9200         (FPE_FLTINV): Likewise.
9201         (FPE_FLTSUB): Likewise.
9202         (SEGV_MAPERR): Likewise.
9203         (SEGV_ACCERR): Likewise.
9204         (BUS_ADRALN): Likewise.
9205         (BUS_ADRERR): Likewise.
9206         (BUS_OBJERR): Likewise.
9207         (BUS_MCEERR_AR): Likewise.
9208         (BUS_MCEERR_AO): Likewise.
9209         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9210         (TRAP_TRACE): Likewise.
9211         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9212         __USE_XOPEN2K8].
9213         (CLD_KILLED): Likewise.
9214         (CLD_DUMPED): Likewise.
9215         (CLD_TRAPPED): Likewise.
9216         (CLD_STOPPED): Likewise.
9217         (CLD_CONTINUED): Likewise.
9218         (POLL_IN): Likewise.
9219         (POLL_OUT): Likewise.
9220         (POLL_MSG): Likewise.
9221         (POLL_ERR): Likewise.
9222         (POLL_PRI): Likewise.
9223         (POLL_HUP): Likewise.
9224         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9225         (ILL_ILLOPN): Likewise.
9226         (ILL_ILLADR): Likewise.
9227         (ILL_ILLTRP): Likewise.
9228         (ILL_PRVOPC): Likewise.
9229         (ILL_PRVREG): Likewise.
9230         (ILL_COPROC): Likewise.
9231         (ILL_BADSTK): Likewise.
9232         (FPE_INTDIV): Likewise.
9233         (FPE_INTOVF): Likewise.
9234         (FPE_FLTDIV): Likewise.
9235         (FPE_FLTOVF): Likewise.
9236         (FPE_FLTUND): Likewise.
9237         (FPE_FLTRES): Likewise.
9238         (FPE_FLTINV): Likewise.
9239         (FPE_FLTSUB): Likewise.
9240         (SEGV_MAPERR): Likewise.
9241         (SEGV_ACCERR): Likewise.
9242         (BUS_ADRALN): Likewise.
9243         (BUS_ADRERR): Likewise.
9244         (BUS_OBJERR): Likewise.
9245         (BUS_MCEERR_AR): Likewise.
9246         (BUS_MCEERR_AO): Likewise.
9247         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9248         (TRAP_TRACE): Likewise.
9249         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9250         __USE_XOPEN2K8].
9251         (CLD_KILLED): Likewise.
9252         (CLD_DUMPED): Likewise.
9253         (CLD_TRAPPED): Likewise.
9254         (CLD_STOPPED): Likewise.
9255         (CLD_CONTINUED): Likewise.
9256         (POLL_IN): Likewise.
9257         (POLL_OUT): Likewise.
9258         (POLL_MSG): Likewise.
9259         (POLL_ERR): Likewise.
9260         (POLL_PRI): Likewise.
9261         (POLL_HUP): Likewise.
9262         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9263         Likewise.
9264         (ILL_ILLOPN): Likewise.
9265         (ILL_ILLADR): Likewise.
9266         (ILL_ILLTRP): Likewise.
9267         (ILL_PRVOPC): Likewise.
9268         (ILL_PRVREG): Likewise.
9269         (ILL_COPROC): Likewise.
9270         (ILL_BADSTK): Likewise.
9271         (ILL_BADIADDR): Likewise.
9272         (ILL_BREAK): Likewise.
9273         (FPE_INTDIV): Likewise.
9274         (FPE_INTOVF): Likewise.
9275         (FPE_FLTDIV): Likewise.
9276         (FPE_FLTOVF): Likewise.
9277         (FPE_FLTUND): Likewise.
9278         (FPE_FLTRES): Likewise.
9279         (FPE_FLTINV): Likewise.
9280         (FPE_FLTSUB): Likewise.
9281         (FPE_DECOVF): Likewise.
9282         (FPE_DECDIV): Likewise.
9283         (FPE_DECERR): Likewise.
9284         (FPE_INVASC): Likewise.
9285         (FPE_INVDEC): Likewise.
9286         (SEGV_MAPERR): Likewise.
9287         (SEGV_ACCERR): Likewise.
9288         (SEGV_PSTKOVF): Likewise.
9289         (BUS_ADRALN): Likewise.
9290         (BUS_ADRERR): Likewise.
9291         (BUS_OBJERR): Likewise.
9292         (BUS_MCEERR_AR): Likewise.
9293         (BUS_MCEERR_AO): Likewise.
9294         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9295         (TRAP_TRACE): Likewise.
9296         (TRAP_BRANCH): Likewise.
9297         (TRAP_HWBKPT): Likewise.
9298         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9299         __USE_XOPEN2K8].
9300         (CLD_KILLED): Likewise.
9301         (CLD_DUMPED): Likewise.
9302         (CLD_TRAPPED): Likewise.
9303         (CLD_STOPPED): Likewise.
9304         (CLD_CONTINUED): Likewise.
9305         (POLL_IN): Likewise.
9306         (POLL_OUT): Likewise.
9307         (POLL_MSG): Likewise.
9308         (POLL_ERR): Likewise.
9309         (POLL_PRI): Likewise.
9310         (POLL_HUP): Likewise.
9311         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9312         (ILL_ILLOPN): Likewise.
9313         (ILL_ILLADR): Likewise.
9314         (ILL_ILLTRP): Likewise.
9315         (ILL_PRVOPC): Likewise.
9316         (ILL_PRVREG): Likewise.
9317         (ILL_COPROC): Likewise.
9318         (ILL_BADSTK): Likewise.
9319         (FPE_INTDIV): Likewise.
9320         (FPE_INTOVF): Likewise.
9321         (FPE_FLTDIV): Likewise.
9322         (FPE_FLTOVF): Likewise.
9323         (FPE_FLTUND): Likewise.
9324         (FPE_FLTRES): Likewise.
9325         (FPE_FLTINV): Likewise.
9326         (FPE_FLTSUB): Likewise.
9327         (SEGV_MAPERR): Likewise.
9328         (SEGV_ACCERR): Likewise.
9329         (BUS_ADRALN): Likewise.
9330         (BUS_ADRERR): Likewise.
9331         (BUS_OBJERR): Likewise.
9332         (BUS_MCEERR_AR): Likewise.
9333         (BUS_MCEERR_AO): Likewise.
9334         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9335         (TRAP_TRACE): Likewise.
9336         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9337         __USE_XOPEN2K8].
9338         (CLD_KILLED): Likewise.
9339         (CLD_DUMPED): Likewise.
9340         (CLD_TRAPPED): Likewise.
9341         (CLD_STOPPED): Likewise.
9342         (CLD_CONTINUED): Likewise.
9343         (POLL_IN): Likewise.
9344         (POLL_OUT): Likewise.
9345         (POLL_MSG): Likewise.
9346         (POLL_ERR): Likewise.
9347         (POLL_PRI): Likewise.
9348         (POLL_HUP): Likewise.
9349         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9350         (ILL_ILLOPN): Likewise.
9351         (ILL_ILLADR): Likewise.
9352         (ILL_ILLTRP): Likewise.
9353         (ILL_PRVOPC): Likewise.
9354         (ILL_PRVREG): Likewise.
9355         (ILL_COPROC): Likewise.
9356         (ILL_BADSTK): Likewise.
9357         (FPE_INTDIV): Likewise.
9358         (FPE_INTOVF): Likewise.
9359         (FPE_FLTDIV): Likewise.
9360         (FPE_FLTOVF): Likewise.
9361         (FPE_FLTUND): Likewise.
9362         (FPE_FLTRES): Likewise.
9363         (FPE_FLTINV): Likewise.
9364         (FPE_FLTSUB): Likewise.
9365         (SEGV_MAPERR): Likewise.
9366         (SEGV_ACCERR): Likewise.
9367         (BUS_ADRALN): Likewise.
9368         (BUS_ADRERR): Likewise.
9369         (BUS_OBJERR): Likewise.
9370         (BUS_MCEERR_AR): Likewise.
9371         (BUS_MCEERR_AO): Likewise.
9372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9373         (TRAP_TRACE): Likewise.
9374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9375         __USE_XOPEN2K8].
9376         (CLD_KILLED): Likewise.
9377         (CLD_DUMPED): Likewise.
9378         (CLD_TRAPPED): Likewise.
9379         (CLD_STOPPED): Likewise.
9380         (CLD_CONTINUED): Likewise.
9381         (POLL_IN): Likewise.
9382         (POLL_OUT): Likewise.
9383         (POLL_MSG): Likewise.
9384         (POLL_ERR): Likewise.
9385         (POLL_PRI): Likewise.
9386         (POLL_HUP): Likewise.
9387         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9388         (ILL_ILLOPN): Likewise.
9389         (ILL_ILLADR): Likewise.
9390         (ILL_ILLTRP): Likewise.
9391         (ILL_PRVOPC): Likewise.
9392         (ILL_PRVREG): Likewise.
9393         (ILL_COPROC): Likewise.
9394         (ILL_BADSTK): Likewise.
9395         (FPE_INTDIV): Likewise.
9396         (FPE_INTOVF): Likewise.
9397         (FPE_FLTDIV): Likewise.
9398         (FPE_FLTOVF): Likewise.
9399         (FPE_FLTUND): Likewise.
9400         (FPE_FLTRES): Likewise.
9401         (FPE_FLTINV): Likewise.
9402         (FPE_FLTSUB): Likewise.
9403         (SEGV_MAPERR): Likewise.
9404         (SEGV_ACCERR): Likewise.
9405         (BUS_ADRALN): Likewise.
9406         (BUS_ADRERR): Likewise.
9407         (BUS_OBJERR): Likewise.
9408         (BUS_MCEERR_AR): Likewise.
9409         (BUS_MCEERR_AO): Likewise.
9410         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9411         (TRAP_TRACE): Likewise.
9412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9413         __USE_XOPEN2K8].
9414         (CLD_KILLED): Likewise.
9415         (CLD_DUMPED): Likewise.
9416         (CLD_TRAPPED): Likewise.
9417         (CLD_STOPPED): Likewise.
9418         (CLD_CONTINUED): Likewise.
9419         (POLL_IN): Likewise.
9420         (POLL_OUT): Likewise.
9421         (POLL_MSG): Likewise.
9422         (POLL_ERR): Likewise.
9423         (POLL_PRI): Likewise.
9424         (POLL_HUP): Likewise.
9425         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9426         (ILL_ILLOPN): Likewise.
9427         (ILL_ILLADR): Likewise.
9428         (ILL_ILLTRP): Likewise.
9429         (ILL_PRVOPC): Likewise.
9430         (ILL_PRVREG): Likewise.
9431         (ILL_COPROC): Likewise.
9432         (ILL_BADSTK): Likewise.
9433         (ILL_DBLFLT): Likewise.
9434         (ILL_HARDWALL): Likewise.
9435         (FPE_INTDIV): Likewise.
9436         (FPE_INTOVF): Likewise.
9437         (FPE_FLTDIV): Likewise.
9438         (FPE_FLTOVF): Likewise.
9439         (FPE_FLTUND): Likewise.
9440         (FPE_FLTRES): Likewise.
9441         (FPE_FLTINV): Likewise.
9442         (FPE_FLTSUB): Likewise.
9443         (SEGV_MAPERR): Likewise.
9444         (SEGV_ACCERR): Likewise.
9445         (BUS_ADRALN): Likewise.
9446         (BUS_ADRERR): Likewise.
9447         (BUS_OBJERR): Likewise.
9448         (BUS_MCEERR_AR): Likewise.
9449         (BUS_MCEERR_AO): Likewise.
9450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9451         (TRAP_TRACE): Likewise.
9452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9453         __USE_XOPEN2K8].
9454         (CLD_KILLED): Likewise.
9455         (CLD_DUMPED): Likewise.
9456         (CLD_TRAPPED): Likewise.
9457         (CLD_STOPPED): Likewise.
9458         (CLD_CONTINUED): Likewise.
9459         (POLL_IN): Likewise.
9460         (POLL_OUT): Likewise.
9461         (POLL_MSG): Likewise.
9462         (POLL_ERR): Likewise.
9463         (POLL_PRI): Likewise.
9464         (POLL_HUP): Likewise.
9465         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9466         (ILL_ILLOPN): Likewise.
9467         (ILL_ILLADR): Likewise.
9468         (ILL_ILLTRP): Likewise.
9469         (ILL_PRVOPC): Likewise.
9470         (ILL_PRVREG): Likewise.
9471         (ILL_COPROC): Likewise.
9472         (ILL_BADSTK): Likewise.
9473         (FPE_INTDIV): Likewise.
9474         (FPE_INTOVF): Likewise.
9475         (FPE_FLTDIV): Likewise.
9476         (FPE_FLTOVF): Likewise.
9477         (FPE_FLTUND): Likewise.
9478         (FPE_FLTRES): Likewise.
9479         (FPE_FLTINV): Likewise.
9480         (FPE_FLTSUB): Likewise.
9481         (SEGV_MAPERR): Likewise.
9482         (SEGV_ACCERR): Likewise.
9483         (BUS_ADRALN): Likewise.
9484         (BUS_ADRERR): Likewise.
9485         (BUS_OBJERR): Likewise.
9486         (BUS_MCEERR_AR): Likewise.
9487         (BUS_MCEERR_AO): Likewise.
9488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9489         (TRAP_TRACE): Likewise.
9490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9491         __USE_XOPEN2K8].
9492         (CLD_KILLED): Likewise.
9493         (CLD_DUMPED): Likewise.
9494         (CLD_TRAPPED): Likewise.
9495         (CLD_STOPPED): Likewise.
9496         (CLD_CONTINUED): Likewise.
9497         (POLL_IN): Likewise.
9498         (POLL_OUT): Likewise.
9499         (POLL_MSG): Likewise.
9500         (POLL_ERR): Likewise.
9501         (POLL_PRI): Likewise.
9502         (POLL_HUP): Likewise.
9503         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9504         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9505
9506         [BZ #16670]
9507         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9508         before #include of <time.h>.
9509         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9510         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9511         (test-xfail-UNIX98/sched.h/conform): Likewise.
9512
9513 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9514
9515         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9516         error absence of trapping exception support.
9517         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9518
9519 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9520
9521         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9522         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9523         * timezone/Makefile (testdata): Move definition above include of
9524         Rules.
9525         (test-zones): New variable.
9526         (tests-special): Add zone files.
9527         (build-testdata): Use $(evaluate-test).
9528
9529         * elf/Makefile (tests-special): Rename tests to end with .out.
9530         ($(objpfx)noload-mem): Likewise.
9531         ($(objpfx)tst-leaks1-mem): Likewise.
9532         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9533         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9534         $(objpfx)test-iconvconfig.out.
9535         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9536         set -e inside subshell and redirect output to file.
9537         * iconvdata/Makefile (generated): Rename tests to end with .out.
9538         Correct type.
9539         (tests-special): Rename tests to end with .out.
9540         ($(objpfx)mtrace-tst-loading): Likewise.
9541         * intl/Makefile (generated): Likewise.
9542         (tests-special): Likewise.
9543         ($(objpfx)mtrace-tst-gettext): Likewise.
9544         * misc/Makefile (generated): Likewise.
9545         (tests-special): Likewise.
9546         ($(objpfx)tst-error1-mem): Likewise.
9547         * nptl/Makefile (tests-special): Likewise.
9548         ($(objpfx)tst-stack3-mem): Likewise.
9549         (generated): Likewise.
9550         * posix/Makefile (generated): Likewise.
9551         (tests-special): Likewise.
9552         (xtests-special): Likewise.
9553         ($(objpfx)tst-fnmatch-mem): Likewise.
9554         ($(objpfx)bug-regex2-mem): Likewise.
9555         ($(objpfx)bug-regex14-mem): Likewise.
9556         ($(objpfx)bug-regex21-mem): Likewise.
9557         ($(objpfx)bug-regex31-mem): Likewise.
9558         ($(objpfx)tst-vfork3-mem): Likewise.
9559         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9560         ($(objpfx)tst-pcre-mem): Likewise.
9561         ($(objpfx)tst-boost-mem): Likewise.
9562         ($(objpfx)bug-ga2-mem): Likewise.
9563         ($(objpfx)bug-glob2-mem): Likewise.
9564         * resolv/Makefile (generate): Likewise.
9565         (tests-special): Likewise.
9566         (xtests-special): Likewise.
9567         (generated): Likewise.
9568         ($(objpfx)mtrace-tst-leaks): Likewise.
9569         ($(objpfx)mtrace-tst-leaks2): Likewise.
9570
9571         * scripts/merge-test-results.sh: New file.
9572         * Makefile (tests-special-notdir): New variable.
9573         (tests): Run merge-test-results.sh.
9574         (xtests): Likewise.
9575         * Rules (tests-special-notdir): New variable.
9576         (xtests-special-notdir): Likewise.
9577         (tests): Run merge-test-results.sh
9578         (xtests): Likewise.
9579
9580         * Makeconfig (test-xfail-name): New variable.
9581         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9582         compute variable name for expected failures.
9583         * conform/Makefile (conformtest-headers-data): New variable.
9584         (conformtest-standards): Likewise.
9585         (conformtest-headers-ISO): Likewise.
9586         (conformtest-headers-ISO99): Likewise.
9587         (conformtest-headers-ISO11): Likewise.
9588         (conformtest-headers-POSIX): Likewise.
9589         (conformtest-headers-XPG3): Likewise.
9590         (conformtest-headers-XPG4): Likewise.
9591         (conformtest-headers-UNIX98): Likewise.
9592         (conformtest-headers-XOPEN2K): Likewise.
9593         (conformtest-headers-POSIX2008): Likewise.
9594         (conformtest-headers-XOPEN2K8): Likewise.
9595         (conformtest-header-list-base): Likewise.
9596         (conformtest-header-list-tests): Likewise.
9597         (conformtest-header-base): Likewise.
9598         (conformtest-header-tests): Likewise.
9599         (tests-special): Add $(conformtest-header-list-tests).  If
9600         [$(fast-check) && !$(cross-compiling)], add
9601         $(conformtest-header-tests) instead of
9602         $(objpfx)run-conformtest.out.
9603         (generated): Add $(conformtest-header-list-base).  If
9604         [$(fast-check) && !$(cross-compiling)], add
9605         $(conformtest-header-base).  Remove previous setting.
9606         ($(conformtest-header-list-tests)): New target.
9607         (test-xfail-run-conformtest): Remove variable.
9608         ($(objpfx)run-conformtest.out): Remove target.
9609         (test-xfail-ISO11/complex.h/conform): New variable.
9610         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9611         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9612         (test-xfail-XPG3/varargs.h/conform): Likewise.
9613         (test-xfail-XPG4/varargs.h/conform): Likewise.
9614         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9615         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9616         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9617         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9618         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9619         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9620         (test-xfail-XPG3/ftw.h/conform): Likewise.
9621         (test-xfail-XPG3/grp.h/conform): Likewise.
9622         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9623         (test-xfail-XPG3/limits.h/conform): Likewise.
9624         (test-xfail-XPG3/pwd.h/conform): Likewise.
9625         (test-xfail-XPG3/search.h/conform): Likewise.
9626         (test-xfail-XPG3/signal.h/conform): Likewise.
9627         (test-xfail-XPG3/stdio.h/conform): Likewise.
9628         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9629         (test-xfail-XPG3/string.h/conform): Likewise.
9630         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9631         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9632         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9633         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9634         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9635         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9636         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9637         (test-xfail-XPG3/termios.h/conform): Likewise.
9638         (test-xfail-XPG3/time.h/conform): Likewise.
9639         (test-xfail-XPG3/unistd.h/conform): Likewise.
9640         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9641         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9642         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9643         (test-xfail-XPG4/netdb.h/conform): Likewise.
9644         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9645         (test-xfail-XPG4/signal.h/conform): Likewise.
9646         (test-xfail-XPG4/stdio.h/conform): Likewise.
9647         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9648         (test-xfail-XPG4/stropts.h/conform): Likewise.
9649         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9650         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9651         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9652         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9653         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9654         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9655         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9656         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9657         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9658         (test-xfail-XPG4/termios.h/conform): Likewise.
9659         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9660         (test-xfail-XPG4/unistd.h/conform): Likewise.
9661         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9662         (test-xfail-POSIX/sched.h/conform): Likewise.
9663         (test-xfail-POSIX/signal.h/conform): Likewise.
9664         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9665         (test-xfail-POSIX/tar.h/conform): Likewise.
9666         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9667         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9668         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9669         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9670         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9671         (test-xfail-UNIX98/sched.h/conform): Likewise.
9672         (test-xfail-UNIX98/signal.h/conform): Likewise.
9673         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9674         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9675         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9676         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9677         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9678         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9679         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9680         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9681         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9682         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9683         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9684         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9685         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9686         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9687         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9688         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9689         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9690         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9691         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9692         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9693         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9694         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9695         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9696         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9697         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9698         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9699         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9700         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9701         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9702         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9703         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9704         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9705         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9706         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9707         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9708         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9709         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9710         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9711         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9712         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9713         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9714         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9715         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9716         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9717         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9718         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9719         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9720         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9721         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9722         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9723         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9724         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9725         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9726         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9727         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9728         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9729         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9730         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9731         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9732         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9733         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9734         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9735         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9736         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9737         (conformtest-cc-flags): Likewise.
9738         ($(conformtest-header-tests): New target.
9739         * conform/check-header-lists.sh: New file.
9740         * conform/run-conformtest.sh: Remove.
9741
9742         * conform/conformtest.pl: Allow ' and \ in values given for
9743         constants.
9744         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9745         inclusion.
9746         [POSIX] (sys/types.h): Likewise.
9747         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9748         inclusion.
9749         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9750         inclusion.
9751         * conform/data/signal.h-data (SIGIO): Remove expectation.
9752         [XPG3] (SIGBUS): Do not expect.
9753         [POSIX || XPG3] (SIGPOLL): Likewise.
9754         [POSIX || XPG3] (SIGPROF): Likewise.
9755         [POSIX || XPG3] (SIGSYS): Likewise.
9756         [XPG3] (SIGTRAP): Likewise.
9757         [POSIX || XPG3] (SIGURG): Likewise.
9758         [POSIX || XPG3] (SIGVTALRM): Likewise.
9759         [POSIX || XPG3] (SIGXCPU): Likewise.
9760         [POSIX || XPG3] (SIGXFSZ): Likewise.
9761         [POSIX] (SA_SIGINFO): Expect.
9762         [XPG3] (siginfo_t): Do not expect type or contents.
9763         [POSIX] (si_pid): Do not expect element.
9764         [POSIX] (si_uid): Likewise.
9765         [POSIX] (si_addr): Likewise.
9766         [POSIX] (si_status): Likewise.
9767         [POSIX] (si_band): Likewise.
9768         [XPG4] (si_value): Likewise.
9769         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9770         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9771         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9772         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9773         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9774         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9775         [POSIX || XPG3] (ILL_COPROC): Likewise.
9776         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9777         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9778         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9779         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9780         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9781         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9782         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9783         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9784         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9785         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9786         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9787         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9788         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9789         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9790         [POSIX || XPG3] (CLD_EXITED): Likewise.
9791         [POSIX || XPG3] (CLD_KILLED): Likewise.
9792         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9793         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9794         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9795         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9796         [POSIX || XPG3] (POLL_IN): Likewise.
9797         [POSIX || XPG3] (POLL_OUT): Likewise.
9798         [POSIX || XPG3] (POLL_MSG): Likewise.
9799         [POSIX || XPG3] (POLL_ERR): Likewise.
9800         [POSIX || XPG3] (POLL_PRI): Likewise.
9801         [POSIX || XPG3] (POLL_HUP): Likewise.
9802         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9803         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9804         (SIG*): Do not allow.
9805         [XPG3] (si_*): Likewise.
9806         [XPG3] (SI_*): Likewise.
9807         [XPG3 || XPG4] (sigev_*): Likewise.
9808         [XPG3 || XPG4] (SIGEV_*): Likewise.
9809         [XPG3 || XPG4] (sival_*): Likewise.
9810         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9811         [POSIX || XPG3] (BUS_*): Likewise.
9812         [POSIX || XPG3] (CLD_*): Likewise.
9813         [POSIX || XPG3] (FPE_*): Likewise.
9814         [POSIX || XPG3] (ILL_*): Likewise.
9815         [POSIX || XPG3] (POLL_*): Likewise.
9816         [POSIX || XPG3] (SEGV_*): Likewise.
9817         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9818         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9819         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9820         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9821         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9822         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9823         Specify type and value.
9824         (TVERSLEN): Likewise.
9825         (REGTYPE): Likewise.
9826         (AREGTYPE): Likewise.
9827         (LNKTYPE): Likewise.
9828         (SYMTYPE): Likewise.
9829         (CHRTYPE): Likewise.
9830         (BLKTYPE): Likewise.
9831         (DIRTYPE): Likewise.
9832         (FIFOTYPE): Likewise.
9833         (CONTTYPE): Likewise.
9834         (TSUID): Likewise.
9835         (TSGID): Likewise.
9836         (TSVTX): Likewise.
9837         (TUREAD): Likewise.
9838         (TUWRITE): Likewise.
9839         (TUEXEC): Likewise.
9840         (TGREAD): Likewise.
9841         (TGWRITE): Likewise.
9842         (TGEXEC): Likewise.
9843         (TOREAD): Likewise.
9844         (TOWRITE): Likewise.
9845         (TOEXEC): Likewise.
9846         [POSIX] (TSVTX): Expect constant.
9847
9848 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9849
9850         * Makefile (tests): Change dependencies to ....
9851         (tests-special): ... additions to this variable.
9852         (tests): Depend on $(tests-special).
9853         * Makerules (check-abi-list): New variable.
9854         (check-abi): Depend on $(check-abi-list).
9855         [$(subdir) = elf] (tests-special): Add
9856         $(objpfx)check-abi-libc.out.
9857         [$(build-shared) = yes && subdir] (tests-special): Add
9858         $(check-abi-list).
9859         [$(build-shared) = yes && subdir] (tests): Do not depend on
9860         check-abi.
9861         * Rules (tests): Depend on $(tests-special).
9862         (xtests): Depend on $(xtests-special).
9863         * catgets/Makefile (tests): Change dependencies to ....
9864         (tests-special): ... additions to this variable.
9865         * conform/Makefile (tests): Change dependencies to ....
9866         (tests-special): ... additions to this variable.
9867         * elf/Makefile (tests): Change dependencies to ....
9868         (tests-special): ... additions to this variable.
9869         * grp/Makefile (tests): Change dependencies to ....
9870         (tests-special): ... additions to this variable.
9871         * iconv/Makefile (xtests): Change dependencies to ....
9872         (xtests-special): ... additions to this variable.
9873         * iconvdata/Makefile (tests): Change dependencies to ....
9874         (tests-special): ... additions to this variable.
9875         * intl/Makefile (tests): Change dependencies to ....
9876         (tests-special): ... additions to this variable.  Also add
9877         $(objpfx)tst-gettext.out.
9878         * io/Makefile (tests): Change dependencies to ....
9879         (tests-special): ... additions to this variable.
9880         * libio/Makefile (tests): Change dependencies to ....
9881         (tests-special): ... additions to this variable.
9882         * malloc/Makefile (tests): Change dependencies to ....
9883         (tests-special): ... additions to this variable.
9884         * misc/Makefile (tests): Change dependencies to ....
9885         (tests-special): ... additions to this variable.
9886         * nptl/Makefile (tests): Change dependencies to ....
9887         (tests-special): ... additions to this variable.
9888         * nptl_db/Makefile (tests): Change dependencies to ....
9889         (tests-special): ... additions to this variable.
9890         * posix/Makefile (tests): Change dependencies to ....
9891         (tests-special): ... additions to this variable.
9892         (xtests): Change dependencies to ....
9893         (xtests-special): ... additions to this variable.
9894         * resolv/Makefile (tests): Change dependencies to ....
9895         (tests-special): ... additions to this variable.
9896         (xtests): Change dependencies to ....
9897         (xtests-special): ... additions to this variable.
9898         * stdio-common/Makefile (tests): Change dependencies to ....
9899         (tests-special): ... additions to this variable.
9900         (do-tst-unbputc): Remove target.
9901         (do-tst-printf): Likewise.
9902         * stdlib/Makefile (tests): Change dependencies to ....
9903         (tests-special): ... additions to this variable.
9904         * string/Makefile (tests): Change dependencies to ....
9905         (tests-special): ... additions to this variable.
9906         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9907         (tests-special): ... additions to this variable.
9908
9909         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9910         whole file.
9911         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9912         whole file.
9913         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9914         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9915
9916         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9917         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9918         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9919         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9920         * conform/data/libgen.h-data [XPG3]: Likewise.
9921         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9922         * conform/data/ndbm.h-data [XPG3]: Likewise.
9923         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9924         * conform/data/netdb.h-data [XPG3]: Likewise.
9925         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9926         * conform/data/poll.h-data [XPG3]: Likewise.
9927         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9928         * conform/data/strings.h-data [XPG3]: Likewise.
9929         * conform/data/stropts.h-data [XPG3]: Likewise.
9930         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9931         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9932         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9933         Likewise.
9934         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9935         * conform/data/sys/time.h-data [XPG3]: Likewise.
9936         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9937         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9938         * conform/data/sys/un.h-data [XPG3]: Likewise.
9939         * conform/data/syslog.h-data [XPG3]: Likewise.
9940         * conform/data/ucontext.h-data [XPG3]: Likewise.
9941         * conform/data/utmpx.h-data [XPG3]: Likewise.
9942         * conform/data/varargs.h-data [UNIX98]: Enable file.
9943
9944         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9945
9946         * math/libm-test.inc (struct test_f_f_data): Move expected results
9947         into structure for each rounding mode.
9948         (struct test_ff_f_data): Likewise.
9949         (struct test_ff_f_data_nexttoward): Likewise.
9950         (struct test_fi_f_data): Likewise.
9951         (struct test_fl_f_data): Likewise.
9952         (struct test_if_f_data): Likewise.
9953         (struct test_fff_f_data): Likewise.
9954         (struct test_c_f_data): Likewise.
9955         (struct test_f_f1_data): Likewise.
9956         (struct test_fF_f1_data): Likewise.
9957         (struct test_ffI_f1_data): Likewise.
9958         (struct test_c_c_data): Likewise.
9959         (struct test_cc_c_data): Likewise.
9960         (struct test_f_i_data): Likewise.
9961         (struct test_ff_i_data): Likewise.
9962         (struct test_f_l_data): Likewise.
9963         (struct test_f_L_data): Likewise.
9964         (struct test_fFF_11_data): Likewise.
9965         (RM_): New macro.
9966         (RM_FE_DOWNWARD): Likewise.
9967         (RM_FE_TONEAREST): Likewise.
9968         (RM_FE_TOWARDZERO): Likewise.
9969         (RM_FE_UPWARD): Likewise.
9970         (RUN_TEST_LOOP_f_f): Update references to expected results.
9971         (RUN_TEST_LOOP_2_f): Likewise.
9972         (RUN_TEST_LOOP_fff_f): Likewise.
9973         (RUN_TEST_LOOP_c_f): Likewise.
9974         (RUN_TEST_LOOP_f_f1): Likewise.
9975         (RUN_TEST_LOOP_fF_f1): Likewise.
9976         (RUN_TEST_LOOP_fI_f1): Likewise.
9977         (RUN_TEST_LOOP_ffI_f1): Likewise.
9978         (RUN_TEST_LOOP_c_c): Likewise.
9979         (RUN_TEST_LOOP_cc_c): Likewise.
9980         (RUN_TEST_LOOP_f_i): Likewise.
9981         (RUN_TEST_LOOP_f_i_tg): Likewise.
9982         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9983         (RUN_TEST_LOOP_f_b): Likewise.
9984         (RUN_TEST_LOOP_f_b_tg): Likewise.
9985         (RUN_TEST_LOOP_f_l): Likewise.
9986         (RUN_TEST_LOOP_f_L): Likewise.
9987         (RUN_TEST_LOOP_fFF_11): Likewise.
9988         * math/gen-libm-test.pl (parse_args): Output four copies of
9989         expected results for each test.
9990
9991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9992         (__ASSUME_UTIMES): Remove.
9993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9994         (__ASSUME_UTIMES): Likewise.
9995
9996         * math/gen-auto-libm-tests.c: Update comment on output format.
9997         (output_for_one_input_case): Generate before-rounding and
9998         after-rounding information as conditions on output flags not
9999         floating-point format.
10000         * math/auto-libm-test-out: Regenerated.
10001         * math/gen-libm-test.pl (cond_value): New function.
10002         (or_cond_value): Use cond_value.
10003         (generate_testfile): Handle conditional exceptions.
10004
10005 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10006
10007         * math/libm-test.inc (max_valid_error): New variable.
10008         (init_max_error): Take new argument specifying whether function
10009         results are exactly determined.  Set max_valid_error and bound
10010         other variables for errors based on this argument.
10011         (set_max_error): Do not record results above max_valid_error.
10012         (check_float_internal): Only accept errors of up to 0.5ulps if
10013         also at most max_valid_error.
10014         (START): Take new argument EXACT and pass it to init_max_error.
10015         (acos_test): Update call to START.
10016         (acos_test_tonearest): Likewise.
10017         (acos_test_towardzero): Likewise.
10018         (acos_test_downward): Likewise.
10019         (acos_test_upward): Likewise.
10020         (acosh_test): Likewise.
10021         (asin_test): Likewise.
10022         (asin_test_tonearest): Likewise.
10023         (asin_test_towardzero): Likewise.
10024         (asin_test_downward): Likewise.
10025         (asin_test_upward): Likewise.
10026         (asinh_test): Likewise.
10027         (atan_test): Likewise.
10028         (atanh_test): Likewise.
10029         (atan2_test): Likewise.
10030         (cabs_test): Likewise.
10031         (cacos_test): Likewise.
10032         (cacosh_test): Likewise.
10033         (carg_test): Likewise.
10034         (casin_test): Likewise.
10035         (casinh_test): Likewise.
10036         (catan_test): Likewise.
10037         (catanh_test): Likewise.
10038         (cbrt_test): Likewise.
10039         (ccos_test): Likewise.
10040         (ccosh_test): Likewise.
10041         (ceil_test): Likewise.
10042         (cexp_test): Likewise.
10043         (cimag_test): Likewise.
10044         (clog_test): Likewise.
10045         (clog10_test): Likewise.
10046         (conj_test): Likewise.
10047         (copysign_test): Likewise.
10048         (cos_test): Likewise.
10049         (cos_test_tonearest): Likewise.
10050         (cos_test_towardzero): Likewise.
10051         (cos_test_downward): Likewise.
10052         (cos_test_upward): Likewise.
10053         (cosh_test): Likewise.
10054         (cosh_test_tonearest): Likewise.
10055         (cosh_test_towardzero): Likewise.
10056         (cosh_test_downward): Likewise.
10057         (cosh_test_upward): Likewise.
10058         (cpow_test): Likewise.
10059         (cproj_test): Likewise.
10060         (creal_test): Likewise.
10061         (csin_test): Likewise.
10062         (csinh_test): Likewise.
10063         (csqrt_test): Likewise.
10064         (ctan_test): Likewise.
10065         (ctan_test_tonearest): Likewise.
10066         (ctan_test_towardzero): Likewise.
10067         (ctan_test_downward): Likewise.
10068         (ctan_test_upward): Likewise.
10069         (ctanh_test): Likewise.
10070         (ctanh_test_tonearest): Likewise.
10071         (ctanh_test_towardzero): Likewise.
10072         (ctanh_test_downward): Likewise.
10073         (ctanh_test_upward): Likewise.
10074         (erf_test): Likewise.
10075         (erfc_test): Likewise.
10076         (exp_test): Likewise.
10077         (exp_test_tonearest): Likewise.
10078         (exp_test_towardzero): Likewise.
10079         (exp_test_downward): Likewise.
10080         (exp_test_upward): Likewise.
10081         (exp10_test): Likewise.
10082         (exp10_test_tonearest): Likewise.
10083         (exp10_test_towardzero): Likewise.
10084         (exp10_test_downward): Likewise.
10085         (exp10_test_upward): Likewise.
10086         (pow10_test): Likewise.
10087         (exp2_test): Likewise.
10088         (expm1_test): Likewise.
10089         (expm1_test_tonearest): Likewise.
10090         (expm1_test_towardzero): Likewise.
10091         (expm1_test_downward): Likewise.
10092         (expm1_test_upward): Likewise.
10093         (fabs_test): Likewise.
10094         (fdim_test): Likewise.
10095         (floor_test): Likewise.
10096         (fma_test): Likewise.
10097         (fma_test_towardzero): Likewise.
10098         (fma_test_downward): Likewise.
10099         (fma_test_upward): Likewise.
10100         (fmax_test): Likewise.
10101         (fmin_test): Likewise.
10102         (fmod_test): Likewise.
10103         (fpclassify_test): Likewise.
10104         (frexp_test): Likewise.
10105         (hypot_test): Likewise.
10106         (ilogb_test): Likewise.
10107         (isfinite_test): Likewise.
10108         (finite_test): Likewise.
10109         (isgreater_test): Likewise.
10110         (isgreaterequal_test): Likewise.
10111         (isinf_test): Likewise.
10112         (isless_test): Likewise.
10113         (islessequal_test): Likewise.
10114         (islessgreater_test): Likewise.
10115         (isnan_test): Likewise.
10116         (isnormal_test): Likewise.
10117         (issignaling_test): Likewise.
10118         (isunordered_test): Likewise.
10119         (j0_test): Likewise.
10120         (j1_test): Likewise.
10121         (jn_test): Likewise.
10122         (ldexp_test): Likewise.
10123         (lgamma_test): Likewise.
10124         (gamma_test): Likewise.
10125         (lrint_test): Likewise.
10126         (lrint_test_tonearest): Likewise.
10127         (lrint_test_towardzero): Likewise.
10128         (lrint_test_downward): Likewise.
10129         (lrint_test_upward): Likewise.
10130         (llrint_test): Likewise.
10131         (llrint_test_tonearest): Likewise.
10132         (llrint_test_towardzero): Likewise.
10133         (llrint_test_downward): Likewise.
10134         (llrint_test_upward): Likewise.
10135         (log_test): Likewise.
10136         (log10_test): Likewise.
10137         (log1p_test): Likewise.
10138         (log2_test): Likewise.
10139         (logb_test): Likewise.
10140         (logb_test_downward): Likewise.
10141         (lround_test): Likewise.
10142         (llround_test): Likewise.
10143         (modf_test): Likewise.
10144         (nearbyint_test): Likewise.
10145         (nextafter_test): Likewise.
10146         (nexttoward_test): Likewise.
10147         (pow_test): Likewise.
10148         (pow_test_tonearest): Likewise.
10149         (pow_test_towardzero): Likewise.
10150         (pow_test_downward): Likewise.
10151         (pow_test_upward): Likewise.
10152         (remainder_test): Likewise.
10153         (drem_test): Likewise.
10154         (remainder_test_tonearest): Likewise.
10155         (drem_test_tonearest): Likewise.
10156         (remainder_test_towardzero): Likewise.
10157         (drem_test_towardzero): Likewise.
10158         (remainder_test_downward): Likewise.
10159         (drem_test_downward): Likewise.
10160         (remainder_test_upward): Likewise.
10161         (drem_test_upward): Likewise.
10162         (remquo_test): Likewise.
10163         (rint_test): Likewise.
10164         (rint_test_tonearest): Likewise.
10165         (rint_test_towardzero): Likewise.
10166         (rint_test_downward): Likewise.
10167         (rint_test_upward): Likewise.
10168         (round_test): Likewise.
10169         (scalb_test): Likewise.
10170         (scalbn_test): Likewise.
10171         (scalbln_test): Likewise.
10172         (signbit_test): Likewise.
10173         (sin_test): Likewise.
10174         (sin_test_tonearest): Likewise.
10175         (sin_test_towardzero): Likewise.
10176         (sin_test_downward): Likewise.
10177         (sin_test_upward): Likewise.
10178         (sincos_test): Likewise.
10179         (sinh_test): Likewise.
10180         (sinh_test_tonearest): Likewise.
10181         (sinh_test_towardzero): Likewise.
10182         (sinh_test_downward): Likewise.
10183         (sinh_test_upward): Likewise.
10184         (sqrt_test): Likewise.
10185         (sqrt_test_tonearest): Likewise.
10186         (sqrt_test_towardzero): Likewise.
10187         (sqrt_test_downward): Likewise.
10188         (sqrt_test_upward): Likewise.
10189         (tan_test): Likewise.
10190         (tan_test_tonearest): Likewise.
10191         (tan_test_towardzero): Likewise.
10192         (tan_test_downward): Likewise.
10193         (tan_test_upward): Likewise.
10194         (tanh_test): Likewise.
10195         (tgamma_test): Likewise.
10196         (trunc_test): Likewise.
10197         (y0_test): Likewise.
10198         (y1_test): Likewise.
10199         (yn_test): Likewise.
10200         (significand_test): Likewise.
10201
10202         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10203         individual tests in comment.
10204         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10205         (prev_max_error): New variable.
10206         (prev_real_max_error): Likewise.
10207         (prev_imag_max_error): Likewise.
10208         (compare_ulp_data): Don't refer to test names in comment.
10209         (find_test_ulps): Remove function.
10210         (find_function_ulps): Likewise.
10211         (find_complex_function_ulps): Likewise.
10212         (init_max_error): Take function name as argument.  Look up ulps
10213         for that function.
10214         (print_ulps): Remove function.
10215         (print_max_error): Use prev_max_error instead of calling
10216         find_function_ulps.
10217         (print_complex_max_error): Use prev_real_max_error and
10218         prev_imag_max_error instead of calling find_complex_function_ulps.
10219         (check_float_internal): Take max_ulp parameter instead of calling
10220         find_test_ulps.  Don't call print_ulps.
10221         (check_float): Update call to check_float_internal.
10222         (check_complex): Update calls to check_float_internal.
10223         (START): Pass argument to init_max_error.
10224         * math/gen-libm-test.pl (%results): Don't include "kind"
10225         information.
10226         (parse_ulps): Don't handle ulps of individual tests.
10227         (print_ulps_file): Likewise.
10228         (output_ulps): Likewise.
10229         * math/README.libm-test: Update.
10230         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10231         individual tests.
10232         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10233         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10234         * sysdeps/arm/libm-test-ulps: Likewise.
10235         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10236         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10237         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10238         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10239         * sysdeps/microblaze/libm-test-ulps: Likewise.
10240         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10241         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10242         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10243         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10244         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10245         * sysdeps/sh/libm-test-ulps: Likewise.
10246         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10247         * sysdeps/tile/libm-test-ulps: Likewise.
10248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10249
10250 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10251
10252         * math/libm-test.inc (print_complex_max_error): Check separately
10253         whether real and imaginary errors are within allowed range and
10254         pass 0 to print_complex_function_ulps instead of value within
10255         allowed range.
10256
10257 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10258
10259         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10260         formatting.
10261         (get_handles_fopen): Likewise.
10262         (do_write_test): Likewise.
10263
10264         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10265
10266         * libio/fileops.c (do_ftell): Use cached offset when
10267         available.
10268         * libio/iofwide.c (do_ftell_wide): Likewise.
10269         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10270         _IO_file_attach.
10271         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10272
10273         [BZ #16532]
10274         * libio/libioP.h (get_file_offset): New function.
10275         * libio/fileops.c (get_file_offset): Likewise.
10276         (do_ftell): Likewise.
10277         (_IO_new_file_seekoff): Split out ftell logic.
10278         * libio/wfileops.c (do_ftell_wide): Likewise.
10279         (_IO_wfile_seekoff): Split out ftell logic.
10280         * libio/tst-ftell-active-handler.c: New test case.
10281         * libio/Makefile (tests): Add it.
10282
10283 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10284
10285         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10286         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10287
10288 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10289
10290         [BZ #16639]
10291         * nscd/connections.c (nscd_init): Call do_exit.
10292         (start_threads): Call do_exit and notify_parent.
10293         (begin_drop_privileges): Call do_exit.
10294         (finish_drop_privileges): Likewise.
10295         * nscd/selinux.c (preserve_capabilities): Likewise.
10296         (install_real_capabilities): Likewise.
10297         (nscd_selinux_enabled): Likewise.
10298         (avc_create_thread): Likewise.
10299         (avc_alloc_lock): Likewise.
10300         (nscd_avc_init): Likewise.
10301         * nscd/nscd.c (parent_fd): New static variable.
10302         (main): Create a pipe between parent and child processes.
10303         Skip closing parent_fd.
10304         (monitor_child): New function.
10305         (do_exit): Likewise.
10306         (notify_parent): Likewise.
10307         * nscd/nscd.h (notify_parent): Likewise.
10308         (do_exit): Likewise.
10309
10310 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10311
10312         * malloc/malloc.c (__libc_calloc): Revert last change.
10313
10314 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10315
10316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10317
10318 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10319
10320         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10322         implementation.
10323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10324         (__libc_ifunc_impl_list): Likewise.
10325         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10326         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10327         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10328         * string/strrchr.c: Define STRRCHR.
10329
10330 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10331
10332         * benchtest/bench-strtok.c (simple_strtok): Delete.
10333         (strtok_string): Use as benchmark.
10334         * string/strtok (STRTOK): New macro.
10335
10336 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10337
10338         * manual/threads.texi: Add header and standard comments to all
10339         functions.
10340
10341         * elf/dl-lookup.c (check_match): New function.
10342         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10343         (do_lookup_x): Remove nested function check_match. Use non-nested
10344         function check_match.
10345
10346 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10347
10348         * csu/Makefile (generated, before-compile): Use += rather than =.
10349         * catgets/Makefile (generated, generated-dirs): Likewise.
10350         * debug/Makefile (generated): Likewise.
10351         * dlfcn/Makefile (generated): Likewise.
10352         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10353         * iconvdata/Makefile (before-compile, generated): Likewise.
10354         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10355         * libio/Makefile (generated): Likewise.
10356         * malloc/Makefile (generated): Likewise.
10357         * manual/Makefile (generated, generated-dirs): Likewise.
10358         * misc/Makefile (generated): Likewise.
10359         * posix/Makefile (generated): Likewise.
10360         * resolv/Makefile (generated): Likewise.
10361         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10362         * timezone/Makefile (generated, generated-dirs): Likewise.
10363
10364         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10365
10366 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10367
10368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10369         power8 implementation.
10370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10371         file: POWER8 llround ifunc implementation.
10372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10373         (__lllround): Add POWER8 implementation.
10374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10375         POWER8 llround implementation.
10376
10377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10378         power8 implementation.
10379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10380         file: POWER8 llrint ifunc implementation.
10381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10382         Add POWER8 implementation.
10383         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10384         POWER8 llrint implementation.
10385
10386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10387         power8 implementation.
10388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10389         file: POWER8 finite ifunc implementation.
10390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10391         Add POWER8 implementation.
10392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10393         Likewise.
10394         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10395         POWER8 finite implementation.
10396         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10397
10398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10399         power8 implementation.
10400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10401         file: POWER8 isinf ifunc implementation.
10402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10403         POWER8 implementation.
10404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10405         Likewise.
10406         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10407         isinf implementation.
10408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10409
10410         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10411         (INIT_ARCH): Add hwcap2 initialization.
10412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10413         power8 implementation.
10414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10415         file: POWER8 isnan ifunc implementation.
10416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10417         POWER8 implementation.
10418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10419         Likewise.
10420         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10421         isnan implementation.
10422         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10423
10424 2014-02-27  Joey Ye  <joey.ye@arm.com>
10425
10426         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10427         (_FP_NANFRAC_Q): Set to zero.
10428
10429 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10430
10431         [BZ #16623]
10432         * math/auto-libm-test-in: New test inputs.
10433         * math/auto-libm-test-out: Regenerate.
10434         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10435         and DA.
10436         (__cos): Likewise.
10437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10438
10439 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10440
10441         * scripts/evaluate-test.sh: Take new argument indicating whether
10442         failure is expected.
10443         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10444         indicating whether failure is expected.
10445         * conform/Makefile (test-xfail-run-conformtest): New variable.
10446         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10447         level.
10448         * posix/Makefile (test-xfail-annexc): New variable.
10449         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10450
10451 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10452
10453         * argp/Makefile: Include Makeconfig immediately after defining
10454         subdir.
10455         * assert/Makefile: Likewise.
10456         * benchtests/Makefile: Likewise.
10457         * catgets/Makefile: Likewise.
10458         * conform/Makefile: Likewise.
10459         * crypt/Makefile: Likewise.
10460         * csu/Makefile: Likewise.
10461         (all): Remove target.
10462         * ctype/Makefile: Include Makeconfig immediately after defining
10463         subdir.
10464         * debug/Makefile: Likewise.
10465         * dirent/Makefile: Likewise.
10466         * dlfcn/Makefile: Likewise.
10467         * gmon/Makefile: Likewise.
10468         * gnulib/Makefile: Likewise.
10469         * grp/Makefile: Likewise.
10470         * gshadow/Makefile: Likewise.
10471         * hesiod/Makefile: Likewise.
10472         * hurd/Makefile: Likewise.
10473         (all): Remove target.
10474         * iconvdata/Makefile: Include Makeconfig immediately after
10475         defining subdir.
10476         * inet/Makefile: Likewise.
10477         * intl/Makefile: Likewise.
10478         * io/Makefile: Likewise.
10479         * libio/Makefile: Likewise.
10480         (all): Remove target.
10481         * locale/Makefile: Include Makeconfig immediately after defining
10482         subdir.
10483         * login/Makefile: Likewise.
10484         * mach/Makefile: Likewise.
10485         (all): Remove target.
10486         * malloc/Makefile: Include Makeconfig immediately after defining
10487         subdir.
10488         (all): Remove target.
10489         * manual/Makefile: Include Makeconfig immediately after defining
10490         subdir.
10491         * math/Makefile: Likewise.
10492         * misc/Makefile: Likewise.
10493         * nis/Makefile: Likewise.
10494         * nss/Makefile: Likewise.
10495         * po/Makefile: Likewise.
10496         (all): Remove target.
10497         * posix/Makefile: Include Makeconfig immediately after defining
10498         subdir.
10499         * pwd/Makefile: Likewise.
10500         * resolv/Makefile: Likewise.
10501         * resource/Makefile: Likewise.
10502         * rt/Makefile: Likewise.
10503         * setjmp/Makefile: Likewise.
10504         * shadow/Makefile: Likewise.
10505         * signal/Makefile: Likewise.
10506         * socket/Makefile: Likewise.
10507         * soft-fp/Makefile: Likewise.
10508         * stdio-common/Makefile: Likewise.
10509         * stdlib/Makefile: Likewise.
10510         * streams/Makefile: Likewise.
10511         * string/Makefile: Likewise.
10512         * sunrpc/Makefile: Likewise.
10513         (all): Remove target.
10514         * sysvipc/Makefile: Include Makeconfig immediately after defining
10515         subdir.
10516         * termios/Makefile: Likewise.
10517         * time/Makefile: Likewise.
10518         * timezone/Makefile: Likewise.
10519         (all): Remove target.
10520         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10521         subdir.
10522         * wctype/Makefile: Likewise.
10523
10524 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10525
10526         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10527         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10528         (libc_feholdexcept_setround_mips): Ditto.
10529         (libc_feholdsetround): New.
10530         (libc_feholdsetroundf): New.
10531         (libc_feholdsetroundl): New.
10532         (libc_feupdateenv_test_mips): New.
10533         (libc_feupdateenv_test): New.
10534         (libc_feupdateenv_testf): New.
10535         (libc_feupdateenv_testl): New.
10536         (libc_feresetround): New.
10537         (libc_feresetroundf): New.
10538         (libc_feresetroundl): New.
10539         (libc_fetestexcept_mips): New.
10540         (libc_fetestexcept): New.
10541         (libc_fetestexceptf): New.
10542         (libc_fetestexceptl): New.
10543         (HAVE_RM_CTX): New.
10544         (libc_feholdexcept_setround_mips_ctx): New.
10545         (libc_feholdexcept_setround_ctx): New.
10546         (libc_feholdexcept_setroundf_ctx): New.
10547         (libc_feholdexcept_setroundl_ctx): New.
10548         (libc_fesetenv_mips_ctx): New.
10549         (libc_fesetenv_ctx): New.
10550         (libc_fesetenv_ctxf): New.
10551         (libc_fesetenv_ctxl): New.
10552         (libc_feupdateenv_mips_ctx): New.
10553         (libc_feupdateenv_ctx): New.
10554         (libc_feupdateenvf_ctx): New.
10555         (libc_feupdateenvl_ctx): New.
10556         (libc_feholdsetround_mips_ctx): New.
10557         (libc_feholdsetround_ctx): New.
10558         (libc_feholdsetroundf_ctx): New.
10559         (libc_feholdsetroundl_ctx): New.
10560         (libc_feresetround_mips_ctx): New.
10561         (libc_feresetround_ctx): New.
10562         (libc_feresetroundf_ctx): New.
10563         (libc_feresetroundl_ctx): New.
10564
10565 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10566
10567         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10568
10569         * manual/ipc.texi: New file.
10570         * manual/Makefile (chapters): Add ipc.
10571         * manual/job.texi: Add "Inter-Process Communication" to next.
10572         * manual/process.texi: Add "Inter-Process Communication" to prev.
10573
10574 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10575
10576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10577
10578 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10579
10580         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10581
10582         * manual/arith.texi: Fix spaces after sentences.
10583         * manual/charset.texi: Likewise.
10584         * manual/errno.texi: Likewise.
10585         * manual/install.texi: Likewise.
10586         * manual/llio.texi: Likewise.
10587         * manual/locale.texi: Likewise.
10588         * manual/maint.texi: Likewise.
10589         * manual/math.texi: Likewise.
10590         * manual/memory.texi: Likewise.
10591         * manual/message.texi: Likewise.
10592         * manual/probes.texi: Likewise.
10593         * manual/resource.texi: Likewise.
10594         * manual/signal.texi: Likewise.
10595         * manual/socket.texi: Likewise.
10596         * manual/stdio.texi: Likewise.
10597         * manual/string.texi: Likewise.
10598         * manual/time.texi: Likewise.
10599         * manual/users.texi: Likewise.
10600
10601 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10602
10603         [BZ #16632]
10604         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10605         _DEFAULT_SOURCE is defined.
10606
10607 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10608             Carlos O'Donell  <carlos@redhat.com>
10609
10610         [BZ #16613]
10611         * elf/dl-tls.c (_dl_count_modids): New function.
10612         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10613         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10614         audit library and increment generation counter.
10615         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10616         * elf/tst-audit9.c: New file.
10617         * elf/tst-auditmod9a.c: New file.
10618         * elf/tst-auditmod9b.c: New file.
10619         * elf/Makefile: Add rules to build and run tst-audit9.
10620
10621 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10622
10623         [BZ #15347]
10624         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10625
10626 2014-02-25  Will Newton  <will.newton@linaro.org>
10627
10628         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10629         (__longjmp): Restore sp and lr before restoring callee
10630         saved registers.  Add longjmp and longjmp_target
10631         SystemTap probe point.
10632         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10633         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10634         Define to zero to match jmpbuf layout.
10635         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10636         (__sigsetjmp): Save sp and lr before saving callee
10637         saved registers.  Add setjmp SystemTap probe point.
10638
10639 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10640
10641         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10642
10643 2014-02-24  Andreas Schwab  <schwab@suse.de>
10644
10645         [BZ #15804]
10646         * elf/pldd.c (wait_for_ptrace_stop): New function.
10647         (main): Call it after attaching.
10648
10649 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10650
10651         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10652         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10653         Versions files is now verboten.
10654         * hurd/Versions (libc: GLIBC_2.0):
10655         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10656         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10657         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10658         * mach/Versions: Likewise.
10659
10660         * csu/Versions: Remove unused %include.
10661         * resolv/Versions: Likewise.
10662
10663 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10664
10665         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10666         ($(objpfx)check-local-headers.out): Likewise.
10667         ($(objpfx)begin-end-check.out): Likewise.
10668         * Makerules (check-abi-%.out): Likewise.
10669         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10670         ($(objpfx)test2.cat): Likewise.
10671         ($(objpfx)de/libc.cat): Likewise.
10672         ($(objpfx)test-gencat.out): Likewise.
10673         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10674         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10675         ($(objpfx)noload-mem): Likewise.
10676         ($(objpfx)tst-pathopt.out): Likewise.
10677         ($(objpfx)tst-rtld-load-self.out): Likewise.
10678         ($(objpfx)tst-array1-cmp.out): Likewise.
10679         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10680         ($(objpfx)tst-array2-cmp.out): Likewise.
10681         ($(objpfx)tst-array3-cmp.out): Likewise.
10682         ($(objpfx)tst-array4-cmp.out): Likewise.
10683         ($(objpfx)tst-array5-cmp.out): Likewise.
10684         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10685         ($(objpfx)check-textrel.out): Likewise.
10686         ($(objpfx)check-execstack.out): Likewise.
10687         ($(objpfx)check-localplt.out): Likewise.
10688         ($(objpfx)order2-cmp.out): Likewise.
10689         ($(objpfx)tst-leaks1-mem): Likewise.
10690         ($(objpfx)tst-leaks1-static-mem): Likewise.
10691         ($(objpfx)tst-initorder-cmp.out): Likewise.
10692         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10693         ($(objpfx)tst-unused-dep.out): Likewise.
10694         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10695         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10696         * iconv/Makefile (test-iconvconfig): Likewise.
10697         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10698         ($(objpfx)iconv-test.out): Likewise.
10699         ($(objpfx)tst-tables.out): Likewise.
10700         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10701         ($(objpfx)tst-gettext.out): Likewise.
10702         ($(objpfx)tst-translit.out): Likewise.
10703         ($(objpfx)tst-gettext2.out): Likewise.
10704         ($(objpfx)tst-gettext4.out): Likewise.
10705         ($(objpfx)tst-gettext6.out): Likewise.
10706         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10707         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10708         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10709         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10710         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10711         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10712         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10713         ($(objpfx)wordexp-tst.out): Likewise.
10714         ($(objpfx)annexc.out): Likewise.
10715         ($(objpfx)tst-fnmatch-mem): Likewise.
10716         ($(objpfx)bug-regex2-mem): Likewise.
10717         ($(objpfx)bug-regex14-mem): Likewise.
10718         ($(objpfx)bug-regex21-mem): Likewise.
10719         ($(objpfx)bug-regex31-mem): Likewise.
10720         ($(objpfx)tst-vfork3-mem): Likewise.
10721         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10722         ($(objpfx)tst-pcre-mem): Likewise.
10723         ($(objpfx)tst-boost-mem): Likewise.
10724         ($(objpfx)tst-getconf.out): Likewise.
10725         ($(objpfx)bug-ga2-mem): Likewise.
10726         ($(objpfx)bug-glob2-mem): Likewise.
10727         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10728         ($(objpfx)mtrace-tst-leaks2): Likewise.
10729         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10730         ($(objpfx)tst-printf.out): Likewise.
10731         ($(objpfx)tst-setvbuf1.out): Likewise.
10732         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10733         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10734         ($(objpfx)tst-fmtmsg.out): Likewise.
10735         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10736         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10737
10738         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10739         * bits/sigaction.h [__USE_MISC]: Likewise.
10740         * bits/waitstatus.h: Update #endif comments.
10741         * ctype/ctype.h: Likewise.
10742         * dirent/dirent.h: Likewise.
10743         [__USE_MISC]: Remove redundant conditionals.
10744         * grp/grp.h: Update #endif comments.
10745         [__USE_GNU]: Remove redundant conditionals.
10746         [__USE_MISC]: Likewise.
10747         * inet/netinet/in.h [__USE_GNU]: Likewise.
10748         * io/sys/stat.h [__USE_MISC]: Likewise.
10749         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10750         * libio/bits/stdio.h: Update #endif comments.
10751         [__USE_MISC]: Remove redundant conditionals.
10752         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10753         * libio/stdio.h: Update #endif comments.
10754         [__USE_MISC]: Remove redundant conditionals.
10755         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10756         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10757         * math/math.h: Update #else and #endif comments.
10758         [__USE_MISC]: Remove redundant conditionals.
10759         * misc/sys/uio.h: Update #endif comments.
10760         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10761         * posix/glob.h [__USE_MISC]: Likewise.
10762         * posix/sys/types.h: Update #endif comments.
10763         [__USE_MISC]: Remove redundant conditionals.
10764         * posix/sys/wait.h: Update #endif comments.
10765         [__USE_MISC]: Remove redundant conditionals.
10766         * posix/unistd.h: Update #endif comments.
10767         [__USE_MISC]: Remove redundant conditionals.
10768         * pwd/pwd.h [__USE_GNU]: Likewise.
10769         [__USE_MISC]: Likewise.
10770         * resolv/netdb.h [__USE_GNU]: Likewise.
10771         * signal/signal.h: Update #endif comments.
10772         [__USE_MISC]: Remove redundant conditionals.
10773         * stdlib/stdlib.h: Update #else and #endif comments.
10774         [__USE_MISC]: Remove redundant conditionals.
10775         [__USE_GNU]: Likewise.
10776         * string/bits/string2.h [__USE_MISC]: Likewise.
10777         * string/string.h: Update #endif comments.
10778         [__USE_MISC]: Remove redundant conditionals.
10779         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10780         Likewise.
10781         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10782         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10783         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10784         Likewise.
10785         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10786         Likewise.
10787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10788         comments.
10789         [__USE_MISC]: Remove redundant conditionals.
10790         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10791         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10792         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10793         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10794         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10795         Likewise.
10796         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10797         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10798         Likewise.
10799         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10800         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10801         Likewise.
10802         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10803         Likewise.
10804         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10805         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10808         Likewise.
10809         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10810         * sysdeps/x86/bits/string.h: Update #endif comments.
10811         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10812         conditionals.
10813         * time/sys/time.h: Update #endif comments.
10814         * time/time.h: Likewise.
10815         [__USE_MISC]: Remove redundant conditionals.
10816
10817 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10818
10819         [BZ #16600]
10820         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10821
10822 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10823
10824         * Versions.def (librt): Add GLIBC_2.17.
10825
10826 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10827
10828         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10829         synonym for _SYS_AUXV_H to allow direct inclusion.
10830         * sysdeps/sparc/bits/hwcap.h: Likewise.
10831         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10832         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10833         * sysdeps/sparc/sysdep.h: Likewise.
10834
10835 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10836
10837         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10838
10839 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10840
10841         * benchtests/bench-strrchr.c: Print length instead of position.
10842
10843 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10844
10845         [BZ #16611]
10846         * sysdeps/unix/sysv/linux/kernel-features.h
10847         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10848         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10849         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10850         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10851         Likewise.
10852         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10853         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10854         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10855         (__ASSUME_SENDMMSG): Define instead of using previous
10856         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10857         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10858         (__ASSUME_SENDMMSG_SYSCALL): Define.
10859         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10860         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10861         Likewise.
10862         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10863         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10864         Likewise.
10865         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10867         Likewise.
10868         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10869         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10870         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10871         [__ASSUME_SENDMMSG]: Change conditionals to
10872         [__ASSUME_SENDMMSG_SOCKETCALL].
10873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10874         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10875         Define.
10876         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10877         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10878         Likewise.
10879         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10880         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10881         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10882         [!__ASSUME_SENDMMSG]: Change conditional to
10883         [!__ASSUME_SENDMMSG_SOCKETCALL].
10884         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10885         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10886         Define.
10887
10888         [BZ #16610]
10889         * sysdeps/unix/sysv/linux/kernel-features.h
10890         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10891         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10892         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10893         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10894         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10895         [__i386__ || __sparc__]
10896         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10897         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10898         (__ASSUME_RECVMMSG): Define instead of using previous
10899         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10900         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10901         (__ASSUME_RECVMMSG_SYSCALL): Define.
10902         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10903         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10904         Likewise.
10905         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10907         Likewise.
10908         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10909         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10912         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10913         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10914         [__ASSUME_RECVMMSG]: Change condition to
10915         [__ASSUME_RECVMMSG_SOCKETCALL].
10916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10917         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10918         Define.
10919         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10920         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10921         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10922         Likewise.
10923         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10924         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10925         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10926         [!__ASSUME_RECVMMSG]: Change condition to
10927         [!__ASSUME_RECVMMSG_SOCKETCALL].
10928         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10929         (__ASSUME_RECVMMSG_SYSCALL): Define.
10930
10931         [BZ #16609]
10932         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10933         __powerpc__ || __s390__ || __sh__ || __sparc__]
10934         (__ASSUME_SOCKETCALL): Define.
10935         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10936         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10937         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10938         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10939         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10940         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10941         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10942         (__ASSUME_ACCEPT4): Define instead of using previous
10943         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10944         __powerpc__ || __sparc__ || __s390__)] condition.
10945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10946         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10947         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10948         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10949         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10950         [!__ASSUME_ACCEPT4]: Change condition to
10951         [!__ASSUME_ACCEPT4_SOCKETCALL].
10952         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10953         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10954         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10955         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10956         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10957         __ASSUME_ACCEPT4_SYSCALL.
10958         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10959         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10961         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10962         __ASSUME_ACCEPT4_SYSCALL.
10963         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10964         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10965         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10966         [__ASSUME_ACCEPT4]: Change condition to
10967         [__ASSUME_ACCEPT4_SOCKETCALL].
10968         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10969         (__ASSUME_SOCKETCALL): Define.
10970         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10971         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10972         (__ASSUME_SOCKETCALL): Define.
10973         (__ASSUME_ACCEPT4): Remove.
10974         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10975         Define.
10976         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10977         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10978         Likewise.
10979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10980         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10981
10982         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10983         macro.
10984         (HWCAP_ARM_LPAE): Likewise.
10985         (HWCAP_ARM_EVTSTRM): Likewise.
10986         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10987         Add vpfd32, lpae and evtstrm.
10988         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10989         Increase to 22.
10990
10991 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10992
10993         * math/auto-libm-test-in: Add tests of clog10.
10994         * math/auto-libm-test-out: Regenerated.
10995         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10996         * sysdeps/i386/fpu/libm-test-ulps: Update.
10997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10998
10999 2014-02-18  Andreas Schwab  <schwab@suse.de>
11000
11001         [BZ #16574]
11002         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11003         Store non-zero if the second buffer was newly allocated.
11004         (send_dg): Likewise.
11005         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11006         to send_vc and send_dg.
11007         (res_nsend): Pass NULL for ansp2_malloced.
11008         * resolv/res_query.c (__libc_res_nquery): Add parameter
11009         answerp2_malloced and pass it down to __libc_res_nsend.
11010         (res_nquery): Pass additional NULL to __libc_res_nquery.
11011         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11012         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11013         second answer buffer if answerp2_malloced was set.
11014         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11015         (__libc_res_nquerydomain): Add parameter
11016         answerp2_malloced and pass it down to __libc_res_nquery.
11017         (res_nquerydomain): Pass additional NULL to
11018         __libc_res_nquerydomain.
11019         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11020         additional NULL to __libc_res_nsend and __libc_res_nquery.
11021         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11022         additional NULL to __libc_res_nsearch.
11023         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11024         parameter of __libc_res_nsearch to check for separately allocated
11025         second buffer.
11026         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11027         __libc_res_nquery.
11028         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11029         additional NULL to __libc_res_nquery.
11030         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11031         __libc_res_nsearch.
11032         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11033         * include/resolv.h: Update prototypes of __libc_res_nquery,
11034         __libc_res_nsearch, __libc_res_nsend.
11035
11036 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11037
11038         * math/auto-libm-test-in: Add tests of fma.
11039         * math/auto-libm-test-out: Regenerated.
11040         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11041         (fma_towardzero_test_data): Likewise.
11042         (fma_downward_test_data): Likewise.
11043         (fma_upward_test_data): Likewise.
11044         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11045         mpc_mode.
11046         (rounding_modes): Add values for new field.
11047         (func_calc_method): Add value mpfr_fff_f.
11048         (func_calc_desc): Add mpfr_fff_f union field.
11049         (test_function): Add field exact_args.
11050         (FUNC): Add macro argument EXACT_ARGS.
11051         (FUNC_mpfr_f_f): Update call to FUNC.
11052         (FUNC_mpfr_f_f): Likewise.
11053         (FUNC_mpfr_ff_f): Likewise.
11054         (FUNC_mpfr_if_f): Likewise.
11055         (FUNC_mpc_c_f): Likewise.
11056         (FUNC_mpc_c_c): Likewise.
11057         (test_functions): Add fma.  Update calls to FUNC.
11058         (handle_input_arg): Add argument exact_args.
11059         (add_test): Update call to handle_input_arg.
11060         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11061         (output_for_one_input_case): Update call to calc_generic_results.
11062         Recalculate exact zero results in each rounding mode.
11063
11064         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11065         non-negative before setting low bit.
11066         * math/auto-libm-test-in: Mark one asin test possibly having
11067         spurious underflow.
11068         * math/auto-libm-test-out: Regenerated.
11069         * sysdeps/i386/fpu/libm-test-ulps: Update.
11070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071
11072 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11073
11074         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11075         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11076         ports/sysdeps/unix/sysv/linux/microblaze.
11077         * README: Add missing listing for microblaze*-*-linux-gnu.
11078
11079 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11080
11081         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11082         duplicate code
11083
11084 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11085
11086         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11087         * sysdeps/unix/sysv/linux/ia64: Move directory from
11088         ports/sysdeps/unix/sysv/linux/ia64.
11089         * README: Update listing for ia64-*-linux-gnu.
11090
11091 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11092             Joseph Myers  <joseph@codesourcery.com>
11093
11094         * Makeconfig (test-name): New variable.
11095         (evaluate-test): Likewise.
11096         * Makerules (do-test-clean): Remove .test-result files.
11097         (common-mostlyclean): Likewise.
11098         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11099         * scripts/evaluate-test.sh: New file.
11100
11101 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11102
11103         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11104         separate $(objpfx)tst-fopenloc-cmp.out and
11105         $(objpfx)tst-fopenloc-mem.out targets.
11106         (tests): Update dependencies.
11107         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11108         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11109         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11110         (tst-rxspencer-no-utf8-ARGS): New variable.
11111         (tst-rxspencer-no-utf8-ENV): Likewise.
11112         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11113         instead of $(objpfx)tst-rxspencer-mem.
11114         ($(objpfx)tst-rxspencer-mem): Change target to
11115         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11116         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11117         * posix/tst-rxspencer-no-utf8.c: New file.
11118
11119         * elf/Makefile ($(objpfx)order.out): Remove rule.
11120         [$(run-built-tests) = yes] (tests): Depend on
11121         $(objpfx)order-cmp.out.
11122         ($(objpfx)order-cmp.out): New rule.
11123         [$(run-built-tests) = yes] (tests): Depend on
11124         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11125         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11126         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11127         $(objpfx)tst-array5-static-cmp.out.
11128         ($(objpfx)tst-array1.out): Remove rule.
11129         ($(objpfx)tst-array1-cmp.out): New rule.
11130         ($(objpfx)tst-array1-static.out): Remove rule.
11131         ($(objpfx)tst-array1-static-cmp.out): New rule.
11132         ($(objpfx)tst-array2.out): Remove rule.
11133         ($(objpfx)tst-array2-cmp.out): New rule.
11134         ($(objpfx)tst-array3.out): Remove rule.
11135         ($(objpfx)tst-array3-cmp.out): New rule.
11136         ($(objpfx)tst-array4.out): Remove rule.
11137         ($(objpfx)tst-array4-cmp.out): New rule.
11138         ($(objpfx)tst-array5.out): Remove rule.
11139         ($(objpfx)tst-array5-cmp.out): New rule.
11140         ($(objpfx)tst-array5-static.out): Remove rule.
11141         ($(objpfx)tst-array5-static-cmp.out): New rule.
11142         [$(run-built-tests) = yes] (tests): Depend on
11143         $(objpfx)order2-cmp.out.
11144         ($(objpfx)order2.out): Remove rule.
11145         ($(objpfx)order2-cmp.out): New rule.
11146         ($(objpfx)tst-initorder.out): Remove rule.
11147         [$(run-built-tests) = yes] (tests): Depend on
11148         $(objpfx)tst-initorder-cmp.out.
11149         ($(objpfx)tst-initorder-cmp.out): New rule.
11150         ($(objpfx)tst-initorder2.out): Remove rule.
11151         [$(run-built-tests) = yes] (tests): Depend on
11152         $(objpfx)tst-initorder2-cmp.out.
11153         ($(objpfx)tst-initorder2-cmp.out): New rule.
11154         [$(run-built-tests) = yes] (tests): Depend on
11155         $(objpfx)tst-unused-dep-cmp.out.
11156         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11157         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11158         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11159         on $(objpfx)tst-setvbuf1-cmp.out.
11160         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11161         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11162         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11163         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11164         ($(objpfx)tst-svc.out): Remove rule.
11165         ($(objpfx)tst-svc-cmp.out): New rule.
11166
11167 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11168
11169         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11170         * ctype/ctype.h [__USE_MISC]: Likewise.
11171         * dirent/dirent.h [__USE_MISC]: Likewise.
11172         * grp/grp.h [__USE_MISC]: Likewise.
11173         * io/fcntl.h [__USE_MISC]: Likewise.
11174         * io/sys/stat.h [__USE_MISC]: Likewise.
11175         * libio/stdio.h [__USE_MISC]: Likewise.
11176         * posix/unistd.h [__USE_MISC]: Likewise.
11177         * pwd/pwd.h [__USE_MISC]: Likewise.
11178         * stdlib.h [__USE_MISC]: Likewise.
11179         * string/bits/string2.h [__USE_MISC]: Likewise.
11180         * string/string.h [__USE_MISC]: Likewise.
11181         * time/time.h [__USE_MISC]: Likewise.
11182
11183 2014-02-13  Andreas Schwab  <schwab@suse.de>
11184
11185         [BZ #16574]
11186         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11187         second answer buffer if it was separately allocated.
11188
11189 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11190
11191         * sysdeps/mips/math-tests.h: Include <features.h>.
11192         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11193         (ROUNDING_TESTS_long_double): Do not define.
11194         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11195         (EXCEPTION_TESTS_long_double): Likewise.
11196         * sysdeps/mips/mips64/libm-test-ulps: Update.
11197
11198         * include/features.h (__USE_BSD): Remove macro definitions.
11199         (__USE_SVID): Likewise.
11200         (_BSD_SOURCE): Likewise.
11201         (_SVID_SOURCE): Likewise.
11202         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11203         from definition of _DEFAULT_SOURCE.
11204         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11205         [_DEFAULT_SOURCE].
11206         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11207         * bits/mman.h [__USE_BSD]: Likewise.
11208         * bits/termios.h [__USE_BSD]: Likewise.
11209         * bits/waitstatus.h [__USE_BSD]: Likewise.
11210         * ctype/ctype.h [__USE_SVID]: Likewise.
11211         * dirent/dirent.h [__USE_BSD]: Likewise.
11212         * grp/grp.h [__USE_SVID]: Likewise.
11213         [__USE_BSD]: Likewise.
11214         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11215         * io/fcntl.h [__USE_BSD]: Likewise.
11216         * io/ftw.h [__USE_BSD]: Likewise.
11217         * io/sys/stat.h [__USE_BSD]: Likewise.
11218         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11219         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11220         * libio/stdio.h [__USE_SVID]: Likewise.
11221         [__USE_BSD]: Likewise.
11222         * math/math.h [__USE_SVID]: Likewise.
11223         [__USE_BSD]: Likewise.
11224         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11225         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11226         * misc/search.h [__USE_SVID]: Likewise.
11227         * misc/sys/mman.h [__USE_BSD]: Likewise.
11228         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11229         * misc/sys/uio.h [__USE_BSD]: Likewise.
11230         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11231         * posix/glob.h [__USE_BSD]: Likewise.
11232         * posix/regex.h [__USE_BSD]: Likewise.
11233         * posix/sys/types.h [__USE_BSD]: Likewise.
11234         [__USE_SVID]: Likewise.
11235         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11236         * posix/sys/wait.h [__USE_BSD]: Likewise.
11237         [__USE_SVID]: Likewise.
11238         * posix/unistd.h [__USE_BSD]: Likewise.
11239         [__USE_SVID]: Likewise.
11240         * pwd/pwd.h [__USE_SVID]: Likewise.
11241         * resolv/netdb.h [__USE_BSD]: Likewise.
11242         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11243         * signal/signal.h [__USE_BSD]: Likewise.
11244         [__USE_SVID]: Likewise.
11245         * socket/sys/socket.h [__USE_BSD]: Likewise.
11246         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11247         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11248         [__USE_SVID]: Likewise.
11249         * string/bits/string2.h [__USE_BSD]: Likewise.
11250         [__USE_SVID]: Likewise.
11251         * string/bits/string3.h [__USE_BSD]: Likewise.
11252         * string/endian.h [__USE_BSD]: Likewise.
11253         * string/string.h [__USE_SVID]: Likewise.
11254         [__USE_BSD]: Likewise.
11255         * string/strings.h [__USE_BSD]: Likewise.
11256         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11257         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11258         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11259         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11260         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11261         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11262         Likewise.
11263         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11264         Likewise.
11265         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11266         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11267         Likewise.
11268         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11269         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11270         Likewise.
11271         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11272         Likewise.
11273         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11274         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11275         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11276         Likewise.
11277         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11278         Likewise.
11279         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11280         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11281         * termios/termios.h [__USE_BSD]: Likewise.
11282         * time/sys/time.h [__USE_BSD]: Likewise.
11283         * time/time.h [__USE_BSD]: Likewise.
11284         [__USE_SVID]: Likewise.
11285
11286         * Makefile (subdir_targets): Remove subdir_lint.out.
11287
11288         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11289         (do-tst-printf): Likewise.
11290         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11291         $(objpfx)tst-printf.out.
11292
11293         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11294
11295         * Makerules (check-abi-%): Change target to
11296         $(objpfx)check-abi-%.out.
11297         (check-abi target): Update dependencies.
11298         (check-abi-pattern variable): Redirect output of diff to $@.
11299         (check-abi variable): Likewise.
11300         * elf/Makefile (check-abi): Update dependencies.
11301
11302         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11303         unused.
11304         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11305         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11306         subnormal range.
11307         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11308         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11309         value has largest subnormal exponent.
11310         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11311         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11312         * sysdeps/aarch64/soft-fp/sfp-machine.h
11313         (_FP_TININESS_AFTER_ROUNDING): New macro.
11314         * sysdeps/alpha/soft-fp/sfp-machine.h
11315         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11316         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11317         Likewise.
11318         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11319         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11320         * sysdeps/mips/soft-fp/sfp-machine.h
11321         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11322         * sysdeps/powerpc/soft-fp/sfp-machine.h
11323         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11324         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11325         Likewise.
11326         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11327         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11329         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11330         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11331         Likewise.
11332
11333 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11334
11335         [BZ #16545]
11336         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11337         model 1.
11338
11339 2014-02-12  Richard Henderson  <rth@redhat.com>
11340
11341         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11342         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11343         * sysdeps/unix/sysv/linux/alpha: Move directory from
11344         ports/sysdeps/unix/sysv/linux/alpha.
11345         * README: Update listing for alpha-*-linux-gnu.
11346
11347 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11348
11349         * include/features.h: Update comment documenting feature test
11350         macros.
11351         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11352         _DEFAULT_SOURCE.
11353         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11354         (_SVID_SOURCE): Likewise.
11355         (_DEFAULT_SOURCE): Update description of default features.
11356         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11357         with _GNU_SOURCE.
11358         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11359         (S_ISVTX): Likewise.
11360         * manual/math.texi (Mathematical Constants): Likewise.
11361         * manual/signal.texi (Interrupted Primitives): Likewise.
11362         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11363         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11364         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11365         Don't refer to _SVID_SOURCE in warning text.
11366
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11368
11369         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11370         already defined.
11371         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11372         * sysdeps/mips/dl-lookup.c: Remove.
11373         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11374
11375 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11376
11377         [BZ #16447]
11378         * math/auto-libm-test-in: Add testcase for expl.
11379         * math/auto-libm-test-out: Regenerate.
11380         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11381         calculation of unsafe.
11382         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11383
11384 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11385
11386         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11387         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11388         ports/sysdeps/unix/sysv/linux/aarch64.
11389         * README: Update listing for aarch64*-*-linux-gnu.
11390
11391 2014-02-11  Will Newton  <will.newton@linaro.org>
11392
11393         * manual/probes.texi (Mathematical Function Probes): Use
11394         "triggered" instead of "hit".
11395
11396         * manual/probes.texi (Internal Probes): Add documentation
11397         of setjmp, longjmp and longjmp_target probes.
11398
11399         * include/stap-probe.h: Add comment about probe argument
11400         format.
11401
11402         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11403         definition.  (tr_where, tr_freehook, tr_mallochook,
11404         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11405
11406 2014-02-11  David S. Miller  <davem@davemloft.net>
11407
11408         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11409         processing int_tests.
11410
11411 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11412
11413         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11414         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11415         * sysdeps/unix/sysv/linux/mips: Move directory from
11416         ports/sysdeps/unix/sysv/linux/mips.
11417         * README: Update listing for mips-*-linux-gnu and
11418         mips64-*-linux-gnu.
11419
11420 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11421
11422         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11423         * sysdeps/unix/sysv/linux/m68k: Move directory from
11424         ports/sysdeps/unix/sysv/linux/m68k.
11425         * README: Update listing for m68k-*-linux-gnu.
11426
11427 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11428
11429         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11430         * sysdeps/unix/sysv/linux/generic: Move directory from
11431         ports/sysdeps/unix/sysv/linux/generic.
11432         * sysdeps/unix/sysv/linux/tile: Move directory from
11433         ports/sysdeps/unix/sysv/linux/tile.
11434         * README: Update listing for tile*-*-linux-gnu.
11435
11436 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11437
11438         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11439         __builtin_expect.
11440         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11441         * catgets/open_catalog.c (__open_catalog): Likewise.
11442         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11443         * debug/confstr_chk.c: Likewise.
11444         * debug/fread_chk.c (__fread_chk): Likewise.
11445         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11446         * debug/getgroups_chk.c: Likewise.
11447         * debug/mbsnrtowcs_chk.c: Likewise.
11448         * debug/mbsrtowcs_chk.c: Likewise.
11449         * debug/mbstowcs_chk.c: Likewise.
11450         * debug/memcpy_chk.c: Likewise.
11451         * debug/memmove_chk.c: Likewise.
11452         * debug/mempcpy_chk.c: Likewise.
11453         * debug/memset_chk.c: Likewise.
11454         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11455         * debug/strcat_chk.c (__strcat_chk): Likewise.
11456         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11457         * debug/strncat_chk.c (__strncat_chk): Likewise.
11458         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11459         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11460         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11461         * debug/wcpncpy_chk.c: Likewise.
11462         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11463         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11464         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11465         * debug/wcsncpy_chk.c: Likewise.
11466         * debug/wcsnrtombs_chk.c: Likewise.
11467         * debug/wcsrtombs_chk.c: Likewise.
11468         * debug/wcstombs_chk.c: Likewise.
11469         * debug/wmemcpy_chk.c: Likewise.
11470         * debug/wmemmove_chk.c: Likewise.
11471         * debug/wmempcpy_chk.c: Likewise.
11472         * debug/wmemset_chk.c: Likewise.
11473         * dirent/scandirat.c (SCANDIRAT): Likewise.
11474         * dlfcn/dladdr1.c (dladdr1): Likewise.
11475         * dlfcn/dladdr.c (dladdr): Likewise.
11476         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11477         * dlfcn/dlerror.c (__dlerror): Likewise.
11478         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11479         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11480         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11481         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11482         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11483         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11484         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11485         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11486         Likewise.
11487         * elf/dl-conflict.c: Likewise.
11488         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11489         * elf/dl-dst.h: Likewise.
11490         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11491         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11492         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11493         * elf/dl-init.c (call_init, _dl_init): Likewise.
11494         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11495         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11496         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11497         Likewise.
11498         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11499         Likewise.
11500         * elf/dl-minimal.c (__libc_memalign): Likewise.
11501         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11502         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11503         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11504         * elf/dl-sym.c (do_sym): Likewise.
11505         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11506         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11507         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11508         * elf/dl-writev.h (_dl_writev): Likewise.
11509         * elf/ldconfig.c (search_dir): Likewise.
11510         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11511         (dl_main): Likewise.
11512         * elf/setup-vdso.h (setup_vdso): Likewise.
11513         * grp/compat-initgroups.c (compat_call): Likewise.
11514         * grp/fgetgrent.c (fgetgrent): Likewise.
11515         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11516         * grp/putgrent.c (putgrent): Likewise.
11517         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11518         Likewise.
11519         * hurd/hurdinit.c: Likewise.
11520         * iconvdata/8bit-gap.c (struct): Likewise.
11521         * iconvdata/ansi_x3.110.c : Likewise.
11522         * iconvdata/big5.c : Likewise.
11523         * iconvdata/big5hkscs.c : Likewise.
11524         * iconvdata/cp1255.c: Likewise.
11525         * iconvdata/cp1258.c : Likewise.
11526         * iconvdata/cp932.c : Likewise.
11527         * iconvdata/euc-cn.c: Likewise.
11528         * iconvdata/euc-jisx0213.c : Likewise.
11529         * iconvdata/euc-jp.c: Likewise.
11530         * iconvdata/euc-jp-ms.c : Likewise.
11531         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11532         * iconvdata/gb18030.c : Likewise.
11533         * iconvdata/gbbig5.c (const): Likewise.
11534         * iconvdata/gbgbk.c: Likewise.
11535         * iconvdata/gbk.c : Likewise.
11536         * iconvdata/ibm1364.c : Likewise.
11537         * iconvdata/ibm930.c : Likewise.
11538         * iconvdata/ibm932.c: Likewise.
11539         * iconvdata/ibm933.c : Likewise.
11540         * iconvdata/ibm935.c : Likewise.
11541         * iconvdata/ibm937.c : Likewise.
11542         * iconvdata/ibm939.c : Likewise.
11543         * iconvdata/ibm943.c: Likewise.
11544         * iconvdata/iso_11548-1.c: Likewise.
11545         * iconvdata/iso-2022-cn.c : Likewise.
11546         * iconvdata/iso-2022-cn-ext.c : Likewise.
11547         * iconvdata/iso-2022-jp-3.c: Likewise.
11548         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11549         * iconvdata/iso-2022-kr.c : Likewise.
11550         * iconvdata/iso646.c (gconv_end): Likewise.
11551         * iconvdata/iso_6937-2.c : Likewise.
11552         * iconvdata/iso_6937.c : Likewise.
11553         * iconvdata/iso8859-1.c: Likewise.
11554         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11555         * iconvdata/shift_jisx0213.c : Likewise.
11556         * iconvdata/sjis.c : Likewise.
11557         * iconvdata/t.61.c : Likewise.
11558         * iconvdata/tcvn5712-1.c : Likewise.
11559         * iconvdata/tscii.c: Likewise.
11560         * iconvdata/uhc.c : Likewise.
11561         * iconvdata/unicode.c (gconv_end): Likewise.
11562         * iconvdata/utf-16.c (gconv_end): Likewise.
11563         * iconvdata/utf-32.c (gconv_end): Likewise.
11564         * iconvdata/utf-7.c (base64): Likewise.
11565         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11566         * iconv/gconv_close.c (__gconv_close): Likewise.
11567         * iconv/gconv_open.c (__gconv_open): Likewise.
11568         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11569         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11570         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11571         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11572         (ucs4le_internal_loop_single): Likewise.
11573         * iconv/iconv.c (iconv): Likewise.
11574         * iconv/iconv_close.c: Likewise.
11575         * iconv/loop.c (SINGLE): Likewise.
11576         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11577         * include/atomic.h: Likewise.
11578         * inet/inet6_option.c (option_alloc): Likewise.
11579         * intl/bindtextdom.c (set_binding_values): Likewise.
11580         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11581         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11582         * intl/localealias.c (read_alias_file): Likewise.
11583         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11584         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11585         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11586         * libio/fmemopen.c (fmemopen): Likewise.
11587         * libio/iofgets.c (_IO_fgets): Likewise.
11588         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11589         * libio/iofgetws.c (fgetws): Likewise.
11590         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11591         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11592         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11593         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11594         * locale/findlocale.c (_nl_find_locale): Likewise.
11595         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11596         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11597         Likewise.
11598         * locale/setlocale.c (setlocale): Likewise.
11599         * login/programs/pt_chown.c (main): Likewise.
11600         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11601         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11602         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11603         (mmap, mmap64, mremap, munmap): Likewise.
11604         * math/e_exp2l.c: Likewise.
11605         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11606         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11607         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11608         * math/s_catan.c (__catan): Likewise.
11609         * math/s_catanf.c (__catanf): Likewise.
11610         * math/s_catanh.c (__catanh): Likewise.
11611         * math/s_catanhf.c (__catanhf): Likewise.
11612         * math/s_catanhl.c (__catanhl): Likewise.
11613         * math/s_catanl.c (__catanl): Likewise.
11614         * math/s_ccosh.c (__ccosh): Likewise.
11615         * math/s_ccoshf.c (__ccoshf): Likewise.
11616         * math/s_ccoshl.c (__ccoshl): Likewise.
11617         * math/s_cexp.c (__cexp): Likewise.
11618         * math/s_cexpf.c (__cexpf): Likewise.
11619         * math/s_cexpl.c (__cexpl): Likewise.
11620         * math/s_clog10.c (__clog10): Likewise.
11621         * math/s_clog10f.c (__clog10f): Likewise.
11622         * math/s_clog10l.c (__clog10l): Likewise.
11623         * math/s_clog.c (__clog): Likewise.
11624         * math/s_clogf.c (__clogf): Likewise.
11625         * math/s_clogl.c (__clogl): Likewise.
11626         * math/s_csin.c (__csin): Likewise.
11627         * math/s_csinf.c (__csinf): Likewise.
11628         * math/s_csinh.c (__csinh): Likewise.
11629         * math/s_csinhf.c (__csinhf): Likewise.
11630         * math/s_csinhl.c (__csinhl): Likewise.
11631         * math/s_csinl.c (__csinl): Likewise.
11632         * math/s_csqrt.c (__csqrt): Likewise.
11633         * math/s_csqrtf.c (__csqrtf): Likewise.
11634         * math/s_csqrtl.c (__csqrtl): Likewise.
11635         * math/s_ctan.c (__ctan): Likewise.
11636         * math/s_ctanf.c (__ctanf): Likewise.
11637         * math/s_ctanh.c (__ctanh): Likewise.
11638         * math/s_ctanhf.c (__ctanhf): Likewise.
11639         * math/s_ctanhl.c (__ctanhl): Likewise.
11640         * math/s_ctanl.c (__ctanl): Likewise.
11641         * math/w_pow.c: Likewise.
11642         * math/w_powf.c: Likewise.
11643         * math/w_powl.c: Likewise.
11644         * math/w_scalb.c (sysv_scalb): Likewise.
11645         * math/w_scalbf.c (sysv_scalbf): Likewise.
11646         * math/w_scalbl.c (sysv_scalbl): Likewise.
11647         * misc/error.c (error_tail): Likewise.
11648         * misc/pselect.c (__pselect): Likewise.
11649         * nis/nis_callback.c (__nis_create_callback): Likewise.
11650         * nis/nis_call.c (__nisfind_server): Likewise.
11651         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11652         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11653         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11654         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11655         * nis/nis_lookup.c (nis_lookup): Likewise.
11656         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11657         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11658         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11659         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11660         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11661         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11662         * nis/nss_compat/compat-initgroups.c (add_group)
11663         (internal_getgrent_r): Likewise.
11664         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11665         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11666         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11667         (internal_getspnam_r): Likewise.
11668         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11669         (_nss_nis_getaliasbyname_r): Likewise.
11670         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11671         (_nss_nis_getntohost_r): Likewise.
11672         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11673         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11674         (_nss_nis_getgrgid_r): Likewise.
11675         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11676         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11677         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11678         (_nss_nis_gethostbyname4_r): Likewise.
11679         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11680         (initgroups_netid): Likewise.
11681         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11682         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11683         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11684         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11685         (_nss_nis_getprotobynumber_r): Likewise.
11686         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11687         (_nss_nis_getsecretkey): Likewise.
11688         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11689         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11690         (_nss_nis_getpwuid_r): Likewise.
11691         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11692         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11693         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11694         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11695         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11696         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11697         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11698         Likewise.
11699         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11700         (_nss_nisplus_getntohost_r): Likewise.
11701         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11702         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11703         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11704         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11705         Likewise.
11706         * nis/nss_nisplus/nisplus-initgroups.c
11707         (_nss_nisplus_initgroups_dyn): Likewise.
11708         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11709         (_nss_nisplus_getnetbyaddr_r): Likewise.
11710         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11711         (_nss_nisplus_getprotobynumber_r): Likewise.
11712         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11713         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11714         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11715         Likewise.
11716         * nis/nss_nisplus/nisplus-service.c
11717         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11718         (_nss_nisplus_getservbyport_r): Likewise.
11719         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11720         (_nss_nisplus_getspnam_r): Likewise.
11721         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11722         Likewise.
11723         * nscd/aicache.c (addhstaiX): Likewise.
11724         * nscd/cache.c (cache_search, prune_cache): Likewise.
11725         * nscd/connections.c (register_traced_file, send_ro_fd)
11726         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11727         (main_loop_epoll): Likewise.
11728         * nscd/grpcache.c (addgrbyX): Likewise.
11729         * nscd/hstcache.c (addhstbyX): Likewise.
11730         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11731         * nscd/mem.c (gc, mempool_alloc): Likewise.
11732         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11733         (addinnetgrX): Likewise.
11734         * nscd/nscd-client.h (__nscd_acquire_maplock)
11735         (__nscd_drop_map_ref): Likewise.
11736         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11737         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11738         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11739         Likewise.
11740         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11741         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11742         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11743         (__nscd_get_map_ref): Likewise.
11744         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11745         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11746         Likewise.
11747         * nscd/pwdcache.c (addpwbyX): Likewise.
11748         * nscd/selinux.c (preserve_capabilities): Likewise.
11749         * nscd/servicescache.c (addservbyX): Likewise.
11750         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11751         * posix/fnmatch.c (fnmatch): Likewise.
11752         * posix/getopt.c (_getopt_internal_r): Likewise.
11753         * posix/glob.c (glob, glob_in_dir): Likewise.
11754         * posix/wordexp.c (exec_comm_child): Likewise.
11755         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11756         (getanswer_r, gaih_getanswer_slice): Likewise.
11757         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11758         * resolv/res_init.c: Likewise.
11759         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11760         * resolv/res_query.c (__libc_res_nquery): Likewise.
11761         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11762         Likewise.
11763         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11764         * stdio-common/perror.c (perror): Likewise.
11765         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11766         * stdio-common/tmpnam.c (tmpnam): Likewise.
11767         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11768         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11769         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11770         Likewise.
11771         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11772         * stdlib/putenv.c (putenv): Likewise.
11773         * stdlib/setenv.c (__add_to_environ): Likewise.
11774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11775         * stdlib/strtol_l.c (INTERNAL): Likewise.
11776         * string/memmem.c (memmem): Likewise.
11777         * string/strerror.c (strerror): Likewise.
11778         * string/strnlen.c (__strnlen): Likewise.
11779         * string/test-memmem.c (simple_memmem): Likewise.
11780         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11781         * sunrpc/pm_getport.c (__get_socket): Likewise.
11782         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11783         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11784         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11785         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11786         Likewise.
11787         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11789         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11790         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11791         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11792         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11793         Likewise.
11794         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11795         Likewise.
11796         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11797         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11798         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11799         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11800         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11802         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11803         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11804         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11805         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11806         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11807         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11808         Likewise.
11809         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11810         Likewise.
11811         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11812         Likewise.
11813         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11814         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11815         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11816         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11817         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11818         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11819         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11820         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11822         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11823         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11825         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11826         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11827         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11828         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11829         Likewise.
11830         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11831         Likewise.
11832         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11833         Likewise.
11834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11835         Likewise.
11836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11838         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11839         Likewise.
11840         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11841         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11842         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11843         * sysdeps/posix/sleep.c: Likewise.
11844         * sysdeps/posix/tempname.c: Likewise.
11845         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11846         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11847         Likewise.
11848         * sysdeps/powerpc/powerpc32/dl-machine.h
11849         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11850         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11852         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11853         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11854         Likewise.
11855         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11857         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11859         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11860         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11861         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11862         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11863         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11864         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11865         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11866         (elf_machine_lazy_rel): Likewise.
11867         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11868         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11869         (elf_machine_lazy_rel): Likewise.
11870         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11871         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11872         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11873         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11874         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11875         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11876         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11880         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11881         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11882         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11883         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11884         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11885         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11886         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11887         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11888         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11889         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11890         Likewise.
11891         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11892         (__posix_fallocate64_l64): Likewise.
11893         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11894         (posix_fallocate): Likewise.
11895         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11896         Likewise.
11897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11898         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11899         (getifaddrs_internal): Likewise.
11900         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11901         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11902         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11903         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11904         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11905         (__posix_fallocate64_l64): Likewise.
11906         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11907         Likewise.
11908         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11909         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11910         (__get_clockfreq): Likewise.
11911         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11912         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11913         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11916         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11917         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11918         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11919         Likewise.
11920         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11921         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11922         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11923         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11924         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11925         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11926         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11927         Likewise.
11928         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11929         (posix_fallocate): Likewise.
11930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11931         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11932         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11933         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11934         (elf_machine_rela, elf_machine_rela_relative)
11935         (elf_machine_lazy_rel): Likewise.
11936         * time/asctime.c (asctime_internal): Likewise.
11937         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11938         * time/tzset.c (__tzset_parse_tz): Likewise.
11939         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11940         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11941         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11942         * wcsmbs/wcsmbsload.h: Likewise.
11943
11944         [BZ #15894]
11945         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11946
11947         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11948         (arena_get2): Remove THREAD_STATS conditionals.
11949         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11950         (__malloc_stats, int): Likewise.
11951
11952 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11953
11954         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11955         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11956
11957         * manual/setjmp.texi: Fix typos/grammar errors.
11958
11959         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11960         Only return early when n is <= 0.  Delete unused return statement.
11961
11962         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11963         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11964         * debug/tst-longjmp_chk3.c: New file.
11965
11966         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11967         (test_main): Replace code with set_fortify_handler call.
11968         * debug/test-strcpy_chk.c: Likewise.
11969         * debug/tst-chk1.c: Likewise.
11970         * debug/tst-longjmp_chk.c: Likewise.
11971         * test-skeleton.c: Include fcntl.h & paths.h
11972         (set_fortify_handler): Define.
11973
11974         * debug/tst-longjmp_chk.c: Add header comment and include
11975         ../test-skeleton.c.
11976         (do_test): Mark static.
11977         (TEST_FUNCTION): Define.
11978
11979         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11980         (IP_PMTUDISC_INTERFACE): Likewise.
11981         (IP_MULTICAST_IF): Likewise.
11982         (IP_MULTICAST_TTL): Likewise.
11983         (IP_MULTICAST_LOOP): Likewise.
11984         (IP_ADD_MEMBERSHIP): Likewise.
11985         (IP_DROP_MEMBERSHIP): Likewise.
11986         (IP_UNBLOCK_SOURCE): Likewise.
11987         (IP_BLOCK_SOURCE): Likewise.
11988         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11989         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11990         (IP_MSFILTER): Likewise.
11991         (MCAST_JOIN_GROUP): Likewise.
11992         (MCAST_BLOCK_SOURCE): Likewise.
11993         (MCAST_UNBLOCK_SOURCE): Likewise.
11994         (MCAST_LEAVE_GROUP): Likewise.
11995         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11996         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11997         (MCAST_MSFILTER): Likewise.
11998         (IP_MULTICAST_ALL): Likewise.
11999         (IP_UNICAST_IF): Likewise.
12000
12001         * timezone/Makefile: Delete $(have-ksh) check.
12002         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12003         * timezone/tzselect.ksh: Add +x mode bits.
12004
12005         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12006         (ANON_INODE_FS_MAGIC): Likewise.
12007         (BDEVFS_MAGIC): Likewise.
12008         (BINFMTFS_MAGIC): Likewise.
12009         (BTRFS_TEST_MAGIC): Likewise.
12010         (CRAMFS_MAGIC_WEND): Likewise.
12011         (DEBUGFS_MAGIC): Likewise.
12012         (ECRYPTFS_SUPER_MAGIC): Likewise.
12013         (EXT3_SUPER_MAGIC): Likewise.
12014         (EXT4_SUPER_MAGIC): Likewise.
12015         (FUTEXFS_SUPER_MAGIC): Likewise.
12016         (HOSTFS_SUPER_MAGIC): Likewise.
12017         (HUGETLBFS_MAGIC): Likewise.
12018         (MINIX3_SUPER_MAGIC): Likewise.
12019         (MTD_INODE_FS_MAGIC): Likewise.
12020         (NILFS_SUPER_MAGIC): Likewise.
12021         (OPENPROM_SUPER_MAGIC): Likewise.
12022         (PIPEFS_MAGIC): Likewise.
12023         (PSTOREFS_MAGIC): Likewise.
12024         (QNX6_SUPER_MAGIC): Likewise.
12025         (RAMFS_MAGIC): Likewise.
12026         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12027         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12028         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12029         (SECURITYFS_MAGIC): Likewise.
12030         (SELINUX_MAGIC): Likewise.
12031         (SMACK_MAGIC): Likewise.
12032         (SOCKFS_MAGIC): Likewise.
12033         (SQUASHFS_MAGIC): Likewise.
12034         (STACK_END_MAGIC): Likewise.
12035         (TMPFS_MAGIC): Likewise.
12036         (USBDEVICE_SUPER_MAGIC): Likewise.
12037         (V9FS_MAGIC): Likewise.
12038         (XENFS_SUPER_MAGIC): Likewise.
12039         (CRAMFS_MAGIC): Fix typo in comment.
12040         (EXT2_SUPER_MAGIC): Update comment.
12041         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12042
12043 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12044
12045         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12046         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12047         * sysdeps/unix/sysv/linux/arm: Move directory from
12048         ports/sysdeps/unix/sysv/linux/arm.
12049         * README: Update listing for arm-*-linux-gnueabi.
12050
12051         * README: Remove mention of am33.
12052
12053 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12054
12055         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12056         than the comma operator, to avoid "rhs of comma has no effect"
12057         compiler warnings.
12058         (__sigfillset, __sigandset, __sigorset): Likewise.
12059         * include/signal.h (__sigemptyset): Likewise.
12060         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12061
12062 2014-02-07  Allan McRae  <allan@archlinux.org>
12063
12064         * version.h (RELEASE): Set to "development".
12065         (VERSION): Set to "2.19.90"
12066         * NEWS: Add 2.20 section.
12067
12068 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12069
12070         [BZ #16529]
12071         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12072
12073 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12074
12075         * manual/contrib.texi: Update entry for Carlos O'Donell,
12076         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12077
12078 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12079
12080         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12081
12082         * sysdeps/unix/sysv/linux/kernel-features.h
12083         [__LINUX_KERNEL_VERSION >= 0x020621]
12084         (__ASSUME_PROC_PID_TASK_COMM): Define.
12085
12086 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12087
12088         [BZ #16398]
12089         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12090         conversion when destination buffer does not have enough space.
12091         * libio/tst-ftell-partial-wide.c: New test case.
12092         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12093
12094         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12095         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12096         Leonard and Allan McRae.
12097
12098 2014-02-04  David S. Miller  <davem@davemloft.net>
12099
12100         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12101         32-bit.
12102
12103 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12104
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12106         New file
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12108         New file
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12110         New file.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12112         New file.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12114         New file.
12115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12116         New file.
12117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12118         New file.
12119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12120         New file.
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12122         New file.
12123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12124         New file.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12126         New file.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12128         New file.
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12130         New file.
12131
12132 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12133
12134         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12135         * shlib-versions: Likewise.
12136
12137 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12138             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12139
12140         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12141         (abilist-pattern): New variable, set to %-le.abilist.
12142
12143         * Makerules (abilist-pattern): New variable.
12144         (vpath): Use $(abilist-pattern) in place of %.abilist.
12145         (check-abi-% pattern rule): Likewise.
12146         (check-abi, update-abi): Likewise.
12147
12148 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12149
12150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12151
12152 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12153
12154         * manual/startup.texi: Add next, previous, and top entries for
12155         the `Program Arguments' and `Environment Variables' nodes.
12156
12157 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12158
12159         * manual/macros.texi: Add comments before MTASC-safety macros.
12160
12161         * manual/users.texi: Document MTASC-safety properties.
12162
12163         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12164         (pthread_getspecific, pthread_setspecific): Format with
12165         @deftypefun, and add @safety note.
12166         * manual/signal.texi: Move comments that analyze the above
12167         functions to their home place.
12168
12169 2014-02-03  Allan McRae  <allan@archlinux.org>
12170
12171         * po/sl.po: Update Slovenian translation from translation project.
12172
12173 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12174
12175         * manual/time.texi (timegm): Add missing blank after @c.
12176         Reported by Joseph Myers <joseph@codesourcery.com>.
12177
12178 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12179
12180         * manual/check-safety.sh: New.
12181         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12182
12183         * manual/terminal.texi: Document MTASC-safety properties.
12184
12185         * manual/filesys.texi: Document MTASC-safety properties.
12186
12187         * manual/errno.texi: Document MTASC-safety properties.
12188
12189         * manual/intro.texi: Document safety identifiers and
12190         conditionals.
12191
12192         * manual/string.texi (wcstok): Fix prototype.
12193         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12194
12195         * manual/time.texi: Document MTASC-safety properties.
12196
12197         * manual/string.texi: Document MTASC-safety properties.
12198
12199         * manual/threads.texi: Document MTASC-safety properties.
12200
12201         * manual/stdio.texi: Document MTASC-safety properties.
12202
12203         * manual/syslog.texi: Document MTASC-safety properties.
12204
12205         * manual/sysinfo.texi: Document MTASC-safety properties.
12206
12207         * manual/startup.texi: Document MTASC-safety properties.
12208
12209         * manual/socket.texi: Document MTASC-safety properties.
12210
12211         * manual/signal.texi: Document MTASC-safety properties.
12212
12213 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12214
12215         * manual/setjmp.texi: Document MTASC-safety properties.
12216
12217         * manual/search.texi: Document MTASC-safety properties.
12218
12219         * manual/resource.texi: Document MTASC-safety properties.
12220
12221         * manual/process.texi: Document MTASC-safety properties.
12222
12223         * manual/platform.texi: Document MTASC-safety properties.
12224
12225         * manual/pipe.texi: Document MTASC-safety properties.
12226
12227         * manual/pattern.texi: Document MTASC-safety properties.
12228
12229         * manual/message.texi: Document MTASC-safety properties.
12230
12231         [BZ #12751]
12232         * manual/memory.texi: Document MTASC-safety properties.
12233
12234         * manual/math.texi: Document MTASC-safety properties.
12235
12236         * manual/locale.texi: Document MTASC-safety properties.
12237
12238         * manual/llio.texi: Document MTASC-safety properties.
12239
12240         * manual/libdl.texi: New.
12241
12242         * manual/lang.texi: Document MTASC-safety properties.
12243
12244         * manual/job.texi: Document MTASC-safety properties.
12245
12246         * manual/getopt.texi: Document MTASC-safety properties.
12247
12248         * manual/ctype.texi: Document MTASC-safety properties.
12249
12250 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12251
12252         [BZ #16046]
12253         * csu/libc-tls.c (static_map): Remove variable.
12254         (__libc_setup_tls): Use main executable's link map for TLS data.
12255         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12256         casing for LM_ID_BASE and GL(dl_nns).
12257         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12258         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12259         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12260         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12261         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12262         member.
12263         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12264         l_phnum members.
12265
12266 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12267
12268         * manual/debug.texi: Document MTASC-safety properties.
12269
12270 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12271
12272         [BZ #16510]
12273         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12274         of __x86_64__ when disabling x87 inline functions.
12275
12276 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12277
12278         * manual/charset.texi: Document MTASC-safety properties.
12279
12280         * manual/crypt.texi: Document MTASC-safety properties.
12281
12282         * manual/conf.texi: Document MTASC-safety properties.
12283
12284         * manual/arith.texi: Document MTASC-safety properties.
12285
12286         * manual/argp.texi: Document MTASC-safety properties.
12287
12288         * manual/macros.texi: Introduce macros to document multi
12289         thread, asynchronous signal and asynchronous cancellation
12290         safety properties.
12291         * manual/intro.texi: Introduce the properties themselves.
12292
12293 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12294
12295         * sysdeps/sh/sh4/Makefile: New file.
12296
12297 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12298
12299         * math/gen-libm-test.pl ($srcdir): New variable.
12300         ($auto_input): Use it.
12301
12302 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12303
12304         [BZ #16506]
12305         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12306         access beyond array bounds when parsing netgroups file.
12307
12308         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12309         the old buffer before realloc.
12310
12311 2014-01-27  Allan McRae  <allan@archlinux.org>
12312
12313         * po/fr.po: Update French translation from translation project.
12314
12315 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12316
12317         * sysdeps/sh/libm-test-ulps: Regenerate.
12318
12319 2014-01-24  David S. Miller  <davem@davemloft.net>
12320
12321         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12322
12323 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12324
12325         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12326         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12327
12328 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12329
12330         [BZ #16474]
12331         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12332         string pointers after reallocation.
12333
12334 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12335
12336         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12337         __SH4A__ instead of __SH_FPU_ANY__.
12338
12339 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12340
12341         * sysdeps/sh/fpu_control.h: New file.
12342         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12343         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12344         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12345         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12346         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12347         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12348         * sysdeps/sh/sys/ucontext.h: Remove.
12349         * sysdeps/sh/sys: Remove directory.
12350
12351 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12352
12353         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12354         s390/sys/ucontext.h.
12355         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12356         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12357
12358 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12359
12360         [BZ #15605]
12361         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12362
12363 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12364
12365         [BZ#16431]
12366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12367         Adjust the vDSO correctly for internal calls.
12368         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12369
12370 2014-01-20  Allan McRae  <allan@archlinux.org>
12371
12372         * po/ca.po: Update Catalan translation from translation project.
12373
12374 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12375
12376         * sysdeps/s390/sotruss-lib.c: New file.
12377
12378 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12379
12380         [BZ#16430]
12381         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12382         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12383         local calls issues by not having a PLT stub required for IFUNC calls.
12384         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12385
12386 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12387
12388         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12389         * math/test-fpucw-static.c: Likewise.
12390
12391 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12392
12393         [BZ #16453]
12394         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12395
12396 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12397
12398         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12399         implementation for powerpc.
12400
12401 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12402
12403         [BZ #14782]
12404         * sysdeps/posix/system.c (__libc_system): Do not enable
12405         asynchronous cancellation.
12406
12407 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12408
12409         [BZ #16427]
12410         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12411         handling only for numbers special also in the IEEE case.
12412
12413 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12414
12415         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12416
12417 2014-01-11  Allan McRae  <allan@archlinux.org>
12418
12419         * po/bg.po: Update Bulgarian translation from translation project.
12420
12421         * po/de.po: Update German translation from translation project.
12422
12423 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12424
12425         * sysdeps/generic/gcc-compat.h: New file.
12426
12427 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12428
12429         * benchtests/asin-inputs: Correct slow inputs.
12430         * benchtests/acos-inputs: Likewise.
12431
12432 2014-01-10  Allan McRae  <allan@archlinux.org>
12433
12434         * po:sv.po: Update Swedish translation from translation project.
12435
12436         * po/vi.po: Update Vietnamese translation from translation project.
12437
12438         * po/eo.po: Update Esperanto translation from translation project.
12439
12440         * po/cs.po: Update Czech translation from translation project.
12441
12442         * po/nl.po: Update Dutch translation from translation project.
12443
12444         * po/pl.po: Update Polish translation from translation project.
12445
12446         * po/ru.po: Update Russian translation from translation project.
12447
12448         * po/uk.po: Update Ukrainian translation from translation project.
12449
12450 2014-01-08  Brooks Moses  <bmoses@google.com>
12451
12452         * elf/dl-load.c: Fix comment typo.
12453
12454 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12455
12456         * po/header.pot: Rename to...
12457         * po/pot.header: ... this.
12458         * po/Makefile: Use pot.header.
12459
12460 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12461             Maxim Kuvyrkov  <maxim@kugelworks.com>
12462
12463         [BZ #16394]
12464         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12465         SRC and DEST against LEN.
12466
12467 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12468
12469         [BZ #16414]
12470         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12471         implementation.
12472         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12473
12474 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12475
12476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12477
12478 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12479
12480         [BZ #16408]
12481         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12482         for large positive arguments.
12483
12484 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12485
12486         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12487
12488         * math/auto-libm-test-in: Mark various tests with
12489         xfail-rounding:ldbl-128ibm.
12490         * math/auto-libm-test-out: Regenerated.
12491
12492         [BZ #16407]
12493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12494         Increase overflow threshold.
12495
12496 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12497
12498         [BZ #14286]
12499         * stdio-common/vfprintf.c: Check for integer overflow.
12500
12501 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12502
12503         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12504         the first argument and return value of __tls_get_addr_internal.
12505
12506 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12507
12508         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12509         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12510
12511 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12512
12513         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12514         * sysdeps/s390/rtld-global-offsets.sym: New file.
12515         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12516         GLIBC_2.19 symbol.
12517         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12518         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12519         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12520         ... this.
12521         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12522         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12523         ... this.
12524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12525         Regenerate.
12526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12527         Regenerate.
12528         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12529         halfs of GPRs for high_gprs contexts.
12530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12531         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12532         field.
12533         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12534         uc_flags field.
12535         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12536         64 bit versions:
12537         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12538         for high GPRs (uc_high_gprs) and for future extensions
12539         (__reserved).
12540         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12541         for future extensions (__reserved).
12542         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12543         64 bit versions:
12544         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12545         SC_HIGHGPRS offset definition.
12546         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12547         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12548
12549         * Versions.def: Add GLIBC_2.19 for libpthread.
12550         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12551         siglongjmp for libpthread with GLIBC_2.19 symver.
12552         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12553         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12554         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12555         * sysdeps/s390/__longjmp.c: New file.
12556         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12557         * sysdeps/s390/longjmp.c: New file.
12558         * sysdeps/s390/setjmp.S: New file.
12559         * sysdeps/s390/sigjmp.S: New file.
12560         * sysdeps/s390/v1-longjmp.c: New file.
12561         * sysdeps/s390/v1-setjmp.h: New file.
12562         * sysdeps/s390/v1-sigjmp.c: New file.
12563         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12564         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12565         GLIBC_2.19 version.
12566         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12567         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12568         versioned symbols for ____longjmp_chk.
12569         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12570         Likewise.
12571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12572         Regenerate.
12573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12574         Regenerate.
12575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12576         Regenerate.
12577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12578         Regenerate.
12579         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12580         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12581         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12582         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12583         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12584         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12585         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12586         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12587         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12588         * sysdeps/s390/rtld-__longjmp.c: New file.
12589         * sysdeps/s390/rtld-setjmp.S: New file.
12590
12591 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12592
12593         [BZ #16400]
12594         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12595         Return -__logl (x) for small positive arguments without evaluating
12596         a polynomial.
12597
12598 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12599
12600         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12601         Rename to ...
12602         (__ptrace_peeksiginfo_args): ... this.
12603         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12605         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12606
12607 2014-01-06  Allan McRae  <allan@archlinux.org>
12608
12609         * inet/netinet/in.h: Fix typo in comment.
12610
12611 2014-01-05  Andreas Jaeger  <aj@suse.de>
12612
12613         * sysdeps/i386/fpu/libm-test-ulps: Update.
12614
12615 2014-01-05  Allan McRae  <allan@archlinux.org>
12616
12617         * po/libc.pot: Regenerated.
12618
12619         * malloc/memusagestat.c: Fix gettext call formatting.
12620
12621 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12622
12623         * nscd/nscd.c: Improve usage() output.
12624
12625 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12626
12627         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12628         * sysdeps/unix/sysv/linux/configure: Regenerated.
12629         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12630         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12631
12632 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12633
12634         [BZ #16390]
12635         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12636         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12637
12638 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12639
12640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12641         extra tokens at end of #undef directive.
12642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12643         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12644         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12645
12646 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12647
12648         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12649
12650         * math/auto-libm-test-in: Mark various tests with
12651         xfail-rounding:ldbl-128ibm.
12652         * math/auto-libm-test-out: Regenerated.
12653
12654 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12655
12656         [BZ #16386]
12657         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12658         numbers with subnormal high part when calculating exponent.
12659
12660         [BZ #16385]
12661         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12662         fabs.
12663
12664         [BZ #16384]
12665         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12666         M_LN2l.
12667         (__ieee754_acoshl): Use __log1pl not __log1p.
12668
12669 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12670
12671         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12672         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12673         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12674         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12675         (reused_arena, arena_get2): Convert to GNU style.
12676         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12677         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12678         (memalign_check, __malloc_set_state): Likewise.
12679         * malloc/mallocbug.c (main): Likewise.
12680         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12681         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12682         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12683         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12684         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12685         (__posix_memalign, malloc_info): Likewise.
12686         * malloc/malloc.h: Likewise.
12687         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12688         (mallochook, memalignhook, reallochook, mabort): Likewise.
12689         * malloc/mcheck.h: Likewise.
12690         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12691         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12692         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12693         * malloc/morecore.c (__default_morecore): Likewise.
12694         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12695         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12696         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12697         (print_and_abort): Likewise.
12698         * malloc/obstack.h: Likewise.
12699         * malloc/set-freeres.c (__libc_freeres): Likewise.
12700         * malloc/tst-mallocstate.c (main): Likewise.
12701         * malloc/tst-mtrace.c (main): Likewise.
12702         * malloc/tst-realloc.c (do_test): Likewise.
12703
12704 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12705
12706         [BZ #16366]
12707         * nscd/netgroupcache.c (do_notfound): New function.
12708         (addgetnetgrentX): Use it.
12709
12710         [BZ # 16365]
12711         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12712         NSS_STATUS_NOTFOUND.
12713
12714 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12715
12716         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12718
12719 2014-01-01  Allan McRae  <allan@archlinux.org>
12720
12721         * scripts/update-copyrights: Update configure input file suffix.
12722
12723         * NEWS: Update copyright year.
12724         * catgets/gencat.c: Likewise.
12725         * csu/version.c: Likewise.
12726         * debug/catchsegv.sh: Likewise.
12727         * debug/pcprofiledump.c: Likewise.
12728         * debug/xtrace.sh: Likewise.
12729         * elf/ldconfig.c: Likewise.
12730         * elf/ldd.bash.in: Likewise.
12731         * elf/pldd.c: Likewise.
12732         * elf/sotruss.ksh: Likewise.
12733         * elf/sprof.c: Likewise.
12734         * iconv/iconv_prog.c: Likewise.
12735         * iconv/iconvconfig.c: Likewise.
12736         * locale/programs/locale.c: Likewise.
12737         * locale/programs/localedef.c: Likewise.
12738         * login/programs/pt_chown.c: Likewise.
12739         * malloc/memusage.sh: Likewise.
12740         * malloc/memusagestat.c: Likewise.
12741         * malloc/mtrace.pl: Likewise.
12742         * manual/libc.texinfo: Likewise.
12743         * nscd/nscd.c: Likewise.
12744         * nss/getent.c: Likewise.
12745         * nss/makedb.c: Likewise.
12746         * posix/getconf.c: Likewise.
12747         * scripts/test-installation.pl: Likewise.
12748
12749         * All files with FSF copyright notices: Update copyright dates
12750         using scripts/update-copyrights.
12751         * intl/plural.c: Regenerated.
12752         * locale/programs/charmap-kw.h: Likewise.
12753         * locale/programs/locfile-kw.h: Likewise.
12754
12755 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12756
12757         * sysdeps/unix/sysv/linux/configure: Regenerated.
12758         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12759         the linux/fanotify.h header.
12760         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12761         HAVE_LINUX_FANOTIFY_H is defined.
12762
12763 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12764
12765         * benchtests/cos-inputs: New inputs.
12766         * benchtests/sin-inputs: Likewise.
12767
12768         * benchtests/atan-inputs: New inputs. Fix name of multiple
12769         precision fallback inputs.
12770
12771         * benchtests/atanh-inputs: New inputs.
12772         * benchtests/tanh-inputs: Likewise.
12773
12774         * benchtests/acosh-inputs: New inputs.
12775         * benchtests/asinh-inputs: Likewise.
12776
12777         * benchtests/cosh-inputs: New inputs.
12778         * benchtests/sinh-inputs: Likewise.
12779
12780         * benchtests/acos-inputs: Add more inputs.
12781         * benchtests/asin-inputs: Likewise.
12782
12783 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12784
12785         [BZ #16375]
12786         * manual/arith.texi: Fix spelling.
12787         * manual/charset.texi: Likewise.
12788         * manual/errno.texi: Likewise.
12789         * manual/filesys.texi: Likewise.
12790         * manual/lang.texi: Likewise.
12791         * manual/llio.texi: Likewise.
12792         * manual/locale.texi: Likewise.
12793         * manual/message.texi: Likewise.
12794         * manual/resource.texi: Likewise.
12795         * manual/search.texi: Likewise.
12796         * manual/setjmp.texi: Likewise.
12797         * manual/stdio.texi: Likewise.
12798         * manual/string.texi: Likewise.
12799         * manual/sysinfo.texi: Likewise.
12800         * manual/time.texi: Likewise.
12801
12802 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12803
12804         * po/sl.po: New file.
12805
12806 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12807
12808         * .gitignore: Add core/.gdbinit/.gdb_history.
12809
12810 2013-12-27  Allan McRae  <allan@archlinux.org>
12811
12812         [BZ #16369]
12813         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12814         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12815
12816 2013-12-24  Brooks Moses  <bmoses@google.com>
12817
12818         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12819         all compilers that claim C++98 compliance, not just GCC.
12820         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12821         Likewise.
12822
12823 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12824
12825         * NEWS: Restore accidentally deleted bug-fix entries.
12826
12827 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12828             Ondřej Bílka  <neleai@seznam.cz>
12829
12830         [BZ #15073]
12831         * malloc/malloc.c (_int_free): Perform sanity check only if we
12832         have_lock.
12833
12834 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12835
12836         [BZ #12986]
12837         * manual/stdio.texi (String Input Conversions): Clarify that character
12838         classes are not supported.
12839
12840 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12841
12842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12843
12844 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12845
12846         [BZ #16337]
12847         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12848         Calculate results for small negative arguments directly rather
12849         than using reflection formula with special underflow handling.
12850
12851         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12852         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12853         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12854         (fchflags): Likewise.
12855         (revoke): Likewise.
12856         (setlogin): Likewise.
12857         (sigaltstack): Likewise.
12858         (wait4): Likewise.
12859         (sigblock): Remove.
12860         (sigsetmask): Likewise.
12861         (wait3): Likewise.
12862         (waitpid): Likewise.
12863         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12864         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12865         file.
12866         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12867         * sysdeps/unix/bsd/Makefile: ... here.
12868         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12869         * sysdeps/unix/bsd/Versions: ... here.
12870         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12871         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12872         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12873         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12874         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12875         * sysdeps/unix/bsd/sigblock.c: ... here.
12876         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12877         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12878         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12879         * sysdeps/unix/bsd/sigvec.c: ... here.
12880         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12881         * sysdeps/unix/bsd/tcdrain.c: ... here.
12882         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12883         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12884         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12885         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12886         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12887         * sysdeps/unix/bsd/wait.c: ... here.
12888         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12889         * sysdeps/unix/bsd/wait3.c: ... here.
12890         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12891         * sysdeps/unix/bsd/waitpid.c: ... here.
12892
12893 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12894
12895         [BZ #16356]
12896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12897         round-to-nearest for [!USE_AS_EXPM1L].
12898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12899         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12900         more tests of exp and exp10.  Expect some exp10 tests to miss
12901         exceptions or fail in directed rounding modes.
12902         * math/auto-libm-test-out: Regenerated.
12903         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12904         (exp10_test_tonearest): New function.
12905         (exp10_towardzero_test_data): New array.
12906         (exp10_test_towardzero): New function.
12907         (exp10_downward_test_data): New array.
12908         (exp10_test_downward): New function.
12909         (exp10_upward_test_data): New array.
12910         (exp10_test_upward): New function.
12911         (main): Call the new functions.
12912         * sysdeps/i386/fpu/libm-test-ulps: Update.
12913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914
12915 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12916
12917         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12918         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12919         * math/auto-libm-test-out: Regenerated.
12920         * math/libm-test.inc (acosh_test_data): Add more tests.
12921         (atanh_test_data): Likewise.
12922         (ceil_test_data): Likewise.
12923         (copysign_test_data): Likewise.
12924         * sysdeps/i386/fpu/libm-test-ulps: Update.
12925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12926
12927         * timezone/checktab.awk: Update from tzcode 2013i.
12928         * timezone/private.h: Likewise.
12929         * timezone/scheck.c: Likewise.
12930         * timezone/tzfile.h: Likewise.
12931         * timezone/tzselect.ksh: Likewise.
12932         * timezone/zdump.c: Likewise.
12933         * timezone/zic.c: Likewise.
12934
12935         * math/auto-libm-test-in: Add tests of cpow.
12936         * math/auto-libm-test-out: Regenerated.
12937         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12938         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12939         mpc_cc_c.
12940         (func_calc_desc): Add mpc_cc_c union field.
12941         (test_functions): Add cpow.
12942         (special_fill_2pi): New function.
12943         (special_real_inputs): Add 2pi.
12944         (calc_generic_results): Handle mpc_cc_c.
12945         * sysdeps/i386/fpu/libm-test-ulps: Update.
12946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12947
12948         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12949         csqrt, ctan and ctanh.
12950         * math/auto-libm-test-out: Regenerated.
12951         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12952         (TEST_COND_x86): Likewise.
12953         (ccos_test_data): Use AUTO_TESTS_c_c.
12954         (ccosh_test_data): Likewise.
12955         (cexp_test_data): Likewise.
12956         (clog_test_data): Likewise.
12957         (csqrt_test_data): Likewise.
12958         (ctan_test_data): Likewise.
12959         (ctan_tonearest_test_data): Likewise.
12960         (ctan_towardzero_test_data): Likewise.
12961         (ctan_downward_test_data): Likewise.
12962         (ctan_upward_test_data): Likewise.
12963         (ctanh_test_data): Likewise.
12964         (ctanh_tonearest_test_data): Likewise.
12965         (ctanh_towardzero_test_data): Likewise.
12966         (ctanh_downward_test_data): Likewise.
12967         (ctanh_upward_test_data): Likewise.
12968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12969         mpc_c_c.
12970         (func_calc_desc): Add mpc_c_c union field.
12971         (FUNC_mpc_c_c): New macro.
12972         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12973         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12974         ctanh.
12975         (special_fill_min_subnorm_p120): New function.
12976         (special_real_inputs): Add min_subnorm_p120.
12977         (calc_generic_results): Handle mpc_c_c.
12978         * sysdeps/i386/fpu/libm-test-ulps: Update.
12979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12980
12981 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12982
12983         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12984         (do_sin_slow): New functions.
12985         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12986         (cslow2, csloww1, csloww2): Use the new functions.
12987
12988         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12989         Use M to change sign of result instead of X.  Assume X is
12990         positive.
12991         (csloww1): Likewise.
12992         (__sin): Adjust.
12993         (__cos): Adjust.
12994
12995         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12996         arguments A and DA.
12997         (__sin): Adjust.
12998         (__cos): Likewise.
12999
13000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13001         (__cos): Likewise.
13002         (sloww1): Don't adjust sign of DX.
13003         (csloww1): Likewise.
13004         (sloww2): Use X directly and don't adjust sign of DX.
13005         (csloww2): Likewise.
13006
13007 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13008
13009         * math/auto-libm-test-in: Add tests of cabs and carg.
13010         * math/auto-libm-test-out: Regenerated.
13011         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13012         (carg_test_data): Likewise.
13013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13014         mpc_c_f.
13015         (func_calc_desc): Add mpc_c_f union field.
13016         (test_functions): Add cabs and carg.
13017         (calc_generic_results): Handle mpc_c_f.
13018
13019         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13020         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13021         as a macro and a compat symbol.
13022         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13023         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13024         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13025         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13026         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13027         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13028         not use .hidden.
13029         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13030         Likewise.
13031         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13032         Likewise.
13033         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13034         Likewise.
13035         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13036         Likewise.
13037         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13038         Likewise.
13039         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13040         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13041         from GLIBC_2.3.2.
13042
13043 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13044
13045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13046
13047 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13048
13049         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13050         trailing whitespace removed.
13051         * scripts/config.guess: Update to version 2013-11-29.
13052         * scripts/config.sub: Update to version 2013-10-01.
13053
13054         * math/auto-libm-test-in: Add tests of sincos.
13055         * math/auto-libm-test-out: Regenerated.
13056         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13057         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13058         mpfr_f_11.
13059         (func_calc_desc): Add mpfr_f_11 union field.
13060         (test_functions): Add sincos.
13061         (calc_generic_results): Handle mpfr_f_11.
13062         * sysdeps/i386/fpu/libm-test-ulps: Update.
13063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13064
13065 2013-12-19  Andreas Schwab  <schwab@suse.de>
13066
13067         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13068         CALL_MCOUNT.
13069         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13070         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13071         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13072
13073 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13074
13075         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13076         * sysdeps/i386/fpu/libm-test-ulps: Update.
13077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13078
13079         [BZ #16293]
13080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13081         round-to-nearest mode when using frndint.
13082         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13083         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13084         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13085         Likewise.
13086         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13087         sinh test to fail.
13088         * math/auto-libm-test-out: Regenerated.
13089         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13090         (TEST_COND_x86): Likewise.
13091         (expm1_tonearest_test_data): New array.
13092         (expm1_test_tonearest): New function.
13093         (expm1_towardzero_test_data): New array.
13094         (expm1_test_towardzero): New function.
13095         (expm1_downward_test_data): New array.
13096         (expm1_test_downward): New function.
13097         (expm1_upward_test_data): New array.
13098         (expm1_test_upward): New function.
13099         (main): Run the new test functions.
13100         * sysdeps/i386/fpu/libm-test-ulps: Update.
13101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13102
13103         * include/features.h: Update comment documenting feature test
13104         macros.  Mention _DEFAULT_SOURCE in comment.
13105         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13106         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13107         _BSD_SOURCE and _SVID_SOURCE.
13108         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13109         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13110         !_SVID_SOURCE]: Likewise.
13111         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13112         (__USE_POSIX_IMPLICITLY): Define.
13113         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13114         (_POSIX_SOURCE): Undefine and redefine.
13115         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13116         (_POSIX_C_SOURCE): Likewise.
13117         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13118         (Feature Test Macros): Update documentation of default features.
13119
13120 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13121
13122         * benchtests/Makefile: Add bench-strtok.
13123         * benchtests/bench-strtok.c: New file: strtok benchtest.
13124
13125 2013-12-19  Allan McRae  <allan@archlinux.org>
13126
13127         * manual/install.texi: Suppress menu for plain text output.
13128         * INSTALL: Regenerated.
13129
13130 2013-12-18  Brooks Moses  <bmoses@google.com>
13131
13132         [BZ #15846]
13133         * misc/getauxval.c: Include errno.h.
13134         (__getauxval): Set errno to ENOENT if the requested type is not
13135         found.
13136         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13137         don't declare with __attribute_const__.
13138         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13139         * manual/startup.texi: Document that getauxval sets errno.
13140
13141 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13142
13143         * math/auto-libm-test-in: Add tests of jn and yn.
13144         * math/auto-libm-test-out: Regenerated.
13145         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13146         (yn_test_data): Likewise.
13147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13148         mpfr_if_f.
13149         (func_calc_desc): Add mpfr_if_f union field.
13150         (FUNC_mpfr_if_f): New macro.
13151         (test_functions): Add jn and yn.
13152         (calc_generic_results): Assert type of second input for
13153         mpfr_ff_f.  Handle mpfr_if_f.
13154         (output_for_one_input_case): Disable all checking for arguments
13155         fitting floating-point types in case of an integer argument.
13156         * sysdeps/i386/fpu/libm-test-ulps: Update.
13157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13158
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13160         Don't expect fegetround reference in libm.so.
13161
13162 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13163
13164         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13165         $(config-cflags-nofma).
13166
13167 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13168
13169         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13170         * math/auto-libm-test-out: Regenerated.
13171
13172         [BZ #16338]
13173         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13174         to determine exponent and adjust argument to have exponent of -1.
13175         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13176         log2.
13177         * math/auto-libm-test-out: Regenerated.
13178         * sysdeps/i386/fpu/libm-test-ulps: Update.
13179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13180
13181 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13182
13183         * manual/probes.texi: Remove cases when per-thread arenas are
13184         disabled.
13185
13186 2013-12-18  Andreas Schwab  <schwab@suse.de>
13187
13188         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13189         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13190         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13191         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13192         * sysdeps/i386/i686/multiarch/Makefile: Update.
13193         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13194
13195 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13196
13197         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13198         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13199
13200 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13201
13202         [BZ #15968]
13203         Support TZ transition times < 00:00:00.
13204         This is needed for version-3 tz-format files; it supports time
13205         stamps past 2037 for America/Godthab (the only entry in the tz
13206         database for which this change is relevant).
13207         * manual/time.texi (TZ Variable): Document transition times
13208         from -167:59:59 through -00:00:01.
13209         * time/tzset.c (tz_rule): Time of day is now signed.
13210         (__tzset_parse_tz): Parse negative time of day.
13211
13212         Document TZ transition times >= 25:00:00.
13213         * manual/time.texi (TZ Variable): Document transition times from
13214         25:00:00 through 167:59:59.  These are already supported, and this
13215         support will help with version-3 tz-format files.
13216
13217         * manual/time.texi (TZ Variable): Modernize North America example
13218         to reflect current (i.e., 2007-and-later) daylight saving rules.
13219
13220         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13221
13222 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13223
13224         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13225         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13226         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13228         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13229         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13230         * sysdeps/unix/bsd/clock.c: Likewise.
13231         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13232         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13233         * sysdeps/unix/bsd/init-posix.c: Likewise.
13234         * sysdeps/unix/bsd/poll.c: Likewise.
13235         * sysdeps/unix/bsd/ptsname.c: Likewise.
13236         * sysdeps/unix/bsd/seekdir.c: Likewise.
13237         * sysdeps/unix/bsd/setegid.c: Likewise.
13238         * sysdeps/unix/bsd/seteuid.c: Likewise.
13239         * sysdeps/unix/bsd/setgid.c: Likewise.
13240         * sysdeps/unix/bsd/setrgid.c: Likewise.
13241         * sysdeps/unix/bsd/setruid.c: Likewise.
13242         * sysdeps/unix/bsd/setsid.c: Likewise.
13243         * sysdeps/unix/bsd/setuid.c: Likewise.
13244         * sysdeps/unix/bsd/sigaction.c: Likewise.
13245         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13246         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13247         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13248         * sysdeps/unix/bsd/telldir.c: Likewise.
13249         * sysdeps/unix/bsd/times.c: Likewise.
13250         * sysdeps/unix/bsd/usleep.c: Likewise.
13251
13252         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13253         ($(objpfx)libbsd-compat.a): Remove rule.
13254
13255         * include/features.h (__FAVOR_BSD): Do not define.
13256         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13257         features conflicting with POSIX.
13258         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13259         (_BSD_SOURCE): Remove description of not being a subset of other
13260         feature test macros.
13261         * manual/job.texi (getpgrp): Do not document BSD version.
13262         (getpgid): Do not document by reference to BSD getpgrp.
13263         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13264         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13265         * signal/signal.h [__FAVOR_BSD]: Likewise.
13266         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13267         instead of making contents conditional on [__FAVOR_BSD].
13268         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13269
13270 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13271
13272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13273
13274 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13275
13276         [BZ #16314]
13277         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13278         values below 2**-450, not 2**-500.
13279         * math/auto-libm-test-in: Don't allow spurious underflow from
13280         hypot.
13281         * math/auto-libm-test-out: Regenerated.
13282
13283         [BZ #16316]
13284         [BZ #16330]
13285         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13286         values of ha and hb and sort them after adjusting subnormal
13287         arguments.
13288         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13289         Likewise.
13290         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13291         values of ea and eb and sort them after adjusting subnormal
13292         arguments.
13293         * math/auto-libm-test-in: Do not expect some hypot tests of
13294         subnormals to fail.  Add more hypot tests.
13295         * math/auto-libm-test-out: Regenerated.
13296
13297 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13298
13299         [BZ #13304]
13300         * sysdeps/sh/s_fma.c: New file.
13301         * sysdeps/sh/s_fmaf.c: New file.
13302         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13303         version.
13304         * sysdeps/sh/Implies: Add sh/soft-fp.
13305
13306 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13307
13308         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13309         level of indirection to members `objname', `errstring', `malloced'.
13310         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13311         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13312         it as the __longjmp argument (just pass 1 instead).
13313         (_dl_catch_error): Initialize C with argument pointers and address of
13314         volatile local ERRCODE rather than copying values out of C at return.
13315
13316 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13317
13318         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13319         * math/auto-libm-test-out: Regenerated.
13320         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13321         (hypot_test_data): Likewise.
13322         (pow_test_data): Likewise.
13323         (pow_tonearest_test_data): Likewise.
13324         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13325         mpfr_ff_f.
13326         (func_calc_desc): Add mpfr_ff_f union field.
13327         (FUNC_mpfr_ff_f): New macro.
13328         (test_functions): Add atan2, hypot and pow.
13329         (special_fill_min): New function.
13330         (special_fill_minus_min): Likewise.
13331         (special_fill_min_subnorm): Likewise.
13332         (special_fill_minus_min_subnorm): Likewise.
13333         (special_real_inputs): Add min, -min, min_subnorm and
13334         -min_subnorm.
13335         (calc_generic_results): Handle mpfr_ff_f.
13336         * sysdeps/i386/fpu/libm-test-ulps: Update.
13337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338
13339 2013-12-16  Will Newton  <will.newton@linaro.org>
13340
13341         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13342         (Aligned Memory Blocks): Add documentation for aligned_alloc
13343         and suggest it as an alternative to posix_memalign.
13344         (Hooks for Malloc): Document __memalign_hook is also called
13345         for aligned_alloc.  (Summary of Malloc): Add summary for
13346         aligned alloc.  Document __memalign_hook is also called
13347         for aligned_alloc.
13348
13349 2013-12-16  Will Newton  <will.newton@linaro.org>
13350
13351         * manual/memory.texi (Malloc Examples): Clarify default
13352         alignment documentation.  Suggest posix_memalign rather
13353         than memalign or valloc.
13354         (Aligned Memory Blocks): Remove suggestion to use memalign
13355         or valloc.  Remove obsolete comment about BSD.
13356         Document memalign errno values and mark the function obsolete.
13357         Document posix_memalign returned error codes.  Mark valloc
13358         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13359         called for posix_memalign and valloc.
13360         (Summary of Malloc): Add posix_memalign to function summary.
13361         __memalign_hook is also called for posix_memalign and valloc.
13362
13363 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13364
13365         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13366         TAYLOR_SIN.
13367         (__sin): Adjust.
13368         (__cos): Likewise.
13369         (sloww): Use mynumber union.  Expand ternary operator into
13370         if-else statements.
13371         (cslow): use mynumber union.
13372
13373 2013-12-16  Allan McRae  <allan@archlinux.org>
13374
13375         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13376         * configure: Regenerated.
13377
13378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13379
13380         [BZ #14120]
13381         * configure.ac: Added --enable-maintainer-mode. Check for
13382         autoconf when enabled.
13383         * configure: Regenerated.
13384
13385         * nscd/nscd.service: New file.
13386         * nscd/nscd.tmpfiles: New file.
13387
13388 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13389
13390         [BZ #12100]
13391         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13392         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13393         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13394         (strstr): Add __strstr_sse2_unaligned ifunc.
13395         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13396         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13397         (strcasestr): Remove __strcasestr_sse42 ifunc.
13398         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13401
13402 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13403
13404         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13405         * sysdeps/sh/bits/fenv.h: ... here.
13406         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13407
13408 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409
13410         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13411
13412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13413         hypotf multiarch implementations.
13414         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13416         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13417         multiarch hypot for PPC64.
13418         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13419         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13421         multiarch hypotf for PPC64.
13422
13423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13424         modff multiarch implementations.
13425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13428         multiarch modf for PPC64.
13429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13432         multiarch modff for PPC64.
13433
13434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13435         and logl multiarch implementations.
13436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13439         multiarch logb for PPC64.
13440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13443         multiarch logb for PPC64.
13444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13447         multiarch logb for PPC64.
13448
13449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13450         isinff multiarch implementation.
13451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13452         file.
13453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13455         multiarch isinf for PPC64.
13456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13457         file.
13458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13459         multiarch isinff for PPC64.
13460
13461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13462         finitef multiarch implementation.
13463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13464         file.
13465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13467         multiarch finite for PPC64.
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13469         file.
13470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13471         multiarch finitef for PPC64.
13472
13473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13474         lrint multiarch implementation.
13475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13476         file.
13477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13479         multiarch llrint for PPC64.
13480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13481         multiarch lrint for PPC64.
13482
13483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13484         copysignf multiarch implementation.
13485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13486         file.
13487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13488         file.
13489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13490         multiarch copysign for PPC64.
13491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13492         multiarch copysignf for PPC64.
13493
13494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13495         multiarch implementation.
13496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13497         file.
13498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13499         file.
13500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13501         file.
13502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13503         file.
13504         multiarch llround for PPC64.
13505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13506         multiarch trunc for PPC64.
13507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13508         multiarch truncf for PPC64.
13509
13510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13511         multiarch implementation.
13512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13513         file.
13514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13515         file.
13516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13517         file.
13518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13519         file.
13520         multiarch llround for PPC64.
13521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13522         multiarch round for PPC64.
13523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13524         multiarch roundf for PPC64.
13525
13526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13527         multiarch implementation.
13528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13529         file.
13530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13531         file.
13532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13533         file.
13534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13535         file.
13536         multiarch llround for PPC64.
13537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13538         multiarch floor for PPC64.
13539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13540         multiarch floorf for PPC64.
13541
13542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13543         multiarch implementation.
13544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13545         file.
13546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13547         file.
13548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13549         file.
13550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13551         file.
13552         multiarch llround for PPC64.
13553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13554         multiarch ceil for PPC64.
13555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13556         multiarch ceilf for PPC64.
13557
13558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13559         multiarch implementation.
13560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13561         file.
13562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13563         file.
13564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13565         file.
13566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13567         multiarch llround for PPC64.
13568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13569         multiarch lround for PPC64.
13570
13571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13572         multiarch implementation.
13573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13576         file.
13577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13580         multiarch isnan for PPC64.
13581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13582         multiarch isnanf for PPC64.
13583
13584         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13585         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13586         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13587         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13588         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13590
13591         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13592         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13593         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13594         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13595
13596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13597         multiarch implementations.
13598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13599         (__libc_ifunc_impl_list): Likewise.
13600         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13601         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13602         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13603         multiarch stpcpy for PPC64.
13604
13605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13606         multiarch implementations.
13607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13608         (__libc_ifunc_impl_list): Likewise.
13609         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13610         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13611         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13612         multiarch strcpy for PPC64.
13613
13614         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13615         redefine function name.
13616         (_wordcopy_fwd_dest_aligned): Likewise.
13617         (_wordcopy_bwd_aligned): Likewise.
13618         (_wordcopy_bwd_dest_aligned): Likewise.
13619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13620         multiarch implementations.
13621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13622         (__libc_ifunc_impl_list): Likewise.
13623         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13624         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13625         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13626         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13627         multiarch wcscpy for PPC64.
13628
13629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13630         multiarch implementations.
13631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13632         (__libc_ifunc_impl_list): Likewise.
13633         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13634         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13636         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13637         multiarch wcscpy for PPC64.
13638
13639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13640         multiarch implementations.
13641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13642         (__libc_ifunc_impl_list): Likewise.
13643         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13644         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13645         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13646         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13647         multiarch wcsrchr for PPC64.
13648
13649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13650         multiarch implementations.
13651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13652         (__libc_ifunc_impl_list): Likewise.
13653         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13654         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13655         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13656         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13657         multiarch wcschr for PPC64.
13658
13659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13660         multiarch implementations.
13661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13662         (__libc_ifunc_impl_list): Likewise.
13663         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13664         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13665         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13666         multiarch strchrnul for PPC64.
13667
13668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13669         implementations.
13670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13671         (__libc_ifunc_impl_list): Likewise.
13672         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13673         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13674         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13675         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13676         strchr for PPC64.
13677
13678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13679         implementations.
13680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13681         (__libc_ifunc_impl_list): Likewise.
13682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13683         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13684         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13685         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13686         strncmp for PPC64.
13687
13688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13689         multiarch implementations.
13690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13691         (__libc_ifunc_impl_list): Likewise.
13692         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13693         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13694         strncasecmp for PPC64.
13695         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13696         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13697         multiarch strncasecmp_l for PPC64.
13698
13699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13700         multiarch implementations.
13701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13702         (__libc_ifunc_impl_list): Likewise.
13703         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13705         multiarch strcasecmp for PPC64.
13706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13707         file.
13708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13709         multiarch strcasecmp_l for PPC64.
13710
13711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13712         implementations.
13713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13714         (__libc_ifunc_impl_list): Likewise.
13715         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13716         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13717         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13718         strnlen for PPC64.
13719
13720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13721         implementations.
13722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13723         (__libc_ifunc_impl_list): Likewise.
13724         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13725         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13726         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13727         strlen for PPC64.
13728
13729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13730         implementations.
13731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13732         (__libc_ifunc_impl_list): Likewise.
13733         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13734         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13735         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13736         rawmemrchr for PPC64.
13737
13738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13739         implementation.
13740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13741         (__libc_ifunc_impl_list): Likewise.
13742         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13743         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13744         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13745         memrchr for PPC64.
13746
13747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13748         implementation.
13749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13750         (__libc_ifunc_impl_list): Likewise.
13751         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13752         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13753         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13754         memchr for PPC64.
13755
13756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13757         implementation.
13758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13759         (__libc_ifunc_impl_list): Likewise.
13760         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13761         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13762         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13763         mempcpy for PPC64.
13764
13765         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13766         avoid cretion of __bzero symbol.
13767         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13768         Likewise.
13769         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13770         Likewise.
13771         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13772         Likewise.
13773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13774         multiarch implementations.
13775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13776         (__libc_ifunc_impl_list): Likewise.
13777         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13778         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13779         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13780         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13781         bzero for PPC32.
13782         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13783         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13784         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13785         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13786         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13787         memset for PPC64.
13788         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13789
13790         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13792         implementations.
13793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13794         (__libc_ifunc_impl_list): Likewise.
13795         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13796         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13797         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13798         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13799         memcmp for PPC64.
13800
13801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13802         multiarch for POWER/PPC64.
13803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13804         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13805         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13806         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13808         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13809         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13811         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13812         memcpy for PPC64.
13813
13814         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13815         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13816         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13817         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13818         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13819         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13820         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13821         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13822         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13823         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13824         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13825         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13826         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13827         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13828         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13836
13837 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13838
13839         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13840
13841 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13842
13843         * benchtests/Makefile (bench): Add exp2 and log2.
13844         (LDLIBS-bench-exp2): Add -lm.
13845         (LDLIBS-bench-log2): Likewise.
13846         * benchtests/exp2-inputs: New inputs file.
13847         * benchtests/log2-inputs: New inputs file.
13848         * benchtests/log-inputs: Add new inputs.
13849         * benchtests/tan-inputs: Likewise.
13850
13851 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13852
13853         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13854         definition...
13855         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13856         (csloww2): ... from here.
13857
13858         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13859         instead of structures.
13860         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13861         (POLYNOMIAL): Likewise.
13862         (TAYLOR_SLOW): Likewise.
13863         (__sin): Likewise.
13864         (__cos): Likewise.
13865         (slow1): Likewise.
13866         (slow2): Likewise.
13867         (sloww): Likewise.
13868         (sloww1); Likewise.
13869         (sloww2): Likewise.
13870         (bsloww1): Likewise.
13871         (bsloww2): Likewise.
13872         (cslow2): Likewise.
13873         (csloww): Likewise.
13874         (csloww1): Likewise.
13875         (csloww2): Likewise.
13876
13877 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13878
13879         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13880         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13881         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13882         * malloc/hooks.c (realloc_check): Likewise.
13883
13884         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13885         * malloc/arena.c: Remove PER_THREAD conditional.
13886         [!PER_THREAD]: Remove code.
13887         (ptmalloc_unlock_all2): Likewise.
13888         (ptmalloc_init): Likewise.
13889         (_int_new_arena): Likewise.
13890         (arena_get2): Likewise.
13891         * malloc/hooks.c (__malloc_get_state): Likewise.
13892         (__malloc_set_state): Likewise.
13893         * malloc/malloc.c: Likewise.
13894         (struct malloc_state): Likewise.
13895         (struct malloc_par): Likewise.
13896         (__libc_realloc): Likewise.
13897         (__libc_mallopt): Likewise.
13898
13899 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13900
13901         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13902
13903 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13904
13905         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13906         macro to a function.  Check for zero perturb_byte.
13907         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13908
13909         * malloc/malloc.c: (force_reg): Remove.
13910         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13911         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13912         force_reg by atomic_forced_read.
13913         * malloc/arena.c (ptmalloc_init): Likewise.
13914         * malloc/hooks.c (top_check): Likewise.
13915
13916 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13917
13918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13919
13920 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13921
13922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13923
13924 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13925
13926         * math/auto-libm-test-in: Add tests of lgamma.
13927         * math/auto-libm-test-out: Regenerated.
13928         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13929         (M_LOG_2_SQRT_PIl): Likewise.
13930         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13931         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13932         mpfr_f_f1.
13933         (func_calc_desc): Add mpfr_f_f1 union field.
13934         (ARGS1): New macro.
13935         (ARGS2): Likewise.
13936         (ARGS3): Likewise.
13937         (ARGS4): Likewise.
13938         (RET1): Likewise.
13939         (RET2): Likewise.
13940         (CALC): Likewise.
13941         (FUNC): Likewise.
13942         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13943         (test_functions): Add lgamma.
13944         (calc_generic_results): Handle mpfr_f_f1.
13945         * sysdeps/i386/fpu/libm-test-ulps: Update.
13946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13947
13948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13949
13950         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13951         __mpn_add_n for PowerPC64/POWER7.
13952         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13953         __mpn_sub_n for PowerPC64/POWER7.
13954
13955         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13956         __mpn_addmul_1 for PowerPC64.
13957         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13958         __mpn_submul_1 for PowerPC64.
13959         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13960         for PowerPC64.
13961         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13962         for PowerPC64.
13963
13964 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13965
13966         [BZ #15089]
13967         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13968
13969 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13970
13971         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13972
13973         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13974         add multiarch folders.
13975         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13976         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13977         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13978         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13979         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13980         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13981         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13982         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13983         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13984         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13985         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13992
13993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13994         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13996         New file.
13997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13998         New file.
13999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14000         multiarch __ieee754_hypot for PowerPC32.
14001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14002         New file.
14003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14004         New file.
14005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14006         multiarch __ieee754_hypotf for PowerPC32.
14007
14008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14009         long_double_symbol only if __logbl is defined.
14010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14011         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14013         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14015         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14017         path for implementation.
14018         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14019         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14021         logb, and logbl multiarch implementations for PowerPC32.
14022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14023         file.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14025         file.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14027         multiarch logb for PowerPC32.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14029         file.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14031         file.
14032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14033         multiarch logbf for PowerPC32.
14034         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14036         file.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14038         multiarch logbl implementation for PowerPC32.
14039
14040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14041         and modff multiarch implementations.
14042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14043         New file.
14044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14045         New file.
14046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14047         multiarch modf for PowerPC32.
14048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14049         New file.
14050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14051         New file.
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14053         multiarch modff for PowerPC32.
14054
14055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14056         and lrintf multiarch implementations.
14057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14058         New file.
14059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14060         New file.
14061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14062         multiarch lrint for PowerPC32.
14063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14064         file: multiarch lrintf for PowerPC32.
14065
14066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14067         and lroundf multiarch implementations.
14068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14069         New file.
14070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14071         New file.
14072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14073         New file.
14074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14075         multiarch lround for PowerPC32.
14076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14077         file: multiarch lroundf for PowerPC32.
14078
14079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14080         copysign and copysignf multiarch implementations.
14081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14082         New file.
14083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14084         New file.
14085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14086         file: multiarch copysign for PowerPC32.
14087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14088         file: multiarch copysignf for PowerPC32.
14089
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14091         and truncf multiarch implementations.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14093         New file.
14094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14095         file.
14096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14097         multiarch trunc for PowerPC32.
14098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14099         New file.
14100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14101         New file.
14102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14103         multiarch truncf for PowerPC32.
14104
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14106         and roundf multiarch implementations.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14108         New file.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14110         file.
14111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14112         multiarch round for PowerPC32.
14113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14114         New file.
14115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14116         New file.
14117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14118         multiarch roundf for PowerPC32.
14119
14120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14121         and floorf multiarch implementations.
14122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14123         New file.
14124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14125         file.
14126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14127         multiarch floor for PowerPC32.
14128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14129         New file.
14130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14131         New file.
14132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14133         multiarch floorf for PowerPC32.
14134
14135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14136         and ceilf multiarch implementations.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14138         New file.
14139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14140         file.
14141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14142         multiarch ceil for PowerPC32.
14143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14144         New file.
14145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14146         file.
14147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14148         multiarch ceilf for PowerPC32.
14149
14150         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14151         is defined.
14152         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14153         FINITEF is defined.
14154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14155         and finitef multiarch implementations.
14156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14157         New file.
14158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14159         file.
14160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14161         multiarch finite for PowerPC32.
14162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14163         New file.
14164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14165         file: multiarch finitef for PowerPC32.
14166
14167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14168         and isinff multiarch implementations.
14169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14170         file.
14171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14172         file.
14173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14174         multiarch isinf for PowerPC32.
14175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14176         New file.
14177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14178         multiarch isinff for PowerPC32.
14179
14180         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14181         alias when __isnan is defined.
14182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14183         and isnanf multiarch implementations.
14184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14185         file.
14186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14187         file.
14188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14189         file.
14190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14191         file.
14192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14193         multiarch isnan for PowerPC32.
14194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14195         New file.
14196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14197         New file.
14198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14199         multiarch isnanf for PowerPC32.
14200
14201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14202         and sqrtf multiarch implementations.
14203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14204         file.
14205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14206         file.
14207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14208         multiarch sqrt for PowerPC32.
14209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14210         file.
14211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14212         file.
14213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14214         multiarch sqrtf for PowerPC32.
14215
14216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14217         and llroundf multiarch implementations.
14218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14219         New file.
14220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14221         New file.
14222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14223         New file.
14224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14225         file: multiarch llround for PowerPC32.
14226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14227         file: multiarch llroundf for PowerPC32.
14228
14229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14230         multiarch PowerPC32 fpu implementations.
14231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14232         New file.
14233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14234         New file.
14235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14236         multiarch llrint for PowerPC32.
14237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14238         New file.
14239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14240         New file.
14241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14242         file.
14243
14244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14245
14246         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14247         file.
14248         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14249         file.
14250         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14251         file.
14252         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14253         multiarch wordcopy for PPC32.
14254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14255         wordcopy objects.
14256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14257         (__libc_ifunc_impl_list): Likewise.
14258         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14259         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14260         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14261         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14262         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14263         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14264
14265         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14267         file.
14268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14269         file.
14270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14271         file.
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14273         multiarch wcscpy for PPC32.
14274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14275         multiarch objects.
14276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14277         (__libc_ifunc_impl_list): Likewise.
14278         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14279         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14280         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14281         sysdeps/powerpc/power6/wcscpy.c.
14282
14283         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14285         file.
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14287         file.
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14289         file.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14291         multiarch wcsrchr for PPC32.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14293         multiarch objects.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14295         (__libc_ifunc_impl_list): Likewise.
14296         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14297         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14298         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14299         sysdeps/powerpc/power6/wcsrchr.c.
14300
14301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14302         file.
14303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14304         file.
14305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14307         multiarch wcschr for PPc32.
14308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14309         multiarch objects.
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14311         (__libc_ifunc_impl_list): Likewise.
14312         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14313         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14314         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14315         sysdeps/powerpc/power6/wcschr.c.
14316
14317         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14318         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14319         file.
14320         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14321         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14322         file: multiarch strchr for PPC32.
14323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14324         multiarch objects.
14325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14326         (__libc_ifunc_impl_list): Likewise.
14327
14328         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14329         name.
14330         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14331         file.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14333         file.
14334         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14335         multiarch strchrnul for PPC32.
14336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14337         multiarch objects.
14338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14339         (__libc_ifunc_impl_list): Likewise.
14340
14341         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14342         file.
14343         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14344         multiarch strncasecmp for PPC32.
14345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14346         file.
14347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14348         multiarch strncasecmp_l for PPC32.
14349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14350         strncasecmp multiarch objects.
14351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14352         (__libc_ifunc_impl_list): Likewise.
14353
14354         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14355         file.
14356         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14357         multiarch strncasecmp for PPC32.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14359         New file.
14360         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14361         multiarch strcasecmp_l for PPC32.
14362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14363         multiarch objects.
14364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14365         (__libc_ifunc_impl_list): Likewise.
14366
14367         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14368         file.
14369         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14370         file.
14371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14372         multiarch strncmp for PPC32.
14373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14374         multiarch objects.
14375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14376         (__libc_ifunc_impl_list): Likewise.
14377
14378         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14379         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14380         file.
14381         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14382         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14384         multiarch objects.
14385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14386         (__libc_ifunc_impl_list): Likewise.
14387
14388         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14389         file.
14390         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14391         file.
14392         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14394         multiarch objects.
14395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14396         (__libc_ifunc_impl_list): Likewise.
14397
14398         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14399         file.
14400         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14401         file.
14402         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14403         multiarch rawmemchr for PPC32.
14404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14405         multiarch objects.
14406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14407         (__libc_ifunc_impl_list): Likewise.
14408
14409         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14410         file.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14412         file.
14413         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14414         file: memrchr multiarch for PPC32.
14415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14416         multiarch objects.
14417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14418         (__libc_ifunc_impl_list): Likewise.
14419
14420         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14421         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14422         file.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14424         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14425         multiarch memchr for PPC32.
14426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14427         multiarch objects.
14428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14429         (__libc_ifunc_impl_list): Likewise.
14430
14431         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14432         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14433         file.
14434         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14435         file.
14436         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14437         file: multiarch mempcpy for PPC32.
14438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14439         multiarch objects.
14440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14441         (__libc_ifunc_impl_list): Likewise.
14442
14443         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14444         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14445         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14446         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14447         multiarch bzero for PPC32.
14448         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14449         file.
14450         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14451         file.
14452         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14453         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14454         file: multiarch memset for PPC32.
14455         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14457         memset multiarch objects.
14458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14459         (__libc_ifunc_impl_list): Likewise.
14460
14461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14462         file.
14463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14465         memcmp for PPC32.
14466         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14468         multiarch objects.
14469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14470         (__libc_ifunc_impl_list): Likewise.
14471
14472         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14474         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14475         file.
14476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14477         file.
14478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14479         file.
14480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14481         multiarch memcpy for PPC32.
14482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14483         multiarch objects.
14484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14485         (__libc_ifunc_impl_list): Likewise.
14486
14487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14488         support multiarch for POWER/PPC32.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14490         Likewise.
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14493         Implies file to make multiarch folder appers before the fpu and
14494         default folder for power4 configuration.
14495
14496 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497
14498         * scripts/bench.pl: Append volatile keyword to type.
14499
14500 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14501
14502         * sysdeps/sh/sotruss-lib.c: New file.
14503         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14504
14505 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14506
14507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14508
14509 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14510
14511         [BZ #6810]
14512         * math/w_tgamma.c: Include <errno.h>.
14513         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14514         * math/w_tgammaf.c: Include <errno.h>.
14515         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14516         * math/w_tgammal.c: Include <errno.h>.
14517         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14518         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14519         underflow.  Add more tgamma tests.
14520         * math/auto-libm-test-out: Regenerated.
14521         * sysdeps/i386/fpu/libm-test-ulps: Update.
14522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523
14524         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14525         sin, sinh, tan, tanh, tgamma, y0 and y1.
14526         * math/auto-libm-test-out: Regenerated.
14527         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14528         (TEST_COND_x86): Likewise.
14529         (M_E2l): Remove macro.
14530         (M_E3l): Likewise.
14531         (M_2_SQRT_PIl): Likewise.
14532         (M_SQRT_PIl): Likewise.
14533         (M_1_DIV_El): Likewise.
14534         (log_test_data): Use AUTO_TESTS_f_f.
14535         (log10_test_data): Likewise.
14536         (log1p_test_data): Likewise.
14537         (log2_test_data): Likewise.
14538         (sin_test_data): Likewise.
14539         (sin_tonearest_test_data): Likewise.
14540         (sin_towardzero_test_data): Likewise.
14541         (sin_downward_test_data): Likewise.
14542         (sin_upward_test_data): Likewise.
14543         (sinh_test_data): Likewise.
14544         (sinh_tonearest_test_data): Likewise.
14545         (sinh_towardzero_test_data): Likewise.
14546         (sinh_downward_test_data): Likewise.
14547         (sinh_upward_test_data): Likewise.
14548         (tan_test_data): Likewise.
14549         (tan_tonearest_test_data): Likewise.
14550         (tan_towardzero_test_data): Likewise.
14551         (tan_downward_test_data): Likewise.
14552         (tan_upward_test_data): Likewise.
14553         (tanh_test_data): Likewise.
14554         (tgamma_test_data): Likewise.
14555         (y0_test_data): Likewise.
14556         (y1_test_data): Likewise.
14557         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14558         (special_real_inputs): Add pi/4.
14559         * sysdeps/i386/fpu/libm-test-ulps: Update.
14560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
14562 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14563
14564         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14565         "longjmp_target" static probes.
14566         (__longjmp): Rename to __longjmp_symbol.
14567         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14568         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14569         on which longjmp to generate.
14570         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14571         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14572         probe.
14573         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14574         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14575         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14576         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14577         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14578         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14580         __longjmp_symbol based on which __longjmp to generate.
14581         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14582         probe.
14583         (setjmp): Rename to setjmp_symbol.
14584         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14585         (_setjmp): Rename to _setjmp_symbol.
14586         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14587         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14588         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14589         which setjmp to generate.
14590         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14591         "longjmp_target" static probes.
14592
14593 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14594
14595         * benchtests/README: Add note about output arguments.
14596         * benchtests/bench-sincos.c: Remove file.
14597         * benchtests/sincos-inputs: New file.
14598         * scripts/bench.pl: Identify output arguments and define
14599         static variables for them.
14600
14601         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14602
14603         [BZ #15941]
14604         * Makefile (INSTALL): Add install-plain.texi as the primary
14605         dependency.
14606         * manual/install-plain.texi: New file.
14607         * manual/install.texi: Include node directive only for
14608         non-plaintext output.
14609
14610 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14611
14612         * stdlib/longlong.h: Update from GCC.
14613
14614         [BZ #6807]
14615         [BZ #15901]
14616         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14617         * math/w_j0f.c (y0f): Likewise.
14618         * math/w_j0l.c (__y0l): Likewise.
14619         * math/w_j1.c (y1): Likewise.
14620         * math/w_j1f.c (y1f): Likewise.
14621         * math/w_j1l.c (__y1l): Likewise
14622         * math/w_jn.c (yn): Likewise.
14623         * math/w_jnf.c (ynf): Likewise.
14624         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14625         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14626         value for Bessel function domain errors outside _SVID_ mode.
14627         Adjust sign of return value for yn (negative integer, 0).
14628         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14629         by zero in return for negative x and set sign appropriately for
14630         negative n.
14631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14633         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14634         expectations in error cases.
14635         (y1_test_data): Likewise.
14636         (yn_test_data): Likewise.
14637         * sysdeps/i386/fpu/libm-test-ulps: Update.
14638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14639
14640 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14641
14642         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14643         "64" to "64-v1".  Add "64-v2".
14644         (abi-64-options): Rename to ...
14645         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14646         (abi-64-condition): Rename to ...
14647         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14648         (abi-64-ld-soname): Rename to ...
14649         (abi-64-v1-ld-soname): ... this.
14650         (abi-64-v2-options): Define.
14651         (abi-64-v2-condition): Likewise.
14652         (abi-64-v2-ld-soname): Likewise.
14653         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14654         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14658
14659 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14660             Alan Modra  <amodra@gmail.com>
14661
14662         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14663         New versions for use with the ELFv2 ABI.
14664         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14665         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14666         declaration.
14667         (struct La_ppc64v2_retval): Likewise.
14668         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14669         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14670         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14671         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14672         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14674         Do not save or restore CR.
14675         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14676         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14677         return values for ELFv2 ABI.  Fix location of FPR return registers.
14678         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14679         updated values for _CALL_ELF == 2.
14680         (La_regs, La_retval, int_retval): Likewise.
14681
14682 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14683
14684         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14685         (FRAME_MIN_SIZE_PARM): Likewise.
14686         (FRAME_BACKCHAIN): Likewise.
14687         (FRAME_CR_SAVE): Likewise.
14688         (FRAME_LR_SAVE): Likewise.
14689         (FRAME_TOC_SAVE): Likewise.
14690         (FRAME_PARM_SAVE): Likewise.
14691         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14692         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14693         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14694         (call_mcount_parm_offset): New macro.
14695         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14696         (PROF): Use symbolic stack frame offsets.
14697         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14698         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14699         Redefine in terms of FRAME_MIN_SIZE.
14700         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14701         (_dl_profile_resolve): Likewise.  Update comment.
14702         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14703         symbols stack frame offsets.
14704         (__sigsetjmp): Likewise.
14705         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14706         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14707         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14708         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14709
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14711         (FRAME_BACKCHAIN): Remove.
14712         (FRAME_CR_SAVE): Likewise.
14713         (FRAME_LR_SAVE): Likewise.
14714         (FRAME_COMPILER_DW): Likewise.
14715         (FRAME_LINKER_DW): Likewise.
14716         (FRAME_TOC_SAVE): Likewise.
14717         (FRAME_PARM_SAVE): Likewise.
14718         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14719         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14720         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14722         (CHECK_SP): Use symbolic stack frame offsets.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14724         zone" instead of caller's parameter save area for temp storage.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14726         Likewise.  Also, use symbolic stack frame offsets.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14728         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14729         our own stack frame instead of the caller's.
14730         (__socket): Use symbolic stack frame offsets.
14731
14732 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14733             Alan Modra  <amodra@gmail.com>
14734
14735         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14736         Define.
14737         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14738         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14739         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14740         New function.
14741         (elf_machine_fixup_plt): Call it.
14742         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14743         reloc arguments.
14744         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14746         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14747         r2 before calling target.
14748
14749 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14750             Alan Modra  <amodra@gmail.com>
14751
14752         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14753         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14754         versions of macros to support ELFv2 ABI.
14755         (LOCALENTRY): New macro.
14756         (ENTRY, EALIGN): Use it.
14757         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14758         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14759         fall through into ENTRY entry point.
14760         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14761         Only define if _CALL_ELF != 2.
14762
14763         (elf_machine_matches_host): Verify ABI version matches.
14764         (RTLD_START): Use LOCALENTRY.
14765         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14766         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14767         (PLT_ENTRY_WORDS): New macro.
14768         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14769         (elf_machine_runtime_setup): Support ELFv2 ABI.
14770         (elf_machine_fixup_plt): Likewise.
14771         (elf_machine_plt_conflict): Likewise.
14772         (resolve_ifunc): Likewise.
14773         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14775         Likewise.
14776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14777         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14779         (makecontext): Support ELFv2 ABI.
14780         * elf/elf.h (EF_PPC64_ABI): Define.
14781
14782 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14783
14784         * sysdeps/powerpc/powerpc64/sysdep.h
14785         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14786         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14787         (ENTRY) [ASSEMBLER]: ... but instead here ...
14788         (EALIGN) [ASSEMBLER]: ... and here.
14789         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14790         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14791         (ENTRY_2) [!ASSEMBLER]: Use it.
14792         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14793         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14795         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14796         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14798         Use PPC64_LOAD_FUNCPTR.
14799
14800         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14801
14802 2013-12-04  Alan Modra  <amodra@gmail.com>
14803
14804         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14805         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14806         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14807         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14808
14809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14810         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14811         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14812         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14813         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14814         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14815
14816 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14817
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14819         (__makecontext): Fix incorrect CFI when backtracing out of
14820         context created via makecontext.
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14822         (__setcontext): Fix incorrect CFI during switch to new context.
14823         (__novec_setcontext): Likewise.
14824
14825 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14826
14827         [BZ #4772]
14828         * time/strptime_l.c (__strptime_internal): Allow modifiers
14829         in strptime.
14830         * time/tst-strptime.c (day_tests): Add testcase.
14831
14832 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833
14834         * scripts/bench.pl: Skip over blank lines.
14835
14836 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14837
14838         [BZ #926]
14839         * manual/time.texi (Calendar Time): Clarify what timezone functions
14840         use.
14841
14842 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14843
14844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14845
14846 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14847
14848         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14849         implementation.
14850         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14851         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14852         * debug/memset_chk.c (__memset_chk): Likewise.
14853         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14854         * debug/strncpy_chk.c: Likewise.
14855
14856 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14857
14858         [BZ #15268]
14859         [BZ #15425]
14860         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14861         (__ieee754_exp): For possibly underflowing results, check size of
14862         result and force underflow exception if required.
14863         * math/auto-libm-test-in: Add more tests of exp.
14864         * math/auto-libm-test-out: Regenerated.
14865         * sysdeps/i386/fpu/libm-test-ulps: Update.
14866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14867
14868         [BZ #16283]
14869         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14870         * math/w_exp2f.c (__exp2f): Likewise.
14871         * math/w_exp2l.c (__exp2l): Likewise.
14872         * math/auto-libm-test-in: Do not allow missing errno on exp2
14873         underflow.
14874         * math/auto-libm-test-out: Regenerated.
14875
14876 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14877
14878         [BZ #16274]
14879         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14880         handle filename validation.
14881         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14882         (do_open): Delete.
14883
14884 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14885
14886         [BZ #6786]
14887         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14888         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14889         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14890         <float.h>.
14891         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14892         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14893         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14895         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14896         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14897         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14898         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14899         Add more erfc tests.
14900         * math/auto-libm-test-out: Regenerated.
14901         * sysdeps/i386/fpu/libm-test-ulps: Update.
14902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14903
14904         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14905         exp2, expm1, j0 and j1.
14906         * math/auto-libm-test-out: Regenerated.
14907         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14908         (erfc_test_data): Likewise.
14909         (exp_test_data): Likewise.
14910         (exp_tonearest_test_data): Likewise.
14911         (exp_towardzero_test_data): Likewise.
14912         (exp_downward_test_data): Likewise.
14913         (exp_upward_test_data): Likewise.
14914         (exp10_test_data): Likewise.
14915         (exp2_test_data): Likewise.
14916         (expm1_test_data): Likewise.
14917         (j0_test_data): Likewise.
14918         (j1_test_data): Likewise.
14919         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14920         (input_flag_type): Add flag_xfail_rounding.
14921         (input_flags): Add xfail-rounding.
14922         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14923         (output_for_one_input_case): Handle flag_xfail_rounding.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update.
14925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14926
14927 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14928
14929         [BZ #16289]
14930         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14931         division by 0.
14932
14933 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14934
14935         [BZ #16195]
14936         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14937         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14938         (STAP_PROBE0): New macro.
14939         (STAP_PROBE1): Likewise.
14940         (STAP_PROBE2): Likewise.
14941         (STAP_PROBE3): Likewise.
14942         (STAP_PROBE4): Likewise.
14943
14944 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14945
14946         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14947
14948 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14949
14950         * benchtests/Makefile (bench): Add sqrt.
14951         (LDLIBS-bench-sqrt): New.
14952         * benchtests/sqrt-input: New.
14953
14954 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14955
14956         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14957         (GAIH_EAI): Likewise.
14958         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14959         (gaih_inet): Likewise.
14960         (getaddrinfo): Don't use GAIH_EAI.
14961
14962         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14963         (struct gaih): Remove definition.
14964
14965 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14966
14967         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14968         Use HERRNOP directly.
14969
14970 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14971
14972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14973
14974 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14975
14976         * math/gen-auto-libm-tests.c (test_functions): Add more
14977         single-argument functions.
14978         (special_fill_pi_2): New function.
14979         (special_fill_minus_pi_2): Likewise.
14980         (special_fill_pi_6): Likewise.
14981         (special_fill_minus_pi_6): Likewise.
14982         (special_fill_pi_3): Likewise.
14983         (special_fill_2pi_3): Likewise.
14984         (special_fill_e): Likewise.
14985         (special_fill_1_e): Likewise.
14986         (special_fill_e_minus_1): Likewise.
14987         (special_real_inputs): Add more special inputs.
14988         (output_for_one_input_case): Do not require ERANGE on underflow to
14989         zero if round-to-nearest result does not underflow to zero, unless
14990         exact results required.
14991         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14992         atan, atanh, cbrt, cos and cosh.
14993         * math/auto-libm-test-out: Regenerated.
14994         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14995         (acos_tonearest_test_data): Likewise.
14996         (acos_towardzero_test_data): Likewise.
14997         (acos_downward_test_data): Likewise.
14998         (acos_upward_test_data): Likewise.
14999         (acosh_test_data): Likewise.
15000         (asin_test_data): Likewise.
15001         (asin_tonearest_test_data): Likewise.
15002         (asin_towardzero_test_data): Likewise.
15003         (asin_upward_test_data): Likewise.
15004         (asinh_test_data): Likewise.
15005         (atan_test_data): Likewise.
15006         (atanh_test_data): Likewise.
15007         (cbrt_test_data): Likewise.
15008         (cos_test_data): Likewise.
15009         (cos_tonearest_test_data): Likewise.
15010         (cos_towardzero_test_data): Likewise.
15011         (cos_downward_test_data): Likewise.
15012         (cos_upward_test_data): Likewise.
15013         (cosh_test_data): Likewise.
15014         (cosh_tonearest_test_data): Likewise.
15015         (cosh_towardzero_test_data): Likewise.
15016         (cosh_downward_test_data): Likewise.
15017         (cosh_upward_test_data): Likewise.
15018         * sysdeps/i386/fpu/libm-test-ulps: Update.
15019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15020
15021 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15022
15023         [BZ #6787]
15024         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15025         * math/w_exp10f.c (__exp10f): Likewise.
15026         * math/w_exp10l.c (__exp10l): Likewise.
15027         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15028         errno settings in existing tests.
15029
15030         [BZ #14032]
15031         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15032         precision control set to double precision.
15033         * sysdeps/i386/fpu/w_sqrt.c: New file.
15034         * math/auto-libm-test-in: Add more tests.
15035         * math/auto-libm-test-out: Update.
15036
15037         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15038         (sqrt_test_tonearest): New function.
15039         (sqrt_towardzero_test_data): New variable.
15040         (sqrt_test_towardzero): New function.
15041         (sqrt_downward_test_data): New variable.
15042         (sqrt_test_downward): New function.
15043         (sqrt_upward_test_data): New variable.
15044         (sqrt_test_upward): New function.
15045         (main): Call the new functions.
15046
15047         * math/gen-auto-libm-tests.c: New file.
15048         * math/auto-libm-test-in: Likewise.
15049         * math/auto-libm-test-out: New generated file.
15050         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15051         variables.
15052         (%beautify): Add generated representations of zero.
15053         (top level): Set $auto_input and call parse_auto_input.
15054         (beautify): Remove trailing "f" from hex float constants.
15055         (parse_args): Handle XFAIL_TEST.
15056         (convert_condition): New function.
15057         (or_value): Likewise.
15058         (or_cond_value): Likewise.
15059         (generate_testfile): Handle AUTO_TESTS_* lines.
15060         (parse_auto_input): New function.
15061         * math/libm-test.inc (XFAIL_TEST): New macro.
15062         (ERRNO_UNCHANGED): Update value.
15063         (ERRNO_EDOM): Likewise.
15064         (ERRNO_ERANGE): Likewise.
15065         (IGNORE_RESULT): Likewise.
15066         (TEST_COND_flt_32): New macro.
15067         (TEST_COND_dbl_64): Likewise.
15068         (TEST_COND_ldbl_96_intel): Likewise.
15069         (TEST_COND_ldbl_96_m68k): Likewise.
15070         (TEST_COND_ldbl_128): Likewise.
15071         (TEST_COND_ldbl_128ibm): Likewise.
15072         (TEST_COND_long32): Likewise.
15073         (TEST_COND_long64): Likewise.
15074         (TEST_COND_before_rounding): Likewise.
15075         (TEST_COND_after_rounding): Likewise.
15076         (enable_test): Handle XFAIL_TEST flag.
15077         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15078         with finite results.
15079         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15080         auto-libm-test-out.
15081
15082 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15083             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15084
15085         [BZ #16214]
15086         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15087         __tls_get_addr_internal instead of __tls_get_offset in order to
15088         avoid GOT pointer dependency.  Make rtld export
15089         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15090         __tls_get_addr since we are a __tls_get_offset platform.
15091         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15092         GOT pointer being set up before.
15093         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15094
15095 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15096
15097         * manual/math.texi (Errors in Math Functions): Document accuracy
15098         goals.
15099
15100         [BZ #15004]
15101         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15102         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15103         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15104         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15105         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15106         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15107         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15108         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15109         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15110         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15111         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15112         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15113         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15114         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15115         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15116         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15117
15118         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15119         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15120         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15121         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15122         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15123         Likewise.
15124         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15125         Likewise.
15126         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15127         Likewise.
15128         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15129         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15130         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15131         atomic-feupdateenv and flt-rounds.
15132         * sysdeps/powerpc/nofpu/Versions (libc): Add
15133         __atomic_feholdexcept, __atomic_feclearexcept,
15134         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15135         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15136         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15137         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15138         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15139         here.
15140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15141         Update.
15142
15143         * manual/arith.texi (FP Exceptions): Document that exceptions may
15144         not be raised when matherr is used.
15145         (Math Error Reporting): Document overflow in directed rounding
15146         modes.  Document that errno may not be set when finite values are
15147         returned on overflow.  Document intent to set errno on underflow
15148         only for underflow to zero.
15149
15150         [BZ #16271]
15151         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15152         round-to-nearest then adjust result for other rounding modes.
15153         * include/fenv.h (fegetround): Use libm_hidden_proto.
15154         * math/fegetround.c (fegetround): Use libm_hidden_def.
15155         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15156         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15157         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15159         Likewise.
15160         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15161         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15162         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15163         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15164
15165 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15166
15167         [BZ #16077]
15168         * nss/Versions (libnss_files): Add
15169         _nss_files_gethostbyname3_r.
15170         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15171         New function.
15172         (HOST_DB_LOOKUP): Remove macro.
15173         (_nss_files_gethostbyname_r): Implement function without the
15174         HOST_DB_LOOKUP macro.
15175         (_nss_files_gethostbyname2_r): Likewise.
15176
15177 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15178
15179         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15180
15181 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15182
15183         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15184         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15185         warning.
15186
15187 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15188
15189         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15190         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15191         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15192         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15193         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15194         __fe_nomask_env_priv and attribute_hidden.
15195         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15196         (libc_feupdateenv_test_ppc): Likewise.
15197         (libc_feresetround_ppc): Likewise.
15198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15199         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15200         compat_symbol macro.
15201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15202         (__fe_nomask_env): Likewise.
15203         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15204
15205 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15206
15207         * string/Makefile: Remove ifunc tests.
15208         * string/test-string.h: Define TEST_IFUNC.
15209         * string/test-bcopy-ifunc.c: Remove.
15210         * string/test-bzero-ifunc.c: Likewise.
15211         * string/test-memccpy-ifunc.c: Likewise.
15212         * string/test-memchr-ifunc.c: Likewise.
15213         * string/test-memcmp-ifunc.c: Likewise.
15214         * string/test-memcpy-ifunc.c: Likewise.
15215         * string/test-memmem-ifunc.c: Likewise.
15216         * string/test-memmove-ifunc.c: Likewise.
15217         * string/test-mempcpy-ifunc.c: Likewise.
15218         * string/test-memrchr-ifunc.c: Likewise.
15219         * string/test-memset-ifunc.c: Likewise.
15220         * string/test-rawmemchr-ifunc.c: Likewise.
15221         * string/test-stpcpy-ifunc.c: Likewise.
15222         * string/test-stpncpy-ifunc.c: Likewise.
15223         * string/test-strcasecmp-ifunc.c: Likewise.
15224         * string/test-strcasestr-ifunc.c: Likewise.
15225         * string/test-strcat-ifunc.c: Likewise.
15226         * string/test-strchr-ifunc.c: Likewise.
15227         * string/test-strchrnul-ifunc.c: Likewise.
15228         * string/test-strcmp-ifunc.c: Likewise.
15229         * string/test-strcpy-ifunc.c: Likewise.
15230         * string/test-strcspn-ifunc.c: Likewise.
15231         * string/test-strlen-ifunc.c: Likewise.
15232         * string/test-strncasecmp-ifunc.c: Likewise.
15233         * string/test-strncat-ifunc.c: Likewise.
15234         * string/test-strncmp-ifunc.c: Likewise.
15235         * string/test-strncpy-ifunc.c: Likewise.
15236         * string/test-strnlen-ifunc.c: Likewise.
15237         * string/test-strpbrk-ifunc.c: Likewise.
15238         * string/test-strrchr-ifunc.c: Likewise.
15239         * string/test-strspn-ifunc.c: Likewise.
15240         * string/test-strstr-ifunc.c: Likewise.
15241
15242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15243
15244         * benchtests/Makefile: Remove ifunc tests.
15245         * benchtests/bench-string.h: Define TEST_IFUNC.
15246         * benchtests/bench-bcopy-ifunc.c: Remove.
15247         * benchtests/bench-bzero-ifunc.c: Likewise.
15248         * benchtests/bench-memccpy-ifunc.c: Likewise.
15249         * benchtests/bench-memchr-ifunc.c: Likewise.
15250         * benchtests/bench-memcmp-ifunc.c: Likewise.
15251         * benchtests/bench-memcpy-ifunc.c: Likewise.
15252         * benchtests/bench-memmem-ifunc.c: Likewise.
15253         * benchtests/bench-memmove-ifunc.c: Likewise.
15254         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15255         * benchtests/bench-memrchr-ifunc.c: Likewise.
15256         * benchtests/bench-memset-ifunc.c: Likewise.
15257         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15258         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15259         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15260         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15261         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15262         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15263         * benchtests/bench-strcat-ifunc.c: Likewise.
15264         * benchtests/bench-strchr-ifunc.c: Likewise.
15265         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15266         * benchtests/bench-strcmp-ifunc.c: Likewise.
15267         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15268         * benchtests/bench-strcpy-ifunc.c: Likewise.
15269         * benchtests/bench-strcspn-ifunc.c: Likewise.
15270         * benchtests/bench-strlen-ifunc.c: Likewise.
15271         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15272         * benchtests/bench-strncat-ifunc.c: Likewise.
15273         * benchtests/bench-strncmp-ifunc.c: Likewise.
15274         * benchtests/bench-strncpy-ifunc.c: Likewise.
15275         * benchtests/bench-strnlen-ifunc.c: Likewise.
15276         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15277         * benchtests/bench-strrchr-ifunc.c: Likewise.
15278         * benchtests/bench-strsep-ifunc.c: Likewise.
15279         * benchtests/bench-strspn-ifunc.c: Likewise.
15280         * benchtests/bench-strstr-ifunc.c: Likewise.
15281
15282 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15283
15284         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15285
15286 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15287
15288         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15289         * rt/aio.h: Likewise.
15290         * sysdeps/gnu/bits/utmp.h: Likewise.
15291         * sysdeps/gnu/bits/utmpx.h: Likewise.
15292         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15293         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15294         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15295         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15296         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15297         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15298         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15299         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15300         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15301         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15302         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15303         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15304         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15306         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15307         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15308         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15309         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15310         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15311         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15312         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15313         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15314         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15315         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15316         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15318         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15319         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15320         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15321         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15322         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15323         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15324         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15325         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15326         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15327         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15328         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15329         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15330         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15331         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15332         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15333         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15334
15335 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15336
15337         [BZ #16245]
15338         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15339         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15340
15341 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15342
15343         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15344         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15345         Likewise.
15346
15347 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15348
15349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15350         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15351         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15352         (__fesetround): Remove define.
15353         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15354         rounding and exceptions handling.
15355         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15356         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15357         (__fe_nomask_env): Likewise.
15358         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15359         __fegetround instead of fegetround.
15360         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15362
15363 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15364
15365         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15366         it's there.
15367
15368         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15369
15370 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15371
15372         [BZ #11157]
15373         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15374         (encrypt_r): Likewise.
15375         * malloc/obstack.h (obstack_free): Likewise.
15376         * posix/unistd.h (encrypt): Likewise.
15377
15378 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15379
15380         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15381         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15382         DL_CALL_DT_FINI() that call the functions directly.
15383         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15384         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15385         * elf/dl-fini.c: Likewise.
15386
15387 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15388
15389         * malloc/hooks.c (memalign_check): Add alignment rounding.
15390         * malloc/malloc.c (_mid_memalign): New function.
15391         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15392         Implement by calling _mid_memalign.
15393         * manual/probes.texi (Memory Allocation Probes): Remove
15394         memory_valloc_retry and memory_pvalloc_retry.
15395
15396 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397
15398         * locale/programs/locarchive.c (open_archive): Add const
15399         qualifier to ARCHIVEFNAME and copy default fname to
15400         DEFAULT_FNAME.
15401
15402         [BZ #15601]
15403         * libio/tst-widetext.input: Rename Oriya to Odia.
15404         * locale/iso-639.def: Likewise.
15405
15406         * manual/probes.texi (Mathematical Function Probes): Add
15407         documentation for sin, cos, asin and acos probes.
15408         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15409         (__sin32): Add slowasin probe.
15410         (__cos32): Add slowacos probe.
15411         (__mpsin): Add slowsin probe.
15412         (__mpcos): Add slowcos probe.
15413
15414 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15415
15416         [BZ #15483]
15417         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15418         thread-local __sim_exceptions_thread and global
15419         __sim_exceptions_global.
15420         (__sim_disabled_exceptions): Change to thread-local
15421         __sim_disabled_exceptions_thread and global
15422         __sim_disabled_exceptions_global.
15423         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15424         and global __sim_round_mode_global.
15425         (__simulate_exceptions): Use thread-local floating-point state and
15426         set global state from it as needed.
15427         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15428         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15429         __sim_round_mode_thread.
15430         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15431         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15432         and global __sim_exceptions_global.
15433         (__sim_disabled_exceptions): Change to thread-local
15434         __sim_disabled_exceptions_thread and global
15435         __sim_disabled_exceptions_global.
15436         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15437         and global __sim_round_mode_global.
15438         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15439         (SIM_SET_GLOBAL): Likewise.
15440         * sysdeps/powerpc/soft-fp/sfp-machine.h
15441         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15442         __sim_round_mode_thread.
15443         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15444         __sim_disabled_exceptions_thread.
15445         (__sim_exceptions): Change to __sim_exceptions_thread.
15446         (__sim_disabled_exceptions): Change to
15447         __sim_disabled_exceptions_thread.
15448         (__sim_round_mode): Change to __sim_round_mode_thread.
15449         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15450         thread-local floating-point state and set global state from it as
15451         needed.
15452         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15453         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15454         (__sim_disabled_exceptions): Remove extern declaration.
15455         (feenableexcept): Use thread-local floating-point state and set
15456         global state from it as needed.
15457         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15458         extern declaration.
15459         (__sim_disabled_exceptions): Likewise.
15460         (__sim_round_mode): Likewise.
15461         (__fegetenv): Use thread-local floating-point state.
15462         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15464         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15465         floating-point state and set global state from it as needed.
15466         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15467         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15468         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15469         Likewise.
15470         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15471         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15472         Likewise.
15473         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15474         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15475         Use __sim_round_mode_thread.
15476         * math/test-fenv-tls.c: New file.
15477         * math/Makefile (tests): Add test-fenv-tls.
15478         ($(objpfx)test-fenv-tls): Depend on
15479         $(common-objpfx)nptl/libpthread.so.
15480
15481 2013-11-19  Andreas Schwab  <schwab@suse.de>
15482
15483         * locale/programs/locale.c (show_info): Decode wordarray elements.
15484         * locale/categories.def (LC_MONETARY): Add element for
15485         _NL_MONETARY_CRNCYSTR.
15486         * locale/C-monetary.c (conversion_rate): New variable.
15487         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15488         element.
15489
15490 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15491
15492         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15493         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15494
15495 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15496
15497         * elf/Makefile (tst-auxv): New test.
15498         * elf/tst-auxv.c: New
15499         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15500
15501 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15502
15503         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15504         (hidden_proto): Caller changed.
15505         (hidden_tls_proto): New macro.
15506         (libc_hidden_tls_proto): Likewise.
15507         (rtld_hidden_tls_proto): Likewise.
15508         (libm_hidden_tls_proto): Likewise.
15509         (libresolv_hidden_tls_proto): Likewise.
15510         (librt_hidden_tls_proto): Likewise.
15511         (libdl_hidden_tls_proto): Likewise.
15512         (libnss_files_hidden_tls_proto): Likewise.
15513         (libnsl_hidden_tls_proto): Likewise.
15514         (libnss_nisplus_hidden_tls_proto): Likewise.
15515         (libutil_hidden_tls_proto): Likewise.
15516
15517 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15518
15519         [BZ #10253]
15520         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15521         (decompose_rpath): Defer expansion to fillin_rpath.
15522         (_dl_init_paths): Pass linkmap to fillin_rpath.
15523
15524 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15525
15526         * benchtests/Makefile: Add strsep.
15527         * benchtests/bench-strsep.c: New file: strsep benchtest.
15528         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15529
15530 2013-11-18  Andreas Schwab  <schwab@suse.de>
15531
15532         * locale/programs/locale.c (show_info) [case byte]: Check for
15533         '\377' instead of '\177'.
15534         * locale/C-monetary.c (not_available): Always use "\377".
15535         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15536         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15537         detect unavailable sign_posn locale elements.
15538         * locale/localeconv.c (__localeconv): For grouping and
15539         mon_grouping handle "\177" and "\377" like no grouping.
15540         (INT_ELEM): New macro.  Use it to set all numeric members.
15541         * locale/programs/ld-monetary.c (monetary_read)
15542         <tok_mon_grouping>: Normalize single -1 to the empty string.
15543         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15544         Likewise.
15545
15546 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15547
15548         [BZ #16055]
15549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15550         when we match (nil).
15551         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15552
15553 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15554
15555         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15556         (NO_TEST_INLINE): Update value.
15557         (ERRNO_UNCHANGED): Likewise.
15558         (ERRNO_EDOM): Likewise.
15559         (ERRNO_ERANGE): Likewise.
15560         (IGNORE_RESULT): Likewise.
15561         (check_float_internal): Check signs of NaN results if
15562         TEST_NAN_SIGN used.
15563         (check_complex): Pass TEST_NAN_SIGN flag through to second
15564         check_float_internal call.
15565         (copysign_test_data): Add tests with quiet NaNs as second
15566         argument.  Use TEST_NAN_SIGN.
15567         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15568         TEST_NAN_SIGN.
15569         (signbit_test_data): Add tests of quiet NaN argument.
15570         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15571
15572         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15573         $ignore_result.
15574         (parse_args): Handle function results specified as IGNORE.
15575         * math/libm-test.inc (IGNORE_RESULT): New macro.
15576         (check_float_internal): Do not check numerical result if flag
15577         IGNORE_RESULT set.
15578         (check_complex): Pass through IGNORE_RESULT to second
15579         check_float_internal call.
15580         (check_int): Do not check numerical result if flag IGNORE_RESULT
15581         set.
15582         (check_long): Likewise.
15583         (check_bool): Likewise.
15584         (check_longlong): Likewise.
15585         (lrint_test_data): Add tests of infinite and NaN arguments.
15586         (lrint_tonearest_test_data): Likewise.
15587         (lrint_towardzero_test_data): Likewise.
15588         (lrint_downward_test_data): Likewise.
15589         (lrint_upward_test_data): Likewise.
15590         (llrint_test_data): Likewise.
15591         (llrint_tonearest_test_data): Likewise.
15592         (llrint_towardzero_test_data): Likewise.
15593         (llrint_downward_test_data): Likewise.
15594         (llrint_upward_test_data): Likewise.
15595         (lround_test_data): Likewise.
15596         (llround_test_data): Likewise.
15597
15598         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15599         (ERRNO_UNCHANGED): Update value.
15600         (ERRNO_EDOM): Likewise.
15601         (ERRNO_ERANGE): Likewise.
15602         (NO_TEST_INLINE_FLOAT): New macro.
15603         (NO_TEST_INLINE_DOUBLE): Likewise.
15604         (enable_test): New function.
15605         (RUN_TEST_f_f): Check enable_test before running test.
15606         (RUN_TEST_2_f): Likewise.
15607         (RUN_TEST_fff_f): Likewise.
15608         (RUN_TEST_c_f): Likewise.
15609         (RUN_TEST_f_f1): Likewise.
15610         (RUN_TEST_fF_f1): Likewise.
15611         (RUN_TEST_fI_f1): Likewise.
15612         (RUN_TEST_ffI_f1): Likewise.
15613         (RUN_TEST_c_c): Likewise.
15614         (RUN_TEST_cc_c): Likewise.
15615         (RUN_TEST_f_i): Likewise.
15616         (RUN_TEST_f_i_tg): Likewise.
15617         (RUN_TEST_ff_i_tg): Likewise.
15618         (RUN_TEST_f_b): Likewise.
15619         (RUN_TEST_f_b_tg): Likewise.
15620         (RUN_TEST_f_l): Likewise.
15621         (RUN_TEST_f_L): Likewise.
15622         (RUN_TEST_fFF_11): Likewise.
15623         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15624         conditionals.
15625         (cosh_test_data): Likewise.
15626         (exp_test_data): Likewise.
15627         (expm1_test_data): Likewise.
15628         (hypot_test_data): Likewise.
15629         (pow_test_data): Likewise.
15630         (sinh_test_data): Likewise.
15631         (tanh_test_data): Likewise.
15632         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15633         flags argument.
15634
15635         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15636         tests with quiet NaN input and output.
15637         (acosh_test_data): Likewise.
15638         (asin_test_data): Likewise.
15639         (asinh_test_data): Likewise.
15640         (atan_test_data): Likewise.
15641         (atanh_test_data): Likewise.
15642         (atan2_test_data): Likewise.
15643         (cbrt_test_data): Likewise.
15644         (cos_test_data): Likewise.
15645         (cosh_test_data): Likewise.
15646         (erf_test_data): Likewise.
15647         (erfc_test_data): Likewise.
15648         (exp_test_data): Likewise.
15649         (exp10_test_data): Likewise.
15650         (exp2_test_data): Likewise.
15651         (expm1_test_data): Likewise.
15652         (hypot_test_data): Likewise.
15653         (j0_test_data): Likewise.
15654         (j1_test_data): Likewise.
15655         (jn_test_data): Likewise.
15656         (lgamma_test_data): Likewise.
15657         (log_test_data): Likewise.
15658         (log10_test_data): Likewise.
15659         (log1p_test_data): Likewise.
15660         (log2_test_data): Likewise.
15661         (pow_test_data): Likewise.
15662         (scalb_test_data): Likewise.
15663         (sin_test_data): Likewise.
15664         (sincos_test_data): Likewise.
15665         (sinh_test_data): Likewise.
15666         (tan_test_data): Likewise.
15667         (tanh_test_data): Likewise.
15668         (tgamma_test_data): Likewise.
15669         (y0_test_data): Likewise.
15670         (y1_test_data): Likewise.
15671         (yn_test_data): Likewise.
15672
15673         [BZ #16167]
15674         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15675         argument being NaN and avoid computations with second argument in
15676         that case.
15677         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15678         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15679         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15680
15681 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15682
15683         * locale/iso-639.def: Add Chitwani Tharu (the).
15684
15685 2013-11-14  Andreas Schwab  <schwab@suse.de>
15686
15687         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15688         word instead of empty string.
15689
15690 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15691
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15693         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15695         (__fe_nomask_env): Likewise.
15696
15697 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15698
15699         * benchtests/bench-timing.h: Include time.h.
15700
15701 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15702
15703         [BZ #15997]
15704         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15705         to 3.4.0 for x32.
15706         * sysdeps/unix/sysv/linux/configure: Regenerated.
15707
15708 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15709
15710         [BZ #16151]
15711         * stdlib/strtod_l.c (round_and_return): Do not consider
15712         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15713         exponent one less than half the least subnormal exponent.
15714         * stdlib/test-strtod-round-data: Add more tests.
15715         * stdlib/tst-strtod-round.c (tests): Regenerated.
15716
15717 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15718
15719         [BZ #14143]
15720         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15721         (__fe_mask_env): Likewise.
15722         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15723         libm_hidden_proto and add function prototype.
15724         (__fe_mask_env): Add function prototype.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15726         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15728         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15730         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15731
15732 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15733
15734         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15735         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15736
15737 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15738
15739         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15740         of htab_find_slot().
15741
15742 2013-11-11  David S. Miller  <davem@davemloft.net>
15743
15744         [BZ #16150]
15745         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15746         symbol in the non-vis3 case in static builds.
15747         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15748         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15749         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15750         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15751
15752 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15753
15754         [BZ #387]
15755         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15756         it is empty.
15757
15758 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15759
15760         * benchtests/Makefile: Add bench-strtod.
15761         * benchtests/bench-strtod.c: New file: strtod benchtest
15762
15763 2013-11-11  Andreas Schwab  <schwab@suse.de>
15764
15765         [BZ #16153]
15766         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15767         terminating NUL in key length.
15768
15769 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15770
15771         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15772         Add artificial ODP entry for vDSO symbol for PPC64.
15773         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15774         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15775
15776 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15777
15778         [BZ #15374]
15779         * nss/getent.c (services_keys): Recognize services starting with digit.
15780
15781 2013-11-06  David S. Miller  <davem@davemloft.net>
15782
15783         [BZ #15985]
15784         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15785         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15786
15787 2013-11-06  Will Newton  <will.newton@linaro.org>
15788
15789         * manual/memory.texi (Malloc Examples): Remove register
15790         keyword from examples.
15791
15792 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15793
15794         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15795
15796 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15797
15798         [BZ #6981]
15799         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15800         depending on [__GCC_IEC_559 > 0].
15801         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15802         depending on [__GCC_IEC_559_COMPLEX > 0].
15803
15804 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15805
15806         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15807         to iso-639.def.
15808
15809 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15810
15811         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15812
15813 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15814
15815         [BZ #16112]
15816         * malloc/malloc (malloc_info): Do not handle first bin as
15817         special case.
15818
15819 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15820
15821         * locale/iso-639.def: Add Central Nahuatl (nhn).
15822
15823 2013-11-01  Bruno Haible  <bruno@clisp.org>
15824
15825         [BZ #7003]
15826         * manual/math.texi (BSD Random): Specify range upper bound as
15827         in POSIX.
15828
15829 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15830
15831         * locale/iso-639.def: Add Meadow Mari (mhr).
15832
15833 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15834
15835         [BZ #14752], [BZ #15763]
15836         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15837         Validate name.
15838         * rt/tst_shm.c: Add test for escaping directory.
15839
15840 2013-10-31  Andreas Schwab  <schwab@suse.de>
15841
15842         [BZ #15917]
15843         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15844         followed by 'x' as part of digit sequence.
15845         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15846
15847 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15848
15849         [BZ #16037]
15850         * configure.ac: allow GNU Make 4.0 and greater.
15851         * configure: Regenerated.
15852
15853 2013-10-30  Will Newton  <will.newton@linaro.org>
15854
15855         [BZ #16038]
15856         * malloc/hooks.c (memalign_check): Limit alignment to the
15857         maximum representable power of two.
15858         * malloc/malloc.c (__libc_memalign): Likewise.
15859         * malloc/tst-memalign.c (do_test): Add test for very
15860         large alignment values.
15861         * malloc/tst-posix_memalign.c (do_test): Likewise.
15862
15863 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15864
15865         [BZ #11087]
15866         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15867         (munmap_chunk): Likewise.
15868         (mremap_chunk): Likewise.
15869
15870 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15871
15872         [BZ #15799]
15873         * stdlib/div.c (div): Remove obsolete code.
15874         * stdlib/ldiv.c (ldiv): Likewise.
15875         * stdlib/lldiv.c (lldiv): Likewise.
15876
15877 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15878
15879         [BZ #16071]
15880         * nss/nss_files/files-XXX.c (get_contents_ret): New
15881         enumerator.
15882         (get_contents): New function.
15883         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15884
15885 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15886
15887         * configure.in: Moved to ...
15888         * configure.ac: ... here. Change reference to configure.in
15889         to configure.ac.
15890         * sysdeps/arm/preconfigure.ac: ... here.
15891         configure.in to configure.ac.
15892         * sysdeps/gnu/configure.in: Moved to ...
15893         * sysdeps/gnu/configure.ac: ... here.
15894         * sysdeps/i386/configure.in: Moved to ...
15895         * sysdeps/i386/configure.ac: ... here.
15896         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15897         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15898         * sysdeps/mach/configure.in: Moved to ...
15899         * sysdeps/mach/configure.ac: ... here.
15900         * sysdeps/mach/hurd/configure.in: Moved to ...
15901         * sysdeps/mach/hurd/configure.ac: ... here.
15902         * sysdeps/powerpc/configure.in: Moved to ...
15903         * sysdeps/powerpc/configure.ac: ... here.
15904         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15905         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15906         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15907         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15908         * sysdeps/s390/s390-32/configure.in: Moved to ...
15909         * sysdeps/s390/s390-32/configure.ac: ... here.
15910         * sysdeps/s390/s390-64/configure.in: Moved to ...
15911         * sysdeps/s390/s390-64/configure.ac: ... here.
15912         * sysdeps/sh/configure.in: Moved to ...
15913         * sysdeps/sh/configure.ac: ... here.
15914         * sysdeps/sparc/configure.in: Moved to ...
15915         * sysdeps/sparc/configure.ac: ... here.
15916         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15917         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15918         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15919         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15920         * sysdeps/x86_64/configure.in: Moved to ...
15921         * sysdeps/x86_64/configure.ac: ... here.
15922         * sysdeps/x86_64/preconfigure.in: Moved to ...
15923         * sysdeps/x86_64/preconfigure.ac: ... here.
15924         * aclocal.m4: Change reference to configure.in to configure.ac.
15925         * config.h.in: Likewise.
15926         * manual/install.texi: Likewise.
15927         * manual/maint.texi: Likewise.
15928         * Makefile: Likewise.
15929         * malloc/Makefile: Likewise.
15930         * nscd/Makefile: Likewise.
15931         * Makeconfig: Change reference to configure.in and
15932         preconfigure.in to configure.ac and preconfigure.ac
15933         respectively.
15934         * INSTALL: Regenerated.
15935         * configure: Likewise.
15936         * sysdeps/gnu/configure: Likewise.
15937         * sysdeps/i386/configure: Likewise.
15938         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15939         * sysdeps/mach/configure: Likewise.
15940         * sysdeps/mach/hurd/configure: Likewise.
15941         * sysdeps/powerpc/configure: Likewise.
15942         * sysdeps/powerpc/powerpc32/configure: Likewise.
15943         * sysdeps/powerpc/powerpc64/configure: Likewise.
15944         * sysdeps/s390/s390-32/configure: Likewise.
15945         * sysdeps/s390/s390-64/configure: Likewise.
15946         * sysdeps/sh/configure: Likewise.
15947         * sysdeps/sparc/configure: Likewise.
15948         * sysdeps/unix/sysv/linux/configure: Likewise.
15949         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15950         * sysdeps/x86_64/configure: Likewise.
15951         * sysdeps/x86_64/preconfigure: Likewise.
15952
15953 2013-10-29  Andreas Schwab  <schwab@suse.de>
15954
15955         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15956
15957 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15958
15959         * benchtests/pow-inputs: Add new inputs.
15960
15961         * benchtests/exp-inputs: Add new inputs.
15962
15963         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15964         conditional check for return value.
15965         (__cos32): Likewise.
15966
15967 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15968
15969         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15970         to provide a boost for large inputs with word alignment.
15971         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15972         implementation based on optimized PPC64 strcpy.
15973         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15974         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15975         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15976         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15977
15978 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15979
15980         [BZ #2801]
15981         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15982
15983 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15984
15985         [BZ #14876]
15986         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15987         * time/tst-strptime.c (day_tests): Add testcase.
15988
15989 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15990
15991         [BZ #14029]
15992         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15993
15994 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15995
15996         [BZ #16074]
15997         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15998         MAP_FAILED on error.
15999
16000 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16001
16002         [BZ #16072]
16003         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16004         heap for large requests.
16005
16006 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16007
16008         [BZ #9954]
16009         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16010         result if the result has no associated interface.
16011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16012         interface for all 127.X.Y.Z addresses.
16013
16014 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16015
16016         * locale/iso-639.def: Add Ligurian (lij)
16017
16018 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16019
16020         [BZ #15825]
16021         * sunrpc/rpc_main.c: Document rpcgen -5.
16022
16023 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16024
16025         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16026
16027 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16028
16029         [BZ #10278]
16030         * posix/glob.c: Match only directories when trailing slash is present.
16031         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16032         (main): Add testcase.
16033
16034 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16035
16036         [BZ #15670]
16037         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16038
16039 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16040
16041         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16042         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16043         AUTH_DES and cindex for FIPS 140-2.
16044         (DES Encryption): Add cindex FIPS 46-3.
16045
16046         * locale/locarchive.h (struct locarhandle): Add fname.
16047         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16048         if an optional argument was specified to --list-archive,
16049         otherwise NULL.
16050         * locale/programs/locarchive.c (show_archive_content): Take new
16051         argument fname and pass it via ah.fname to open_archive.
16052         * locale/programs/localedef.h: Update decl.
16053         (open_archive): If AH->fname is non-null, open that file
16054         rather than the default file name, and don't ignore ENOENT.
16055         (create_archive): Set AH.fname to NULL.
16056         (delete_locales_from_archive): Likewise.
16057         (add_locales_to_archive): Likewise.
16058         * locale/programs/locfile.c (write_all_categories): Likewise.
16059
16060 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16061             Aldy Hernandez  <aldyh@redhat.com>
16062
16063         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16064         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16065         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16066         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16067         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16068         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16069         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16070         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16071         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16072         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16073         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16074         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16075         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16076         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16077         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16078         Likewise.
16079         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16080         Likewise.
16081         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16082         Likewise.
16083         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16084         Likewise.
16085         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16086         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16087         Likewise.
16088         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16089         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16090         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16091         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16092         Likewise.
16093         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16094         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16095         * sysdeps/powerpc/preconfigure: Likewise.
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16097         Likewise.
16098         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16099         Replace contents of file by #include of <fenv_libc.h>.
16100         * sysdeps/powerpc/soft-fp/sfp-machine.h
16101         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16102         and <sys/prctl.h>.
16103         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16106         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16107         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16116         Allow copysignl PLT reference to be missing.
16117
16118 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16119             Joseph Myers  <joseph@codesourcery.com
16120
16121         [BZ #15948]
16122         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16123         single character.
16124         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16125
16126 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16127
16128         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16129         * elf/tst-tls1.c: Likewise.
16130         * elf/tst-tls10.h: Likewise.
16131         * elf/tst-tls14.c: Likewise.
16132         * elf/tst-tls2.c: Likewise.
16133         * elf/tst-tls3.c: Likewise.
16134         * elf/tst-tls4.c: Likewise.
16135         * elf/tst-tls5.c: Likewise.
16136         * elf/tst-tls6.c: Likewise.
16137         * elf/tst-tls7.c: Likewise.
16138         * elf/tst-tls8.c: Likewise.
16139         * elf/tst-tls9.c: Likewise.
16140         * elf/tst-tlsmod1.c: Likewise.
16141         * elf/tst-tlsmod13.c: Likewise.
16142         * elf/tst-tlsmod13a.c: Likewise.
16143         * elf/tst-tlsmod14a.c: Likewise.
16144         * elf/tst-tlsmod16a.c: Likewise.
16145         * elf/tst-tlsmod16b.c: Likewise.
16146         * elf/tst-tlsmod2.c: Likewise.
16147         * elf/tst-tlsmod3.c: Likewise.
16148         * elf/tst-tlsmod4.c: Likewise.
16149         * elf/tst-tlsmod5.c: Likewise.
16150         * elf/tst-tlsmod6.c: Likewise.
16151
16152 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16153
16154         [BZ #12486]
16155         * malloc/malloc.c: remove checks for statistics.
16156
16157 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16158
16159         [BZ #15277]
16160         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16161         * inet/tst-network.c: Add testcase.
16162
16163 2013-10-17  Andreas Schwab  <schwab@suse.de>
16164
16165         [BZ #15218]
16166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16167         to determine canonical name.
16168
16169 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16170
16171         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16172         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16176         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16177         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16178         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16179         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16180         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16181         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16185         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16186         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16187         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16188         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16189         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16190         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16191         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16192         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16193         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16194         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16195         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16196         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16197         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16198         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16199         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16200         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16201         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16203         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16207         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16211         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16212         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16213         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16214         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16215         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16216         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16217         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16218         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16219         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16220         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16221         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16222         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16224         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16225         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16226         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16228         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16229
16230 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16231
16232         [BZ #16041]
16233         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16234         make result into a quiet NaN.
16235
16236 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16237
16238         * soft-fp/adddf3.c: Fix horizontal whitespace.
16239         * soft-fp/addsf3.c: Likewise.
16240         * soft-fp/addtf3.c: Likewise.
16241         * soft-fp/divdf3.c: Likewise.
16242         * soft-fp/divsf3.c: Likewise.
16243         * soft-fp/divtf3.c: Likewise.
16244         * soft-fp/double.h: Likewise.
16245         * soft-fp/eqdf2.c: Likewise.
16246         * soft-fp/eqsf2.c: Likewise.
16247         * soft-fp/eqtf2.c: Likewise.
16248         * soft-fp/extenddftf2.c: Likewise.
16249         * soft-fp/extended.h: Likewise.
16250         * soft-fp/extendsfdf2.c: Likewise.
16251         * soft-fp/extendsftf2.c: Likewise.
16252         * soft-fp/extendxftf2.c: Likewise.
16253         * soft-fp/fixdfdi.c: Likewise.
16254         * soft-fp/fixdfsi.c: Likewise.
16255         * soft-fp/fixdfti.c: Likewise.
16256         * soft-fp/fixsfdi.c: Likewise.
16257         * soft-fp/fixsfsi.c: Likewise.
16258         * soft-fp/fixsfti.c: Likewise.
16259         * soft-fp/fixtfdi.c: Likewise.
16260         * soft-fp/fixtfsi.c: Likewise.
16261         * soft-fp/fixtfti.c: Likewise.
16262         * soft-fp/fixunsdfdi.c: Likewise.
16263         * soft-fp/fixunsdfsi.c: Likewise.
16264         * soft-fp/fixunsdfti.c: Likewise.
16265         * soft-fp/fixunssfdi.c: Likewise.
16266         * soft-fp/fixunssfsi.c: Likewise.
16267         * soft-fp/fixunssfti.c: Likewise.
16268         * soft-fp/fixunstfdi.c: Likewise.
16269         * soft-fp/fixunstfsi.c: Likewise.
16270         * soft-fp/fixunstfti.c: Likewise.
16271         * soft-fp/floatdidf.c: Likewise.
16272         * soft-fp/floatdisf.c: Likewise.
16273         * soft-fp/floatditf.c: Likewise.
16274         * soft-fp/floatsidf.c: Likewise.
16275         * soft-fp/floatsisf.c: Likewise.
16276         * soft-fp/floatsitf.c: Likewise.
16277         * soft-fp/floattidf.c: Likewise.
16278         * soft-fp/floattisf.c: Likewise.
16279         * soft-fp/floattitf.c: Likewise.
16280         * soft-fp/floatundidf.c: Likewise.
16281         * soft-fp/floatundisf.c: Likewise.
16282         * soft-fp/floatunditf.c: Likewise.
16283         * soft-fp/floatunsidf.c: Likewise.
16284         * soft-fp/floatunsisf.c: Likewise.
16285         * soft-fp/floatunsitf.c: Likewise.
16286         * soft-fp/floatuntidf.c: Likewise.
16287         * soft-fp/floatuntisf.c: Likewise.
16288         * soft-fp/floatuntitf.c: Likewise.
16289         * soft-fp/fmadf4.c: Likewise.
16290         * soft-fp/fmasf4.c: Likewise.
16291         * soft-fp/fmatf4.c: Likewise.
16292         * soft-fp/gedf2.c: Likewise.
16293         * soft-fp/gesf2.c: Likewise.
16294         * soft-fp/getf2.c: Likewise.
16295         * soft-fp/ledf2.c: Likewise.
16296         * soft-fp/lesf2.c: Likewise.
16297         * soft-fp/letf2.c: Likewise.
16298         * soft-fp/muldf3.c: Likewise.
16299         * soft-fp/mulsf3.c: Likewise.
16300         * soft-fp/multf3.c: Likewise.
16301         * soft-fp/negdf2.c: Likewise.
16302         * soft-fp/negsf2.c: Likewise.
16303         * soft-fp/negtf2.c: Likewise.
16304         * soft-fp/op-1.h: Likewise.
16305         * soft-fp/op-2.h: Likewise.
16306         * soft-fp/op-4.h: Likewise.
16307         * soft-fp/op-8.h: Likewise.
16308         * soft-fp/op-common.h: Likewise.
16309         * soft-fp/quad.h: Likewise.
16310         * soft-fp/single.h: Likewise.
16311         * soft-fp/soft-fp.h: Likewise.
16312         * soft-fp/sqrtdf2.c: Likewise.
16313         * soft-fp/sqrtsf2.c: Likewise.
16314         * soft-fp/sqrttf2.c: Likewise.
16315         * soft-fp/subdf3.c: Likewise.
16316         * soft-fp/subsf3.c: Likewise.
16317         * soft-fp/subtf3.c: Likewise.
16318         * soft-fp/truncdfsf2.c: Likewise.
16319         * soft-fp/trunctfdf2.c: Likewise.
16320         * soft-fp/trunctfsf2.c: Likewise.
16321         * soft-fp/trunctfxf2.c: Likewise.
16322         * soft-fp/unorddf2.c: Likewise.
16323         * soft-fp/unordsf2.c: Likewise.
16324         * soft-fp/unordtf2.c: Likewise.
16325
16326 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16327
16328         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16329         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16330
16331 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16332
16333         * elf/dl-libc.c: Clear initfini list after freeing.
16334
16335 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16336
16337         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16338         * soft-fp/addsf3.c: Likewise.
16339         * soft-fp/addtf3.c: Likewise.
16340         * soft-fp/divdf3.c: Likewise.
16341         * soft-fp/divsf3.c: Likewise.
16342         * soft-fp/divtf3.c: Likewise.
16343         * soft-fp/double.h: Likewise.
16344         * soft-fp/eqdf2.c: Likewise.
16345         * soft-fp/eqsf2.c: Likewise.
16346         * soft-fp/eqtf2.c: Likewise.
16347         * soft-fp/extenddftf2.c: Likewise.
16348         * soft-fp/extended.h: Likewise.
16349         * soft-fp/extendsfdf2.c: Likewise.
16350         * soft-fp/extendsftf2.c: Likewise.
16351         * soft-fp/extendxftf2.c: Likewise.
16352         * soft-fp/fixdfdi.c: Likewise.
16353         * soft-fp/fixdfsi.c: Likewise.
16354         * soft-fp/fixdfti.c: Likewise.
16355         * soft-fp/fixsfdi.c: Likewise.
16356         * soft-fp/fixsfsi.c: Likewise.
16357         * soft-fp/fixsfti.c: Likewise.
16358         * soft-fp/fixtfdi.c: Likewise.
16359         * soft-fp/fixtfsi.c: Likewise.
16360         * soft-fp/fixtfti.c: Likewise.
16361         * soft-fp/fixunsdfdi.c: Likewise.
16362         * soft-fp/fixunsdfsi.c: Likewise.
16363         * soft-fp/fixunsdfti.c: Likewise.
16364         * soft-fp/fixunssfdi.c: Likewise.
16365         * soft-fp/fixunssfsi.c: Likewise.
16366         * soft-fp/fixunssfti.c: Likewise.
16367         * soft-fp/fixunstfdi.c: Likewise.
16368         * soft-fp/fixunstfsi.c: Likewise.
16369         * soft-fp/fixunstfti.c: Likewise.
16370         * soft-fp/floatdidf.c: Likewise.
16371         * soft-fp/floatdisf.c: Likewise.
16372         * soft-fp/floatditf.c: Likewise.
16373         * soft-fp/floatsidf.c: Likewise.
16374         * soft-fp/floatsisf.c: Likewise.
16375         * soft-fp/floatsitf.c: Likewise.
16376         * soft-fp/floattidf.c: Likewise.
16377         * soft-fp/floattisf.c: Likewise.
16378         * soft-fp/floattitf.c: Likewise.
16379         * soft-fp/floatundidf.c: Likewise.
16380         * soft-fp/floatundisf.c: Likewise.
16381         * soft-fp/floatunsidf.c: Likewise.
16382         * soft-fp/floatunsisf.c: Likewise.
16383         * soft-fp/floatuntidf.c: Likewise.
16384         * soft-fp/floatuntisf.c: Likewise.
16385         * soft-fp/floatuntitf.c: Likewise.
16386         * soft-fp/fmadf4.c: Likewise.
16387         * soft-fp/fmasf4.c: Likewise.
16388         * soft-fp/fmatf4.c: Likewise.
16389         * soft-fp/gedf2.c: Likewise.
16390         * soft-fp/gesf2.c: Likewise.
16391         * soft-fp/getf2.c: Likewise.
16392         * soft-fp/ledf2.c: Likewise.
16393         * soft-fp/lesf2.c: Likewise.
16394         * soft-fp/letf2.c: Likewise.
16395         * soft-fp/muldf3.c: Likewise.
16396         * soft-fp/mulsf3.c: Likewise.
16397         * soft-fp/multf3.c: Likewise.
16398         * soft-fp/negdf2.c: Likewise.
16399         * soft-fp/negsf2.c: Likewise.
16400         * soft-fp/negtf2.c: Likewise.
16401         * soft-fp/op-1.h: Likewise.
16402         * soft-fp/op-2.h: Likewise.
16403         * soft-fp/op-4.h: Likewise.
16404         * soft-fp/op-8.h: Likewise.
16405         * soft-fp/op-common.h: Likewise.
16406         * soft-fp/quad.h: Likewise.
16407         * soft-fp/single.h: Likewise.
16408         * soft-fp/soft-fp.h: Likewise.
16409         * soft-fp/sqrtdf2.c: Likewise.
16410         * soft-fp/sqrtsf2.c: Likewise.
16411         * soft-fp/sqrttf2.c: Likewise.
16412         * soft-fp/subdf3.c: Likewise.
16413         * soft-fp/subsf3.c: Likewise.
16414         * soft-fp/subtf3.c: Likewise.
16415         * soft-fp/truncdfsf2.c: Likewise.
16416         * soft-fp/trunctfdf2.c: Likewise.
16417         * soft-fp/trunctfsf2.c: Likewise.
16418         * soft-fp/trunctfxf2.c: Likewise.
16419         * soft-fp/unorddf2.c: Likewise.
16420         * soft-fp/unordsf2.c: Likewise.
16421         * soft-fp/unordtf2.c: Likewise.
16422
16423 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16424
16425         [BZ #15672]
16426         * misc/error.c (error_tail): Fix possible buffer overflow.
16427
16428 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16429
16430         [BZ #13028]
16431         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16432         address.
16433
16434 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16435
16436         [BZ #832]
16437         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16438         testing pipefail option.
16439
16440 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16441
16442         * soft-fp/double.h: Indent preprocessor directives inside #if.
16443         * soft-fp/extended.h: Likewise.
16444         * soft-fp/op-2.h: Likewise.
16445         * soft-fp/op-4.h: Likewise.
16446         * soft-fp/op-common.h: Likewise.
16447         * soft-fp/quad.h: Likewise.
16448         * soft-fp/single.h: Likewise.
16449         * soft-fp/soft-fp.h: Likewise.
16450
16451 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16452
16453         * iconv/iconv_prog.c: Fix typos.
16454         * stdio-common/psiginfo-data.h: Likewise.
16455
16456 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16457
16458         [BZ #15764]
16459         * locale/setlocale.c: Fix typo.
16460
16461 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16462
16463         [BZ #16036]
16464         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16465         signaling NaN arguments.
16466         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16467         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16468
16469         [BZ #14910]
16470         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16471         unordered operands.
16472         * soft-fp/gesf2.c (__gesf2): Likewise.
16473         * soft-fp/getf2.c (__getf2): Likewise.
16474         * soft-fp/ledf2.c (__ledf2): Likewise.
16475         * soft-fp/lesf2.c (__lesf2): Likewise.
16476         * soft-fp/letf2.c (__letf2): Likewise.
16477
16478         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16479         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16480         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16481         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16482         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16483         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16484         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16485         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16486         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16487         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16488         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16489         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16490         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16491         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16492         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16493         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16494         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16495         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16496         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16497         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16498         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16499         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16500         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16501         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16502         * soft-fp/floattidf.c (__floattidf): Likewise.
16503         * soft-fp/floattisf.c (__floattisf): Likewise.
16504         * soft-fp/floattitf.c (__floattitf): Likewise.
16505         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16506         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16507         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16508         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16509         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16510         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16511         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16512         * soft-fp/gesf2.c (__gesf2): Likewise.
16513         * soft-fp/getf2.c (__getf2): Likewise.
16514         * soft-fp/ledf2.c (__ledf2): Likewise.
16515         * soft-fp/lesf2.c (__lesf2): Likewise.
16516         * soft-fp/letf2.c (__letf2): Likewise.
16517
16518         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16519         Undefine and redefine.
16520         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16521         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16522         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16523         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16524         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16525         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16526         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16527         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16528         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16529         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16530         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16531         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16532         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16533         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16534         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16535
16536         [BZ #16032]
16537         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16538         without decrementing exponent if mantissa >= that for the
16539         denominator, not >.
16540         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16541         denominator, not >.  Decrement exponent in < case instead of
16542         incrementing in >= case.
16543         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16544         without decrementing exponent if mantissa >= that for the
16545         denominator, not >.
16546
16547         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16548         computing saturated result for unsigned overflow.
16549
16550 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16551             Jeff Law  <law@redhat.com>
16552
16553         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16554         (atan2Mp): Add systemtap probe marker.
16555         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16556         (__ieee754_log): Add systemtap probe marker.
16557         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16558         (atanMp): Add systemtap probe marker.
16559         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16560         (tanMp): Add systemtap probe marker.
16561         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16562         (__slowexp): Add systemtap probe marker.
16563         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16564         (__slowpow): Add systemtap probe marker.
16565         * manual/probes.texi: Document probes.
16566
16567 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16568
16569         [BZ #15362]
16570         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16571         written.
16572         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16573         written.
16574         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16575         written to buffer but not flushed.
16576         * libio/iofwrite_u.c:  Likewise.
16577         * libio/iopadn.c:  Return bytes returned even if EOF was
16578         encountered.
16579         * libio/iowpadn.c:  Likewise.
16580         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16581         if _IO_padn does not write the whole buffer.
16582         [!COMPILE_WPRINTF] (PAD): Likewise.
16583
16584 2013-10-10  David S. Miller  <davem@davemloft.net>
16585
16586         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16587         directory block.
16588
16589 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16590
16591         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16592         instead of FSF address.
16593         * soft-fp/fixdfti.c: Likewise.
16594         * soft-fp/fixsfti.c: Likewise.
16595         * soft-fp/fixtfti.c: Likewise.
16596         * soft-fp/fixunsdfti.c: Likewise.
16597         * soft-fp/fixunssfti.c: Likewise.
16598         * soft-fp/fixunstfti.c: Likewise.
16599         * soft-fp/floattidf.c: Likewise.
16600         * soft-fp/floattisf.c: Likewise.
16601         * soft-fp/floattitf.c: Likewise.
16602         * soft-fp/floatuntidf.c: Likewise.
16603         * soft-fp/floatuntisf.c: Likewise.
16604         * soft-fp/floatuntitf.c: Likewise.
16605         * soft-fp/trunctfxf2.c: Likewise.
16606
16607         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16608         * soft-fp/fixdfti.c: Likewise.
16609         * soft-fp/fixsfti.c: Likewise.
16610         * soft-fp/fixtfti.c: Likewise.
16611         * soft-fp/fixunsdfti.c: Likewise.
16612         * soft-fp/fixunssfti.c: Likewise.
16613         * soft-fp/fixunstfti.c: Likewise.
16614         * soft-fp/floattidf.c: Likewise.
16615         * soft-fp/floattisf.c: Likewise.
16616         * soft-fp/floattitf.c: Likewise.
16617         * soft-fp/floatuntidf.c: Likewise.
16618         * soft-fp/floatuntisf.c: Likewise.
16619         * soft-fp/floatuntitf.c: Likewise.
16620         * soft-fp/trunctfxf2.c: Likewise.
16621
16622 2013-10-10  David S. Miller  <davem@davemloft.net>
16623
16624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16625
16626 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16627
16628         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16629         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16630         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16631         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16632         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16633         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16634         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16635
16636         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16637         for NaNs before doing comparisons on argument.
16638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16639         Likewise.
16640
16641 2013-10-10  Will Newton  <will.newton@linaro.org>
16642
16643         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16644         passed to _int_memalign does not overflow.
16645
16646 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16647
16648         * scripts/bench.pl: Add include-sources directive.
16649         * benchtests/README: Update documentation.
16650
16651 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16652
16653         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16654         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16655         instead of FP_INIT_ROUNDMODE.
16656         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16657         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16658
16659         [BZ #16034]
16660         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16661         copy class of input value.
16662         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16663         not handle exceptions.
16664         * soft-fp/negsf2.c (__negsf2): Likewise.
16665         * soft-fp/negtf2.c (__negtf2): Likewise.
16666         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16667
16668 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16669
16670         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16671         semicolon.  From Linux kernel.
16672
16673 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16674
16675         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16676
16677 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16678
16679         [BZ #156]
16680         * manual/socket.texi: Added statement about buffer
16681         for gethostbyname2_r.
16682
16683 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16684
16685         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16686         Use .p2align directive instead, throughout.
16687         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16688         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16689         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16692         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16693         * sysdeps/x86_64/strchr.S: Likewise.
16694         * sysdeps/x86_64/strrchr.S: Likewise.
16695
16696 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16697
16698         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16699
16700         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16701
16702         * sysdeps/generic/math_private.h (__mpsin1): Remove
16703         declaration.
16704         (__mpcos1): Likewise.
16705         (__mpsin): New argument __range_reduce.
16706         (__mpcos): Likewise.
16707         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16708         (slow): Use __mpsin and __mpcos.
16709         (slow1): Likewise.
16710         (slow2): Likewise.
16711         (sloww): Likewise.
16712         (sloww1): Likewise.
16713         (sloww2): Likewise.
16714         (bsloww): Likewise.
16715         (bsloww1): Likewise.
16716         (bsloww2): Likewise.
16717         (cslow2): Likewise.
16718         (csloww): Likewise.
16719         (csloww1): Likewise.
16720         (csloww2): Likewise.
16721         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16722         range_reduce.  Merge in __mpsin1.
16723         (__mpcos): Likewise.
16724         (__mpsin1): Remove.
16725         (__mpcos1): Likewise.
16726
16727 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16728
16729         * locale/loadlocale.c (_nl_intern_locale_data): Use
16730         LOCFILE_ALIGNED_P.
16731         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16732         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16733         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16734         obstack data is appropriately aligned.
16735         (obstack_int32_grow_fast): Likewise.
16736         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16737         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16738         (add_locale_uint32_array): Likewise.
16739
16740 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16741
16742         * benchtests/Makefile: Remove ARGLIST and RET variables.
16743         ($(objpfx)bench-%.c): Pass only function name to the script.
16744         * benchtests/README: Update documentation.
16745         * benchtests/acos-inputs: Add new directives.
16746         * benchtests/acosh-inputs: Likewise.
16747         * benchtests/asin-inputs: Likewise.
16748         * benchtests/asinh-inputs: Likewise.
16749         * benchtests/atan-inputs: Likewise.
16750         * benchtests/atanh-inputs: Likewise.
16751         * benchtests/cos-inputs: Likewise.
16752         * benchtests/cosh-inputs: Likewise.
16753         * benchtests/exp-inputs: Likewise.
16754         * benchtests/log-inputs: Likewise.
16755         * benchtests/pow-inputs: Likewise.
16756         * benchtests/rint-inputs: Likewise.
16757         * benchtests/sin-inputs: Likewise.
16758         * benchtests/sinh-inputs: Likewise.
16759         * benchtests/tan-inputs: Likewise.
16760         * benchtests/tanh-inputs: Likewise.
16761         * scripts/bench.pl: Add support for new directives.
16762
16763 2013-10-07  Alan Modra  <amodra@gmail.com>
16764
16765         * README: Fix careless merge.
16766
16767 2013-10-05  Alan Modra  <amodra@gmail.com>
16768
16769         * NEWS: Mention powerpc64le support and bugs fixed.
16770         * README: Both big-endian and little-endian powerpc64 supported.
16771
16772 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16773
16774         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16775         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16776         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16777         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16778
16779 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16780
16781         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16782         match prototype.
16783
16784 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16785
16786         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16787         Move -mhard-float appending from
16788         ports/sysdeps/powerpc/powerpc32/Makefile.
16789         [$(with-fp) = yes] (ASFLAGS): Likewise.
16790         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16791         * sysdeps/powerpc/nofpu: Move directory from
16792         ports/sysdeps/powerpc/nofpu.
16793         * sysdeps/powerpc/soft-fp: Move directory from
16794         ports/sysdeps/powerpc/soft-fp.
16795         * sysdeps/powerpc/powerpc32/405: Move directory from
16796         ports/sysdeps/powerpc/powerpc32/405.
16797         * sysdeps/powerpc/powerpc32/440: Move directory from
16798         ports/sysdeps/powerpc/powerpc32/440.
16799         * sysdeps/powerpc/powerpc32/464: Move directory from
16800         ports/sysdeps/powerpc/powerpc32/464.
16801         * sysdeps/powerpc/powerpc32/476: Move directory from
16802         ports/sysdeps/powerpc/powerpc32/476.
16803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16804         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16806         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16808         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16810         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16812         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16813         * README: Update for powerpc-*-linux-gnu software floating point
16814         support in libc.
16815
16816         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16817         case to powerpc/powerpc32*.
16818         * sysdeps/unix/sysv/linux/configure: Regenerated.
16819
16820         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16821         (_FPU_MASK_OM): Define as 0x04.
16822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16824         0x00c10080.
16825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16826         0x0000003c.
16827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16828
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16830         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16831         getcontext_e500.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16833         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16834         setcontext_e500.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16836         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16837         and setcontext_e500.
16838
16839 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16840
16841         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16842
16843 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844
16845         * manual/threads.texi (Default Thread Attributes): Fix typo.
16846
16847 2013-10-04  Will Newton  <will.newton@linaro.org>
16848
16849         * malloc/Makefile: Add tst-memalign.
16850         * malloc/tst-memalign.c: New file.
16851
16852         * malloc/tst-posix_memalign.c: Add comments.
16853         (do_test): Add comments and call free on all potentially
16854         allocated pointers. Add space after cast.
16855
16856         * malloc/tst-pvalloc.c: Add comments.
16857         (do_test): Add comments and call free on all potentially
16858         allocated pointers. Remove duplicate check for NULL pointer.
16859         Add space after cast.
16860
16861         * malloc/tst-valloc.c: Add comments.
16862         (do_test): Add comments and call free on all potentially
16863         allocated pointers. Remove duplicate check for NULL pointer.
16864         Add space after cast.
16865
16866 2013-10-04  Alan Modra  <amodra@gmail.com>
16867
16868         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16869         Use stdint types in rather than __attribute__((mode())).
16870         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16871
16872 2013-10-04  Alan Modra  <amodra@gmail.com>
16873
16874         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16875         Correct handling of unaligned relocs for little-endian.
16876         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16877
16878 2013-10-04  Alan Modra  <amodra@gmail.com>
16879
16880         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16881         * configure: Regenerate.
16882         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16883         * shlib-versions: Likewise.
16884
16885 2013-10-04  Alan Modra  <amodra@gmail.com>
16886
16887         * string/tester.c (test_memrchr): Increment reported test cycle.
16888
16889 2013-10-04  Alan Modra  <amodra@gmail.com>
16890
16891         * string/test-memcpy.c (do_one_test): When reporting errors, print
16892         string address and don't overrun end of string.
16893
16894 2013-10-04  Alan Modra  <amodra@gmail.com>
16895
16896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16897         insrdi.  Make better use of reg selection to speed exit slightly.
16898         Schedule entry path a little better.  Remove useless "are we done"
16899         checks on entry to main loop.  Handle wrapping around zero address.
16900         Correct main loop count.  Handle single left-over word from main
16901         loop inline rather than by using loop_small.  Remove extra word
16902         case in loop_small caused by wrong loop count.  Add little-endian
16903         support.
16904         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16906         cache hint.
16907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16908         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16909         support.  Avoid rlwimi.
16910         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16911
16912 2013-10-04  Alan Modra  <amodra@gmail.com>
16913
16914         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16915         insrdi.  Formatting.
16916         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16917         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16918         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16919         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16920         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16921         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16922
16923 2013-10-04  Alan Modra  <amodra@gmail.com>
16924
16925         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16926         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16927         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16928         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16929         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16930         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16931         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16932         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16933         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16934         use of regs.  Use power7 mtocrf.  Tidy function tails.
16935
16936 2013-10-04  Alan Modra  <amodra@gmail.com>
16937
16938         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16939         Formatting.  Consistently use rXXX register defines or rN defines.
16940         Use early exit labels that avoid restoring unused non-volatile regs.
16941         Make cr field use more consistent with rWORDn compares.  Rename
16942         regs used as shift registers for unaligned loop, using rN defines
16943         for short lifetime/multiple use regs.
16944         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16946         addi 1,1,64 to pop stack frame.  Simplify return value code.
16947         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16948
16949 2013-10-04  Alan Modra  <amodra@gmail.com>
16950
16951         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16952         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16953         rather than rlwimi.
16954         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16955         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16956         little-endian support.  Correct typos.
16957         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16958         rather than rlwimi.
16959         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16960         in loop and entry code to keep "and." results.
16961         (strchr): Add little-endian support.  Comment.  Move cntlzd
16962         earlier in tail.
16963         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16964
16965 2013-10-04  Alan Modra  <amodra@gmail.com>
16966
16967         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16968         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16969         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16970         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16971
16972 2013-10-04  Alan Modra  <amodra@gmail.com>
16973
16974         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16975         (rTMP): Define as r11.
16976         (strcmp): Add little-endian support.  Optimise tail.
16977         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16978         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16979         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16980         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16981         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16982         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16983         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16984
16985 2013-10-04  Alan Modra  <amodra@gmail.com>
16986
16987         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16988         little-endian support.  Remove unnecessary "are we done" tests.
16989         Handle "s" wrapping around zero and extremely large "size".
16990         Correct main loop count.  Handle single left-over word from main
16991         loop inline rather than by using small_loop.  Correct comments.
16992         Delete "zero" tail, use "end_max" instead.
16993         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16994
16995 2013-10-04  Alan Modra  <amodra@gmail.com>
16996
16997         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16998         support.  Don't branch over align.
16999         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17000         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17001         support.  Rearrange tmp reg use to suit.  Comment.
17002         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17003
17004 2013-10-04  Alan Modra  <amodra@gmail.com>
17005
17006         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17007
17008 2013-10-04  Alan Modra  <amodra@gmail.com>
17009
17010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17011         conditional form of branch and link when obtaining pc.
17012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17013
17014 2013-10-04  Alan Modra  <amodra@gmail.com>
17015
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17017         HIWORD/LOWORD.
17018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17020
17021 2013-10-04  Alan Modra  <amodra@gmail.com>
17022
17023         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17024         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17025         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17026         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17027         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17028         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17029         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17030         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17031         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17032         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17033
17034 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17035             Alistair Popple <alistair@ozlabs.au.ibm.com>
17036             Alan Modra <amodra@gmail.com>
17037
17038         [BZ #15723]
17039         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17040         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17041         _dl_hwcap access for little-endian.
17042         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17043         destroy vmx regs when saving unaligned.
17044         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17045         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17046         destroy vmx regs when saving unaligned.
17047
17048 2013-10-04  Alan Modra  <amodra@gmail.com>
17049
17050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17051         Don't use a union to pack hi/low value.
17052
17053 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17054
17055         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17056         for little-endian.
17057         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17058         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17059         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17060         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17061         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17062
17063 2013-10-04  Alan Modra  <amodra@gmail.com>
17064
17065         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17066         constants to usual value for .cst8 section, and remove redundant
17067         high address load.
17068         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17069         constant for 0x1p52.  Load little-endian words of double from
17070         correct stack offsets.
17071
17072 2013-10-04  Alan Modra  <amodra@gmail.com>
17073
17074         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17075         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17076         words of double from correct stack offsets.
17077         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17078         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17079         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17080         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17081         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17082         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17083         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17084         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17085         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17086         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17087         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17088         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17089         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17090         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17091         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17092         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17093         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17094
17095 2013-10-04  Alan Modra  <amodra@gmail.com>
17096
17097         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17098         64-bit int/double union.
17099         (_FPU_SETCW): Likewise.
17100         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17101         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17102
17103 2013-10-04  Alan Modra  <amodra@gmail.com>
17104
17105         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17106         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17107
17108 2013-10-04  Alan Modra  <amodra@gmail.com>
17109
17110         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17111         use vector int constants.
17112         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17113
17114 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17115
17116         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17117         array with long long.
17118         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17119         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17120         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17121         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17122         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17123         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17124         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17125         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17126         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17127         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17128         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17129         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17130         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17131
17132 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17133
17134         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17135         (__signbit): Likewise.  Correct for little-endian.
17136         (__signbitl): Call __signbit.
17137         (lrint): Correct for little-endian.
17138         (lrintf): Call lrint.
17139
17140 2013-10-04  Alan Modra  <amodra@gmail.com>
17141
17142         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17143         union 32-bit int array member with 64-bit int array.
17144         (t515, tm256): Double rather than long double.
17145         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17146
17147 2013-10-04  Alan Modra  <amodra@gmail.com>
17148
17149         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17150         Delete.
17151         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17153         version of math_ldbl.h.
17154
17155 2013-10-04  Alan Modra  <amodra@gmail.com>
17156
17157         [BZ #15734], [BZ #15735]
17158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17159         all uses of ieee875 long double macros and unions.  Simplify test
17160         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17161         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17162         normalize after ldbl_extract_mantissa, and don't add hidden bit
17163         already handled.  Don't treat low word of ieee854 mantissa like
17164         low word of IBM long double and mask off bit when testing for
17165         zero.
17166         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17167         all uses of ieee875 long double macros and unions.  Simplify tests
17168         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17169         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17170         two1022, instead use their values.  Recognise that tests for large
17171         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17172         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17173         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17174         test for 0.0L and nan.  Correct negation.
17175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17176         ieee875 long double macros and unions.  Correct output for large
17177         magnitude x.  Correct absolute value calculation.
17178         (__erfcl): Likewise.
17179         * math/libm-test.inc: Add tests for errors discovered in IBM long
17180         double versions of fmodl, remainderl, erfl and erfcl.
17181
17182 2013-10-04  Alan Modra  <amodra@gmail.com>
17183
17184         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17185         all uses of ieee854 long double macros and unions.  Simplify tests
17186         for long doubles that are fully specified by the high double.
17187         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17188         Likewise.
17189         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17190         Remove dead code too.
17191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17192         (__ieee754_ynl): Likewise.
17193         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17194         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17196         Remove dead code too.
17197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17198         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17199         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17200         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17201         Simplify.
17202         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17203         Simplify.
17204         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17205         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17206         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17207         Comment on variable precision.
17208         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17209         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17210         Likewise.
17211         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17212         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17213         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17214         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17215         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17216
17217 2013-10-04  Alan Modra  <amodra@gmail.com>
17218
17219         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17220         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17221         all uses of ieee854 long double macros and unions.
17222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17224         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17225         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17226         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17227         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17228         Likewise.
17229         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17230         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17231         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17232         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17233         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17234         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17235         Simplify sign and nan test too.
17236         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17237         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17238         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17239         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17240         Likewise.
17241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17242         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17243         Likewise.
17244         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17245         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17246         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17247         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17248         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17250
17251 2013-10-04  Alan Modra  <amodra@gmail.com>
17252
17253         * stdio-common/printf_size.c (__printf_size): Don't use
17254         union ieee854_long_double in fpnum union.
17255         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17256         signbit macro to retrieve sign from long double.
17257         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17258         retrieve sign from long double.
17259         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17260         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17261         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17262         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17263         * math/test-misc.c (main): Don't use union ieee854_long_double.
17264
17265 2013-10-04  Alan Modra  <amodra@gmail.com>
17266
17267         [BZ #15680]
17268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17269         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17270         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17271         calculation.  Remove unnecessary test for denormal exponent.
17272         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17273         Correct handling of denormals.  Avoid undefined shift behaviour.
17274         Correct normalisation of low mantissa when low double is denormal.
17275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17276         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17277         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17278         Correct normalisation of low mantissa.  Test for overflow of high
17279         mantissa and normalise.
17280         (ldbl_nearbyint): Use more readable constant for two52.
17281         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17282         (__mpn_construct_long_double): Fix test for overflow of high
17283         mantissa and correct normalisation.  Avoid undefined shift.
17284
17285 2013-10-04  Alan Modra  <amodra@gmail.com>
17286
17287         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17288         (union ibm_extended_long_double): Define as an array of ieee754_double.
17289         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17290         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17291         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17292         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17293         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17294         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17296         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17297         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17299         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17300
17301 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17302
17303         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17304         page size instead of calling getpagesize.
17305
17306         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17307         (LOCFILE_ALIGN_MASK): Likewise.
17308         (LOCFILE_ALIGN_UP): Likewise.
17309         (LOCFILE_ALIGNED_P): Likewise.
17310         * locale/programs/ld-collate.c (collate_output): Use the new
17311         macros instead of __alignof__ (int32_t).
17312         * locale/weight.h (findidx): Likewise.
17313
17314 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17315
17316         [BZ #431]
17317         * manual/string.texi: Fix strncat and wcsncat.
17318
17319 2013-10-03  Brooks Moses  <bmoses@google.com>
17320
17321         [BZ #15915]
17322         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17323         * Makerules: ...here, and adjust associated comments.
17324
17325 2013-10-02  Will Newton  <will.newton@linaro.org>
17326
17327         * malloc/Makefile: Add tst-pvalloc.
17328         * malloc/tst-pvalloc.c: New file.
17329
17330 2013-10-02  Will Newton  <will.newton@linaro.org>
17331
17332         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17333         improve test coverage.
17334
17335 2013-10-02  Will Newton  <will.newton@linaro.org>
17336
17337         * malloc/Makefile: Add tst-posix_memalign.
17338         * malloc/tst-posix_memalign.c: New file.
17339
17340 2013-10-01  Eric Blake  <eblake@redhat.com>
17341
17342         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17343         Use __THROWNL rather than __THROW on static functions.
17344
17345 2013-09-30  Petr Machata  <pmachata@redhat.com>
17346
17347         * elf/elf.h (R_AARCH64_ABS16): New macro.
17348         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17349         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17350         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17351         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17352         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17353         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17354         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17355         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17356         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17357         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17358         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17359         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17360         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17361         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17362         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17363         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17364         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17365         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17366         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17367         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17368         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17369         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17370         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17371         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17372         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17373         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17374         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17375         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17376         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17377         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17378         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17379         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17380         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17381         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17382         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17383         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17384         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17385         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17386         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17387         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17388         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17389         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17390         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17391         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17392         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17393         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17394         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17395         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17396         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17397         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17398         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17399         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17400         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17401         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17402         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17403         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17404         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17405         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17406         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17407         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17408         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17409         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17410         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17411         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17412         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17413         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17414         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17415         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17416         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17417         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17418         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17419         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17420         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17421         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17422         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17423         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17424         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17425         (R_AARCH64_TLSDESC_LDR): Likewise.
17426         (R_AARCH64_TLSDESC_ADD): Likewise.
17427         (R_AARCH64_TLSDESC_CALL): Likewise.
17428
17429 2013-09-30  Andreas Schwab  <schwab@suse.de>
17430
17431         [BZ #15048]
17432         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17433         the nss database lookup.
17434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17436
17437 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17438
17439         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17440
17441 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17442
17443         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17444         ${Bash-specific parameter/pattern/string} parameter expansion.
17445         * sysdeps/unix/make-syscalls.sh: Likewise.
17446
17447 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17448
17449         * sysdeps/sh/stackguard-macros.h: New file.
17450
17451 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17452
17453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17454         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17455         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17456         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17457         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17458         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17459
17460 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17461
17462         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17463         Fix thread ID register.
17464
17465 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17466
17467         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17468         [POSIX || UNIX98]: Require rather than permitting all symbols from
17469         <time.h>.
17470         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17471         element of struct sched_param.
17472         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17473         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17474         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17475         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17476         constant.
17477
17478 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17479
17480         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17481         argument calculation.
17482
17483 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17484
17485         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17486         Expect macro.
17487         [POSIX] (pthread_attr_t): Do not require type.
17488         [POSIX] (pthread_cond_t): Likewise.
17489         [POSIX] (pthread_condattr_t): Likewise.
17490         [POSIX] (pthread_key_t): Likewise.
17491         [POSIX] (pthread_mutex_t): Likewise.
17492         [POSIX] (pthread_mutexattr_t): Likewise.
17493         [POSIX] (pthread_once_t): Likewise.
17494         [POSIX] (pthread_t): Likewise.
17495         [POSIX-based standards] (pthread_atfork): Expect function.
17496
17497 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17498             Richard Sandiford  <richard@codesourcery.com>
17499
17500         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17501         (swap_endianness_p): New extern variable.
17502         (set_big_endian): New inline function.
17503         (maybe_swap_uint32): Likewise.
17504         (maybe_swap_uint32_array): Likewise.
17505         (maybe_swap_uint32_obstack): Likewise.
17506         * locale/programs/locfile.c: Include <stdbool.h>.
17507         (swap_endianness_p): New variable.
17508         (add_locale_uint32): Call maybe_swap_uint32.
17509         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17510         (write_locale_data): Call maybe_swap_uint32_array.
17511         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17512         maybe_swap_uint32.
17513         (obstack_int32_grow_fast): Likewise.
17514         (output_weightwc): Call maybe_swap_uint32_obstack.
17515         (collate_output): Likewise.
17516         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17517         (OPT_LITTLE_ENDIAN): Likewise.
17518         (options): Add --little-endian and --big-endian options.
17519         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17520         * locale/programs/locarchive.c: Include "locfile.h".
17521         (GET): New macro.
17522         (SET): Likewise.
17523         (INC): Likewise.
17524         (create_archive): Use the new macros to access fields of
17525         structures directly mapped from or written to locale archives.
17526         (oldlocrecentcmp): Likewise.
17527         (enlarge_archive): Likewise.
17528         (insert_name): Likewise.
17529         (add_alias): Likewise.
17530         (add_locale): Likewise.
17531         (delete_locales_from_archive): Likewise.
17532         (show_archive_content): Likewise.
17533         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17534         locale data.
17535
17536 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17537
17538         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17539         http://www.gnu.org/doc/freemanuals.texi.
17540         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17541
17542 2013-09-24  Will Newton  <will.newton@linaro.org>
17543
17544         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17545         macro.
17546
17547 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17548
17549         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17550         unsigned char.
17551
17552 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17553
17554         * manual/threads.texi (POSIX Threads): Fix a typo.
17555
17556 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17557
17558         [BZ #14547]
17559         * string/tst-strcoll-overflow.c: New test case.
17560         * string/Makefile (xtests): Add tst-strcoll-overflow.
17561         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17562         cache if string sizes may cause integer overflow.
17563
17564         [BZ #14547]
17565         * string/strcoll_l.c (coll_seq): New members rule, idx,
17566         save_idx and back_us.
17567         (get_next_seq_nocache): New function.
17568         (do_compare_nocache): New function.
17569         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17570         when malloc fails.
17571
17572 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17573
17574         [BZ #15754]
17575         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17576         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17577         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17578
17579         [BZ #15754]
17580         * elf/Makefile (tests): Add tst-ptrguard1.
17581         (tests-static): Add tst-ptrguard1-static.
17582         (tst-ptrguard1-ARGS): Define.
17583         (tst-ptrguard1-static-ARGS): Define.
17584         * elf/tst-ptrguard1.c: New file.
17585         * elf/tst-ptrguard1-static.c: New file.
17586         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17587         * sysdeps/i386/stackguard-macros.h: Likewise.
17588         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17589         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17590         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17591         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17592         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17593         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17594
17595 2013-09-23  Hector Marco  <hecmargi@upv.es>
17596             Ismael Ripoll  <iripoll@disca.upv.es>
17597             Carlos O'Donell  <carlos@redhat.com>
17598
17599         [BZ #15754]
17600         * sysdeps/generic/stackguard-macros.h: Define
17601         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17602         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17603         Define __pointer_chk_guard_local.
17604         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17605         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17606
17607 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17608
17609         [BZ #15859]
17610         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17611
17612 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17613
17614         * include/string.h (__ffs): Declare as hidden.
17615         * string/ffs.c (__ffs): Define as hidden.
17616         * sysdeps/i386/ffs.c (__ffs): Likewise.
17617         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17618         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17619         * sysdeps/s390/ffs.c (__ffs): Likewise.
17620         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17621
17622 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17623
17624         * NEWS: Mention malloc probes.
17625
17626         * malloc/arena.c (new_heap): New memory_heap_new probe.
17627         (grow_heap): New memory_heap_more probe.
17628         (shrink_heap): New memory_heap_less probe.
17629         (heap_trim): New memory_heap_free probe.
17630         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17631         (systrim): New memory_sbrk_less probe.
17632         * manual/probes.texi: Document them.
17633
17634         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17635         * manual/probes.texi: Document it.
17636
17637         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17638         (__libc_realloc): Add memory_realloc_retry probe.
17639         (__libc_memalign): Add memory_memalign_retry probe.
17640         (__libc_valloc): Add memory_valloc_retry probe.
17641         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17642         (__libc_calloc): Add memory_calloc_retry probe.
17643         * manual/probes.texi: Document them.
17644
17645         * malloc/arena.c (get_free_list): Add probe
17646         memory_arena_reuse_free_list.
17647         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17648         and memory_arena_reuse.
17649         (arena_get2) [!PER_THREAD]: Likewise.
17650         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17651         memory_arena_reuse_realloc.
17652         * manual/probes.texi: Document them.
17653
17654         * malloc/malloc.c (__libc_free): Add
17655         memory_mallopt_free_dyn_thresholds probe.
17656         (__libc_mallopt): Add multiple memory_mallopt probes.
17657         * manual/probes.texi: Document them.
17658
17659         * malloc/malloc.c: Include stap-probe.h.
17660         (__libc_mallopt): Add memory_mallopt probe.
17661         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17662         * manual/probes.texi: New.
17663         * manual/Makefile (chapters): Add probes.
17664         * manual/threads.texi: Set next node.
17665
17666 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17667
17668         [BZ #15963, #13985]
17669         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17670         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17671         Add `Chinese' to `nan' entry name.
17672
17673 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17674
17675         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17676         (POLYNOMIAL): Likewise.
17677         (TAYLOR_SINCOS): Likewise.
17678         (TAYLOR_SLOW): Likewise.
17679         (__sin): Use TAYLOR_SINCOS.
17680         (__cos): Likewise.
17681         (slow): Use TAYLOR_SLOW.
17682         (sloww): Likewise.
17683         (bsloww): Likewise.
17684         (csloww): Likewise.
17685
17686 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17687
17688         * stdlib/strtod_l.c: Fix buffer overrun.
17689
17690 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17691
17692         * benchtests/Makefile (bench): Add sincos.
17693         * benchtests/bench-sincos.c: New file.
17694
17695         * math/libm-test.inc (cos_test_data): New test inputs.
17696         (sin_test_data): Likewise.
17697
17698         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17699         macro.
17700         (__sin): Use it.
17701         (__cos): Likewise.
17702         (slow1): Likewise.
17703         (slow2): Likewise.
17704         (sloww1): Likewise.
17705         (sloww2): Likewise.
17706         (bsloww1): Likewise.
17707         (bsloww2): Likewise.
17708         (cslow2): Likewise.
17709         (csloww1): Likewise.
17710         (csloww2): Likewise.
17711
17712         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17713         function.
17714         (__sin): Use it.
17715         (__cos): Likewise.
17716
17717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17718         gotos.
17719         (__cos): Likewise.
17720
17721 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17722
17723         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17724         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17725         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17726         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17727         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17728         * elf/cache.c (print_entry): Handle the new cache flags.
17729
17730 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17731             Aldy Hernandez  <aldyh@redhat.com>
17732
17733         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17734         Change condition to [_SOFT_FLOAT].
17735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17747         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17750         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17751         declaration.
17752
17753 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17754
17755         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17756         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17757         (__longjmp): Use LOAD_GP to load saved GPRs.
17758         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17759         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17760         (__sigsetjmp): Use SAVE_GP to save GPRs.
17761
17762         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17763         Do not append -msoft-float.
17764         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17765
17766 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17767
17768         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17769
17770 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17771
17772         [BZ #15966]
17773         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17774         (_FPU_GETCW): Use initial "__" on variable and field names but not
17775         on macro parameter name.
17776         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17777         parentheses around reference to macro parameter.
17778
17779 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17780
17781         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17782         prototype.
17783         (ctype_startup): Use uint32_t in cast and sizeof for
17784         ctype->charnames.
17785
17786 2013-09-11  Jia Liu  <proljc@gmail.com>
17787
17788         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17789         __daddr_t_defined.
17790         [__FreeBSD__]: Likewise.
17791
17792 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17793
17794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17795         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17796         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17797         (strchr): Remove __strchr_sse42 ifunc selection.
17798         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17799         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17800
17801 2013-09-11  Will Newton  <will.newton@linaro.org>
17802
17803         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17804         parameter to RES. Remove hardcoded 1000 value.
17805         * benchtests/bench-skeleton.c (main): Pass RES parameter
17806         to TIMING_INIT and multiply result by 1000.
17807
17808 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17809
17810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17811
17812 2013-09-11  Andreas Schwab  <schwab@suse.de>
17813
17814         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17815         if not defined.
17816         (O_TMPFILE) [__USE_GNU]: Define.
17817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17818         Define.
17819
17820 2013-09-11  Will Newton  <will.newton@linaro.org>
17821
17822         [BZ #15857]
17823         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17824         does not overflow.
17825
17826 2013-09-11  Will Newton  <will.newton@linaro.org>
17827
17828         [BZ #15856]
17829         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17830         does not overflow.
17831
17832 2013-09-11  Will Newton  <will.newton@linaro.org>
17833
17834         [BZ #15855]
17835         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17836         does not overflow.
17837
17838 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17839
17840         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17841         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17842         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17843         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17844         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17845
17846 2013-09-10  Allan McRae  <allan@archlinux.org>
17847
17848         [BZ #15748]
17849         * manual/arith.texi (Parsing of Floats): Clarify
17850         cross-reference.
17851
17852         [BZ #15849]
17853         * manual/install.texi (Running make install): Mention
17854         --enable-pt-chown.
17855         * INSTALL: Regenerated.
17856
17857 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17858
17859         * csu/init-first.c (_init): Remove the !SHARED condition around
17860         FPU control word initialization.
17861         * elf/dl-support.c (_dl_fpu_control): New variable.
17862         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17863         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17864         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17865         * math/test-fpucw-static.c: New file.
17866         * math/test-fpucw-ieee.c: New file.
17867         * math/test-fpucw-ieee-static.c: New file.
17868         * math/Makefile (tests): Add `test-fpucw-ieee' and
17869         `$(tests-static)'.
17870         (tests-static): New variable.
17871         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17872         dependency to...
17873         [($(build-shared),yes)]
17874         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17875         ... this.
17876         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17877         New dependency.
17878
17879 2013-09-09  Allan McRae  <allan@archlinux.org>
17880
17881         [BZ #15939]
17882         * manual/string.texi (Collation Functions): Fix typo in
17883         strcoll example.
17884         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17885
17886         [BZ #15893]
17887         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17888
17889         [BZ #15892]
17890         * libio/memstream.c (open_memstream): Fix memory leak.
17891         * libio/wmemstream.c (open_wmemstream): Likewise.
17892
17893         [BZ #15895]
17894         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17895
17896 2013-09-09  Will Newton  <will.newton@linaro.org>
17897
17898         * malloc/Makefile: Add tst-realloc to tests.
17899         * malloc/tst-realloc.c: New file.
17900
17901 2013-09-09  Allan McRae  <allan@archlinux.org>
17902
17903         [BZ #15844]
17904         * COPYING: Update from GNU website to fix FSF address.
17905         * COPYING.LIB: Likewise.
17906
17907 2013-09-06  David S. Miller  <davem@davemloft.net>
17908
17909         * po/zh_TW.po: Update Chinese (traditional) translation from
17910         translation project.
17911
17912 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17913             Joseph Myers  <joseph@codesourcery.com>
17914
17915         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17916         "localeinfo.h".
17917         (obstack_chunk_alloc): New macro.
17918         (obstack_chunk_free): Likewise.
17919         (record_offset): New function.
17920         (init_locale_data): Likewise.
17921         (align_locale_data): Likewise.
17922         (add_locale_empty): Likewise.
17923         (add_locale_raw_data): Likewise.
17924         (add_locale_raw_obstack): Likewise.
17925         (add_locale_string): Likewise.
17926         (add_locale_wstring): Likewise.
17927         (add_locale_uint32): Likewise.
17928         (add_locale_uint32_array): Likewise.
17929         (add_locale_char): Likewise.
17930         (start_locale_structure): Likewise.
17931         (end_locale_structure): Likewise.
17932         (start_locale_prelude): Likewise.
17933         (end_locale_prelude): Likewise.
17934         (write_locale_data): Take locale_file structure rather than an
17935         iovec.
17936         * locale/programs/locfile.h: Include "obstack.h".
17937         (struct locale_file): Change to store locale file contents instead
17938         of header.
17939         (init_locale_data): New prototype.
17940         (align_locale_data): Likewise.
17941         (add_locale_empty): Likewise.
17942         (add_locale_raw_data): Likewise.
17943         (add_locale_raw_obstack): Likewise.
17944         (add_locale_string): Likewise.
17945         (add_locale_wstring): Likewise.
17946         (add_locale_uint32): Likewise.
17947         (add_locale_uint32_array): Likewise.
17948         (add_locale_char): Likewise.
17949         (start_locale_structure): Likewise.
17950         (end_locale_structure): Likewise.
17951         (start_locale_prelude): Likewise.
17952         (end_locale_prelude): Likewise.
17953         (write_locale_data): Update prototype.
17954         * locale/programs/3level.h (struct TABLE): Remove result field.
17955         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17956         Use new locale_file interface.
17957         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17958         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17959         * locale/programs/ld-address.c (address_output): Use new
17960         locale_file interface.
17961         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17962         NO_ADD_LOCALE.
17963         (collate_finish): Don't call collseq_table_finalize.
17964         (collate_output): Use new locale_file interface.
17965         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17966         in file.
17967         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17968         (TABLE): Move defines earlier in file.
17969         (ELEMENT): Likewise.
17970         (DEFAULT): Likewise.
17971         (wctrans_table_add): Move macro and inline function earlier in
17972         file.
17973         (struct wctype_table): Move type earlier in file.
17974         (add_locale_wctype_table): New static prototype.
17975         (struct locale_ctype_t): Use logical types instead of struct iovec
17976         pointers for members.
17977         (ctype_output): Use new locale_file interface.
17978         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17979         new locale_file interface.
17980         (allocate_arrays): Update for use of new locale_file interface.
17981         * locale/programs/ld-identification.c (identification_output): Use
17982         new locale_file interface.
17983         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17984         * locale/programs/ld-messages.c (messages_output): Likewise.
17985         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17986         * locale/programs/ld-name.c (name_output): Likewise.
17987         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17988         * locale/programs/ld-paper.c (paper_output): Likewise.
17989         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17990         * locale/programs/ld-time.c (time_output): Likewise.
17991
17992 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17993
17994         * benchtests/Makefile: Add memrchr benchmark.
17995         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17996         benchmark as memrchr.
17997         * benchtests/bench-memrchr-ifunc.c: New file.
17998         * benchtests/bench-memrchr.c: New file.
17999
18000 2013-09-06   Will Newton  <will.newton@linaro.org>
18001
18002         * benchtests/Makefile (string-bench): Add memcpy.
18003
18004 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18005             Cong Wang  <amwang@redhat.com>
18006
18007         [BZ #15850]
18008         * sysdeps/unix/sysv/linux/bits/in.h
18009         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18010         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18011         before __USE_KERNEL_IPV6_DEFS uses.
18012         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18013         IPPROTO_BEETPH.
18014         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18015         sockaddr_in6, or ipv6_mreq.
18016
18017 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18018
18019         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18020         memory access for final bytes in some large inputs.
18021         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18022
18023 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18024
18025         * string/test-memrchr.c: New file.
18026         * string/test-memrchr-ifunc.c: New file.
18027         * string/Makefile: Add new memrchr testcase.
18028
18029 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18030
18031         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18032         fanotify_init returns EPERM.
18033
18034 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18035
18036         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18037         errors.
18038         (top level): Treat second token from macro or constant entries for
18039         allowed headers as allowed.
18040         * include/complex.h: Condition internal declarations on
18041         [!_ISOMAC].
18042         * include/fenv.h: Condition include of <stdbool.h> and internal
18043         declarations on [!_ISOMAC].
18044
18045 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18046
18047         [BZ #15923]
18048         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18049
18050 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18051
18052         * configure.in (--enable-versioning): Remove configure option.
18053         (libc_cv_asm_symver_directive): Remove configure test.
18054         (libc_cv_ld_version_script_option): Likewise.
18055         (VERSIONING): Remove variable and AC_SUBST.
18056         (DO_VERSIONING): Remove AC_DEFINE.
18057         * configure: Regenerated.
18058         * config.h.in (DO_VERSIONING): Remove macro.
18059         * Makerules [$(versioning) = yes]: Change conditionals to
18060         [$(build-shared) = yes].
18061         * config.make.in (versioning): Remove variable.
18062         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18063         [$(build-shared) = yes].
18064         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18065         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18066         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18067         [$(build-shared) = yes].
18068         * extra-lib.mk [$(versioning) = yes]: Likewise.
18069         * hurd/Makefile [$(versioning) = yes]: Likewise.
18070         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18071         [SHARED].
18072         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18073         [SHARED].
18074         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18075         [SHARED && !NO_HIDDEN].
18076         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18077         [SHARED].
18078         [SHARED && DO_VERSIONING]: Likewise..
18079         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18080         [$(build-shared) = yes].
18081         * manual/install.texi (--disable-versioning): Remove
18082         documentation.
18083         * INSTALL: Regenerated.
18084         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18085         to [SHARED].
18086         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18087         [$(build-shared) = yes].
18088         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18089         * sysdeps/i386/i686/multiarch/strstr-c.c
18090         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18091         [SHARED && !NO_HIDDEN].
18092         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18093         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18094         * sysdeps/powerpc/powerpc32/dl-machine.c
18095         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18096         * sysdeps/powerpc/powerpc32/sysdep.h
18097         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18098         to [SHARED && PIC && !NO_HIDDEN].
18099         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18100         conditional to [SHARED].
18101
18102 2013-09-04   Will Newton  <will.newton@linaro.org>
18103
18104         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18105         * benchtests/bench-string.h: Include bench-timing.h instead
18106         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18107         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18108         call to HP_TIMING_DIFF_INIT.
18109         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18110         instead of hp-timing.h macros.
18111         * benchtests/bench-memchr.c: Likewise.
18112         * benchtests/bench-memcmp.c: Likewise.
18113         * benchtests/bench-memcpy.c: Likewise.
18114         * benchtests/bench-memmem.c: Likewise.
18115         * benchtests/bench-memmove.c: Likewise.
18116         * benchtests/bench-memset.c: Likewise.
18117         * benchtests/bench-rawmemchr.c: Likewise.
18118         * benchtests/bench-strcasecmp.c: Likewise.
18119         * benchtests/bench-strcasestr.c: Likewise.
18120         * benchtests/bench-strcat.c: Likewise.
18121         * benchtests/bench-strchr.c: Likewise.
18122         * benchtests/bench-strcmp.c: Likewise.
18123         * benchtests/bench-strcpy.c: Likewise.
18124         * benchtests/bench-strcpy_chk.c: Likewise.
18125         * benchtests/bench-strlen.c: Likewise.
18126         * benchtests/bench-strncasecmp.c: Likewise.
18127         * benchtests/bench-strncat.c: Likewise.
18128         * benchtests/bench-strncmp.c: Likewise.
18129         * benchtests/bench-strncpy.c: Likewise.
18130         * benchtests/bench-strnlen.c: Likewise.
18131         * benchtests/bench-strpbrk.c: Likewise.
18132         * benchtests/bench-strrchr.c: Likewise.
18133         * benchtests/bench-strspn.c: Likewise.
18134         * benchtests/bench-strstr.c: Likewise.
18135
18136 2013-09-04  Will Newton  <will.newton@linaro.org>
18137
18138         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18139
18140 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18141
18142         [BZ #15427]
18143         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18144         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18145         * math/libm-test.inc (lgamma_test_data): Add more tests.
18146         * sysdeps/i386/fpu/libm-test-ulps: Update.
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18148
18149 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18150
18151         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18153         Add ifunc.
18154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18155         Add strcmp-sse2-unaligned
18156         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18157
18158 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18159
18160         * Versions.def (libc): Add GLIBC_2.19.
18161
18162 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18163
18164         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18165         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18166
18167 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18168
18169         [BZ #14155]
18170         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18171         intermediate calculations in recurrence.
18172         (__ieee754_ynf): Likewise.
18173         * math/libm-test.inc (jn_test_data): Do not allow spurious
18174         underflow exception.  Add more tests.
18175         (yn_test_data): Add more tests.
18176         * sysdeps/i386/fpu/libm-test-ulps: Update.
18177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18178
18179 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18180
18181         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18182
18183 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18184
18185         * csu/init-first.c: Fix then/than typos.
18186         * locale/programs/ld-collate.c: Likewise.
18187         * locale/programs/linereader.h: Likewise.
18188         * manual/charset.texi: Likewise.
18189         * manual/filesys.texi: Likewise.
18190         * manual/stdio.texi: Likewise.
18191         * manual/string.texi: Likewise.
18192         * stdlib/fmtmsg.c: Likewise.
18193         * sysdeps/i386/stpncpy.S: Likewise.
18194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18195         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18197         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18198
18199 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18200
18201         * elf/dl-open.c: Fix typos.
18202         * iconvdata/gbbig5.c: Likewise.
18203         * iconvdata/iso-2022-jp.c: Likewise.
18204         * iconv/gconv_int.h: Likewise.
18205         * iconv/loop.c: Likewise.
18206         * nis/rpcsvc/nis.h: Likewise.
18207         * resolv/ns_name.c: Likewise.
18208         * stdio-common/vfscanf.c: Likewise.
18209         * streams/stropts.h: Likewise.
18210         * sunrpc/rpc_thread.c: Likewise.
18211         * sysdeps/i386/strpbrk.S: Likewise.
18212         * sysdeps/ieee754/k_standard.c: Likewise.
18213         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18214         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18215         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18216         * sysdeps/mach/hurd/profil.c: Likewise.
18217         * sysdeps/s390/dl-procinfo.h: Likewise.
18218         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18220         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18221         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18223
18224 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18225
18226         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18228
18229 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18230
18231         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18232         aix specific files.
18233         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18234         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18235         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18236         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18237         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18238         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18239         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18240         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18241
18242 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18243             Roland McGrath  <roland@hack.frob.com>
18244
18245         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18246         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18247
18248 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18249
18250         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18251         __executable_start symbol instead of _start.
18252
18253 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18254
18255         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18256         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18257         Move macros to...
18258         * sysdeps/gnu/ldsodefs.h: ... this new file.
18259
18260         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18261         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18262         instead of ELFOSABI_LINUX.
18263
18264         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18265         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18266         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18267         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18268         Likewise.
18269         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18270         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18271         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18272         Likewise.
18273         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18274         (ibm_extended_long_double): Add ieee_nan member.
18275         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18276         (do_test): New function.
18277
18278         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18279         TEST_TRUNC.
18280         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18281         functions, renamed from truncdfsf_test, trunctfsf_test,
18282         trunctfdf_test.
18283         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18284         functions.
18285         (do_test): Run all these.
18286
18287 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18288
18289         * argp/argp-help.c: Fix typos.
18290         * argp/argp-parse.c: Likewise.
18291         * debug/backtracesyms.c: Likewise.
18292         * elf/elf.h: Likewise.
18293         * malloc/malloc.c: Likewise.
18294         * nis/nis_print.c: Likewise.
18295         * resolv/res_comp.c: Likewise.
18296         * stdlib/stdlib.h: Likewise.
18297         * sunrpc/clnt_tcp.c: Likewise.
18298         * sunrpc/clnt_udp.c: Likewise.
18299         * sunrpc/clnt_unix.c: Likewise.
18300         * sysdeps/unix/bsd/ptsname.c: Likewise.
18301         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18304         Likewise.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18306         Likewise.
18307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18308         Likewise.
18309         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18310
18311 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18312
18313         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18315
18316 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18317
18318         [BZ #15897]
18319         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18320         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18321         ($(objpfx)bug-dl-leaf): New rule.
18322         ($(objpfx)bug-dl-leaf.so): Likewise.
18323         ($(objpfx)bug-dl-leaf.out): Likewise.
18324         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18325         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18326         * dlfcn/bug-dl-leaf.c: New test.
18327         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18328         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18329         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18330         (dlclose): Likewise.
18331         (dlmopen): Likewise.
18332
18333 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18334
18335         * include/netdb.h [!_ISOMAC]:
18336         Don't include <tls.h>.
18337         (h_errno, __libc_h_errno): Move declaration and macros out of
18338         [_LIBC_REENTRANT].
18339
18340         * include/resolv.h [_RESOLV_H_]:
18341         Don't include <tls.h>.
18342         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18343         * resolv/res_libc.c: Don't include <tls.h>.
18344         (_res): Use __attribute__ ((nocommon)) in place of
18345         __attribute__ ((section (".bss"))).
18346
18347         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18348         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18349
18350         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18351
18352         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18353         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18354
18355         * resolv/res_mkquery.c: Include <sys/time.h>.
18356
18357         * inet/ifreq.c: Moved to ...
18358         * sysdeps/unix/ifreq.c: ... here.
18359         * inet/ifreq.c: New file, true stub version.
18360
18361         * socket/sa_len.c: New file.
18362         * socket/Makefile (aux): Add it.
18363         * sysdeps/unix/sysv/linux/Makefile
18364         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18365         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18366         and #include <socket/sa_len.c>.
18367         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18368         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18369
18370         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18371         * bits/socket.h: ... here.
18372
18373         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18374         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18375         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18376
18377 2013-08-27  Andreas Schwab  <schwab@suse.de>
18378
18379         [BZ #15736]
18380         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18381         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18382         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18383         * string/test-strcasecmp.c (test_main): Run tests in several
18384         locales.
18385         * string/test-strncasecmp.c (test_main): Likewise.
18386
18387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18388         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18389         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18390         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18391         (__strncasecmp_ssse3) [PIC]: Likewise.
18392
18393 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18394
18395         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18396
18397         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18398         instead of explicitly declaring xdecrypt.
18399         * nis/nss_nis/nis-publickey.c: Likewise.
18400
18401 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18402
18403         [BZ #15890]
18404         * nscd/aicache.c: Include res_hconf.h.
18405         (addhstaiX): Initialize res_hconf.
18406
18407 2013-08-26  Andreas Schwab  <schwab@suse.de>
18408
18409         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18410         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18411
18412 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18413
18414         * nscd/aicache.c (addhstaiX): Fix indentation.
18415
18416 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18417
18418         * configure.ac: Quote $build_pt_chown test.
18419         * configure: Regenerated.
18420
18421 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18422
18423         [BZ #15532]
18424         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18425         * math/s_cexpf.c (__cexpf): Likewise.
18426         * math/s_cexpl.c (__cexpl): Likewise.
18427         * math/libm-test.inc (cexp_test_data): Correct expected return
18428         value for NaN + i0.  Add another test.
18429
18430 2013-08-22  David S. Miller  <davem@davemloft.net>
18431
18432         * po/ca.po: Update Catalan translation from translation project.
18433         * po/uk.po: Add Ukrainian translations from translation project.
18434
18435 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18436
18437         [BZ #15797]
18438         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18439         is infinite, not alongside NaN test.
18440         * math/s_fdimf.c (__fdimf): Likewise.
18441         * math/s_fdiml.c (__fdiml): Likewise.
18442         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18443         errno is unchanged.
18444
18445 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18446
18447         * argp/argp-help.c: Fix typos.
18448         * crypt/speeds.c: Likewise.
18449         * csu/check_fds.c: Likewise.
18450         * elf/dl-load.c: Likewise.
18451         * elf/dl-open.c: Likewise.
18452         * elf/reldep3.c: Likewise.
18453         * elf/reldep.c: Likewise.
18454         * elf/sprof.c: Likewise.
18455         * iconv/iconv_charmap.c: Likewise.
18456         * iconv/skeleton.c: Likewise.
18457         * iconv/strtab.c: Likewise.
18458         * io/lockf64.c: Likewise.
18459         * libio/libioP.h: Likewise.
18460         * resolv/gai_notify.c: Likewise.
18461         * resolv/ns_name.c: Likewise.
18462         * resolv/ns_samedomain.c: Likewise.
18463         * resolv/res_send.c: Likewise.
18464         * stdlib/random.c: Likewise.
18465         * sunrpc/rpc/xdr.h: Likewise.
18466         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18467         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18470         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18471         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18474         * sysdeps/mach/hurd/check_fds.c: Likewise.
18475         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18476         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18477         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18478         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18479         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18480         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18481         * sysdeps/pthread/aio_notify.c: Likewise.
18482         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18483         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18484         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18485         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18486         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18487
18488 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18489
18490         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18491         version if bit_Slow_SSE4_2 is set.
18492         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18493         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18494
18495 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18496
18497         [BZ #15867]
18498         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18499         trampoline stack frame information.
18500         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18502         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18503         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18504         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18505         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18506         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18507         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18508         sa_flags value.
18509         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18510         interrupting a syscall and set with option SA_SIGINFO.
18511
18512 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18513
18514         [BZ #15531]
18515         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18516         argument is infinite.
18517         * math/s_cprojf.c (__cprojf): Likewise.
18518         * math/s_cprojl.c (__cprojl): Likewise.
18519         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18520         * math/libm-test.inc (cproj_test_data): Add more tests.
18521
18522         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18523
18524         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18525         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18526         size.  Use __ffs to determine corresponding shift.
18527
18528 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18529             Roland McGrath  <roland@hack.frob.com>
18530
18531         * Makefile (INSTALL): Remove trailing blank lines from output of
18532         makeinfo.
18533
18534 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18535
18536         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18537         Align 32 bit compat elf_greg to 8 bytes.
18538
18539 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18540
18541         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18542
18543 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18544
18545         * string/strcoll_l.c (coll_seq): New structure.
18546         (get_next_seq_cached): New function.
18547         (get_next_seq): New function.
18548         (do_compare): New function.
18549         (STRCOLL): Use GNU style definition.  Simplify implementation
18550         by using get_next_seq, get_next_seq_cached and do_compare.
18551
18552 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18553
18554         [BZ #14699]
18555         CVE-2013-4237
18556         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18557         member.
18558         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18559         member.
18560         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18561         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18562         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18563         conditional.
18564         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18565         GETDENTS_64BIT_ALIGNED.
18566         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18567         * manual/filesys.texi (Reading/Closing Directory): Document
18568         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18569         strongly.
18570         * manual/conf.texi (Limits for Files): Add portability note to
18571         NAME_MAX, PATH_MAX.
18572         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18573
18574 2013-08-13  Andreas Schwab  <schwab@suse.de>
18575
18576         [BZ #15749]
18577         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18578         of fabs.
18579         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18580         LDBL_MAX_EXP >= 16384]: Add tests for it.
18581
18582 2013-08-12  David S. Miller  <davem@davemloft.net>
18583
18584         * version.h (RELEASE): Set to "development".
18585         (VERSION): Set to "2.18.90".
18586         * NEWS: Add 2.19 section.
18587
18588 2013-08-03  David S. Miller  <davem@davemloft.net>
18589
18590         * po/ko.po: Update Korean translation from translation project.
18591
18592 2013-08-01  David S. Miller  <davem@davemloft.net>
18593
18594         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18595         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18596         Bilka.
18597
18598 2013-07-30  David S. Miller  <davem@davemloft.net>
18599
18600         * po/fr.po: Update French translation from translation project.
18601
18602 2013-07-28  David S. Miller  <davem@davemloft.net>
18603
18604         * po/cs.po: Update Czech translation from translation project.
18605
18606         * po/sv.po: Update Swedish translation from translation project.
18607
18608 2013-07-27  David S. Miller  <davem@davemloft.net>
18609
18610         * po/eo.po: Update Esperanto translation from translation project.
18611
18612         * po/vi.po: Update Vietnamese translation from translation project.
18613
18614         * po/de.po: Update German translation from translation project.
18615
18616 2013-07-26  David S. Miller  <davem@davemloft.net>
18617
18618         * po/bg.po: Update Bulgarian translation from translation project.
18619
18620         * po/nl.po: Update Dutch translation from translation project.
18621         * po/pl.po: Update Polish translation from translation project.
18622         * po/ru.po: Update Russian translation from translation project.
18623
18624 2013-07-24  David S. Miller  <davem@davemloft.net>
18625
18626         * po/libc.pot: Update.
18627
18628 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18629
18630         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18631         variable page size.
18632         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18634         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18635
18636 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18637
18638         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18639
18640 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18641             Andreas Schwab  <schwab@suse.de>
18642             Roland McGrath  <roland@hack.frob.com>
18643             Joseph Myers  <joseph@codesourcery.com>
18644             Carlos O'Donell  <carlos@redhat.com>
18645
18646         [BZ #15755]
18647         * config.h.in: Define HAVE_PT_CHOWN.
18648         * config.make.in (build-pt-chown): New variable.
18649         * configure.in (--enable-pt_chown): New configure option.
18650         * configure: Regenerate.
18651         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18652         build-pt-chown is enabled.
18653         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18654         pt_chown to fix pty ownership.
18655         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18656         CLOSE_ALL_FDS.
18657         * manual/install.texi (Configuring and compiling): Mention
18658         --enable-pt_chown. Add @findex for grantpt.
18659         * INSTALL: Regenerate.
18660
18661 2013-07-20  David S. Miller  <davem@davemloft.net>
18662
18663         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18664         difference between 32-bit and 64-bit.
18665
18666 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18667
18668         [BZ #15711]
18669         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18670         Avoid system header dependency with -ffreestanding.
18671         ($(objpfx)bits/syscall%d): Likewise.
18672
18673 2013-07-13  David S. Miller  <davem@davemloft.net>
18674
18675         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18676         underflows from atanl/atan2l due to bug 15319.
18677         (casinh_test_data): Likewise.
18678
18679 2013-07-07  David S. Miller  <davem@davemloft.net>
18680
18681         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18682
18683 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18684
18685         * sysdeps/i386/fpu/libm-test-ulps: Update.
18686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687
18688 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18689
18690         * configure.in (--enable-lock-elision): Fix message text.
18691         * INSTALL: Regenerate.
18692         * configure: Regenerate.
18693
18694 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18695
18696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18697
18698 2013-07-03  Andreas Jaeger  <aj@suse.de>
18699
18700         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18701         define.
18702         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18703         (ptrace_peeksiginfo_args): Add.
18704         (__ptrace_peeksiginfo_flags): Add.
18705         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18706         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18707         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18708
18709 2013-07-03  Allan McRae  <allan@archlinux.org>
18710
18711         * sysdeps/i386/fpu/libm-test-ulps: Update.
18712
18713 2013-07-02  David S. Miller  <davem@davemloft.net>
18714
18715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18716
18717 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18718
18719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18720
18721 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18722
18723         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725
18726 2013-07-02  Andi Kleen <ak@linux.intel.com>
18727
18728         * config.h.in (ENABLE_LOCK_ELISION): Add.
18729         * configure.in (--enable-lock-elision): Add option.
18730         * manual/install.texi: Document --enable lock elision.
18731         * configure: Regenerate
18732         * INSTALL: Regenerate.
18733
18734 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18735
18736         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18737         SSE4.2 strcasecmp for libc.a.
18738         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18739
18740 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18741
18742         [BZ #13304]
18743         * soft-fp/op-common.h (_FP_FMA): New macro.
18744         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18745         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18746         (_FP_MUL_MEAT_1_imm): ... here.
18747         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18748         (_FP_MUL_MEAT_1_wide): ... here.
18749         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18750         (_FP_MUL_MEAT_1_hard): ... here.
18751         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18752         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18753         (_FP_MUL_MEAT_2_wide): ... here.
18754         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18755         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18756         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18757         (_FP_MUL_MEAT_2_gmp): ... here.
18758         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18759         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18760         (_FP_MUL_MEAT_4_wide): ... here.
18761         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18762         (_FP_MUL_MEAT_4_gmp): ... here.
18763         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18764         (_FP_WFRACBITS_DW_S): Likewise.
18765         (_FP_WFRACXBITS_DW_S): Likewise.
18766         (_FP_HIGHBIT_DW_S): Likewise.
18767         (FP_FMA_S): Likewise.
18768         (_FP_FRAC_HIGH_DW_S): Likewise.
18769         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18770         (_FP_WFRACBITS_DW_D): Likewise.
18771         (_FP_WFRACXBITS_DW_D): Likewise.
18772         (_FP_HIGHBIT_DW_D): Likewise.
18773         (FP_FMA_D): Likewise.
18774         (_FP_FRAC_HIGH_DW_D): Likewise.
18775         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18776         (_FP_WFRACBITS_DW_E): Likewise.
18777         (_FP_WFRACXBITS_DW_E): Likewise.
18778         (_FP_HIGHBIT_DW_E): Likewise.
18779         (FP_FMA_E): Likewise.
18780         (_FP_FRAC_HIGH_DW_E): Likewise.
18781         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18782         (_FP_WFRACBITS_DW_Q): Likewise.
18783         (_FP_WFRACXBITS_DW_Q): Likewise.
18784         (_FP_HIGHBIT_DW_Q): Likewise.
18785         (FP_FMA_Q): Likewise.
18786         (_FP_FRAC_HIGH_DW_Q): Likewise.
18787         * soft-fp/fmasf4.c: New file.
18788         * soft-fp/fmadf4.c: Likewise.
18789         * soft-fp/fmatf4.c: Likewise.
18790
18791 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18792
18793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18794         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18795         Silvermont.
18796         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18797         macro.
18798         (index_Slow_SSE4_2): Likewise.
18799         (index_Prefer_PMINUB_for_stringop): Likewise.
18800         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18801         bit_Slow_SSE4_2 is set.
18802         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18803         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18804
18805 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18806
18807         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18808         rtld_global._dl_hwcap2.
18809         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18810         POWER8.
18811         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18812         POWER8 feature descriptions defined in _dl_hwcap2.
18813         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18814         string handling for POWER8 feature bits.
18815         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18816         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18817         _dl_powerpc_cap_flags.
18818         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18819         * sysdeps/powerpc/rtld-global-offsets.sym
18820         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18821         _dl_hwcap2 in the rtld_global_ro structure.
18822
18823 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18824
18825         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18826         hardware capabilities in support of AT_HWCAP2.
18827         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18828         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18829         GLRO(dl_hwcap2).
18830         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18831         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18832         explicitly the unknown a_type display mechanism is used.
18833         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18834         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18835         struct member.
18836         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18837         to macro prototype for AT_HWCAP2 support.
18838         * sysdeps/i386/dl-procinfo.h: Likewise.
18839         * sysdeps/s390/dl-procinfo.h: Likewise.
18840         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18841         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18842         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18843         return -1 for unknown a_type display fallback.
18844         * sysdeps/sparc/dl-procinfo.h: Likewise.
18845         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18846         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18847
18848 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18849
18850         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18851         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18852
18853 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18854
18855         [BZ #12492]
18856         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18857         mprotect making __stack_prot writable.
18858
18859 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18860             Joseph Myers  <joseph@codesourcery.com>
18861
18862         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18863         as being properly aligned.
18864
18865 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18866
18867         * dlfcn/modstatic5.c: New file.
18868         * dlfcn/tststatic5.c: New file.
18869         * dlfcn/Makefile (tests): Add tststatic5.
18870         (tests-static): Likewise.
18871         (modules-names): Add modstatic5.
18872         (tststatic5-ENV): New variable.
18873         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18874
18875         [BZ #15022]
18876         * elf/dl-support.c (_dl_main_map): New variable.
18877         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18878         (_dl_nns, _dl_load_adds): Set to 1.
18879         (_dl_initial_searchlist): Refer to _dl_main_map.
18880         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18881         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18882         call to _dl_get_origin.
18883         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18884         around call_map.
18885         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18886         * dlfcn/modstatic3.c: New file.
18887         * dlfcn/tststatic3.c: New file.
18888         * dlfcn/tststatic4.c: New file.
18889         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18890         (tests-static): Likewise.
18891         (modules-names): Add modstatic3.
18892         (tststatic3-ENV, tststatic4-ENV): New variables.
18893         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18894         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18895
18896 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18897
18898         * configure.in (CC): Require GCC version 4.4 or later.
18899         * configure: Regenerated.
18900         * manual/install.texi (Tools for Compilation): Update GCC version
18901         requirement.
18902         * INSTALL: Regenerated.
18903
18904 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18905
18906         [BZ #15674]
18907         * string/test-memcmp.c (check2): New.
18908         (main): Call check2.
18909
18910         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18911
18912 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18913
18914         [BZ #15022]
18915         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18916         over to...
18917         (dl_open_worker) [!SHARED]: ... here.
18918
18919 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18920
18921         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18922
18923 2013-06-25  Richard Henderson  <rth@redhat.com>
18924
18925         * locale/programs/locarchive.c: Include <libc-internal.h>
18926
18927 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18928
18929         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18930         trailing whitespace removed.
18931
18932 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18933
18934         [BZ #10283]
18935         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18936         * locale/programs/locarchive.c: Include libc-mmap.h.
18937         (prepare_address_space): Take two new outputs (the mmap base and len).
18938         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18939         values.
18940         (create_archive): Declare new mmap base and len values for
18941         prepare_address_space, and store the result in ah.
18942         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18943         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18944         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18945         Declare new mmap base and len values for
18946         prepare_address_space, and store the result in new_ah.
18947         (open_archive): Declare new mmap base and len values for
18948         prepare_address_space, and store the result in ah.
18949         (close_archive): If ah->mmap_base is not NULL, use that and
18950         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18951         * sysdeps/generic/libc-mmap.h: New file.
18952
18953 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18954
18955         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18956         (ALIGN_UP): Likewise.
18957         (PTR_ALIGN_DOWN): Likewise.
18958         (PTR_ALIGN_UP): Likewise.
18959
18960 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18961
18962         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18963         entry mapped to PPC_PLATFORM_POWER8.
18964         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18965         POWER8.
18966         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18967         (_dl_string_platform): Add case for exporting platform position for
18968         POWER8.
18969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18970         search path to sysdeps/powerpc/powerpc32/power8 directory.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18972         search path to sysdeps/powerpc/powerpc64/power8 directory.
18973         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18974         power7 directories.
18975         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18976         power7 directories.
18977
18978 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18979
18980         * INSTALL: Regenerate.
18981
18982         * nscd/connections.c (nscd_init): Fix comment.
18983
18984 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18985
18986         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18987
18988         [BZ #15667]
18989         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18990         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18991
18992 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18993
18994         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18995         DL_DST_REQ_STATIC.
18996         (DL_DST_REQ_STATIC): Remove macro.
18997
18998 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18999
19000         [BZ #7006]
19001         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19002         with a shift of 0 bits.
19003
19004 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19005
19006         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19007         $(tststatic-ENV).
19008
19009 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19010
19011         [BZ #15655]
19012         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19013
19014 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19015
19016         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19017         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19018         accepts -fno-tree-loop-distribute-patterns.
19019         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19020         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19021         recursive call.
19022         * string/memset.c (memset): Likewise.
19023         * string/test-memmove.c (simple_memmove): Disable loop transformation
19024         to library calls.
19025         * string/test-memset.c (simple_memset): Likewise.
19026         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19027         * benchtests/bench-memset.c (simple_memset): Likewise.
19028         * configure: Regenerated.
19029
19030 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19031
19032         * math/test-misc.c (main): Ignore fesetround failure when failures
19033         of subsequent rounding tests would be ignored.
19034
19035         [BZ #15654]
19036         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19037         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19038         * math/fegetenv.c (__fegetenv): Return 0.
19039         * math/fegetexcept.c (fegetexcept): Return 0.
19040         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19041         FE_TONEAREST.
19042         * math/feholdexcpt.c (feholdexcept): Return 0.
19043         * math/fesetenv.c (__fesetenv): Return 0.
19044         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19045         argument FE_TONEAREST.
19046         * math/feupdateenv.c (__feupdateenv): Return 0.
19047         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19048
19049 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19050
19051         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19052         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19053         ($(objpfx)rtld-%.os rules): Use them.
19054
19055 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19056
19057         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19058         fields.
19059
19060 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19061
19062         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19063         length of target pattern, then descending length of dependency pattern.
19064         * configure.in (AWK): Require gawk 3.1.2 or newer.
19065         * manual/install.texi (Tools for Compilation): Say that we do.
19066         * configure: Regenerated.
19067
19068         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19069         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19070         * scripts/sysd-rules.awk: ... this new script.
19071         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19072         than a glob-style pattern.
19073
19074 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19075
19076         * math/test-misc.c (main): Do not treat incorrectly rounded
19077         conversions as failure unless ROUNDING_TESTS passes.
19078
19079 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19080
19081         [BZ #15631]
19082         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19083         restore exception state around main square root computation, then
19084         check for inexactness explicitly.
19085
19086         * math/libm-test.inc (fma_test_data): Add another test.
19087
19088 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19089
19090         * manual/threads.texi (Non-POSIX Extensions): New document
19091         node.  Document pthread_getattr_default_np and
19092         pthread_setattr_default_np.
19093
19094         * Versions.def (libpthread): Add GLIBC_2.18.
19095         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19097         Likewise.
19098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19103         Likewise.
19104         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19105         Likewise.
19106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19107         Likewise.
19108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19109         Likewise.
19110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19111         Likewise.
19112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19113         Likewise.
19114
19115 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19116
19117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19118         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19119
19120 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19121             H.J. Lu  <hjl.tools@gmail.com>
19122
19123         [BZ #15627]
19124         * sysdeps/x86_64/rtld-memset.c: Remove file.
19125         * sysdeps/x86_64/rtld-memset.S: New file.
19126
19127 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19128
19129         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19130         (test_in_one_mode): Take arguments for whether the rounding mode
19131         is supported for each floating-point type.
19132         (do_test): Pass new arguments to test_in_one_mode using
19133         ROUNDING_TESTS.
19134
19135 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19136
19137         * posix/tst-waitid.c (do_test): Distinguish different instances of
19138         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19139         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19140         before entering the kernel for waitpid.
19141
19142 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19143
19144         * NEWS: Fix note on clock function precision.  Text by Roland
19145         McGrath.
19146
19147 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19148
19149         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19150         it into place only when and if the sanity check passes.
19151
19152 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19153
19154         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19155         output for whether conversion result is exact.  Take argument
19156         indicating whether type is IBM long double.
19157         (round_for_all): Change need_exact field to ibm_ld.
19158         * stdlib/tst-strtod-round.c (struct exactness): New type.
19159         (struct test): Change bool ld_ok field to struct exactness exact.
19160         (TEST): Update all definitions for change to field.
19161         (tests): Regenerate array contents.
19162         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19163         field value.  Check for IBM long double here.
19164         (do_test): Update calls to test_in_one_mode.
19165
19166 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19167
19168         [BZ #12515]
19169         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19170         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19171
19172 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19173
19174         [BZ #15605]
19175         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19176         generated by the compiler on loop optimizations.
19177         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19178         general definitions.
19179
19180 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19181
19182         * math/bug-nextafter.c: Include <math-tests.h>.
19183         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19184         the relevant type.
19185         * math/bug-nexttoward.c: Include <math-tests.h>.
19186         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19187         the relevant type.
19188         * math/test-misc.c: Include <math-tests.h>.
19189         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19190         the relevant type.
19191
19192 2013-06-12  Andreas Jaeger  <aj@suse.de>
19193
19194         * po/ia.po: Update Interlingua translation from translation
19195         project.
19196
19197 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19198
19199         * include/fenv.h: Include stdbool.h.
19200         (struct rm_ctx): New structure.
19201         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19202         Define macro.
19203         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19204         (SET_RESTORE_ROUNDF): Likewise.
19205         (SET_RESTORE_ROUNDL): Likewise.
19206         (SET_RESTORE_ROUND_NOEX): Likewise.
19207         (SET_RESTORE_ROUND_NOEXF): Likewise.
19208         (SET_RESTORE_ROUND_NOEXL): Likewise.
19209         (SET_RESTORE_ROUND_53BIT): Likewise.
19210         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19211         (libc_feresetround_noexf_ctx): Likewise.
19212         (libc_feresetround_noexl_ctx): Likewise.
19213         (libc_feholdsetround_53bit_ctx): Likewise.
19214         (libc_feresetround_53bit_ctx): Likewise.
19215         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19216         (libc_feholdexcept_setround_sse_ctx): New function.
19217         (libc_fesetenv_sse_ctx): Likewise.
19218         (libc_feupdateenv_sse_ctx): Likewise.
19219         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19220         (libc_feholdexcept_setround_387_ctx): Likewise.
19221         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19222         (libc_feholdsetround_387_prec_ctx): Likewise.
19223         (libc_feholdsetround_387_ctx): Likewise.
19224         (libc_feholdsetround_387_53bit_ctx): Likewise.
19225         (libc_feholdsetround_sse_ctx): Likewise.
19226         (libc_feresetround_sse_ctx): Likewise.
19227         (libc_feresetround_387_ctx): Likewise.
19228         (libc_feupdateenv_387_ctx): Likewise.
19229         (libc_feholdexcept_setroundf_ctx): Define macro.
19230         (libc_fesetenvf_ctx): Likewise.
19231         (libc_feupdateenvf_ctx): Likewise.
19232         (libc_feholdsetroundf_ctx): Likewise.
19233         (libc_feresetroundf_ctx): Likewise.
19234         (libc_feholdexcept_setround_ctx): Likewise.
19235         (libc_fesetenv_ctx): Likewise.
19236         (libc_feupdateenv_ctx): Likewise.
19237         (libc_feholdsetround_ctx): Likewise.
19238         (libc_feresetround_ctx): Likewise.
19239         (libc_feholdexcept_setroundl_ctx): Likewise.
19240         (libc_feupdateenvl_ctx): Likewise.
19241         (libc_feholdsetroundl_ctx): Likewise.
19242         (libc_feresetroundl_ctx): Likewise.
19243         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19244         (libc_feresetround_53bit_ctx): Likewise.
19245
19246 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19247
19248         * locale/iso-639.def: Convert to UTF-8.
19249
19250 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19251
19252         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19253         (EXCEPTION_TESTS_double): Likewise.
19254         (EXCEPTION_TESTS_long_double): Likewise.
19255         (EXCEPTION_TESTS): Likewise.
19256         * math/libm-test.inc (test_exceptions): Only test exceptions if
19257         EXCEPTION_TESTS (FLOAT).
19258
19259 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19260
19261         * benchtests/Makefile (string-bench): Add strcpy_chk and
19262         stpcpy_chk.
19263         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19264         * benchtests/bench-stpcpy_chk.c: New file.
19265         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19266         * benchtests/bench-strcpy_chk.c: New file.
19267         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19268         code.
19269         (do_test): Likewise.
19270
19271 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19272
19273         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19274         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19275         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19276         with tabs where appropriate.
19277         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19278         dl-procinfo.h.
19279         [PPC_PLATFORM_PPC440]: Likewise.
19280         [PPC_PLATFORM_PPC464]: Likewise.
19281         [PPC_PLATFORM_PPC476]: Likewise.
19282         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19283         ppc464, and ppc476 platform strings merging from ports/
19284         dl-procinfo.h.
19285
19286 2013-06-11  Andreas Schwab  <schwab@suse.de>
19287
19288         [BZ #14991]
19289         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19290         (from_ucs4_idx): Regenerate.
19291         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19292         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19293         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19294         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19295         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19296         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19297         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19298         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19299         from FROM_LOOP and TO_LOOP specific macros.
19300         (BODY): Handle combining characters.
19301         * iconvdata/BIG5HKSCS.irreversible: Update.
19302         * iconvdata/BIG5HKSCS.precomposed: New file.
19303         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19304         characters.
19305         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19306
19307 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19308
19309         * include/sys/time.h: Fix indentation and add copyright header.
19310
19311         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19312         (do_test): Likewise.
19313         * string/test-memchr.c (do_one_test): Likewise.
19314         (do_test): Likewise.
19315         * string/test-memcmp.c (do_one_test): Likewise.
19316         (do_test): Likewise.
19317         * string/test-memcpy.c (do_one_test): Likewise.
19318         (do_test): Likewise.
19319         * string/test-memmem.c (do_one_test): Likewise.
19320         (do_test): Likewise.
19321         (do_random_tests): Likewise.
19322         * string/test-memmove.c (do_one_test): Likewise.
19323         (do_test): Likewise.
19324         * string/test-memset.c (do_one_test): Likewise.
19325         (do_test): Likewise.
19326         * string/test-rawmemchr.c (do_one_test): Likewise.
19327         (do_test): Likewise.
19328         * string/test-strcasecmp.c (do_one_test): Likewise.
19329         (do_test): Likewise.
19330         * string/test-strcasestr.c (do_one_test): Likewise.
19331         (do_test): Likewise.
19332         * string/test-strcat.c (do_one_test): Likewise.
19333         (do_test): Likewise.
19334         * string/test-strchr.c (do_one_test): Likewise.
19335         (do_test): Likewise.
19336         * string/test-strcmp.c (do_one_test): Likewise.
19337         (do_test): Likewise.
19338         * string/test-strcpy.c (do_one_test): Likewise.
19339         (do_test): Likewise.
19340         * string/test-string.h: Likewise.
19341         (test_init): Likewise.
19342         * string/test-strlen.c (do_one_test): Likewise.
19343         (do_test): Likewise.
19344         * string/test-strncasecmp.c (do_one_test): Likewise.
19345         (do_test): Likewise.
19346         * string/test-strncat.c (do_one_test): Likewise.
19347         (do_test): Likewise.
19348         * string/test-strncmp.c (do_one_test): Likewise.
19349         (do_test_limit): Likewise.
19350         (do_test): Likewise.
19351         * string/test-strncpy.c (do_one_test): Likewise.
19352         (do_test): Likewise.
19353         * string/test-strnlen.c (do_one_test): Likewise.
19354         (do_test): Likewise.
19355         * string/test-strpbrk.c (do_one_test): Likewise.
19356         (do_test): Likewise.
19357         * string/test-strrchr.c (do_one_test): Likewise.
19358         (do_test): Likewise.
19359         * string/test-strspn.c (do_one_test): Likewise.
19360         (do_test): Likewise.
19361         * string/test-strstr.c (do_one_test): Likewise.
19362         (do_test): Likewise.
19363
19364         * benchtests/Makefile (string-bench): Add string benchmarks.
19365         * benchtests/bench-bcopy-ifunc.c: New file.
19366         * benchtests/bench-bcopy.c: New file.
19367         * benchtests/bench-bzero-ifunc.c: New file.
19368         * benchtests/bench-bzero.c: New file.
19369         * benchtests/bench-memccpy-ifunc.c: New file.
19370         * benchtests/bench-memccpy.c: New file.
19371         * benchtests/bench-memchr-ifunc.c: New file.
19372         * benchtests/bench-memchr.c: New file.
19373         * benchtests/bench-memcmp-ifunc.c: New file.
19374         * benchtests/bench-memcmp.c: New file.
19375         * benchtests/bench-memmem-ifunc.c: New file.
19376         * benchtests/bench-memmem.c: New file.
19377         * benchtests/bench-memmove-ifunc.c: New file.
19378         * benchtests/bench-memmove.c: New file.
19379         * benchtests/bench-mempcpy-ifunc.c: New file.
19380         * benchtests/bench-mempcpy.c: New file.
19381         * benchtests/bench-memset-ifunc.c: New file.
19382         * benchtests/bench-memset.c: New file.
19383         * benchtests/bench-rawmemchr-ifunc.c: New file.
19384         * benchtests/bench-rawmemchr.c: New file.
19385         * benchtests/bench-stpcpy-ifunc.c: New file.
19386         * benchtests/bench-stpcpy.c: New file.
19387         * benchtests/bench-stpncpy-ifunc.c: New file.
19388         * benchtests/bench-stpncpy.c: New file.
19389         * benchtests/bench-strcasecmp-ifunc.c: New file.
19390         * benchtests/bench-strcasecmp.c: New file.
19391         * benchtests/bench-strcasestr-ifunc.c: New file.
19392         * benchtests/bench-strcasestr.c: New file.
19393         * benchtests/bench-strcat-ifunc.c: New file.
19394         * benchtests/bench-strcat.c: New file.
19395         * benchtests/bench-strchr-ifunc.c: New file.
19396         * benchtests/bench-strchr.c: New file.
19397         * benchtests/bench-strchrnul-ifunc.c: New file.
19398         * benchtests/bench-strchrnul.c: New file.
19399         * benchtests/bench-strcmp-ifunc.c: New file.
19400         * benchtests/bench-strcmp.c: New file.
19401         * benchtests/bench-strcpy-ifunc.c: New file.
19402         * benchtests/bench-strcpy.c: New file.
19403         * benchtests/bench-strcspn-ifunc.c: New file.
19404         * benchtests/bench-strcspn.c: New file.
19405         * benchtests/bench-strlen-ifunc.c: New file.
19406         * benchtests/bench-strlen.c: New file.
19407         * benchtests/bench-strncasecmp-ifunc.c: New file.
19408         * benchtests/bench-strncasecmp.c: New file.
19409         * benchtests/bench-strncat-ifunc.c: New file.
19410         * benchtests/bench-strncat.c: New file.
19411         * benchtests/bench-strncmp-ifunc.c: New file.
19412         * benchtests/bench-strncmp.c: New file.
19413         * benchtests/bench-strncpy-ifunc.c: New file.
19414         * benchtests/bench-strncpy.c: New file.
19415         * benchtests/bench-strnlen-ifunc.c: New file.
19416         * benchtests/bench-strnlen.c: New file.
19417         * benchtests/bench-strpbrk-ifunc.c: New file.
19418         * benchtests/bench-strpbrk.c: New file.
19419         * benchtests/bench-strrchr-ifunc.c: New file.
19420         * benchtests/bench-strrchr.c: New file.
19421         * benchtests/bench-strspn-ifunc.c: New file.
19422         * benchtests/bench-strspn.c: New file.
19423         * benchtests/bench-strstr-ifunc.c: New file.
19424         * benchtests/bench-strstr.c: New file.
19425
19426         * benchtests/Makefile: Disable parallel execution of targets.
19427         (string-bench): Add memcpy.
19428         (benchset): New variable to store a list of benchmark sets.
19429         (bench-func): Renamed from bench.
19430         (bench-set): New target.
19431         (bench): Depend on bench-func and bench-set.
19432         * benchtests/README: Add section on benchmark sets.
19433         * benchtests/bench-memcpy-ifunc.c: New file.
19434         * benchtests/bench-memcpy.c: New file.
19435         * benchtests/bench-string.h: New file.
19436
19437 2013-06-11  Andreas Schwab  <schwab@suse.de>
19438
19439         [BZ #15577]
19440         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19441         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19442         values in the triple.
19443         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19444         terminator in the group key.
19445
19446 2013-06-11  Andreas Jaeger  <aj@suse.de>
19447
19448         * po/zh_TW.po: Update Chinese (traditional) translation from
19449         translation project.
19450
19451 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19452
19453         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19454         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19455         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19456         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19457         (clock_getcpuclockid): Likewise.
19458         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19459         Add weak_alias and libc_hidden_def.
19460         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19461         * rt/clock_gettime.c (clock_gettime): Rename to
19462         __clock_gettime.  Add weak_alias and libc_hidden_def.
19463         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19464         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19465         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19466         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19467         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19468         Likewise.
19469         * rt/clock_settime.c (clock_settime): Rename to
19470         __clock_settime.  Add weak_alias and libc_hidden_def.
19471         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19472
19473 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19474
19475         * mach/err_boot.sub: Remove trailing whitespace.
19476         * mach/err_ipc.sub: Likewise.
19477         * mach/err_mach.sub: Likewise.
19478
19479         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19480         (ROUNDING_TESTS_double): Likewise.
19481         (ROUNDING_TESTS_long_double): Likewise.
19482         (ROUNDING_TESTS): Likewise.
19483         * math/libm-test.inc: Include <math-tests.h>.
19484         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19485         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19486         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19487         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19488
19489 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19490
19491         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19492         of assigning.
19493
19494 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19495
19496         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19497         otherwise empty TRANS lines.
19498         * sysdeps/gnu/errlist.c: Regenerated.
19499
19500         * catgets/gencat.c (error_print): Use (void) in function
19501         definition.
19502         * crypt/crypt_util.c (__init_des): Likewise.
19503         * crypt/speeds.c (Stop): Likewise.
19504         (main): Likewise.
19505         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19506         * inet/ruserpass.c (token): Likewise.
19507         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19508         * intl/localealias.c (extend_alias_table): Likewise.
19509         * intl/plural-exp.c (init_germanic_plural): Likewise.
19510         * libio/fcloseall.c (__fcloseall): Likewise.
19511         * libio/genops.c (_IO_flush_all): Likewise.
19512         (_IO_flush_all_linebuffered): Likewise.
19513         (_IO_cleanup): Likewise.
19514         (_IO_iter_begin): Likewise.
19515         (_IO_iter_end): Likewise.
19516         (_IO_list_lock): Likewise.
19517         (_IO_list_unlock): Likewise.
19518         (_IO_list_resetlock): Likewise.
19519         * libio/getchar.c (getchar): Likewise.
19520         * libio/getchar_u.c (getchar_unlocked): Likewise.
19521         * libio/getwchar.c (getwchar): Likewise.
19522         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19523         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19524         * login/getpt.c (__getpt): Likewise.
19525         * login/tst-utmp.c (main): Likewise.
19526         * malloc/hooks.c (__malloc_check_init): Likewise.
19527         * malloc/malloc.c (__malloc_stats): Likewise.
19528         * malloc/mtrace.c (tr_break): Likewise.
19529         (mtrace): Likewise.
19530         (muntrace): Likewise.
19531         * misc/fstab.c (endfsent): Likewise.
19532         * misc/getclktck.c (__getclktck): Likewise.
19533         * misc/getdtsz.c (__getdtablesize): Likewise.
19534         * misc/gethostid.c (gethostid): Likewise.
19535         * misc/getpagesize.c (__getpagesize): Likewise.
19536         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19537         (__get_nprocs): Likewise.
19538         (__get_phys_pages): Likewise.
19539         (__get_avphys_pages): Likewise.
19540         * misc/getttyent.c (getttyent): Likewise.
19541         (setttyent): Likewise.
19542         (endttyent): Likewise.
19543         * misc/getusershell.c (getusershell): Likewise.
19544         (endusershell): Likewise.
19545         (setusershell): Likewise.
19546         (initshells): Likewise.
19547         * misc/hsearch.c (__hdestroy): Likewise.
19548         * misc/sync.c (sync): Likewise.
19549         * misc/syslog.c (closelog_internal): Likewise.
19550         (closelog): Likewise.
19551         * misc/ttyslot.c (ttyslot): Likewise.
19552         * misc/vhangup.c (vhangup): Likewise.
19553         * posix/fork.c (__fork): Likewise.
19554         * posix/getegid.c (__getegid): Likewise.
19555         * posix/geteuid.c (__geteuid): Likewise.
19556         * posix/getgid.c (__getgid): Likewise.
19557         * posix/getpid.c (__getpid): Likewise.
19558         * posix/getppid.c (__getppid): Likewise.
19559         * posix/getuid.c (__getuid): Likewise.
19560         * posix/pause.c (pause): Likewise.
19561         * posix/setpgrp.c (setpgrp): Likewise.
19562         * posix/setsid.c (__setsid): Likewise.
19563         * posix/test-vfork.c (noop): Likewise.
19564         * resolv/gethnamaddr.c (_endhtent): Likewise.
19565         (_gethtent): Likewise.
19566         (ht_endhostent): Likewise.
19567         (gethostent): Likewise.
19568         (dns_service): Likewise.
19569         * stdlib/drand48.c (drand48): Likewise.
19570         * stdlib/lrand48.c (lrand48): Likewise.
19571         * stdlib/mrand48.c (mrand48): Likewise.
19572         * stdlib/rand.c (rand): Likewise.
19573         * stdlib/random.c (__random): Likewise.
19574         * stdlib/setenv.c (clearenv): Likewise.
19575         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19576         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19577         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19578         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19579         (__get_nprocs): Likewise.
19580         (__get_phys_pages): Likewise.
19581         (__get_avphys_pages): Likewise.
19582         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19583         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19584         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19585         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19586         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19587         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19588         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19589         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19590         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19591         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19592         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19593         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19594         * sysdeps/posix/clock.c (clock): Likewise.
19595         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19596         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19597         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19598         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19599         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19601         (__get_nprocs_conf): Likewise.
19602         (__get_phys_pages): Likewise.
19603         (__get_avphys_pages): Likewise.
19604         * time/clock.c (clock): Likewise.
19605         * time/tzset.c (__tzname_max): Likewise.
19606
19607 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19608
19609         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19610         (__bswap_32): Do not use "register".
19611         * crypt/crypt.c (_ufc_doit_r): Likewise.
19612         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19613         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19614         * gmon/gmon.c (__monstartup): Likewise.
19615         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19616         * hurd/hurdmalloc.c (more_memory): Likewise.
19617         (malloc): Likewise.
19618         (free): Likewise.
19619         (realloc): Likewise.
19620         (malloc_fork_prepare): Likewise.
19621         (malloc_fork_parent): Likewise.
19622         (malloc_fork_child): Likewise.
19623         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19624         (_svcauth_des): Likewise.
19625         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19626         * inet/inet_net.c (inet_network): Likewise.
19627         * inet/inet_netof.c (inet_netof): Likewise.
19628         * inet/rcmd.c (__validuser2_sa): Likewise.
19629         * io/fts.c (fts_open): Likewise.
19630         (fts_load): Likewise.
19631         (fts_close): Likewise.
19632         (fts_read): Likewise.
19633         (fts_children): Likewise.
19634         (fts_build): Likewise.
19635         (fts_stat): Likewise.
19636         (fts_sort): Likewise.
19637         (fts_alloc): Likewise.
19638         (fts_lfree): Likewise.
19639         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19640         (_IO_file_xsgetn): Likewise.
19641         (_IO_file_xsgetn_mmap): Likewise.
19642         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19643         (_IO_cookie_write): Likewise.
19644         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19645         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19646         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19647         * malloc/obstack.c (_obstack_begin): Likewise.
19648         (_obstack_begin_1): Likewise.
19649         (_obstack_newchunk): Likewise.
19650         (_obstack_allocated_p): Likewise.
19651         (obstack_free): Likewise.
19652         (_obstack_memory_used): Likewise.
19653         * misc/getttyent.c (getttynam): Likewise.
19654         (getttyent): Likewise.
19655         (skip): Likewise.
19656         (value): Likewise.
19657         * misc/getusershell.c (initshells): Likewise.
19658         * misc/syslog.c (__vsyslog_chk): Likewise.
19659         * misc/ttyslot.c (ttyslot): Likewise.
19660         * nis/nis_hash.c (__nis_hash): Likewise.
19661         * posix/fnmatch_loop.c (FCT): Likewise.
19662         * posix/getconf.c (print_all): Likewise.
19663         (main): Likewise.
19664         * posix/getopt.c (exchange): Likewise.
19665         * posix/glob.c (globfree): Likewise.
19666         (prefix_array): Likewise.
19667         (__glob_pattern_type): Likewise.
19668         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19669         (NS_GET32): Likewise.
19670         (NS_PUT16): Likewise.
19671         (NS_PUT32): Likewise.
19672         * resolv/gethnamaddr.c (getanswer): Likewise.
19673         (gethostbyname2): Likewise.
19674         (gethostbyaddr): Likewise.
19675         (_gethtent): Likewise.
19676         (_gethtbyname2): Likewise.
19677         (_gethtbyaddr): Likewise.
19678         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19679         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19680         * resolv/res_init.c (__res_vinit): Likewise.
19681         (net_mask): Likewise.
19682         * resolv/res_mkquery.c (outchar): Likewise.
19683         (PRINT): Likewise.
19684         * stdio-common/printf_fp.c (outchar): Likewise.
19685         (PRINT): Likewise.
19686         * stdio-common/printf_fphex.c (outchar): Likewise.
19687         (PRINT): Likewise.
19688         * stdio-common/printf_size.c (outchar): Likewise.
19689         (PRINT): Likewise.
19690         * stdio-common/test_rdwr.c (main): Likewise.
19691         * stdio-common/tfformat.c (matches): Likewise.
19692         * stdio-common/vfprintf.c (outchar): Likewise.
19693         (printf_unknown): Likewise.
19694         (buffered_vfprintf): Likewise.
19695         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19696         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19697         (ReadFile): Likewise.
19698         * stdlib/qsort.c (SWAP): Likewise.
19699         (_quicksort): Likewise.
19700         * stdlib/setenv.c (__add_to_environ): Likewise.
19701         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19702         * stdlib/strtol_l.c (__strtol_l): Likewise.
19703         * stdlib/tst-strtod.c (main): Likewise.
19704         * stdlib/tst-strtol.c (main): Likewise.
19705         * stdlib/tst-strtoll.c (main): Likewise.
19706         * string/bits/string2.h (__strcmp_cc): Likewise.
19707         (__strcmp_cg): Likewise.
19708         (__strcspn_c1): Likewise.
19709         (__strcspn_c2): Likewise.
19710         (__strcspn_c3): Likewise.
19711         (__strspn_c1): Likewise.
19712         (__strspn_c2): Likewise.
19713         (__strspn_c3): Likewise.
19714         (__strsep_1c): Likewise.
19715         (__strsep_2c): Likewise.
19716         (__strsep_3c): Likewise.
19717         * string/memccpy.c (__memccpy): Likewise.
19718         * string/stpcpy.c (__stpcpy): Likewise.
19719         * string/strcmp.c (strcmp): Likewise.
19720         * string/strrchr.c (strrchr): Likewise.
19721         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19722         Likewise.
19723         * sysdeps/mach/hurd/getcwd.c
19724         (_hurd_canonicalize_directory_name_internal): Likewise.
19725         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19726         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19727         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19728         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19729         Likewise, in both definitions.
19730         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19731         definitions.
19732         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19733         64] (__bswap_64): Likewise.
19734         * time/test_time.c (main): Likewise.
19735         * time/tzfile.c (__tzfile_read): Likewise.
19736         (__tzfile_compute): Likewise.
19737         * time/tzset.c (__tzset_parse_tz): Likewise.
19738         (tzset_internal): Likewise.
19739         (compute_change): Likewise.
19740         * wcsmbs/wcscat.c (__wcscat): Likewise.
19741         * wcsmbs/wcschr.c (wcschr): Likewise.
19742         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19743         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19744         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19745         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19746         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19747         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19748         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19749         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19750         * wcsmbs/wmemset.c (wmemset): Likewise.
19751
19752 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19753
19754         * scripts/config.guess: Update to version 2013-05-16.
19755         * scripts/config.sub: Update to version 2013-04-24.
19756         * scripts/install-sh: Update to version 2011-11-20.07.
19757         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19758         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19759
19760 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19761
19762         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19763         * elf/sln.c: Likewise.
19764         * hurd/hurd/ioctl.h: Likewise.
19765         * hurd/hurdmalloc.c: Likewise.
19766         * hurd/xattr.c: Likewise.
19767         * include/shlib-compat.h: Likewise.
19768         * inet/ruserpass.c: Likewise.
19769         * libio/iofgets_u.c: Likewise.
19770         * libio/iofgetws_u.c: Likewise.
19771         * locale/programs/ld-identification.c: Likewise.
19772         * locale/programs/ld-time.c: Likewise.
19773         * mach/msg-destroy.c: Likewise.
19774         * nss/nss_files/files-netgrp.c: Likewise.
19775         * resolv/res_data.c: Likewise.
19776         * soft-fp/op-1.h: Likewise.
19777         * soft-fp/op-2.h: Likewise.
19778         * soft-fp/op-4.h: Likewise.
19779         * soft-fp/op-common.h: Likewise.
19780         * stdio-common/printf_fphex.c: Likewise.
19781         * stdlib/strtod_l.c: Likewise.
19782         * sunrpc/rpc/clnt.h: Likewise.
19783         * sysdeps/generic/framestate.c: Likewise.
19784         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19785         * sysdeps/i386/bsd-setjmp.S: Likewise.
19786         * sysdeps/i386/__longjmp.S: Likewise.
19787         * sysdeps/i386/setjmp.S: Likewise.
19788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19789         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19791         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19793         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19797         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19798         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19799         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19800         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19801         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19802         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19803         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19804         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19805         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19806         * sysdeps/ieee754/support.c: Likewise.
19807         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19808         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19809         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19810         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19811         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19812         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19813         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19814         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19815         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19816         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19817         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19818         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19819         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19820         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19821         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19822         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19823         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19825
19826 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19827
19828         * posix/transbug.c: Remove executable mode.
19829
19830 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19831
19832         * crypt/speeds.c: Remove trailing whitespace.
19833         * dlfcn/default.c: Likewise.
19834         * elf/ifuncdep2.c: Likewise.
19835         * elf/ifuncmain1.c: Likewise.
19836         * elf/ifuncmain1vis.c: Likewise.
19837         * elf/testobj.h: Likewise.
19838         * elf/tst-stackguard1.c: Likewise.
19839         * gmon/sys/gmon.h: Likewise.
19840         * hurd/hurdmsg.c: Likewise.
19841         * hurd/new-fd.c: Likewise.
19842         * hurd/ports-get.c: Likewise.
19843         * iconvdata/ibm1008_420.c: Likewise.
19844         * inet/tst-getni1.c: Likewise.
19845         * inet/tst-getni2.c: Likewise.
19846         * libio/ioungetc.c: Likewise.
19847         * libio/wfiledoalloc.c: Likewise.
19848         * manual/libm-err-tab.pl: Likewise.
19849         * math/w_dremf.c: Likewise.
19850         * misc/ftruncate.c: Likewise.
19851         * posix/bug-glob2.c: Likewise.
19852         * posix/tst-pcre.c: Likewise.
19853         * posix/wait4.c: Likewise.
19854         * resolv/README: Likewise.
19855         * resolv/res_debug.h: Likewise.
19856         * resolv/tst-inet_ntop.c: Likewise.
19857         * setjmp/bug269-setjmp.c: Likewise.
19858         * soft-fp/extended.h: Likewise.
19859         * soft-fp/op-1.h: Likewise.
19860         * soft-fp/op-2.h: Likewise.
19861         * soft-fp/op-4.h: Likewise.
19862         * soft-fp/op-8.h: Likewise.
19863         * soft-fp/testit.c: Likewise.
19864         * stdio-common/bug16.c: Likewise.
19865         * stdlib/random.c: Likewise.
19866         * sunrpc/rpcsvc/rquota.x: Likewise.
19867         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19868         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19870         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19871         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19872         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19873         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19874         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19875         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19876         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19877         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19878         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19879         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19880         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19881         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19882         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19883         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19884         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19885         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19886         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19887         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19889         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19890         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19891         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19892         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19895         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19896         * sysdeps/ieee754/s_lib_version.c: Likewise.
19897         * sysdeps/mach/hurd/check_fds.c: Likewise.
19898         * sysdeps/mach/hurd/getsockname.c: Likewise.
19899         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19900         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19901         * sysdeps/powerpc/bits/link.h: Likewise.
19902         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19903         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19904         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19905         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19906         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19907         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19908         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19909         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19910         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19911         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19912         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19913         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19914         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19915         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19916         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19917         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19918         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19919         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19920         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19921         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19922         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19923         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19924         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19925         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19926         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19927         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19928         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19929         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19930         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19931         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19932         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19933         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19934         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19935         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19936         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19937         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19938         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19939         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19940         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19941         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19942         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19943         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19944         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19945         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19946         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19947         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19948         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19949         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19950         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19951         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19953         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19954         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19955         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19956         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19957         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19958         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19959         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19961         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19962         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19963         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19964         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19965         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19966         * sysdeps/powerpc/sysdep.h: Likewise.
19967         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19968         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19969         * sysdeps/sh/dl-trampoline.S: Likewise.
19970         * sysdeps/sh/memset.S: Likewise.
19971         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19972         * sysdeps/sh/strlen.S: Likewise.
19973         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19974         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19975         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19976         * sysdeps/sparc/sparc32/rem.S: Likewise.
19977         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19978         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19979         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19980         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19981         * sysdeps/sparc/sparc32/urem.S: Likewise.
19982         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19983         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19984         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19985         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19986         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19987         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19988         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19989         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19990         * sysdeps/unix/bsd/times.c: Likewise.
19991         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19992         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19996         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19997         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19999         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20000         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20001         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20002         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20003         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20004         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20005         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20006         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20007         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20008         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20009         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20010         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20011         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20012         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20013         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20014         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20015         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20016         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20017         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20018         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20019         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20020         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20021         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20022         * sysdeps/x86_64/strcspn.S: Likewise.
20023
20024 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20025
20026         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20027         generated file.  Regenerate properly from gen-translit.pl.
20028         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20029         locale/C-translit.h.
20030
20031 2013-06-05  Andreas Schwab  <schwab@suse.de>
20032
20033         [BZ #15100]
20034         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20035         week as 6 instead of -1.
20036         * time/tst-strptime.c (day_tests): Add test case.
20037
20038 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20039
20040         * sysdeps/generic/math_private.h
20041         (libc_feholdexcept_setround_53bit): Replace with
20042         libc_feholdsetround_53bit.
20043         (libc_feupdateenv_53bit): Replace with
20044         libc_feresetround_53bit.
20045         (SET_RESTORE_ROUND_53BIT): Adjust.
20046
20047 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20048
20049         * string/test-strchrnul.c: Add copyright header.
20050
20051         * posix/tst-getaddrinfo4.c: Increase test timeout.
20052
20053 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20054
20055         [BZ #15536]
20056         * math/libm-test.inc (MAX_EXP): Remove
20057         (MIN_EXP): Define.
20058         (ulp): Use MIN_EXP - MANT_DIG.
20059         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20060
20061 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20062
20063         * po/be.po: Revert last change.
20064         * po/zh_CN.po: Likewise.
20065         * po/header.pot: Likewise.
20066
20067 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20068
20069         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20070         link-libc-deps to empty as target-specific variable.
20071         * Makerules (link-libc-args): New variable.
20072         (libc-for-link): Likewise.
20073         (link-libc-deps): Likewise.
20074         (lib%.so): Depend on $(link-libc-deps).  Link with
20075         $(link-libc-args).
20076         (build-module): Link with $(link-libc-args).
20077         (build-module-asneeded): Likewise.
20078         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20079         list of objects.
20080         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20081         target-specific variable.
20082         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20083         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20084         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20085         libc.
20086         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20087         libc and ld.so.
20088         ($(objpfx)libpcprofile.so): Likewise.
20089         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20090         libc_nonshared.a.
20091         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20092         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20093         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20094         $(link-libc-deps).
20095         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20096         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20097         * login/Makefile ($(objpfx)libutil.so): Likewise.
20098         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20099         * math/Makefile ($(objpfx)libm.so): Likewise.
20100         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20101         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20102         variable instead of depending directly on libc.
20103         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20104         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20105         $(link-libc-deps).
20106         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20107         libc.
20108         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20109         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20110         ($(objpfx)libanl.so): Likewise.
20111         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20112         ld.so.
20113         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20114         $(link-libc-deps).
20115         * sysdeps/i386/fpu/Makefile: Remove file.
20116         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20117         ($(objpfx)libm.so): Remove dependency on ld.so.
20118
20119 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20120
20121         [BZ # 15553]
20122         * nis/yp_xdr.c (XDRMAXNAME): Define.
20123         (XDRMAXRECORD): Define.
20124         (xdr_domainname): Use XDRMAXNAME.
20125         (xdr_mapname): Likewise.
20126         (xdr_peername): Likewise.
20127         (xdr_keydat): Use XDRMAXRECORD.
20128         (xdr_valdat): Likewise.
20129
20130 2013-05-30  Jeff Law  <law@redhat.com>
20131
20132         [BZ #14256]
20133         * manual/errno.texi (ESTALE): Update to account for more than
20134         just NFS file systems.
20135         * sysdeps/gnu/errlist.c: Regenerated.
20136
20137 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20138
20139         [BZ #15465]
20140         * elf/Makefile (tests): Add tst-null-argv.
20141         (modules-names):  Add tst-null-argv-lib.
20142         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20143         (tst-null-argv-ENV): Set environment for tst-null-argv.
20144         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20145         (RTLD_PROGNAME): New macro.
20146         * elf/tst-null-argv.c: New test case.
20147         * elf/tst-null-argv-lib.c: Library for test case.
20148         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20149         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20150         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20151         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20152         * elf/dl-init.c (call_init): Likewise.
20153         (_dl_init): Likewise.
20154         * elf/dl-load.c (print_search_path): Likewise.
20155         (_dl_map_object): Likewise.
20156         * elf/dl-lookup.c (do_lookup_x): Likewise.
20157         (add_dependency): Likewise.
20158         (_dl_lookup_symbol_x): Likewise.
20159         (_dl_debug_bindings): Likewise.
20160         * elf/dl-open.c (_dl_show_scope): Likewise.
20161         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20162         * elf/dl-version.c (match_symbol): Likewise.
20163         (_dl_check_map_versions): Likewise.
20164         * elf/rtld.c (dl_main): Likewise.
20165         (print_unresolved): Use RTLD_PROGNAME.
20166         (print_missing_version): Likewise.
20167         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20168         (elf_machine_rela): Likewise.
20169         * sysdeps/powerpc/powerpc32/dl-machine.c
20170         (__process_machine_rela): Likewise.
20171         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20172         Likewise.
20173         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20174         Likewise.
20175         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20176         Likewise.
20177         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20179         Likewise.
20180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20181         Likewise.
20182         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20183
20184 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20185
20186         * po/be.po: Add descriptive title.
20187         * po/zh_CN.po: Likewise.
20188         * po/header.pot: Likewise.
20189
20190 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20191
20192         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20193         error message.
20194         (enlarge_archive): Likewise.
20195
20196 2013-05-28  Ben North  <ben@redfrontdoor.org>
20197
20198         * manual/arith.texi (frexp): It is the magnitude of the return
20199         value which lies in [0.5, 1), not the return value itself.
20200
20201 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20202
20203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20204
20205 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20206
20207         * stdio-common/bug26.c (main): Correct fscanf template.
20208
20209         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20210         declare _dl_skip_args.
20211
20212         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20213         Don't declare.
20214
20215         * manual/platform.texi: Add missing @end deftypefun.
20216
20217 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20218
20219         [BZ #15529]
20220         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20221         bit of mantissa of 2^16382.
20222         * math/libm-test.inc (hypot_test_data): Add more tests.
20223
20224         * math/libm-test.inc: Add drem and pow10 to list of tested
20225         functions.
20226         (pow10_test): New function.
20227         (drem_test): Likewise.
20228         (drem_test_tonearest): Likewise.
20229         (drem_test_towardzero): Likewise.
20230         (drem_test_downward): Likewise.
20231         (drem_test_upward): Likewise.
20232         (main): Call the new functions.
20233
20234         * math/libm-test.inc (finite_test_data): Remove.
20235         (finite_test): Run tests from isfinite_test_data.
20236         (gamma_test_data): Remove.
20237         (gamma_test): Run tests from lgamma_test_data.
20238         * sysdeps/i386/fpu/libm-test-ulps: Update.
20239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20240
20241 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20242
20243         * manual/platform.texi: Add PowerPC PPR function set documentation.
20244         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20245         implementation.
20246
20247 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20248
20249         * math/libm-test.inc (MAX_EXP): Define.
20250         (ULPDIFF): Define.
20251         (ulp): New function.
20252         (check_float_internal): Use ULPDIFF.
20253         (cpow_test): Disable failing test.
20254         (check_ulp): Test ulp() implemetnation.
20255         (main): Call check_ulp before starting tests.
20256
20257 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20258
20259         * math/gen-libm-test.pl (generate_testfile): Do not handle
20260         START_DATA and END_DATA.
20261         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20262         END_DATA.
20263         (acos_tonearest_test_data): Likewise.
20264         (acos_towardzero_test_data): Likewise.
20265         (acos_downward_test_data): Likewise.
20266         (acos_upward_test_data): Likewise.
20267         (acosh_test_data): Likewise.
20268         (asin_test_data): Likewise.
20269         (asin_tonearest_test_data): Likewise.
20270         (asin_towardzero_test_data): Likewise.
20271         (asin_downward_test_data): Likewise.
20272         (asin_upward_test_data): Likewise.
20273         (asinh_test_data): Likewise.
20274         (atan_test_data): Likewise.
20275         (atanh_test_data): Likewise.
20276         (atan2_test_data): Likewise.
20277         (cabs_test_data): Likewise.
20278         (cacos_test_data): Likewise.
20279         (cacosh_test_data): Likewise.
20280         (carg_test_data): Likewise.
20281         (casin_test_data): Likewise.
20282         (casinh_test_data): Likewise.
20283         (catan_test_data): Likewise.
20284         (catanh_test_data): Likewise.
20285         (cbrt_test_data): Likewise.
20286         (ccos_test_data): Likewise.
20287         (ccosh_test_data): Likewise.
20288         (ceil_test_data): Likewise.
20289         (cexp_test_data): Likewise.
20290         (cimag_test_data): Likewise.
20291         (clog_test_data): Likewise.
20292         (clog10_test_data): Likewise.
20293         (conj_test_data): Likewise.
20294         (copysign_test_data): Likewise.
20295         (cos_test_data): Likewise.
20296         (cos_tonearest_test_data): Likewise.
20297         (cos_towardzero_test_data): Likewise.
20298         (cos_downward_test_data): Likewise.
20299         (cos_upward_test_data): Likewise.
20300         (cosh_test_data): Likewise.
20301         (cosh_tonearest_test_data): Likewise.
20302         (cosh_towardzero_test_data): Likewise.
20303         (cosh_downward_test_data): Likewise.
20304         (cosh_upward_test_data): Likewise.
20305         (cpow_test_data): Likewise.
20306         (cproj_test_data): Likewise.
20307         (creal_test_data): Likewise.
20308         (csin_test_data): Likewise.
20309         (csinh_test_data): Likewise.
20310         (csqrt_test_data): Likewise.
20311         (ctan_test_data): Likewise.
20312         (ctan_tonearest_test_data): Likewise.
20313         (ctan_towardzero_test_data): Likewise.
20314         (ctan_downward_test_data): Likewise.
20315         (ctan_upward_test_data): Likewise.
20316         (ctanh_test_data): Likewise.
20317         (ctanh_tonearest_test_data): Likewise.
20318         (ctanh_towardzero_test_data): Likewise.
20319         (ctanh_downward_test_data): Likewise.
20320         (ctanh_upward_test_data): Likewise.
20321         (erf_test_data): Likewise.
20322         (erfc_test_data): Likewise.
20323         (exp_test_data): Likewise.
20324         (exp_tonearest_test_data): Likewise.
20325         (exp_towardzero_test_data): Likewise.
20326         (exp_downward_test_data): Likewise.
20327         (exp_upward_test_data): Likewise.
20328         (exp10_test_data): Likewise.
20329         (exp2_test_data): Likewise.
20330         (expm1_test_data): Likewise.
20331         (fabs_test_data): Likewise.
20332         (fdim_test_data): Likewise.
20333         (finite_test_data): Likewise.
20334         (floor_test_data): Likewise.
20335         (fma_test_data): Likewise.
20336         (fma_towardzero_test_data): Likewise.
20337         (fma_downward_test_data): Likewise.
20338         (fma_upward_test_data): Likewise.
20339         (fmax_test_data): Likewise.
20340         (fmin_test_data): Likewise.
20341         (fmod_test_data): Likewise.
20342         (fpclassify_test_data): Likewise.
20343         (frexp_test_data): Likewise.
20344         (gamma_test_data): Likewise.
20345         (hypot_test_data): Likewise.
20346         (ilogb_test_data): Likewise.
20347         (isfinite_test_data): Likewise.
20348         (isgreater_test_data): Likewise.
20349         (isgreaterequal_test_data): Likewise.
20350         (isinf_test_data): Likewise.
20351         (isless_test_data): Likewise.
20352         (islessequal_test_data): Likewise.
20353         (islessgreater_test_data): Likewise.
20354         (isnan_test_data): Likewise.
20355         (isnormal_test_data): Likewise.
20356         (issignaling_test_data): Likewise.
20357         (isunordered_test_data): Likewise.
20358         (j0_test_data): Likewise.
20359         (j1_test_data): Likewise.
20360         (jn_test_data): Likewise.
20361         (ldexp_test_data): Likewise.
20362         (lgamma_test_data): Likewise.
20363         (lrint_test_data): Likewise.
20364         (lrint_tonearest_test_data): Likewise.
20365         (lrint_towardzero_test_data): Likewise.
20366         (lrint_downward_test_data): Likewise.
20367         (lrint_upward_test_data): Likewise.
20368         (llrint_test_data): Likewise.
20369         (llrint_tonearest_test_data): Likewise.
20370         (llrint_towardzero_test_data): Likewise.
20371         (llrint_downward_test_data): Likewise.
20372         (llrint_upward_test_data): Likewise.
20373         (log_test_data): Likewise.
20374         (log10_test_data): Likewise.
20375         (log1p_test_data): Likewise.
20376         (log2_test_data): Likewise.
20377         (logb_test_data): Likewise.
20378         (logb_downward_test_data): Likewise.
20379         (lround_test_data): Likewise.
20380         (llround_test_data): Likewise.
20381         (modf_test_data): Likewise.
20382         (nearbyint_test_data): Likewise.
20383         (nextafter_test_data): Likewise.
20384         (nexttoward_test_data): Likewise.
20385         (pow_test_data): Likewise.
20386         (pow_tonearest_test_data): Likewise.
20387         (pow_towardzero_test_data): Likewise.
20388         (pow_downward_test_data): Likewise.
20389         (pow_upward_test_data): Likewise.
20390         (remainder_test_data): Likewise.
20391         (remainder_tonearest_test_data): Likewise.
20392         (remainder_towardzero_test_data): Likewise.
20393         (remainder_downward_test_data): Likewise.
20394         (remainder_upward_test_data): Likewise.
20395         (remquo_test_data): Likewise.
20396         (rint_test_data): Likewise.
20397         (rint_tonearest_test_data): Likewise.
20398         (rint_towardzero_test_data): Likewise.
20399         (rint_downward_test_data): Likewise.
20400         (rint_upward_test_data): Likewise.
20401         (round_test_data): Likewise.
20402         (scalb_test_data): Likewise.
20403         (scalbn_test_data): Likewise.
20404         (scalbln_test_data): Likewise.
20405         (signbit_test_data): Likewise.
20406         (sin_test_data): Likewise.
20407         (sin_tonearest_test_data): Likewise.
20408         (sin_towardzero_test_data): Likewise.
20409         (sin_downward_test_data): Likewise.
20410         (sin_upward_test_data): Likewise.
20411         (sincos_test_data): Likewise.
20412         (sinh_test_data): Likewise.
20413         (sinh_tonearest_test_data): Likewise.
20414         (sinh_towardzero_test_data): Likewise.
20415         (sinh_downward_test_data): Likewise.
20416         (sinh_upward_test_data): Likewise.
20417         (sqrt_test_data): Likewise.
20418         (tan_test_data): Likewise.
20419         (tan_tonearest_test_data): Likewise.
20420         (tan_towardzero_test_data): Likewise.
20421         (tan_downward_test_data): Likewise.
20422         (tan_upward_test_data): Likewise.
20423         (tanh_test_data): Likewise.
20424         (tgamma_test_data): Likewise.
20425         (trunc_test_data): Likewise.
20426         (y0_test_data): Likewise.
20427         (y1_test_data): Likewise.
20428         (yn_test_data): Likewise.
20429         (significand_test_data): Likewise.
20430
20431         * math/gen-libm-test.pl (@functions): Remove variable.
20432         (generate_testfile): Don't handle START and END lines.
20433         * math/libm-test.inc (START): New macro.
20434         (END): Likewise.
20435         (END_COMPLEX): Likewise.
20436         (acos_test): Use END macro without arguments.
20437         (acos_test_tonearest): Likewise.
20438         (acos_test_towardzero): Likewise.
20439         (acos_test_downward): Likewise.
20440         (acos_test_upward): Likewise.
20441         (acosh_test): Likewise.
20442         (asin_test): Likewise.
20443         (asin_test_tonearest): Likewise.
20444         (asin_test_towardzero): Likewise.
20445         (asin_test_downward): Likewise.
20446         (asin_test_upward): Likewise.
20447         (asinh_test): Likewise.
20448         (atan_test): Likewise.
20449         (atanh_test): Likewise.
20450         (atan2_test): Likewise.
20451         (cabs_test): Likewise.
20452         (cacos_test): Use END_COMPLEX macro without arguments.
20453         (cacosh_test): Likewise.
20454         (carg_test): Use END macro without arguments.
20455         (casin_test): Use END_COMPLEX macro without arguments.
20456         (casinh_test): Likewise.
20457         (catan_test): Likewise.
20458         (catanh_test): Likewise.
20459         (cbrt_test): Use END macro without arguments.
20460         (ccos_test): Use END_COMPLEX macro without arguments.
20461         (ccosh_test): Likewise.
20462         (ceil_test): Use END macro without arguments.
20463         (cexp_test): Use END_COMPLEX macro without arguments.
20464         (cimag_test): Use END macro without arguments.
20465         (clog_test): Use END_COMPLEX macro without arguments.
20466         (clog10_test): Likewise.
20467         (conj_test): Likewise.
20468         (copysign_test): Use END macro without arguments.
20469         (cos_test): Likewise.
20470         (cos_test_tonearest): Likewise.
20471         (cos_test_towardzero): Likewise.
20472         (cos_test_downward): Likewise.
20473         (cos_test_upward): Likewise.
20474         (cosh_test): Likewise.
20475         (cosh_test_tonearest): Likewise.
20476         (cosh_test_towardzero): Likewise.
20477         (cosh_test_downward): Likewise.
20478         (cosh_test_upward): Likewise.
20479         (cpow_test): Use END_COMPLEX macro without arguments.
20480         (cproj_test): Likewise.
20481         (creal_test): Use END macro without arguments.
20482         (csin_test): Use END_COMPLEX macro without arguments.
20483         (csinh_test): Likewise.
20484         (csqrt_test): Likewise.
20485         (ctan_test): Likewise.
20486         (ctan_test_tonearest): Likewise.
20487         (ctan_test_towardzero): Likewise.
20488         (ctan_test_downward): Likewise.
20489         (ctan_test_upward): Likewise.
20490         (ctanh_test): Likewise.
20491         (ctanh_test_tonearest): Likewise.
20492         (ctanh_test_towardzero): Likewise.
20493         (ctanh_test_downward): Likewise.
20494         (ctanh_test_upward): Likewise.
20495         (erf_test): Use END macro without arguments.
20496         (erfc_test): Likewise.
20497         (exp_test): Likewise.
20498         (exp_test_tonearest): Likewise.
20499         (exp_test_towardzero): Likewise.
20500         (exp_test_downward): Likewise.
20501         (exp_test_upward): Likewise.
20502         (exp10_test): Likewise.
20503         (exp2_test): Likewise.
20504         (expm1_test): Likewise.
20505         (fabs_test): Likewise.
20506         (fdim_test): Likewise.
20507         (finite_test): Likewise.
20508         (floor_test): Likewise.
20509         (fma_test): Likewise.
20510         (fma_test_towardzero): Likewise.
20511         (fma_test_downward): Likewise.
20512         (fma_test_upward): Likewise.
20513         (fmax_test): Likewise.
20514         (fmin_test): Likewise.
20515         (fmod_test): Likewise.
20516         (fpclassify_test): Likewise.
20517         (frexp_test): Likewise.
20518         (gamma_test): Likewise.
20519         (hypot_test): Likewise.
20520         (ilogb_test): Likewise.
20521         (isfinite_test): Likewise.
20522         (isgreater_test): Likewise.
20523         (isgreaterequal_test): Likewise.
20524         (isinf_test): Likewise.
20525         (isless_test): Likewise.
20526         (islessequal_test): Likewise.
20527         (islessgreater_test): Likewise.
20528         (isnan_test): Likewise.
20529         (isnormal_test): Likewise.
20530         (issignaling_test): Likewise.
20531         (isunordered_test): Likewise.
20532         (j0_test): Likewise.
20533         (j1_test): Likewise.
20534         (jn_test): Likewise.
20535         (ldexp_test): Likewise.
20536         (lgamma_test): Likewise.
20537         (lrint_test): Likewise.
20538         (lrint_test_tonearest): Likewise.
20539         (lrint_test_towardzero): Likewise.
20540         (lrint_test_downward): Likewise.
20541         (lrint_test_upward): Likewise.
20542         (llrint_test): Likewise.
20543         (llrint_test_tonearest): Likewise.
20544         (llrint_test_towardzero): Likewise.
20545         (llrint_test_downward): Likewise.
20546         (llrint_test_upward): Likewise.
20547         (log_test): Likewise.
20548         (log10_test): Likewise.
20549         (log1p_test): Likewise.
20550         (log2_test): Likewise.
20551         (logb_test): Likewise.
20552         (logb_test_downward): Likewise.
20553         (lround_test): Likewise.
20554         (llround_test): Likewise.
20555         (modf_test): Likewise.
20556         (nearbyint_test): Likewise.
20557         (nextafter_test): Likewise.
20558         (nexttoward_test): Likewise.
20559         (pow_test): Likewise.
20560         (pow_test_tonearest): Likewise.
20561         (pow_test_towardzero): Likewise.
20562         (pow_test_downward): Likewise.
20563         (pow_test_upward): Likewise.
20564         (remainder_test): Likewise.
20565         (remainder_test_tonearest): Likewise.
20566         (remainder_test_towardzero): Likewise.
20567         (remainder_test_downward): Likewise.
20568         (remainder_test_upward): Likewise.
20569         (remquo_test): Likewise.
20570         (rint_test): Likewise.
20571         (rint_test_tonearest): Likewise.
20572         (rint_test_towardzero): Likewise.
20573         (rint_test_downward): Likewise.
20574         (rint_test_upward): Likewise.
20575         (round_test): Likewise.
20576         (scalb_test): Likewise.
20577         (scalbn_test): Likewise.
20578         (scalbln_test): Likewise.
20579         (signbit_test): Likewise.
20580         (sin_test): Likewise.
20581         (sin_test_tonearest): Likewise.
20582         (sin_test_towardzero): Likewise.
20583         (sin_test_downward): Likewise.
20584         (sin_test_upward): Likewise.
20585         (sincos_test): Likewise.
20586         (sinh_test): Likewise.
20587         (sinh_test_tonearest): Likewise.
20588         (sinh_test_towardzero): Likewise.
20589         (sinh_test_downward): Likewise.
20590         (sinh_test_upward): Likewise.
20591         (sqrt_test): Likewise.
20592         (tan_test): Likewise.
20593         (tan_test_tonearest): Likewise.
20594         (tan_test_towardzero): Likewise.
20595         (tan_test_downward): Likewise.
20596         (tan_test_upward): Likewise.
20597         (tanh_test): Likewise.
20598         (tgamma_test): Likewise.
20599         (trunc_test): Likewise.
20600         (y0_test): Likewise.
20601         (y1_test): Likewise.
20602         (yn_test): Likewise.
20603         (significand_test): Likewise.
20604
20605 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20606
20607         [BZ #15381]
20608         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20609
20610 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20611
20612         [BZ #14894]
20613         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20614         __ppc_mdoio and __ppc_mdoom.
20615         * manual/platform.texi: Document new functions __ppc_yield,
20616         __ppc_mdoio and __ppc_mdoom.
20617
20618 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20619
20620         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20621         (main): Mention "tls" pseudo-hwcap is legacy.
20622         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20623
20624 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20625
20626         * math/gen-libm-test.pl (parse_args): Output only string of
20627         arguments as text for test name, not full call or descriptions of
20628         tests for extra outputs.
20629         (generate_testfile): Do not pass function name to parse_args.
20630         Generate this_func variable from START.
20631         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20632         field to arg_str.
20633         (struct test_ff_f_data): Likewise.
20634         (test_ff_f_data_nexttoward): Likewise.
20635         (struct test_fi_f_data): Likewise.
20636         (struct test_fl_f_data): Likewise.
20637         (struct test_if_f_data): Likewise.
20638         (struct test_fff_f_data): Likewise.
20639         (struct test_c_f_data): Likewise.
20640         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20641         (struct test_fF_f1_data): Likewise.
20642         (struct test_ffI_f1_data): Likewise.
20643         (struct test_c_c_data): Rename test_name field to arg_str.
20644         (struct test_cc_c_data): Likewise.
20645         (struct test_f_i_data): Likewise.
20646         (struct test_ff_i_data): Likewise.
20647         (struct test_f_l_data): Likewise.
20648         (struct test_f_L_data): Likewise.
20649         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20650         and extra2_name.
20651         (COMMON_TEST_SETUP): New macro.
20652         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20653         (COMMON_TEST_CLEANUP): Likewise.
20654         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20655         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20656         macros.
20657         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20658         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20659         macros.
20660         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20661         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20662         cleanup macros.
20663         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20664         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20665         macros.
20666         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20667         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20668         macros.
20669         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20670         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20671         cleanup macros.
20672         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20673         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20674         cleanup macros.
20675         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20676         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20677         cleanup macros.
20678         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20679         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20680         macros.
20681         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20682         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20683         macros.
20684         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20685         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20686         macros.
20687         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20688         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20689         cleanup macros.
20690         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20691         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20692         cleanup macros.
20693         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20694         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20695         macros.
20696         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20697         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20698         cleanup macros.
20699         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20700         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20701         macros.
20702         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20703         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20704         macros.
20705         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20706         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20707         cleanup macros.
20708         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20709
20710 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20711
20712         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20713         to _sifields.sigfault.
20714         (si_addr_lsb): Define new macro.
20715         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20716         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20717         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20718
20719 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20720
20721         [BZ #15441]
20722         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20723         returns -1.
20724         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20725         null return -1.
20726         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20727         loading the domain.
20728
20729 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20730
20731         * math/gen-libm-test.pl (parse_args): Do not include expected
20732         result in test name.
20733         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20735         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20736         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20737         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20739
20740 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20741
20742         * benchtests/Makefile: Sort function entries.
20743
20744         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20745         tanh, asinh, acosh, atanh.
20746         * benchtests/acos-inputs: New file.
20747         * benchtests/acosh-inputs: New file.
20748         * benchtests/asin-inputs: New file.
20749         * benchtests/asinh-inputs: New file.
20750         * benchtests/atanh-inputs: New file.
20751         * benchtests/cosh-inputs: New file.
20752         * benchtests/log-inputs: New file.
20753         * benchtests/sinh-inputs: New file.
20754         * benchtests/tanh-inputs: New file.
20755
20756 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20757
20758         [BZ #15339]
20759         * posix/tst-getaddrinfo4.c: New test.
20760         * posix/Makefile (tests): Add it.
20761
20762 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20763
20764         [BZ #15339]
20765         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20766         when no services were used.
20767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20768         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20769
20770 2013-05-21  Andreas Schwab  <schwab@suse.de>
20771
20772         [BZ #15014]
20773         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20774         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20775         successful.
20776         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20777         redundant variable declarations and reallocation of buffer when
20778         parsing as IPv6 address.  Always set NSS status when called from
20779         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20780         buffer too small.  Correct computation of needed size.
20781         * nss/Makefile (tests): Add test-digits-dots.
20782         * nss/test-digits-dots.c: New test.
20783
20784 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20785
20786         * benchtests/Makefile: Remove instructions for adding
20787         benchmark tests.
20788         * benchtests/README: New file to explain how to execute and
20789         enhance the benchmark tests.
20790
20791 2013-05-21  Andreas Schwab  <schwab@suse.de>
20792
20793         [BZ #15493]
20794         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20795         * setjmp/tst-sigsetjmp.c: New test.
20796
20797 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20798
20799         * sysdeps/x86_64/memset.S (memset): New implementation.
20800         (__bzero): Likewise.
20801         (__memset_tail): New function.
20802
20803 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20804
20805         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20806         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20807         __memcpy_sse2_unaligned ifunc selection.
20808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20809         Add memcpy-sse2-unaligned.S.
20810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20811         Add: __memcpy_sse2_unaligned.
20812
20813 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20814
20815         [BZ #15490]
20816         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20817         math_force_eval before restoring floating-point envrionment.
20818         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20819         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20820         Likewise.
20821         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20822         <math_private.h>.
20823         (__nearbyintl): Use math_force_eval before restoring
20824         floating-point environment.
20825         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20826
20827         * math/gen-libm-test.pl (special_functions): Remove.
20828         (parse_args): Don't handle TEST_extra.  Handle functions with no
20829         return value.
20830         * math/libm-test.inc (struct test_sincos_data): Replace with
20831         struct test_fFF_11_data.
20832         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20833         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20834         (sincos_test_data): Change element type to struct
20835         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20836         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20837         RUN_TEST_LOOP_sincos.
20838         * math/README.libm-test: Don't mention special handling of
20839         individual functions.
20840         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20842         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20843         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20844         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20846
20847         * math/gen-libm-test.pl (get_variable): Remove function.
20848         (parse_args): Don't show pointer parameters to call in test
20849         names.  Use "extra output N" in test names for extra outputs
20850         rather than naming variables.
20851
20852 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20853
20854         [BZ #15488]
20855         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20856         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20857         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20858         double tests.
20859         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20860         disable.
20861         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20862         check_long_double.
20863
20864         * math/gen-libm-test.pl (@tests): Remove variable.
20865         ($count): Likewise.
20866         (new_test): Remove function.
20867         (show_exceptions): New function.
20868         (special_functions): Use show_exceptions instead of new_test.
20869         (parse_args): Likewise.
20870         (generate_testfile): Pass only function name in generated call to
20871         print_max_error or print_complex_max_error.
20872         (get_ulps): Do not handle complex tests specially.
20873         (output_test): Rename to ...
20874         (get_all_ulps_for_test): ... this.  Return a string rather than
20875         printing to a file.  Require ulps to be present.
20876         (output_ulps): Generate arrays rather than #defines.
20877         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20878         (struct ulp_data): New type.
20879         (BUILD_COMPLEX_ULP): Remove macro.
20880         (compare_ulp_data): New function.
20881         (find_ulps): Likewise.
20882         (find_test_ulps): Likewise.
20883         (find_function_ulps): Likewise.
20884         (find_complex_function_ulps): Likewise.
20885         (print_max_error): Determine allowed ulps using
20886         find_function_ulps.
20887         (print_complex_max_error): Determine allowed ulps using
20888         find_complex_function_ulps.
20889         (check_float_internal): Determine max ulps using find_test_ulps.
20890         (check_float): Do not take max_ulp parameter.  Update call to
20891         check_float_internal.
20892         (check_complex): Likewise.
20893         (check_int): Do not take max_ulp parameter.
20894         (check_long): Likewise.
20895         (check_bool): Likewise.
20896         (check_longlong): Likewise.
20897         (struct test_f_f_data): Remove max_ulp field.
20898         (struct test_ff_f_data): Likewise.
20899         (struct test_ff_f_data_nexttoward): Likewise.
20900         (struct test_fi_f_data): Likewise.
20901         (struct test_fl_f_data): Likewise.
20902         (struct test_if_f_data): Likewise.
20903         (struct test_fff_f_data): Likewise.
20904         (struct test_c_f_data): Likewise.
20905         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20906         (struct test_fF_f1_data): Likewise.
20907         (struct test_ffI_f1_data): Likewise.
20908         (struct test_c_c_data): Remove max_ulp field.
20909         (struct test_cc_c_data): Likewise.
20910         (struct test_f_i_data): Likewise.
20911         (struct test_ff_i_data): Likewise.
20912         (struct test_f_l_data): Likewise.
20913         (struct test_f_L_data): Likewise.
20914         (struct test_sincos_data): Likewise.
20915         (RUN_TEST_f_f): Do not handle ulps.
20916         (RUN_TEST_LOOP_f_f): Likewise.
20917         (RUN_TEST_2_f): Likewise.
20918         (RUN_TEST_LOOP_2_f): Likewise.
20919         (RUN_TEST_fff_f): Likewise.
20920         (RUN_TEST_LOOP_fff_f): Likewise.
20921         (RUN_TEST_c_f): Likewise.
20922         (RUN_TEST_LOOP_c_f): Likewise.
20923         (RUN_TEST_f_f1): Likewise.
20924         (RUN_TEST_LOOP_f_f1): Likewise.
20925         (RUN_TEST_fF_f1): Likewise.
20926         (RUN_TEST_LOOP_fF_f1): Likewise.
20927         (RUN_TEST_fI_f1): Likewise.
20928         (RUN_TEST_LOOP_fI_f1): Likewise.
20929         (RUN_TEST_ffI_f1): Likewise.
20930         (RUN_TEST_LOOP_ffI_f1): Likewise.
20931         (RUN_TEST_c_c): Likewise.
20932         (RUN_TEST_LOOP_c_c): Likewise.
20933         (RUN_TEST_cc_c): Likewise.
20934         (RUN_TEST_LOOP_cc_c): Likewise.
20935         (RUN_TEST_f_i): Likewise.
20936         (RUN_TEST_LOOP_f_i): Likewise.
20937         (RUN_TEST_f_i_tg): Likewise.
20938         (RUN_TEST_LOOP_f_i_tg): Likewise.
20939         (RUN_TEST_ff_i_tg): Likewise.
20940         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20941         (RUN_TEST_f_b): Likewise.
20942         (RUN_TEST_LOOP_f_b): Likewise.
20943         (RUN_TEST_f_b_tg): Likewise.
20944         (RUN_TEST_LOOP_f_b_tg): Likewise.
20945         (RUN_TEST_f_l): Likewise.
20946         (RUN_TEST_LOOP_f_l): Likewise.
20947         (RUN_TEST_f_L): Likewise.
20948         (RUN_TEST_LOOP_f_L): Likewise.
20949         (RUN_TEST_sincos): Likewise.
20950         (RUN_TEST_LOOP_sincos): Likewise.
20951
20952 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20953
20954         [BZ #15480]
20955         [BZ #15485]
20956         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20957         main case of finite arguments, set rounding mode to FE_TONEAREST
20958         and discard exceptions.
20959         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20960         exceptions.
20961         (remainder_tonearest_test_data): New variable.
20962         (remainder_test_tonearest): New function.
20963         (remainder_towardzero_test_data): New variable.
20964         (remainder_test_towardzero): New function.
20965         (remainder_downward_test_data): New variable.
20966         (remainder_test_downward): New function.
20967         (remainder_upward_test_data): New variable.
20968         (remainder_test_upward): New function.
20969         (main): Call the new test functions.
20970
20971         * math/libm-test.inc (struct test_f_f1_data): Remove field
20972         extra_init.
20973         (struct test_fF_f1_data): Likewise.
20974         (struct test_ffI_f1_data): Likewise.
20975         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20976         based on value of EXTRA_EXPECTED.
20977         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20978         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20979         EXTRA_VAR based on value of EXTRA_EXPECTED.
20980         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20981         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20982         EXTRA_VAR based on value of EXTRA_EXPECTED.
20983         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20984         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20985         EXTRA_VAR based on value of EXTRA_EXPECTED.
20986         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20987         * math/gen-libm-test.pl (parse_args): Don't output initializers
20988         for extra output values.
20989
20990         * math/libm-test.inc (check_int): Expect result to be exactly
20991         equal to expected value and do not handle ulps.
20992         (check_long): Likewise.
20993         (check_longlong): Likewise.
20994
20995         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20996         exceptions.
20997         (cimag_test_data): Likewise.
20998         (conj_test_data): Likewise.
20999         (copysign_test_data): Likewise.
21000         (cproj_test_data): Likewise.
21001         (creal_test_data): Likewise.
21002         (fabs_test_data): Likewise.
21003         (fdim_test_data): Likewise.
21004         (finite_test_data): Likewise.
21005         (floor_test_data): Likewise.
21006         (fmax_test_data): Likewise.
21007         (fmin_test_data): Likewise.
21008         (fmod_test_data): Likewise.
21009         (fpclassify_test_data): Likewise.
21010         (frexp_test_data): Likewise.
21011         (ilogb_test_data): Likewise.
21012         (isfinite_test_data): Likewise.
21013         (isgreater_test_data): Likewise.
21014         (isgreaterequal_test_data): Likewise.
21015         (isinf_test_data): Likewise.
21016         (isless_test_data): Likewise.
21017         (islessequal_test_data): Likewise.
21018         (islessgreater_test_data): Likewise.
21019         (isnan_test_data): Likewise.
21020         (isnormal_test_data): Likewise.
21021         (issignaling_test_data): Likewise.
21022         (isunordered_test_data): Likewise.
21023         (ldexp_test_data): Likewise.
21024         (lrint_test_data): Likewise.
21025         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21026         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21027         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21028         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21029         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21030         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21031         test input.
21032         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21033         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21034         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21035         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21036         that test input.
21037         (lrint_downward_test_data): Test for "inexact" exceptions.
21038         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21039         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21040         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21041         test input.
21042         (lrint_upward_test_data): Test for "inexact" exceptions.
21043         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21044         test input.
21045         (llrint_test_data): Test for "inexact" exceptions.
21046         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21047         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21048         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21049         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21050         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21051         (llrint_downward_test_data): Test for "inexact" exceptions.
21052         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21053         (llrint_upward_test_data): Test for "inexact" exceptions.
21054         (logb_test_data): Likewise.
21055         (logb_downward_test_data): Likewise.
21056         (nextafter_test_data): Likewise.
21057         (nexttoward_test_data): Likewise.
21058         (remainder_test_data): Likewise.
21059         (remquo_test_data): Likewise.
21060         (scalbn_test_data): Likewise.
21061         (scalbln_test_data): Likewise.
21062         (signbit_test_data): Likewise.
21063         (sqrt_test_data): Likewise.
21064         (significand_test_data): Likewise.
21065
21066 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21067
21068         [BZ #15424]
21069         * benchtests/bench-modf.c (struct args): Mark arg0 as
21070         volatile.
21071         * scripts/bench.pl: Mark members of struct args as volatile.
21072
21073 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21074
21075         [BZ # 15497]
21076         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21077         negative infinity on POWER6 or lower.
21078         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21079
21080 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21081
21082         [BZ #15442]
21083         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21084         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21085         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21086         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21087         (_FP_SETQNAN): New macro.
21088         (_FP_SETQNAN_SEMIRAW): Likewise.
21089         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21090         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21091         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21092         (FP_EXTEND): Use _FP_FRAC_SNANP.
21093         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21094         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21095         into account.
21096         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21097         New macro.
21098         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21099         Likewise.
21100
21101 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21102
21103         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21104         with DIVIDE_BY_ZERO_EXCEPTION.
21105         (gamma_test_data): Likewise.
21106         (lgamma_test_data): Likewise.
21107         (log_test_data): Likewise.
21108         (log10_test_data): Likewise.
21109         (log2_test_data): Likewise.
21110         (tgamma_test_data): Likewise.
21111
21112         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21113         (acos_test_tonearest): Likewise.
21114         (acos_test_towardzero): Likewise.
21115         (acos_test_downward): Likewise.
21116         (acos_test_upward): Likewise.
21117         (acosh_test): Likewise.
21118         (asin_test): Likewise.
21119         (asin_test_tonearest): Likewise.
21120         (asin_test_towardzero): Likewise.
21121         (asin_test_downward): Likewise.
21122         (asin_test_upward): Likewise.
21123         (asinh_test): Likewise.
21124         (atan_test): Likewise.
21125         (atanh_test): Likewise.
21126         (atan2_test): Likewise.
21127         (cabs_test): Likewise.
21128         (cacos_test): Likewise.
21129         (cacosh_test): Likewise.
21130         (casin_test): Likewise.
21131         (casinh_test): Likewise.
21132         (catan_test): Likewise.
21133         (catanh_test): Likewise.
21134         (cbrt_test): Likewise.
21135         (ccos_test): Likewise.
21136         (ccosh_test): Likewise.
21137         (cexp_test): Likewise.
21138         (clog_test): Likewise.
21139         (clog10_test): Likewise.
21140         (cos_test): Likewise.
21141         (cos_test_tonearest): Likewise.
21142         (cos_test_towardzero): Likewise.
21143         (cos_test_downward): Likewise.
21144         (cos_test_upward): Likewise.
21145         (cosh_test): Likewise.
21146         (cosh_test_tonearest): Likewise.
21147         (cosh_test_towardzero): Likewise.
21148         (cosh_test_downward): Likewise.
21149         (cosh_test_upward): Likewise.
21150         (cpow_test): Likewise.
21151         (csin_test): Likewise.
21152         (csinh_test): Likewise.
21153         (csqrt_test): Likewise.
21154         (ctan_test): Likewise.
21155         (ctan_test_tonearest): Likewise.
21156         (ctan_test_towardzero): Likewise.
21157         (ctan_test_downward): Likewise.
21158         (ctan_test_upward): Likewise.
21159         (ctanh_test): Likewise.
21160         (ctanh_test_tonearest): Likewise.
21161         (ctanh_test_towardzero): Likewise.
21162         (ctanh_test_downward): Likewise.
21163         (ctanh_test_upward): Likewise.
21164         (erf_test): Likewise.
21165         (erfc_test): Likewise.
21166         (exp_test): Likewise.
21167         (exp_test_tonearest): Likewise.
21168         (exp_test_towardzero): Likewise.
21169         (exp_test_downward): Likewise.
21170         (exp_test_upward): Likewise.
21171         (exp10_test): Likewise.
21172         (exp2_test): Likewise.
21173         (expm1_test): Likewise.
21174         (fmod_test): Likewise.
21175         (gamma_test): Likewise.
21176         (hypot_test): Likewise.
21177         (j0_test): Likewise.
21178         (j1_test): Likewise.
21179         (jn_test): Likewise.
21180         (lgamma_test): Likewise.
21181         (log_test): Likewise.
21182         (log10_test): Likewise.
21183         (log1p_test): Likewise.
21184         (log2_test): Likewise.
21185         (logb_test_downward): Likewise.
21186         (pow_test): Likewise.
21187         (pow_test_tonearest): Likewise.
21188         (pow_test_towardzero): Likewise.
21189         (pow_test_downward): Likewise.
21190         (pow_test_upward): Likewise.
21191         (remainder_test): Likewise.
21192         (remquo_test): Likewise.
21193         (sin_test): Likewise.
21194         (sin_test_tonearest): Likewise.
21195         (sin_test_towardzero): Likewise.
21196         (sin_test_downward): Likewise.
21197         (sin_test_upward): Likewise.
21198         (sincos_test): Likewise.
21199         (sinh_test): Likewise.
21200         (sinh_test_tonearest): Likewise.
21201         (sinh_test_towardzero): Likewise.
21202         (sinh_test_downward): Likewise.
21203         (sinh_test_upward): Likewise.
21204         (sqrt_test): Likewise.
21205         (tan_test): Likewise.
21206         (tan_test_tonearest): Likewise.
21207         (tan_test_towardzero): Likewise.
21208         (tan_test_downward): Likewise.
21209         (tan_test_upward): Likewise.
21210         (tanh_test): Likewise.
21211         (tgamma_test): Likewise.
21212         (y0_test): Likewise.
21213         (y1_test): Likewise.
21214         (yn_test): Likewise.
21215
21216         * math/gen-libm-test.pl (adjust_arg): Remove function.
21217         (special_function): Remove argument $in_func.  Only handle
21218         generating output for tables of tests, not inside functions.
21219         (parse_args): Likewise.
21220         (generate_testfile): Remove variable $in_func.  Update call to
21221         parse_args.
21222         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21223         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21224         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21225         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21226         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21227         (MAX_VALUE_INIT): Rename macro to max_value.
21228         (MIN_VALUE_INIT): Rename macro to min_value.
21229         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21230         (plus_zero): Remove variable.
21231         (minus_zero): Likewise.
21232         (plus_infty): Likewise.
21233         (minus_infty): Likewise.
21234         (qnan_value): Likewise.
21235         (max_value): Likewise.
21236         (min_value): Likewise.
21237         (min_subnorm_value): Likewise.
21238
21239 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21240
21241         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21242         uint64_t or uint32_t usage.
21243         * crypt/sha256-block.c: Likewise.
21244         * crypt/sha256-crypt.c: Likewise.
21245         * crypt/sha256.c: Likewise.
21246         * crypt/sha512-block.c: Likewise.
21247         * crypt/sha512-crypt.c: Likewise.
21248         * crypt/sha512.c: Likewise.
21249         * debug/backtrace-tst.c: Likewise.
21250         * debug/pcprofiledump.c: Likewise.
21251         * elf/cache.c: Likewise.
21252         * elf/dl-cache.c: Likewise.
21253         * elf/dl-misc.c: Likewise.
21254         * elf/dl-profile.c: Likewise.
21255         * elf/dl-support.c: Likewise.
21256         * elf/ldconfig.c: Likewise.
21257         * elf/sprof.c: Likewise.
21258         * iconv/dummy-repertoire.c: Likewise.
21259         * iconv/iconv_charmap.c: Likewise.
21260         * iconv/skeleton.c: Likewise.
21261         * iconvdata/8bit-generic.c: Likewise.
21262         * iconvdata/cp737.h: Likewise.
21263         * iconvdata/cp775.h: Likewise.
21264         * iconvdata/ibm1008.h: Likewise.
21265         * iconvdata/ibm1025.h: Likewise.
21266         * iconvdata/ibm1046.h: Likewise.
21267         * iconvdata/ibm1097.h: Likewise.
21268         * iconvdata/ibm1112.h: Likewise.
21269         * iconvdata/ibm1122.h: Likewise.
21270         * iconvdata/ibm1123.h: Likewise.
21271         * iconvdata/ibm1124.h: Likewise.
21272         * iconvdata/ibm1129.h: Likewise.
21273         * iconvdata/ibm1130.h: Likewise.
21274         * iconvdata/ibm1132.h: Likewise.
21275         * iconvdata/ibm1133.h: Likewise.
21276         * iconvdata/ibm1137.h: Likewise.
21277         * iconvdata/ibm1140.h: Likewise.
21278         * iconvdata/ibm1141.h: Likewise.
21279         * iconvdata/ibm1142.h: Likewise.
21280         * iconvdata/ibm1143.h: Likewise.
21281         * iconvdata/ibm1144.h: Likewise.
21282         * iconvdata/ibm1145.h: Likewise.
21283         * iconvdata/ibm1146.h: Likewise.
21284         * iconvdata/ibm1147.h: Likewise.
21285         * iconvdata/ibm1148.h: Likewise.
21286         * iconvdata/ibm1149.h: Likewise.
21287         * iconvdata/ibm1153.h: Likewise.
21288         * iconvdata/ibm1154.h: Likewise.
21289         * iconvdata/ibm1155.h: Likewise.
21290         * iconvdata/ibm1156.h: Likewise.
21291         * iconvdata/ibm1157.h: Likewise.
21292         * iconvdata/ibm1158.h: Likewise.
21293         * iconvdata/ibm1160.h: Likewise.
21294         * iconvdata/ibm1161.h: Likewise.
21295         * iconvdata/ibm1162.h: Likewise.
21296         * iconvdata/ibm1163.h: Likewise.
21297         * iconvdata/ibm1164.h: Likewise.
21298         * iconvdata/ibm1166.h: Likewise.
21299         * iconvdata/ibm1167.h: Likewise.
21300         * iconvdata/ibm12712.h: Likewise.
21301         * iconvdata/ibm1390.h: Likewise.
21302         * iconvdata/ibm1399.h: Likewise.
21303         * iconvdata/ibm16804.h: Likewise.
21304         * iconvdata/ibm4517.h: Likewise.
21305         * iconvdata/ibm4899.h: Likewise.
21306         * iconvdata/ibm4909.h: Likewise.
21307         * iconvdata/ibm4971.h: Likewise.
21308         * iconvdata/ibm5347.h: Likewise.
21309         * iconvdata/ibm803.h: Likewise.
21310         * iconvdata/ibm856.h: Likewise.
21311         * iconvdata/ibm901.h: Likewise.
21312         * iconvdata/ibm902.h: Likewise.
21313         * iconvdata/ibm9030.h: Likewise.
21314         * iconvdata/ibm9066.h: Likewise.
21315         * iconvdata/ibm921.h: Likewise.
21316         * iconvdata/ibm922.h: Likewise.
21317         * iconvdata/ibm9448.h: Likewise.
21318         * iconvdata/isiri-3342.h: Likewise.
21319         * iconvdata/jis0201.h: Likewise.
21320         * include/link.h: Likewise.
21321         * include/netdb.h: Likewise.
21322         * inet/check_native.c: Likewise.
21323         * inet/check_pf.c: Likewise.
21324         * inet/getipv4sourcefilter.c: Likewise.
21325         * inet/getnameinfo.c: Likewise.
21326         * inet/getsourcefilter.c: Likewise.
21327         * inet/htonl.c: Likewise.
21328         * inet/setipv4sourcefilter.c: Likewise.
21329         * inet/setsourcefilter.c: Likewise.
21330         * inet/test-inet6_opt.c: Likewise.
21331         * inet/tst-network.c: Likewise.
21332         * locale/C-collate.c: Likewise.
21333         * locale/C-ctype.c: Likewise.
21334         * locale/C-time.c: Likewise.
21335         * locale/C-translit.h: Likewise.
21336         * locale/loadarchive.c: Likewise.
21337         * locale/programs/3level.h: Likewise.
21338         * locale/programs/charmap.c: Likewise.
21339         * locale/programs/charmap.h: Likewise.
21340         * locale/programs/ld-address.c: Likewise.
21341         * locale/programs/ld-collate.c: Likewise.
21342         * locale/programs/ld-ctype.c: Likewise.
21343         * locale/programs/ld-identification.c: Likewise.
21344         * locale/programs/ld-measurement.c: Likewise.
21345         * locale/programs/ld-messages.c: Likewise.
21346         * locale/programs/ld-monetary.c: Likewise.
21347         * locale/programs/ld-name.c: Likewise.
21348         * locale/programs/ld-numeric.c: Likewise.
21349         * locale/programs/ld-paper.c: Likewise.
21350         * locale/programs/ld-telephone.c: Likewise.
21351         * locale/programs/ld-time.c: Likewise.
21352         * locale/programs/linereader.c: Likewise.
21353         * locale/programs/locale.c: Likewise.
21354         * locale/programs/locarchive.c: Likewise.
21355         * locale/programs/locfile.h: Likewise.
21356         * locale/programs/repertoire.c: Likewise.
21357         * locale/programs/simple-hash.c: Likewise.
21358         * locale/programs/simple-hash.h: Likewise.
21359         * malloc/memusage.c: Likewise.
21360         * malloc/memusagestat.c: Likewise.
21361         * nis/nis_defaults.c: Likewise.
21362         * nis/nis_hash.c: Likewise.
21363         * nis/nis_print.c: Likewise.
21364         * nis/nis_xdr.c: Likewise.
21365         * nscd/connections.c: Likewise.
21366         * nscd/hstcache.c: Likewise.
21367         * nscd/nscd_gethst_r.c: Likewise.
21368         * nscd/nscd_getserv_r.c: Likewise.
21369         * nscd/nscd_helper.c: Likewise.
21370         * nscd/servicescache.c: Likewise.
21371         * nss/makedb.c: Likewise.
21372         * nss/nss_db/db-XXX.c: Likewise.
21373         * nss/nss_db/db-initgroups.c: Likewise.
21374         * nss/nss_db/db-netgrp.c: Likewise.
21375         * nss/nss_files/files-network.c: Likewise.
21376         * nss/nss_files/files-parse.c: Likewise.
21377         * posix/bug-regex5.c: Likewise.
21378         * posix/fnmatch_loop.c: Likewise.
21379         * posix/regcomp.c: Likewise.
21380         * posix/regexec.c: Likewise.
21381         * posix/tst-rfc3484-2.c: Likewise.
21382         * posix/tst-rfc3484-3.c: Likewise.
21383         * posix/tst-rfc3484.c: Likewise.
21384         * resolv/nss_dns/dns-canon.c: Likewise.
21385         * resolv/nss_dns/dns-network.c: Likewise.
21386         * resolv/res_init.c: Likewise.
21387         * resolv/res_mkquery.c: Likewise.
21388         * resolv/tst-aton.c: Likewise.
21389         * stdlib/cxa_atexit.c: Likewise.
21390         * stdlib/cxa_finalize.c: Likewise.
21391         * stdlib/gen-fpioconst.c: Likewise.
21392         * stdlib/strtol_l.c: Likewise.
21393         * string/tst-endian.c: Likewise.
21394         * sunrpc/auth_des.c: Likewise.
21395         * sunrpc/clnt_udp.c: Likewise.
21396         * sunrpc/rtime.c: Likewise.
21397         * sunrpc/svcauth_des.c: Likewise.
21398         * sunrpc/xdr.c: Likewise.
21399         * sunrpc/xdr_intXX_t.c: Likewise.
21400         * sunrpc/xdr_rec.c: Likewise.
21401         * sysdeps/generic/ldconfig.h: Likewise.
21402         * sysdeps/generic/ldsodefs.h: Likewise.
21403         * sysdeps/generic/memusage.h: Likewise.
21404         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21405         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21406         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21407         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21408         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21410         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21411         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21412         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21414         * sysdeps/posix/getaddrinfo.c: Likewise.
21415         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21416         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21417         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21418         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21419         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21420         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21421         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21422         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21423         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21424         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21425         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21426         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21427         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21428         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21429         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21430         * sysdeps/x86_64/dl-tls.h: Likewise.
21431         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21432         * time/alt_digit.c: Likewise.
21433         * time/era.c: Likewise.
21434         * wcsmbs/tst-c16c32-1.c: Likewise.
21435
21436 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21437
21438         * math/libm-test.inc (struct test_sincos_data): New type.
21439         (RUN_TEST_LOOP_sincos): New macro.
21440         (sincos_test_data): New variable.
21441         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21442
21443 2013-05-16  Richard Henderson  <rth@redhat.com>
21444
21445         * math/atest-exp2.c (LIMB64): New macro.
21446         (CONSTSZ): New macro.
21447         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21448         (hexdig): Move ...
21449         (print_mpn_fp): ... to function scope.
21450         (read_mpn_hex): Remove.
21451         (get_log2): Remove.
21452         (exp2_mpn): Use mp_log2.
21453         (main): Use mp_exp1.
21454
21455 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21456
21457         * math/libm-test.inc: Remove comment about not testing "inexact"
21458         exceptions.
21459         (INEXACT_EXCEPTION): New macro.
21460         (NO_INEXACT_EXCEPTION): Likewise.
21461         (INVALID_EXCEPTION_OK): Update value.
21462         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21463         (OVERFLOW_EXCEPTION_OK): Likewise.
21464         (UNDERFLOW_EXCEPTION_OK): Likewise.
21465         (IGNORE_ZERO_INF_SIGN): Likewise.
21466         (ERRNO_UNCHANGED): Likewise.
21467         (ERRNO_EDOM): Likewise.
21468         (ERRNO_ERANGE): Likewise.
21469         (test_exceptions): Handle testing "inexact" exceptions.
21470         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21471         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21472         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21473         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21474         INEXACT_EXCEPTION.
21475         (rint_towardzero_test_data): Likewise.
21476         (rint_downward_test_data): Likewise.
21477         (rint_upward_test_data): Likewise.
21478
21479         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21480         with OVERFLOW_EXCEPTION.
21481         (exp10_test_data): Likewise.
21482         (exp2_test_data): Likewise.
21483         (expm1_test_data): Likewise.
21484         (lgamma_test_data): Likewise.
21485         (pow_test_data): Likewise.
21486         (tgamma_test_data): Likewise.
21487         (yn_test_data): Remove duplicate test of overflow.
21488
21489         * math/libm-test.inc (struct test_cc_c_data): New type.
21490         (RUN_TEST_LOOP_cc_c): New macro.
21491         (cpow_test_data): New variable.
21492         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21493
21494         * math/libm-test.inc (struct test_f_L_data): New type.
21495         (RUN_TEST_LOOP_f_L): New macro.
21496         (llrint_test_data): New variable.
21497         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21498         (llrint_tonearest_test_data): New variable.
21499         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21500         (llrint_towardzero_test_data): New variable.
21501         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21502         (llrint_downward_test_data): New variable.
21503         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21504         (llrint_upward_test_data): New variable.
21505         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21506         (llround_test_data): New variable.
21507         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21508
21509 2013-05-13  Peter Collingbourne  <pcc@google.com>
21510
21511         * math/atest-exp2.c (get_log2): Remove const attribute.
21512
21513 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21514
21515         * math/libm-test.inc (struct test_f_l_data): New type.
21516         (RUN_TEST_LOOP_f_l): New macro.
21517         (lrint_test_data): New variable.
21518         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21519         (lrint_tonearest_test_data): New variable.
21520         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21521         (lrint_towardzero_test_data): New variable.
21522         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21523         (lrint_downward_test_data): New variable.
21524         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21525         (lrint_upward_test_data): New variable.
21526         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21527         (lround_test_data): New variable.
21528         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21529
21530 2013-05-15  Peter Collingbourne  <pcc@google.com>
21531
21532         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21533         (EXTRACT_WORDS64) Use where appropriate.
21534         (INSERT_WORDS64) Likewise.
21535
21536         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21537         constraints with x constraints.
21538         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21539
21540         * malloc/obstack.c (_obstack_compat): Add initializer.
21541
21542 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21543
21544         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21545         si_trapno and add si_addr_lsb to _sifields.sigfault.
21546         (si_trapno): Remove macro.
21547         (si_addr_lsb): Define new macro.
21548         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21549
21550 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21551
21552         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21553         instead of TEST_f_l.
21554         (llrint_test_tonearest): Likewise.
21555         (llrint_test_towardzero): Likewise.
21556         (llrint_test_downward): Likewise.
21557         (llrint_test_upward): Likewise.
21558         (llround_test): Likewise.
21559
21560         * math/libm-test.inc (struct test_f_i_data): Add comment.
21561         (RUN_TEST_LOOP_f_b): New macro.
21562         (RUN_TEST_LOOP_f_b_tg): Likewise.
21563         (finite_test_data): New variable.
21564         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21565         (isfinite_test_data): New variable.
21566         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21567         (isinf_test_data): New variable.
21568         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21569         (isnan_test_data): New variable.
21570         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21571         (isnormal_test_data): New variable.
21572         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21573         (issignaling_test_data): New variable.
21574         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21575         (signbit_test_data): New variable.
21576         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21577
21578         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21579         with INVALID_EXCEPTION.
21580         (acosh_test_data): Likewise.
21581         (asin_test_data): Likewise.
21582         (atanh_test_data): Likewise.
21583         (fmod_test_data): Likewise.
21584         (log_test_data): Likewise.
21585         (log10_test_data): Likewise.
21586         (log2_test_data): Likewise.
21587         (pow_test_data): Likewise.
21588         (sqrt_test_data): Likewise.
21589         (y0_test_data): Likewise.
21590         (y1_test_data): Likewise.
21591         (yn_test_data): Likewise.
21592
21593         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21594         function contents.
21595
21596         * math/libm-test.inc (struct test_ff_i_data): New type.
21597         (RUN_TEST_LOOP_ff_i_tg): New macro.
21598         (isgreater_test_data): New variable.
21599         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21600         (isgreaterequal_test_data): New variable.
21601         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21602         (isless_test_data): New variable.
21603         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21604         (islessequal_test_data): New variable.
21605         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21606         (islessgreater_test_data): New variable.
21607         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21608         (isunordered_test_data): New variable.
21609         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21610
21611 2013-05-14  David S. Miller  <davem@davemloft.net>
21612
21613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21614
21615 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21616
21617         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21618
21619         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21620         extra_test to int.
21621         (struct test_f_i_data): Change type of max_ulp to int.
21622
21623         * math/libm-test.inc (test_ffI_f1_data): New type.
21624         (RUN_TEST_LOOP_ffI_f1): New macro.
21625         (remquo_test_data): New variable.
21626         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21627
21628         * setjmp/tst-setjmp-fp.c: New file.
21629         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21630         (link-libm): New variable.
21631         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21632
21633         * math/libm-test.inc (struct test_f_i_data): New type.
21634         (RUN_TEST_LOOP_f_i): New macro.
21635         (RUN_TEST_LOOP_f_i_tg): Likewise.
21636         (fpclassify_test_data): New variable.
21637         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21638         (ilogb_test_data): New variable.
21639         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21640
21641         * math/libm-test.inc (scalbln_test): Correct function name in END
21642         call.
21643
21644         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21645         (RUN_TEST_LOOP_fI_f1): New macro.
21646         (frexp_test_data): New variable.
21647         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21648
21649         * math/libm-test.inc (struct test_fF_f1_data): New type.
21650         (RUN_TEST_LOOP_fF_f1): New macro.
21651         (modf_test_data): New variable.
21652         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21653
21654         * math/libm-test.inc (struct test_f_f1_data): New type.
21655         (RUN_TEST_LOOP_f_f1): New macro.
21656         (gamma_test_data): New variable.
21657         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21658         (lgamma_test_data): New variable.
21659         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21660
21661 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21662
21663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21664         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21665         (main): Comment "tls" pseudo-hwcap.
21666
21667 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21668
21669         * math/libm-test.inc (struct test_fl_f_data): New type.
21670         (RUN_TEST_LOOP_fl_f): New variable.
21671         (scalbln_test_data): New variable.
21672         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21673
21674         * math/libm-test.inc (struct test_fi_f_data): New type.
21675         (RUN_TEST_LOOP_fi_f): New macro.
21676         (ldexp_test_data): New variable.
21677         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21678         (scalbn_test_data): New variable.
21679         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21680
21681         * math/libm-test.inc (struct test_c_f_data): New type.
21682         (RUN_TEST_LOOP_c_f): New macro.
21683         (cabs_test_data): New variable.
21684         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21685         (carg_test_data): New variable.
21686         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21687         (cimag_test_data): New variable.
21688         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21689         (creal_test_data): New variable.
21690         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21691
21692         * math/libm-test.inc (struct test_if_f_data): New type.
21693         (RUN_TEST_LOOP_if_f): New macro.
21694         (jn_test_data): New variable.
21695         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21696         (yn_test_data): New variable.
21697         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21698
21699         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21700
21701 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21702
21703         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21704         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21705
21706 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21707
21708         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21709         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21710         (bench-deps): Add bench-timing.h.
21711         * benchtests-bench-skeleton.c: Include bench-timing.h.
21712         (main): Use TIMING_* macros instead of clock_gettime.
21713         * benchtests/bench-timing.h: New file.
21714
21715         [BZ #14582]
21716         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21717         Renamed from _LIB_VERSION.
21718         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21719
21720 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21721
21722         * math/libm-test.inc (struct test_fff_f_data): New type.
21723         (RUN_TEST_LOOP_fff_f): New macro.
21724         (fma_test_data): New variable.
21725         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21726         (fma_towardzero_test_data): New variable.
21727         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21728         (fma_downward_test_data): New variable.
21729         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21730         (fma_upward_test_data): New variable.
21731         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21732
21733         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21734         (struct test_c_c_data): New type.
21735         (RUN_TEST_LOOP_c_c): New macro.
21736         (cacos_test_data): New variable.
21737         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21738         (cacosh_test_data): New variable.
21739         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21740         (casin_test_data): New variable.
21741         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21742         (casinh_test_data): New variable.
21743         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21744         (catan_test_data): New variable.
21745         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21746         (catanh_test_data): New variable.
21747         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21748         (ccos_test_data): New variable.
21749         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21750         (ccosh_test_data): New variable.
21751         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21752         (cexp_test_data): New variable.
21753         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21754         (clog_test_data): New variable.
21755         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21756         (clog10_test_data): New variable.
21757         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21758         (conj_test_data): New variable.
21759         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21760         (cproj_test_data): New variable.
21761         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21762         (csin_test_data): New variable.
21763         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21764         (csinh_test_data): New variable.
21765         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21766         (csqrt_test_data): New variable.
21767         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21768         (ctan_test_data): New variable.
21769         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21770         (ctan_tonearest_test_data): New variable.
21771         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21772         (ctan_towardzero_test_data): New variable.
21773         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21774         (ctan_downward_test_data): New variable.
21775         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21776         (ctan_upward_test_data): New variable.
21777         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21778         (ctanh_test_data): New variable.
21779         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21780         (ctanh_tonearest_test_data): New variable.
21781         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21782         (ctanh_towardzero_test_data): New variable.
21783         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21784         (ctanh_downward_test_data): New variable.
21785         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21786         (ctanh_upward_test_data): New variable.
21787         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21788         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21789         of BUILD_COMPLEX.
21790
21791         * math/libm-test.inc (struct test_ff_f_data): New type.
21792         (struct test_ff_f_data_nexttoward): Likewise.
21793         (RUN_TEST_LOOP_2_f): New macro.
21794         (RUN_TEST_LOOP_ff_f): Likewise.
21795         (atan2_test_data): New variable.
21796         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21797         (copysign_test_data): New variable.
21798         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21799         (fdim_test_data): New variable.
21800         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21801         (fmax_test_data): New variable.
21802         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21803         (fmin_test_data): New variable.
21804         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21805         (fmod_test_data): New variable.
21806         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21807         (hypot_test_data): New variable.
21808         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21809         (nextafter_test_data): New variable.
21810         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21811         (nexttoward_test_data): New variable.
21812         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21813         (pow_test_data): New variable.
21814         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21815         (pow_tonearest_test_data): New variable.
21816         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21817         (pow_towardzero_test_data): New variable.
21818         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21819         (pow_downward_test_data): New variable.
21820         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21821         (pow_upward_test_data): New variable.
21822         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21823         (remainder_test_data): New variable.
21824         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21825         (scalb_test_data): New variable.
21826         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21827         * sysdeps/i386/fpu/libm-test-ulps: Update.
21828
21829 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21830
21831         * math/libm-test.inc (fma_test): Use max_value instead of local
21832         variable fltmax.
21833         (nextafter_test): Likewise.
21834
21835         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21836         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21837         (acos_downward_test_data): New variable.
21838         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21839         (acos_upward_test_data): New variable.
21840         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21841         (acosh_test_data): New variable.
21842         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21843         (asin_test_data): New variable.
21844         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21845         (asin_tonearest_test_data): New variable.
21846         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21847         (asin_towardzero_test_data): New variable.
21848         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21849         (asin_downward_test_data): New variable.
21850         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21851         (asin_upward_test_data): New variable.
21852         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21853         (asinh_test_data): New variable.
21854         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21855         (atan_test_data): New variable.
21856         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21857         (atanh_test_data): New variable.
21858         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21859         (cbrt_test_data): New variable.
21860         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21861         (ceil_test_data): New variable.
21862         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21863         (cos_test_data): New variable.
21864         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21865         (cos_tonearest_test_data): New variable.
21866         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21867         (cos_towardzero_test_data): New variable.
21868         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21869         (cos_downward_test_data): New variable.
21870         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21871         (cos_upward_test_data): New variable.
21872         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21873         (cosh_test_data): New variable.
21874         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21875         (cosh_tonearest_test_data): New variable.
21876         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21877         (cosh_towardzero_test_data): New variable.
21878         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21879         (cosh_downward_test_data): New variable.
21880         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21881         (cosh_upward_test_data): New variable.
21882         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21883         (erf_test_data): New variable.
21884         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21885         (erfc_test_data): New variable.
21886         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21887         (exp_test_data): New variable.
21888         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21889         (exp_tonearest_test_data): New variable.
21890         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21891         (exp_towardzero_test_data): New variable.
21892         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21893         (exp_downward_test_data): New variable.
21894         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21895         (exp_upward_test_data): New variable.
21896         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21897         (exp10_test_data): New variable.
21898         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21899         (exp2_test_data): New variable.
21900         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21901         (expm1_test_data): New variable.
21902         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21903         (fabs_test_data): New variable.
21904         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21905         (floor_test_data): New variable.
21906         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21907         (j0_test_data): New variable.
21908         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21909         (j1_test_data): New variable.
21910         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21911         (log_test_data): New variable.
21912         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21913         (log10_test_data): New variable.
21914         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21915         (log1p_test_data): New variable.
21916         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21917         (log2_test_data): New variable.
21918         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21919         (logb_test_data): New variable.
21920         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21921         (logb_downward_test_data): New variable.
21922         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21923         (nearbyint_test_data): New variable.
21924         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21925         (rint_test_data): New variable.
21926         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21927         (rint_tonearest_test_data): New variable.
21928         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21929         (rint_towardzero_test_data): New variable.
21930         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21931         (rint_downward_test_data): New variable.
21932         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21933         (rint_upward_test_data): New variable.
21934         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21935         (round_test_data): New variable.
21936         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21937         (sin_test_data): New variable.
21938         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21939         (sin_tonearest_test_data): New variable.
21940         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21941         (sin_towardzero_test_data): New variable.
21942         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21943         (sin_downward_test_data): New variable.
21944         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21945         (sin_upward_test_data): New variable.
21946         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21947         (sinh_test_data): New variable.
21948         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21949         (sinh_tonearest_test_data): New variable.
21950         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21951         (sinh_towardzero_test_data): New variable.
21952         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21953         (sinh_downward_test_data): New variable.
21954         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21955         (sinh_upward_test_data): New variable.
21956         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21957         (sqrt_test_data): New variable.
21958         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21959         (tan_test_data): New variable.
21960         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21961         (tan_tonearest_test_data): New variable.
21962         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21963         (tan_towardzero_test_data): New variable.
21964         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21965         (tan_downward_test_data): New variable.
21966         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21967         (tan_upward_test_data): New variable.
21968         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21969         (tanh_test_data): New variable.
21970         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21971         (tgamma_test_data): New variable.
21972         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21973         (trunc_test_data): New variable.
21974         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21975         (y0_test_data): New variable.
21976         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21977         (y1_test_data): New variable.
21978         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21979         (significand_test_data): New variable.
21980         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21981
21982 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21983
21984         [BZ #12387]
21985         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21986
21987 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21988
21989         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21990
21991 2013-05-10  Andreas Jaeger  <aj@suse.de>
21992
21993         [BZ #15448]
21994         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21995         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21996
21997 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21998
21999         * math/gen-libm-test.pl (adjust_arg): New function.
22000         (special_functions): Handle generating output in both functions
22001         and arrays.
22002         (parse_args): Likewise.
22003         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22004         $in_func argument to parse_args.
22005         * math/libm-test.inc (struct test_f_f_data): New type.
22006         (IF_ROUND_INIT_): New macro.
22007         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22008         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22009         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22010         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22011         (ROUND_RESTORE_): Likewise.
22012         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22013         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22014         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22015         (ROUND_RESTORE_FE_UPWARD): Likewise.
22016         (RUN_TEST_LOOP_f_f): New macro.
22017         (acos_test_data): New variable.
22018         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22019         (acos_tonearest_test_data): New variable.
22020         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22021
22022 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22023
22024         * benchtests/bench-skeleton.c (startup): Fix coding style.
22025
22026 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22027
22028         [BZ #6809]
22029         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22030         negative infinity argument.
22031         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22032         negative infinity argument.
22033         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22034         negative infinity argument.
22035         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22036         domain errors.
22037
22038 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22039
22040         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22041         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22042         * iconv/iconv_prog.c (main): Likewise.
22043         * locale/programs/charmap-dir.c (charmap_readdir)
22044         (fopen_uncompressed): Likewise.
22045         * locale/programs/locfile.c (siblings_uncached)
22046         (write_locale_data): Use lstat64 instead of lstat.
22047         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22048         stat.
22049
22050 2013-05-10  Andreas Jaeger  <aj@suse.de>
22051
22052         [BZ #15395]
22053         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22054         localization.
22055         Include <locale.h>.
22056
22057 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22058
22059         * elf/dl-close.c (_dl_close_worker): Add comments.
22060
22061 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22062
22063         [BZ #15359]
22064         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22065         high part of pi/2.
22066         (__ieee754_rem_pio2l): Update comments.
22067
22068         [BZ #15429]
22069         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22070         high part of pi/2.
22071         (__ieee754_rem_pio2l): Update comments.
22072
22073         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22074         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22075
22076         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22077         M_PI_4l.
22078
22079         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22080         (M_PI_34_LOG10El): Likewise.
22081         (M_PI2_LOG10El): Likewise.
22082         (M_PI4_LOG10El): Likewise.
22083         (M_PI_LOG10El): Likewise.
22084
22085 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22086
22087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22088
22089 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22090
22091         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22092         (MINUS_ZERO_INIT): Likewise.
22093         (PLUS_INFTY_INIT): Likewise.
22094         (MINUS_INFTY_INIT): Likewise.
22095         (QNAN_VALUE_INIT): Likewise.
22096         (MAX_VALUE_INIT): Likewise.
22097         (MIN_VALUE_INIT): Likewise.
22098         (MIN_SUBNORM_VALUE_INIT): Likewise.
22099         (plus_zero): Initialize with PLUS_ZERO_INIT.
22100         (minus_zero): Initialize with MINUS_ZERO_INIT.
22101         (plus_infty): Initialize with PLUS_INFTY_INIT.
22102         (minus_infty): Initialize with MINUS_INFTY_INIT.
22103         (qnan_value): Initialize with QNAN_VALUE_INIT.
22104         (max_value): Initialize with MAX_VALUE_INIT.
22105         (min_value): Initialize with MIN_VALUE_INIT.
22106         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22107
22108         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22109         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22110         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22111         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22112
22113         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22114         (RUN_TEST_2_f): Likewise.
22115         (RUN_TEST_ff_f): Likewise.
22116         (RUN_TEST_fi_f): Likewise.
22117         (RUN_TEST_fl_f): Likewise.
22118         (RUN_TEST_fff_f): Likewise.
22119         (RUN_TEST_c_f): Likewise.
22120         (RUN_TEST_f_f1): Likewise.
22121         (RUN_TEST_fF_f1): Likewise.
22122         (RUN_TEST_fI_f1): Likewise.
22123         (RUN_TEST_ffI_f1): Likewise.
22124         (RUN_TEST_c_c): Likewise.
22125         (RUN_TEST_cc_c): Likewise.
22126         (RUN_TEST_f_i): Likewise.
22127         (RUN_TEST_f_i_tg): Likewise.
22128         (RUN_TEST_ff_i_tg): Likewise.
22129         (RUN_TEST_f_b): Likewise.
22130         (RUN_TEST_f_b_tg): Likewise.
22131         (RUN_TEST_f_l): Likewise.
22132         (RUN_TEST_f_L): Likewise.
22133         (RUN_TEST_sincos): Likewise.
22134         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22135         whether to show exceptions.  Do not include ");\n" in return
22136         value.
22137         (special_functions): Output call to RUN_TEST_sincos instead of
22138         check_float calls.  Update calls to new_test.
22139         (parse_args): Output call to single RUN_TEST_* macro instead of
22140         check_* calls and other assignments.  Update calls to new_test.
22141
22142         [BZ #2546]
22143         [BZ #2560]
22144         [BZ #5159]
22145         [BZ #15426]
22146         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22147         input to result for tgamma overflow.
22148         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22149         (gamma_coeff): New variable.
22150         (NCOEFF): New macro.
22151         (gamma_positive): New function.
22152         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22153         underflow here.  Use gamma_positive instead of exp (lgamma) for
22154         other arguments.
22155         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22156         (gamma_coeff): New variable.
22157         (NCOEFF): New macro.
22158         (gammaf_positive): New function.
22159         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22160         underflow here.  Use gamma_positive instead of exp (lgamma) for
22161         other arguments.
22162         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22163         (gamma_coeff): New variable.
22164         (NCOEFF): New macro.
22165         (gammal_positive): New function.
22166         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22167         underflow here.  Use gamma_positive instead of exp (lgamma) for
22168         other arguments.
22169         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22170         (gamma_coeff): New variable.
22171         (NCOEFF): New macro.
22172         (gammal_positive): New function.
22173         (__ieee754_gammal_r): Handle positive infinity, overflow and
22174         underflow here.  Handle NaN the same as positive infinity.  Remove
22175         check x < 0xffffffff for negative integers.  Use gamma_positive
22176         instead of exp (lgamma) for other arguments.
22177         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22178         (gamma_coeff): New variable.
22179         (NCOEFF): New macro.
22180         (gammal_positive): New function.
22181         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22182         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22183         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22184         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22185         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22186         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22187         * sysdeps/generic/math_private.h (__gamma_productf): New
22188         prototype.
22189         (__gamma_product): Likewise.
22190         (__gamma_productl): Likewise.
22191         * math/Makefile (libm-calls): Add gamma_product.
22192         * math/libm-test.inc (tgamma_test): Add more tests.
22193         * sysdeps/i386/fpu/libm-test-ulps: Update.
22194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22195
22196 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22197
22198         * benchtests/bench-skeleton.c (main): Preheat CPU.
22199
22200 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22201
22202         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22203
22204 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22205
22206         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22207         and _dl_skip_args_internal.
22208
22209 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22210
22211         * manual/message.texi (Message Translation): Talk about users.
22212         Message to key mapping impacts design.
22213
22214 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22215
22216         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22217
22218         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22219
22220         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22221         * sysdeps/wordsize-64/glob64.c: ... here.
22222
22223         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22224         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22225         New macros.
22226
22227         * debug/getlogin_r_chk.c: Moved to ...
22228         * login/getlogin_r_chk.c: ... here.
22229         * debug/Makefile (routines): Move getlogin_r_chk to ...
22230         * login/Makefile (routines): ... here.
22231         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22232         * login/Versions (libc: GLIBC_2.4): ... here.
22233
22234         * io/poll.c (__poll): Renamed from poll.
22235         Add libc_hidden_def.
22236         (poll): Define as weak alias.
22237
22238         * debug/ptsname_r_chk.c: Moved to ...
22239         * login/ptsname_r_chk.c: ... here.
22240         * debug/Makefile (routines): Move ptsname_r_chk to ...
22241         * login/Makefile (routines): ... here.
22242         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22243         * login/Versions (libc: GLIBC_2.4): ... here.
22244
22245         * posix/getlogin.c: Moved to ...
22246         * login/getlogin.c: ... here.
22247         * posix/getlogin_r.c: Moved to ...
22248         * login/getlogin_r.c: ... here.
22249         * posix/getlogin_r.c: Moved to ...
22250         * login/getlogin_r.c: ... here.
22251         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22252         * login/Makefile (routines): ... here.
22253         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22254         * login/Versions (libc: GLIBC_2.0): ... here.
22255
22256         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22257         (setrlimit): Define as weak alias.
22258
22259         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22260         Call __ names for open, ftruncate, and close.
22261         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22262         (truncate): Define as weak alias.
22263
22264 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22265
22266         * math/gen-libm-test.pl (parse_args): Initialize x before each
22267         test of frexp, modf and remquo.
22268
22269         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22270         test signgam value.
22271
22272 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22273
22274         [BZ #15418]
22275         [BZ #15419]
22276         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22277         internal tests.
22278         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22279
22280 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22281
22282         * elf/dl-writev.h: New file.
22283         * elf/dl-misc.c: Include it.
22284         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22285         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22286
22287 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22288
22289         * math/libm-test.inc (noXFails): Remove variable.
22290         (noXPasses): Likewise.
22291         (BUILD_COMPLEX_INT): Remove macro.
22292         (print_screen): Remove xfail argument.
22293         (print_screen_max_error): Likewise.
22294         (update_stats): Likewise.
22295         (print_max_error): Likewise.  Update calls to other affected
22296         functions.
22297         (print_complex_max_error): Likewise.
22298         (test_single_exception): Update calls to print_screen.
22299         (test_single_errno): Likewise.
22300         (check_float_internal): Remove xfail argument.  Update calls to
22301         other affected functions.
22302         (check_float): Likewise.
22303         (check_complex): Likewise.
22304         (check_int): Likewise.
22305         (check_long): Likewise.
22306         (check_bool): Likewise.
22307         (check_longlong): Likewise.
22308         (main): Don't print noXFails and noXPasses.
22309         * math/gen-libm-test.pl (top level): Don't mention expected
22310         failure handling in comment.
22311         (new_test): Don't handle expected failures.
22312         (parse_args): Don't mention expected failure handling in comment.
22313         (generate_testfile): Don't handle expected failures.
22314         (parse_ulps): Likewise.
22315         (print_ulps_file): Likewise.
22316         (get_failure): Remove function.
22317         (output_test): Don't handle expected failures.
22318         * make/README.libm-test: Don't mention expected failure handling.
22319
22320         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22321         (minus_zero): Likewise.
22322         (plus_infty): Likewise.
22323         (minus_infty): Likewise.
22324         (qnan_value): Likewise.
22325         (max_value): Likewise.
22326         (min_value): Likewise.
22327         (min_subnorm_value): Likewise.
22328         (initialize): Do not initialize those variables dynamically.
22329
22330 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22331
22332         * io/open.c (__open_2): Moved to ...
22333         * io/open_2.c: ... this new file.
22334         * io/open64.c (__open64_2): Moved to ...
22335         * io/open64_2.c: ... this new file.
22336         * io/openat.c (__openat_2): Moved to ...
22337         * io/openat_2.c: ... this new file.
22338         * io/openat64.c (__openat64_2): Moved to ...
22339         * io/openat64_2.c: ... this new file.
22340         * io/Makefile (routines): Add them.
22341         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22342         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22343         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22344         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22345         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22346         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22347         (__openat64): Add hidden_ver.
22348         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22349         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22350
22351         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22352         Separately conditionalize setting of GLRO(dl_sysinfo) so
22353         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22354         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22355
22356 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22357
22358         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22360         definition.
22361         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22362         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22363         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22364         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22365         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22366
22367 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22368
22369         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22370         test signgam value.
22371
22372         * math/libm-test.inc (hypot_test): Do not use
22373         IGNORE_ZERO_INF_SIGN.
22374
22375 2013-05-03  Andreas Jaeger  <aj@suse.de>
22376
22377         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22378         Linux 3.9.
22379         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22380         (PF_MAX): Adjust for VSOCK change.
22381
22382 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22383
22384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22385
22386 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22387
22388         [BZ #15264]
22389         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22390         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22391         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22392
22393 2013-05-02  David S. Miller  <davem@davemloft.net>
22394
22395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22396
22397 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22398
22399         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22400
22401 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22402
22403         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22404
22405 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22406
22407         [BZ #14952]
22408         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22409         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22410         Use __attribute__ ((__gnu_inline__)).
22411         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22412         Don't use __attribute__ ((__gnu_inline__)).
22413
22414 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22415
22416         [BZ #15423]
22417         * math/s_catan.c (__catan): Handle small real or imaginary part of
22418         input specially to avoid spurious underflow.
22419         * math/s_catanf.c (__catanf): Likewise.
22420         * math/s_catanh.c (__catanh): Likewise.
22421         * math/s_catanhf.c (__catanhf): Likewise.
22422         * math/s_catanhl.c (__catanhl): Likewise.
22423         * math/s_catanl.c (__catanl): Likewise.
22424         * math/libm-test.inc (catan_test): Add more tests.
22425         (catanh_test): Likewise.
22426         * sysdeps/i386/fpu/libm-test-ulps: Update.
22427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22428
22429 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22430
22431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22432
22433 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22434
22435         [BZ #15416]
22436         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22437         accurately for denominator in atan2.
22438         * math/s_catanf.c (__catanf): Likewise.
22439         * math/s_catanh.c (__catanh): Likewise.
22440         * math/s_catanhf.c (__catanhf): Likewise.
22441         * math/s_catanhl.c (__catanhl): Likewise.
22442         * math/s_catanl.c (__catanl): Likewise.
22443         * math/libm-test.inc (catan_test): Add more tests.
22444         (catanh_test): Likewise.
22445         * sysdeps/i386/fpu/libm-test-ulps: Update.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22447
22448 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22449
22450         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22451
22452         * benchtests/Makefile (bench): Remove slow benchmarks.
22453         * benchtests/atan-inputs: Add slow benchmark inputs.
22454         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22455         (BENCH_FUNC): Accept variant offset.
22456         (VARIANT): Define.
22457         * benchtests/bench-skeleton.c (main): Run benchmark for each
22458         variant.
22459         * benchtests/cos-inputs: Add slow benchmark inputs.
22460         * benchtests/exp-inputs: Likewise.
22461         * benchtests/pow-inputs: Likewise.
22462         * benchtests/sin-inputs: Likewise.
22463         * benchtests/slowatan-inputs: Remove.
22464         * benchtests/slowatan.c: Remove.
22465         * benchtests/slowcos-inputs: Remove.
22466         * benchtests/slowcos.c: Remove.
22467         * benchtests/slowexp-inputs: Remove.
22468         * benchtests/slowexp.c: Remove.
22469         * benchtests/slowpow-inputs: Remove.
22470         * benchtests/slowpow.c: Remove.
22471         * benchtests/slowsin-inputs: Remove.
22472         * benchtests/slowsin.c: Remove.
22473         * benchtests/slowtan-inputs: Remove.
22474         * benchtests/slowtan.c: Remove.
22475         * benchtests/tan-inputs: Add slow benchmark inputs.
22476         * scripts/bench.pl: Parse comments and directives.
22477
22478         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22479         in CPPFLAGS.
22480         ($(objpfx)bench-%.c): Remove *-ITER.
22481         * benchtests/bench-modf.c: Remove definition of ITER.
22482         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22483         (main): Loop for DURATION seconds instead of fixed number of
22484         iterations.
22485         * scripts/bench.pl: Don't expect iterations in parameters.
22486
22487 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22488
22489         * io/fchdir.c (__fchdir): Renamed from fchdir.
22490         (fchdir): Define as weak alias.
22491
22492 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22493
22494         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22495         (ERRNO_EDOM): Likewise.
22496         (ERRNO_ERANGE): Likewise.
22497         (noErrnoTests): New variable.
22498         (init_max_error): Set errno to 0.
22499         (test_single_errno): New function.
22500         (test_errno): Likewise.
22501         (check_float_internal): Call test_errno.  Set errno to 0.
22502         (check_complex): Refer to errno tests in comment.
22503         (check_int): Call test_errno.  Set errno to 0.
22504         (check_long): Likewise.
22505         (check_bool): Likewise.
22506         (check_longlong): Likewise.
22507         (cos_test): Use ERRNO_* flags for errno tests instead of
22508         check_int.
22509         (expm1_test): Likewise.
22510         (fmod_test): Likewise.
22511         (ilogb_test): Likewise.
22512         (lgamma_test): Likewise.
22513         (pow_test): Likewise.
22514         (remainder_test): Likewise.
22515         (sin_test): Likewise.
22516         (tan_test): Likewise.
22517         (yn_test): Likewise.
22518         (initialize): Set errno to 0.
22519         (main): Print number of errno tests.
22520         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22521
22522 2013-04-29  Andreas Jaeger  <aj@suse.de>
22523
22524         [BZ #15084]
22525         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22526         and RES_USEVC.
22527
22528         [BZ #15085]
22529         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22530         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22531         unimplemented.
22532
22533         [BZ #15380]
22534         * stdlib/random.c (__initstate): Return NULL if
22535         __initstate fails.
22536
22537         [BZ #15086]
22538         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22539         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22540         RES_SNGLKUPREOP.
22541
22542 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22543
22544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22545
22546 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22547
22548         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22549         of individual tests.
22550         (casin_test): Likewise.
22551         (casinh_test): Likewise.
22552
22553 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22554
22555         [BZ #15409]
22556         * math/s_catan.c (__catan): Handle arguments with large real or
22557         imaginary part separately without squaring.
22558         * math/s_catanf.c (__catanf): Likewise.
22559         * math/s_catanh.c (__catanh): Likewise.
22560         * math/s_catanhf.c (__catanhf): Likewise.
22561         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22562         and redefine.
22563         (__catanhl): Handle arguments with large real or imaginary part
22564         separately without squaring.
22565         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22566         and redefine.
22567         (__catanl): Handle arguments with large real or imaginary part
22568         separately without squaring.
22569         * math/libm-test.inc (catan_test): Add more tests.
22570         (catanh_test): Likewise.
22571         * sysdeps/i386/fpu/libm-test-ulps: Update.
22572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22573
22574 2013-04-27  Andreas Jaeger  <aj@suse.de>
22575
22576         [BZ #15007]
22577         * stdlib/stdlib.h: Update guards for qecvt.
22578         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22579         <stdlib.h>.
22580
22581 2013-04-27  Allan McRae  <allan@archlinux.org>
22582
22583         * sysdeps/i386/fpu/libm-test-ulps: Update.
22584
22585 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22586
22587         [BZ #15406]
22588         * math/s_catan.c: Include <float.h>.
22589         (__catan): Ensure underflow exception occurs for underflowed
22590         result.
22591         * math/s_catanf.c: Include <float.h>.
22592         (__catanf): Ensure underflow exception occurs for underflowed
22593         result.
22594         * math/s_catanh.c: Include <float.h>.
22595         (__catanh): Ensure underflow exception occurs for underflowed
22596         result.
22597         * math/s_catanhf.c: Include <float.h>.
22598         (__catanhf): Ensure underflow exception occurs for underflowed
22599         result.
22600         * math/s_catanhl.c: Include <float.h>.
22601         (__catanhl): Ensure underflow exception occurs for underflowed
22602         result.
22603         * math/s_catanl.c: Include <float.h>.
22604         (__catanl): Ensure underflow exception occurs for underflowed
22605         result.
22606         * math/libm-test.inc (catan_test): Add more tests.
22607         (catanh_test): Likewise.
22608
22609         [BZ #15405]
22610         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22611         underflowed result.
22612         * math/s_ccoshf.c (__ccoshf): Likewise.
22613         * math/s_ccoshl.c (__ccoshl): Likewise.
22614         * math/s_csin.c (__csin): Likewise.
22615         * math/s_csinf.c (__csinf): Likewise.
22616         * math/s_csinh.c (__csinh): Likewise.
22617         * math/s_csinhf.c (__csinhf): Likewise.
22618         * math/s_csinhl.c (__csinhl): Likewise.
22619         * math/s_csinl.c (__csinl): Likewise.
22620         * math/libm-test.inc (ccos_test): Add more tests.
22621         (ccosh_test): Likewise.
22622         (csin_test): Likewise.
22623         (csinh_test): Likewise.
22624
22625 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22626
22627         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22628         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22629         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22630         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22631         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22632         powerpc/power5+/fpu folders.
22633         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22634
22635
22636 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22637
22638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22639
22640 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22641
22642         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22643         additions to variable.
22644         [$(config-machine) = x86_64] (modules-names): Likewise.
22645         ($(objpfx)tst-audit3): Remove dependency.
22646         ($(objpfx)tst-audit3.out): Likewise.
22647         ($(objpfx)tst-audit4): Likewise.
22648         ($(objpfx)tst-audit4.out): Likewise.
22649         ($(objpfx)tst-audit5): Likewise.
22650         ($(objpfx)tst-audit5.out): Likewise.
22651         ($(objpfx)tst-audit6): Likewise.
22652         ($(objpfx)tst-audit6.out): Likewise.
22653         ($(objpfx)tst-audit7): Likewise.
22654         ($(objpfx)tst-audit7.out): Likewise.
22655         (tst-audit3-ENV): Remove variable.
22656         (tst-audit4-ENV): Likewise.
22657         (tst-audit5-ENV): Likewise.
22658         (tst-audit6-ENV): Likewise.
22659         (tst-audit7-ENV): Likewise.
22660         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22661         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22662         addition to variable.
22663         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22664         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22665         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22666         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22667         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22668         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22669         tst-audit3, tst-audit4 and tst-audit5.
22670         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22671         tst-audit6 and tst-audit7.
22672         [$(subdir) = elf] (modules-names): Add audit modules for those
22673         tests.
22674         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22675         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22676         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22677         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22678         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22679         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22680         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22681         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22682         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22683         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22684         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22685         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22686         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22687         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22688         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22689         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22690         Likewise.
22691         [$(subdir) = elf && $(config-cflags-avx) = yes]
22692         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22693         [$(subdir) = elf && $(config-cflags-avx) = yes]
22694         (CFLAGS-tst-auditmod4a.c): Likewise.
22695         [$(subdir) = elf && $(config-cflags-avx) = yes]
22696         (CFLAGS-tst-auditmod4b.c): Likewise.
22697         [$(subdir) = elf && $(config-cflags-avx) = yes]
22698         (CFLAGS-tst-auditmod6b.c): Likewise.
22699         [$(subdir) = elf && $(config-cflags-avx) = yes]
22700         (CFLAGS-tst-auditmod6c.c): Likewise.
22701         [$(subdir) = elf && $(config-cflags-avx) = yes]
22702         (CFLAGS-tst-auditmod7b.c): Likewise.
22703         * elf/tst-audit3.c: Move to ...
22704         * sysdeps/x86_64/tst-audit3.c: ... here.
22705         * elf/tst-audit4.c: Move to ...
22706         * sysdeps/x86_64/tst-audit4.c: ... here.
22707         * elf/tst-audit5.c: Move to ...
22708         * sysdeps/x86_64/tst-audit5.c: ... here.
22709         * elf/tst-audit6.c: Move to ...
22710         * sysdeps/x86_64/tst-audit6.c: ... here.
22711         * elf/tst-audit7.c: Move to ...
22712         * sysdeps/x86_64/tst-audit7.c: ... here.
22713         * elf/tst-auditmod3a.c: Move to ...
22714         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22715         * elf/tst-auditmod3b.c: Move to ...
22716         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22717         * elf/tst-auditmod4a.c: Move to ...
22718         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22719         * elf/tst-auditmod4b.c: Move to ...
22720         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22721         * elf/tst-auditmod5a.c: Move to ...
22722         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22723         * elf/tst-auditmod5b.c: Move to ...
22724         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22725         * elf/tst-auditmod6a.c: Move to ...
22726         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22727         * elf/tst-auditmod6b.c: Move to ...
22728         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22729         * elf/tst-auditmod6c.c: Move to ...
22730         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22731         * elf/tst-auditmod7a.c: Move to ...
22732         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22733         * elf/tst-auditmod7b.c: Move to ...
22734         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22735
22736 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22737
22738         [BZ #15366]
22739         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22740         define unconditionally.
22741         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22742         define unconditionally.
22743         (INT8_C, INT16_C, etc.): Likewise.
22744
22745 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22746
22747         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22748         __ehdr_start with hidden visibility.
22749
22750         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22751
22752 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22753
22754         * math/libm-test.inc (cos_test): Use accurate hex constants.
22755         (sincost_test): Likewise.
22756
22757 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22758
22759         * math/libm-test.inc (catan_test): Add more tests.
22760         (catanh_test): Likewise.
22761
22762         * math/s_catanf.c (__catanf): Use suffixed floating-point
22763         constants.
22764         * math/s_catanhf.c (__catanhf): Likewise.
22765         * math/s_catanhl.c (__catanhl): Likewise.
22766         * math/s_catanl.c (__catanl): Likewise.
22767
22768         [BZ #15394]
22769         * math/s_catan.c (__catan): Calculate imaginary part of result
22770         with log1p not log unless computing log of number close to 0.
22771         * math/s_catanf.c (__catanf): Likewise.
22772         * math/s_catanl.c (__catanl): Likewise.
22773         * math/s_catanh.c (__catanh): Calculate real part of result with
22774         log1p not log unless computing log of number close to 0.
22775         * math/s_catanhf.c (__catanhf): Likewise.
22776         * math/s_catanhl.c (__catanhl): Likewise.
22777         * math/libm-test.inc (catan_test): Add more tests.
22778         (catanh_test): Likewise.
22779         * sysdeps/i386/fpu/libm-test-ulps: Update.
22780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22781
22782 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22783
22784         * benchtests/Makefile: Mention files in which fast and slow
22785         paths of math functions are implemented.
22786
22787 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22788
22789         * sysdeps/posix/timespec_get.c: New file.
22790
22791 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22792
22793         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22794         POWER.
22795         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22796         for POWER.
22797         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22798         powerpc/power5/fpu folders.
22799         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22800         * benchtests/Makefile: Add modf testcase.
22801         * benchtests/bench-modf.c: New file: Benchmark test for mo
22802
22803 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22804
22805         [BZ #14888]
22806         * time/Makefile (tests): Add tst-strptime-whitespace.
22807         * time/strptime_l.c (get_number): Use ISSPACE.
22808         (__strptime_internal): Likewise.
22809         * time/tst-strptime-whitespace.c: New test case.
22810
22811 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22812
22813         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22814         member.
22815         (_nss_files_init): Set it here.
22816
22817 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22818
22819         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22820         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22821         unsigned.
22822
22823 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22824
22825         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22826
22827 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22828
22829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22830         size just once.
22831
22832 2013-04-21  David S. Miller  <davem@davemloft.net>
22833
22834         * po/ru.po: Update Russion translation from translation project.
22835
22836 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22837
22838         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22839         and setfsgid.
22840
22841 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22842
22843         * configure.in: Remove i386 configure warning. Remove i386 case.
22844         * configure: Regenerate.
22845         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22846         Add example to error message.
22847         * sysdeps/i386/configure: Regenerate.
22848
22849 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22850
22851         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22852         slowtan.
22853         * benchtests/cos-inputs: New file.
22854         * benchtests/slowcos-inputs: New file.
22855         * benchtests/slowcos.c: New file.
22856         * benchtests/slowtan-inputs: New file.
22857         * benchtests/slowtan.c: New file.
22858         * benchtests/tan-inputs: New file.
22859
22860 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22861
22862         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22863         considered kosher.
22864
22865 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866
22867         * benchtests/Makefile: Include cppflags-iterator.mk to add
22868         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22869
22870         * Makefile.in (bench-clean): New target.
22871         * benchtests/Makefile (bench-clean): Likewise.
22872
22873 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22874
22875         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22876
22877 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22878
22879         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22880
22881 2013-04-15  Andreas Schwab  <schwab@suse.de>
22882
22883         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22884         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22885         * nscd/pwdcache.c (cache_addpw): Likewise.
22886         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22887         more than recsize.
22888
22889 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22890
22891         * benchtests/Makefile (bench): Write all output to
22892         bench-out.tmp together.
22893
22894 2013-04-15  Andreas Schwab  <schwab@suse.de>
22895
22896         * nscd/nscd.c (main): Don't fork again after closing files.
22897
22898 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22899
22900         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22901
22902         * benchtests/Rules (bench-deps): Collect dependencies into a
22903         single variable.  Add Makefile to dependencies.
22904         ($(objpfx)bench-%.c): Depend on bench-deps.
22905
22906 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22907             Xavier Roche  <roche+kml2@exalead.com>
22908
22909         [BZ #15361]
22910         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22911         just that it's a file descriptor.
22912         * manual/llio.texi (Synchronizing AIO Operations): Update description
22913         for EBADF error from aio_fsync.
22914
22915 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22916
22917         * Rules (bench): Move target definition...
22918         * benchtests/Makefile: ... here.
22919
22920 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22921
22922         * math/libm-test.inc (cos_test): Fix PI/2 test.
22923         (sincos_test): Likewise.
22924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22925         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22926
22927 2013-04-11  Andreas Schwab  <schwab@suse.de>
22928
22929         [BZ #13988]
22930         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22931         accept exponent character only when digits were seen.
22932         * stdio-common/Makefile (tests): Add bug26.
22933         * stdio-common/bug26.c: New file.
22934
22935         [BZ #14293]
22936         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22937         non-freeable.
22938
22939 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22940
22941         * Makeconfig (rtld-prefix): Define built linker prefix.
22942         * Rules (run-bench): Use it.
22943         * math/Makefile (run-regen-ulps): Likewise.
22944
22945         * Rules (bench): Remove eval.
22946
22947 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22948             Roland McGrath  <roland@hack.frob.com>
22949             Ondrej Bilka  <neleai@seznam.cz>
22950
22951         [BZ #15346]
22952         * time/getdate.c: Include ctype.h and alloca.h.
22953         (__getdate_r): Trim leading and trailing spaces of input.
22954         * time/tst-getdate.c (tests): Add tests with leading and
22955         trailing spaces.
22956
22957 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22958
22959         [BZ #14280]
22960         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22961         when computing value.
22962
22963 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22964
22965         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22966         Use testrun.sh to run libm tests.
22967
22968         [BZ #15309]
22969         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22970
22971 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22972
22973         [BZ #15264]
22974         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22975
22976 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22977
22978         * Makefile.in (regen-ulps): New target.
22979         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22980         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22981         [ifneq (no,$(PERL)] (regen-ulps): New target.
22982         [ifeq (no,$(PERL)] (regen-ulps): New target.
22983         * math/libm-test.inc (ulps_file_name): Define.
22984         (output_dir): New variable.
22985         (options): Add "output-dir" option.
22986         (parse_opt): Handle 'o' case.
22987         (main): If output_dir is non-NULL use it as a prefix
22988         otherwise use "".
22989         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22990
22991 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22992
22993         [BZ #10060, #10062]
22994         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22995         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22996         fail configure if __sync_val_compare_and_swap is not inlined.
22997         * sysdeps/i386/configure: Regenerate.
22998         * configure.in: Build for i686 when configured for i386.
22999         * configure: Regenerate.
23000         * README: Remove i386 reference.
23001
23002 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23003
23004         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23005         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23006
23007 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23008
23009         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23010         (lmsnanval): New variables.
23011         (F): Add conversion tests.
23012         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23013         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23014
23015         * stdio-common/tstdiomisc.c (F): Properly collect individual
23016         tests' results.
23017
23018         [BZ #14686, #15336]
23019         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23020         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23021         Instead, use input NaN values or generate a qNaN by arithmetic
23022         operation.  Also fix bugs to comply with the standard.
23023         * math/libm-test.inc (remainder_test): Add more tests.
23024
23025         [BZ #15335, #15342]
23026         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23028         input NaN values or generate a qNaN by arithmetic operation.
23029
23030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23031         unreachable code.
23032
23033         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23034         definitions.
23035
23036 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23037
23038         [BZ #14478]
23039         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23040         underflowed result.
23041         * math/s_cexpf.c (__cexpf): Likewise.
23042         * math/s_cexpl.c (__cexpl): Likewise.
23043         * math/libm-test.inc (cexp_test): Add more tests.
23044
23045 2013-04-03  Andreas Schwab  <schwab@suse.de>
23046
23047         [BZ #15330]
23048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23049         order arrays from heap if bigger than alloca cutoff.
23050
23051 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23052
23053         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23054         (SNAN_TESTS_double): Refer to GCC PR56831.
23055         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23056         GCC PR56828.
23057
23058 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23059
23060         * Rules (bench): Move bench.out after the run is complete.
23061
23062         * Rules (bench): Echo currently running benchmark.
23063
23064         * benchtests/Makefile (bench): Add atan and slowatan.
23065         * benchtests/atan-inputs: New file.
23066         * benchtests/slowatan-inputs: New file.
23067         * benchtests/slowatan.c: New file.
23068
23069         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23071         its value.
23072
23073         [BZ #15305]
23074         * sysdeps/unix/sysv/linux/kernel-features.h
23075         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23076         __ASSUME_XFS_RESTRICTED_CHOWN.
23077         * sysdeps/unix/sysv/linux/pathconf.c
23078         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23079         Save and restore errno.
23080
23081 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23082
23083         [BZ #15327]
23084         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23085         arguments using __kernel_casinh.
23086         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23087         arguments using __kernel_casinhf.
23088         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23089         arguments using __kernel_casinhl.
23090         * math/libm-test.inc (cacosh_test): Add more tests.
23091         * sysdeps/i386/fpu/libm-test-ulps: Update.
23092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23093
23094 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23095
23096         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23098
23099         * bench/Makefile (bench): Add sin and slowsin.
23100         * benchtests/sin-inputs: New file.
23101         * benchtests/slowsin-inputs: New file.
23102         * benchtests/slowsin.c: New file.
23103
23104         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23105         (bench): Add slowexp and slowpow.
23106         (exp-ITER): Increase iterations.
23107         (pow-ITER): Likewise.
23108         * benchtests/exp-inputs: Change input.
23109         * benchtests/pow-inputs: Likewise.
23110         * benchtests/slowexp-inputs: New file.
23111         * benchtests/slowexp.c: New file.
23112         * benchtests/slowpow-inputs: New file.
23113         * benchtests/slowpow.c: New file.
23114
23115 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23116
23117         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23118         instructions.
23119         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23120         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23121         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23122         * benchtests/Makefile: Add rint benchtest.
23123         * benchtests/rint-inputs: Input for rint benchtest.
23124
23125 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23126
23127         * Versions.def (libm): Add GLIBC_2.18.
23128         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23129         hidden libm prototypes.
23130         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23131         * math/Makefile (libm-calls): Add s_issignaling.
23132         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23133         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23134         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23135         declaration.
23136         * math/math.h [__USE_GNU] (issignaling): New macro.
23137         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23138         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23139         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23140         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23141         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23142         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23143         * manual/arith.texi (issignaling): New section.
23144         * manual/libm-err-tab.pl (@all_functions): Update comment.
23145         * math/gen-libm-test.pl (parse_args): Apply special handling for
23146         issignaling.
23147         * math/libm-test.inc (print_float, issignaling_test): New
23148         functions.
23149         (check_float_internal): Add issignaling checks.
23150         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23151         default definition.
23152         * sysdeps/powerpc/math-tests.h: New file.
23153         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23154         tests.
23155         * math/test-snan.c (TEST_FUNC): Likewise.
23156
23157 2013-03-30  David S. Miller  <davem@davemloft.net>
23158
23159         * po/de.po: Update from translation team.
23160
23161 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23162
23163         [BZ #10357]
23164         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23165         imaginary part less than 1.0 and real part less than 0.5
23166         specially.
23167         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23168         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23169         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23170         (cacos_test): Add more tests.
23171         (casin_test): Likewise.
23172         (casinh_test): Likewise.
23173         * sysdeps/i386/fpu/libm-test-ulps: Update.
23174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23175
23176 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23177
23178         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23179         ONE with its value.
23180
23181         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23182         (__pow_mp): Replace ONE and MONE with their values.
23183         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23185         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23186         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23187         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23188         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23189
23190         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23191
23192         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23193         (__pow_mp): Replace ZERO and MZERO with their values.
23194         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23195         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23196         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23197         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23198         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23199         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23200         (__sqr): Likewise.
23201
23202         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23203
23204         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23205
23206 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23207
23208         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23209         Declare with __attribute__ ((weak)).
23210         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23211         Call __call_tls_dtors only if it's not NULL.
23212
23213 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23214
23215         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23216         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23217         magic __ehdr_start linker symbol if it's defined.
23218         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23219         them up here if it was already done.
23220
23221         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23222         (_dl_aux_init): Use const in cast when setting it.
23223         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23224         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23225         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23226
23227         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23228         Declare them here.
23229         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23230         * csu/libc-tls.c: Nor here.
23231         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23232
23233         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23234         (__libc_message): Never call vsyslog.
23235
23236 2013-03-28  Alan Modra  <amodra@gmail.com>
23237
23238         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23239         Define as empty.
23240         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23241         Likewise.
23242
23243 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23244
23245         [BZ #15214]
23246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23247         underflow.
23248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23249
23250 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23251
23252         [BZ #15304]
23253         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23254         Don't add gid passed as argument.
23255
23256         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23257
23258 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23259
23260         [BZ #15307]
23261         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23262         imaginary part between 1.0 and 1.5 and real part less than 0.5
23263         specially.
23264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23266         * math/libm-test.inc (cacos_test): Add more tests.
23267         (casin_test): Likewise.
23268         (casinh_test): Likewise.
23269         * sysdeps/i386/fpu/libm-test-ulps: Update.
23270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271
23272 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23273
23274         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23275         constants.
23276         (norm): Likewise.
23277         (denorm): Likewise.
23278         (__dbl_mp): Likewise.
23279         (add_magnitudes): Likewise.
23280         (sub_magnitudes): Likewise.
23281         (__add): Likewise.
23282         (__sub): Likewise.
23283         (__mul): Likewise.
23284         (__sqr): Likewise.
23285         (__inv): Likewise.
23286         (__dvd): Likewise.
23287
23288         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23289         commented code.
23290         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23291         (__dubcos): Likewise.
23292         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23293         (__ieee754_acos): Likewise.
23294         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23295         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23296         (__exp1): Likewise.
23297         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23299         (log1): Likewise.
23300         (my_log2): Likewise.
23301         (checkint): Likewise.
23302         * sysdeps/ieee754/dbl-64/e_remainder.c
23303         (__ieee754_remainder): Likewise.
23304         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23306         (bsloww): Likewise.
23307         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23308
23309         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23310         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23311         MANTISSA_STORE_T to store computations on mantissa.  Use
23312         macros for rounding and division.
23313         (denorm): Likewise.
23314         (__dbl_mp): Likewise.
23315         (add_magnitudes): Likewise.
23316         (sub_magnitudes): Likewise.
23317         (__mul): Likewise.
23318         (__sqr): Likewise.
23319         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23320         powers of two in terms of TWOPOW macro.
23321         (mp_no): Make type of mantissa as MANTISSA_T.
23322         [!RADIXI]: Define RADIXI.
23323         [!TWO52]: Define TWO52.
23324         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23325
23326 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23327
23328         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23329         llroundl symbol when building for PPC32.
23330
23331 2013-03-24  Mark H Weaver  <mhw@netris.org>
23332
23333         * manual/arith.texi (Normalization Functions): Fix prototypes for
23334         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23335
23336 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23337
23338         [BZ #13889]
23339         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23340         high value to check if expl overflow.
23341         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23342         to check for underflow and overflow.
23343         * math/libm-test.inc: Add exp test.
23344
23345 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23346
23347         [BZ #11120]
23348         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23349         with NOT_IN_libc.
23350
23351 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23352
23353         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23354         symbol.
23355
23356 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23357
23358         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23359         wrap blocks consisting of several statements.
23360
23361         * sysdeps/generic/math-tests.h: New file.
23362         * sysdeps/i386/fpu/math-tests.h: Likewise.
23363         * math/test-snan.c: Include it.
23364         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23365
23366 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23367
23368         [BZ #15285]
23369         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23370         (__ieee754_j0l): Do not improve calculations using cos of twice
23371         input for inputs above LDBL_MAX / 2.0L.
23372         (__ieee754_y0l): Likewise.
23373         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23374         (__ieee754_j1l): Do not improve calculations using cos of twice
23375         input for inputs above LDBL_MAX / 2.0L.
23376         (__ieee754_y1l): Likewise.
23377         * math/libm-test.inc (j0_test): Add another test.
23378         (j1_test): Likewise.
23379         (y0_test): Likewise.
23380         (y1_test): Likewise.
23381         * sysdeps/i386/fpu/libm-test-ulps: Update.
23382
23383 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23384
23385         * Rules ($(objpfx)bench-%.c): Include code from a C source
23386         file.
23387
23388 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23389
23390         [BZ #15287]
23391         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23392         imaginary part 1.0 and real part less than 0.5 specially.
23393         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23394         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23395         * math/libm-test.inc (cacos_test): Add more tests.
23396         (casin_test): Likewise.
23397         (casinh_test): Likewise.
23398         * sysdeps/i386/fpu/libm-test-ulps: Update.
23399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23400
23401 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23402
23403         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23404         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23405
23406 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23407
23408         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23409         * config.make.in (config-cflags-sse4): Remove variable.
23410         (config-cflags-avx): Likewise.
23411         (config-cflags-sse2avx): Likewise.
23412         (config-cflags-novzeroupper): Likewise.
23413         (config-asflags-i686): Likewise.
23414         (have-mfma4): Likewise.
23415         (have-as-vis3): Likewise.
23416         (MIG): Likewise.
23417         * configure.in (MIG): Do not AC_SUBST.
23418         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23419         (libc_cv_cc_sse4): Do not AC_SUBST.
23420         (libc_cv_cc_avx): Likewise.
23421         (libc_cv_cc_sse2avx): Likewise.
23422         (libc_cv_cc_novzeroupper): Likewise.
23423         (libc_cv_cc_fma4): Likewise.
23424         (libc_cv_as_i686): Likewise.
23425         (libc_cv_sparc_as_vis3): Likewise.
23426         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23427         LIBC_CONFIG_VAR.
23428         (config-asflags-i686): Likewise.
23429         (config-cflags-avx): Likewise.
23430         (config-cflags-sse2avx): Likewise.
23431         (have-mfma4): Likewise.
23432         (config-cflags-novzeroupper): Likewise.
23433         * sysdeps/mach/configure.in (MIG): Likewise.
23434         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23435         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23436         LIBC_CONFIG_VAR.
23437         (config-cflags-avx): Likewise.
23438         (config-cflags-sse2avx): Likewise.
23439         (have-mfma4): Likewise.
23440         (config-cflags-novzeroupper): Likewise.
23441         * configure: Regenerated.
23442         * sysdeps/i386/configure: Likewise.
23443         * sysdeps/mach/configure: Likewise.
23444         * sysdeps/sparc/configure: Likewise.
23445         * sysdeps/x86_64/configure: Likewise.
23446
23447 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23448
23449         [BZ #14812]
23450         * locale/programs/localedef.c (options): Put N_ translation marker
23451         on argument names, not just descriptions.
23452
23453 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23454
23455         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23456
23457 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23458
23459         [BZ #14176]
23460         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23461
23462 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23463
23464         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23465         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23466         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23467         [!BEFORE_ABORT] (before_abort): New function.
23468         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23469         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23470         (writev_for_fatal): New function.
23471         (WRITEV_FOR_FATAL): New macro; call that.
23472         (backtrace_and_maps): New function.
23473         (BEFORE_ABORT): New macro; call that.
23474         (struct str_list): Type removed.
23475         (__libc_message, __libc_fatal): Functions removed.
23476         Include <sysdeps/posix/libc_fatal.c> instead.
23477
23478 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23479
23480         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23481         constants.
23482         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23483         double constants.
23484
23485 2013-03-19  Andreas Schwab  <schwab@suse.de>
23486
23487         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23488         * sysdeps/gnu/configure: Regenerate.
23489
23490         * configure.in: Substitute libc_cv_rtlddir.
23491         * configure: Regenerate.
23492         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23493         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23494         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23495         * elf/Makefile (install-others, CFLAGS-interp.c)
23496         (ldso_install, common-ldd-rewrite): Likewise.
23497         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23498         $(inst_slibdir)/$(rtld-installed-name).
23499         * scripts/rellns-sh: Add -p option.
23500         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23501         for source.
23502
23503 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504
23505         * manual/nptl.texi: Renamed to ...
23506         * manual/threads.texi: ... this.
23507         * manual/Makefile (chapters): Update.
23508
23509 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23510
23511         [BZ #14812]
23512         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23513         on argument names, not just descriptions.
23514         * malloc/memusagestat.c (options): Likewise.
23515         * nss/getent.c (options): Likewise.
23516
23517 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23518
23519         [BZ #14812]
23520         * iconv/iconv_prog.c (options): Put N_ translation marker
23521         on argument names, not just descriptions.
23522         * iconv/iconvconfig.c (options): Likewise.
23523
23524 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23525
23526         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23527         implementation which is faster on all x86_64 architectures.
23528         Tested on AMD, Intel Nehalem, SNB, IVB.
23529         * sysdeps/x86_64/strnlen.S: Likewise.
23530
23531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23532         Remove all multiarch strlen and strnlen versions.
23533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23534         Remove strlen and strnlen related parts.
23535
23536         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23537         Inline strlen part.
23538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23539
23540         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23541         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23542         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23543         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23544         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23545         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23546
23547 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23548
23549         * manual/memory.texi (Malloc Tunable Parameters):
23550         Sort parameters alphabetically. Add comments for missing entries.
23551
23552 2013-03-17  David S. Miller  <davem@davemloft.net>
23553
23554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23555
23556 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23557
23558         [BZ #15283]
23559         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23560         for arguments at most half maximum finite value.
23561         * math/libm-test.inc (j0_test): Add more tests.
23562         (j1_test): Likewise.
23563         (y0_test): Likewise.
23564         (y1_test): Likewise.
23565         * sysdeps/i386/fpu/libm-test-ulps: Update.
23566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23567
23568         [BZ #14155]
23569         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23570         1 / x and functions P and Q for arguments above 0x1p256L.
23571         (__ieee754_y0l): Likewise.
23572         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23573         (__ieee754_y1l): Likewise.
23574         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23575         (j1_test): Likewise.
23576         (y0_test): Likewise.
23577         (y1_test): Likewise.
23578
23579 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23580
23581         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23582         variable.
23583
23584 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23585
23586         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23587         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23588         zero since it's initialized to EXEC_PAGESIZE.
23589
23590         * sysdeps/unix/sysv/linux/ldsodefs.h
23591         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23592         * sysdeps/generic/ldsodefs.h: ... here.
23593
23594 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23595
23596         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23597
23598         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23599         math/test-snan.c.
23600         * math/test-snan.c: Renamed from
23601         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23602         * math/Makefile (tests): Add test-snan.
23603         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23604         test-powerpc-snan.
23605
23606         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23607         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23608         functions.
23609         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23610         __builtin_nan family of functions.
23611         * math/libm-test.inc (initialize): Initialize qnan_value with
23612         __builtin_nan family of functions.
23613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23614         Remove variables.
23615         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23616         Remove functions.
23617         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23618         storage class.  Initialize qNaN_var and sNaN_var with
23619         __builtin_nan and __builtin_nans families of functions,
23620         respectively.
23621
23622         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23623         (sqrt_test): Remove duplicate test with qNaN input.
23624         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23625         (round_test, signbit_test, significand_test): Note missing +/-Inf
23626         as well as qNaN tests.
23627
23628         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23629         qNaN_var.  Fix a few strings, too.
23630         * math/libm-test.inc (nan_value): Rename to qnan_value.
23631         * math/gen-libm-test.pl (%beautify): Adjust to that.
23632         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23633         * math/test-misc.c (main): Likewise.
23634         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23635         to __qnan_bytes, and __qnan_union, respectively.
23636         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23637         Likewise.
23638         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23639         and lqnanval, respectively.
23640         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23641         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23642         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23643         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23644
23645         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23646         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23647         doubles.
23648
23649         * math/test-misc.c (main): Fix copy'n'pastos.
23650         * misc/tst-efgcvt.c (special): Likewise.
23651
23652         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23653         Remove declarations.
23654
23655 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23656
23657         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23658         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23659         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23660         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23661
23662 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23663
23664         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23665         macro to return vdso values correctly in IFUNC implementations.
23666         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23667         Optimization by using IFUNC.
23668
23669 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23670             Richard Henderson  <rth@redhat.com>
23671             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23672
23673         * Makefile.in (bench): New target.
23674         * NEWS: Mention the benchmark framework.
23675         * Rules (bench): Likewise.
23676         (binaries-bench): Generate binaries for functions to
23677         benchmark.
23678         * benchtests/Makefile: New makefile for benchmark tests.
23679         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23680         programs.
23681         * benchtests/exp-inputs: New input file for EXP function.
23682         * benchtests/pow-inputs: New input file for POW function.
23683         * scripts/bench.pl: New script to generate source files for
23684         benchmark programs.
23685
23686 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23687
23688         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23689         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23690         computations on mantissa.  Use macros for rounding and
23691         division.
23692         (denorm): Likewise.
23693         (__dbl_mp): Likewise.
23694         (add_magnitudes): Likewise.
23695         (sub_magnitudes): Likewise.
23696         (__mul): Likewise.
23697         (__sqr): Likewise.
23698         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23699         powers of two in terms of TWOPOW macro.
23700         (mp_no): Make type of mantissa as MANTISSA_T.
23701         [!RADIXI]: Define RADIXI.
23702         [!TWO52]: Define TWO52.
23703         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23704
23705         * manual/nptl.texi (cindex): Modify threads to pthreads.
23706
23707 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23708
23709         * sysdeps/x86_64/preconfigure: Regenerated.
23710
23711 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23712
23713         [BZ #14155]
23714         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23715         0x1p28 and above.
23716         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23717         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23718         0x1p28 and above.
23719         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23720         * math/libm-test.inc (j0_test): Do not allow one spurious
23721         underflow exception.
23722         (y1_test): Likewise.
23723
23724 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23725
23726         * manual/Makefile (chapters): Add nptl.
23727         * manual/debug.texi (Debugging Support): Add link to Threads
23728         chapter.
23729         * manual/nptl.texi: New file.
23730
23731         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23732
23733 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23734
23735         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23736         for non-NULL pointer before the memory validity test. Pointed
23737         out by Holger Brunck <holger.brunck@keymile.com>.
23738
23739 2013-03-13  Andreas Schwab  <schwab@suse.de>
23740
23741         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23742         instead of .os.
23743
23744 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23745
23746         * timezone/zic.c: Update from tzcode 2013b.
23747
23748 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23749
23750         * manual/install.texi (Configuring and compiling):
23751         Mention i686 and i586.
23752         * INSTALL: Regenerate.
23753
23754 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23755
23756         * sysdeps/init_array/elf-init.c: New file.
23757         * csu/elf-init.c
23758         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23759         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23760
23761         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23762         __gmon_start__ as global, but as static with a .preinit_array pointer.
23763         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23764         * sysdeps/init_array/crti.S: New file, empty except for comments.
23765         * sysdeps/init_array/crtn.S: Likewise.
23766
23767 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23768
23769         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23770         definining bcopy.
23771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23772         Remove Prefer_SSE_for_memop.
23773         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23774         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23775         HAS_PREFER_SSE_FOR_MEMOP.
23776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23777         memset-x86-64.
23778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23779         Remove bzero, memset ifunc support.
23780         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23781         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23782         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23783         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23784
23785 2013-03-11  Andreas Schwab  <schwab@suse.de>
23786
23787         [BZ #15234]
23788         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23789         by SHLIB_COMPAT.
23790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23791         (GLIBC_2.16): Remove pthread_atfork.
23792
23793 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23794
23795         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23796         (ptestcases.h): Likewise.
23797
23798 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23799
23800         * Makeconfig ($(common-objpfx)config.status): Depend on
23801         sysdeps/*/preconfigure{,.in} too.
23802
23803 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23804
23805         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23806         (__free_hook): Use void * instead of __malloc_ptr_t.
23807         (__malloc_hook): Likewise.
23808         (__realloc_hook): Likewise.
23809         (__memalign_hook): Likewise.
23810         (__after_morecore_hook): Likewise.
23811         * malloc/arena.c (save_malloc_hook): Likewise.
23812         (save_free_hook): Likewise.
23813         * malloc/hooks.c (malloc_hook_ini): Likewise.
23814         (realloc_hook_ini): Likewise.
23815         (memalign_hook_ini): Likewise.
23816         * malloc/malloc.c (malloc_hook_ini): Likewise.
23817         (realloc_hook_ini): Likewise.
23818         (memalign_hook_ini): Likewise.
23819         (__free_hook): Likewise.
23820         (__malloc_hook): Likewise.
23821         (__realloc_hook): Likewise.
23822         (__memalign_hook): Likewise.
23823         (__libc_malloc): Likewise.
23824         (__libc_free): Likewise.
23825         (__libc_realloc): Likewise.
23826         (__libc_memalign): Likewise.
23827         (__libc_valloc): Likewise.
23828         (__libc_pvalloc): Likewise.
23829         (__libc_calloc): Likewise.
23830         (__posix_memalign): Likewise.
23831         * malloc/morecore.c (__sbrk): Likewise.
23832         (__default_morecore): Likewise.
23833
23834         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23835
23836         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23837         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23838         __malloc_ptrdiff_t.
23839
23840         * malloc/malloc.h (__malloc_size_t): Remove macro.
23841         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23842         __malloc_size_t.
23843         (old_memalign_hook): Likewise.
23844         (old_realloc_hook): Likewise.
23845         (struct hdr): Likewise.
23846         (flood): Likewise.
23847         (mallochook): Likewise.
23848         (memalignhook): Likewise.
23849         (reallochook): Likewise.
23850         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23851         (tr_old_realloc_hook): Likewise.
23852         (tr_old_memalign_hook): Likewise.
23853         (tr_mallochook): Likewise.
23854         (tr_reallochook): Likewise.
23855         (tr_memalignhook): Likewise.
23856
23857 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23858
23859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23860         default_ldbl_pack and using as default implementation.
23861         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23862         implementation.
23863         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23864         redundant definition.
23865         (ldbl_insert_mantissa): Likewise.
23866         (ldbl_canonicalize): Likewise.
23867         (ldbl_nearbyint): Likewise.
23868         (ldbl_pack): Rename to ldbl_pack_ppc.
23869         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23870         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23871         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23872
23873 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23874
23875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23876         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23877         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23878         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23880         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23881         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23882         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23883
23884 2013-03-07  Andreas Jaeger  <aj@suse.de>
23885
23886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23887         bits/mman-linux.h.
23888
23889 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23890
23891         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23892         Include mpa.h and declare __MPEXP.
23893         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23894         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23895         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23896         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23897         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23898         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23899         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23900
23901         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23902         (__slowpow): Use long double EXPL and LOGL functions to
23903         compute POW.
23904         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23905         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23906         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23907         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23908         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23909         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23910
23911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23912         intermediate variable to calculate exponent.
23913         (__sqr): Likewise.
23914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23915         Likewise.
23916         (__sqr): Likewise.
23917
23918         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23919         [!NO__SQR]: Define __sqr.
23920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23921         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23922         sysdeps/ieee754/dbl-64/mpa.c.
23923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23924
23925         [BZ #12723]
23926         * posix/Makefile (tests): Add tst-pathconf.
23927         * posix/tst-pathconf.c: New test case.
23928         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23929         _PC_PIPE_BUF.
23930         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23931
23932 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23933
23934         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23935
23936 2013-03-06  Andreas Jaeger  <aj@suse.de>
23937
23938         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23939         definition via __MAP_ANONYMOUS.
23940
23941         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23942         it's not part of Linux headers.
23943
23944         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23945         (MAP_HUGE_MASK): Define.
23946
23947         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23948         Define.
23949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23950         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23951         Define.
23952         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23953         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23954         Define.
23955         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23956         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23957         Define.
23958         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23959
23960         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23961         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23962         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23963         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23964         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23965         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23966
23967         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23968         Handle f2fs.
23969
23970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23971         Handle f2fs and efivarfs.
23972
23973         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23974         f2fs.
23975
23976         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23977         (EFIVARFS_MAGIC): Add.
23978         (F2FS_LINK_MAX): Add.
23979
23980 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23981
23982         * stdio-common/vfprintf.c: Replace __builtin_expect with
23983         __glibc_unlikely.
23984
23985 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23986
23987         [BZ #13550]
23988         * sysdeps/generic/bp-sym.h: Remove file.
23989         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23990         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23991         <bp-sym.h> and <bp-asm.h>.
23992         (__longjmp): Don't use BP_SYM.
23993         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23994         and <bp-asm.h>.
23995         (memcpy): Don't use BP_SYM.
23996         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23997         <bp-sym.h> and <bp-asm.h>.
23998         (memcpy): Don't use BP_SYM.
23999         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24000         <bp-asm.h>.
24001         (memcpy): Don't use BP_SYM.
24002         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24003         <bp-asm.h>.
24004         (memset): Don't use BP_SYM.
24005         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24006         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24007         (__bzero): Don't use BP_SYM.
24008         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24009         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24010         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24011         <bp-sym.h> and <bp-asm.h>.
24012         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24013         pointers.
24014         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24015         <bp-sym.h> and <bp-asm.h>.
24016         (memcpy): Don't use BP_SYM.
24017         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24018         <bp-sym.h> and <bp-asm.h>.
24019         (memset): Don't use BP_SYM.
24020         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24021         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24022         (__bzero): Don't use BP_SYM.
24023         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24024         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24025         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24026         <bp-sym.h> and <bp-asm.h>.
24027         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24028         pointers.
24029         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24030         <bp-sym.h> and <bp-asm.h>.
24031         (memcpy): Don't use BP_SYM.
24032         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24033         <bp-sym.h> and <bp-asm.h>.
24034         (memset): Don't use BP_SYM.
24035         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24036         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24037         (__bzero): Don't use BP_SYM.
24038         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24039         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24040         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24041         <bp-sym.h> and <bp-asm.h>.
24042         (__memchr): Don't use BP_SYM.
24043         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24044         <bp-sym.h> and <bp-asm.h>.
24045         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24046         pointers.
24047         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24048         <bp-sym.h> and <bp-asm.h>.
24049         (memcpy): Don't use BP_SYM.
24050         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24051         <bp-sym.h> and <bp-asm.h>.
24052         (__mempcpy): Don't use BP_SYM.
24053         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24054         <bp-sym.h> and <bp-asm.h>.
24055         (__memrchr): Don't use BP_SYM.
24056         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24057         <bp-sym.h> and <bp-asm.h>.
24058         (memset): Don't use BP_SYM.
24059         (__bzero): Likewise.
24060         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24061         <bp-sym.h> and <bp-asm.h>.
24062         (__rawmemchr): Don't use BP_SYM.
24063         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24064         <bp-sym.h> and <bp-asm.h>.
24065         (__STRCMP): Don't use BP_SYM.
24066         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24067         <bp-sym.h> and <bp-asm.h>.
24068         (strchr): Don't use BP_SYM.
24069         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24070         <bp-sym.h> and <bp-asm.h>.
24071         (__strchrnul): Don't use BP_SYM.
24072         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24073         <bp-sym.h> and <bp-asm.h>.
24074         (strlen): Don't use BP_SYM.
24075         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24076         <bp-sym.h> and <bp-asm.h>.
24077         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24078         pointers.
24079         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24080         <bp-sym.h> and <bp-asm.h>.
24081         (__strnlen): Don't use BP_SYM.
24082         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24083         <bp-sym.h> and <bp-asm.h>.
24084         (__GI__setjmp): Don't use BP_SYM.
24085         (_setjmp): Likewise.
24086         (__sigsetjmp): Likewise.
24087         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24088         (L(start_addresses)): Don't use BP_SYM.
24089         (_start): Likewise.
24090         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24091         <bp-asm.h>.
24092         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24093         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24094         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24095         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24096         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24097         <bp-asm.h>.
24098         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24099         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24100         about bounded pointers.
24101         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24102         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24103         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24104         <bp-asm.h>.
24105         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24106         about bounded pointers.  Remove GKM FIXME comments.
24107         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24108         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24109         <bp-asm.h>.
24110         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24111         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24112         Remove GKM FIXME comments.
24113         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24114         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24115         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24116         <bp-asm.h>.
24117         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24118         about bounded pointers.  Remove GKM FIXME comment.
24119         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24120         and <bp-asm.h>.
24121         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24122         pointers.
24123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24124         <bp-sym.h> and <bp-asm.h>.
24125         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24127         <bp-sym.h> and <bp-asm.h>.
24128         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24129         comment.
24130
24131 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24132
24133         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24134         call free(NULL).
24135
24136 2013-03-05  David S. Miller  <davem@davemloft.net>
24137
24138         * po/es.po: Update from translation team.
24139
24140 2013-03-05  Andreas Jaeger  <aj@suse.de>
24141
24142         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24143         <bits/mman-linux.h>.
24144         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24145         is fine.
24146         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24147         <bits/mman-linux.h> to end of file.
24148         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24149         is fine.
24150         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24151         <bits/mman-linux.h> to end of file.
24152         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24153         is fine.
24154         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24155         <bits/mman-linux.h> to end of file.
24156
24157         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24158         (MCL_CURRENT, MCL_FUTURE): Define here.
24159
24160 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24161
24162         [BZ #15232]
24163         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24164         attribute_hidden.
24165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24166
24167 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24168
24169         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24170         fourth parameter needed for rt_sigprocmask syscall.
24171         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24172         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24173         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24174         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24175         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24176         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24177
24178 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24179
24180         [BZ #13550]
24181         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24182         comment about bounded pointers.
24183         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24184         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24185
24186 2013-03-04  Andreas Jaeger  <aj@suse.de>
24187
24188         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24189         common definitions.
24190
24191         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24192         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24193         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24194         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24195         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24197
24198 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24199
24200         [BZ #15055]
24201         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24202         __ieee754_sqrl instead of __sqrl.
24203
24204 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24205
24206         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24207         * sysdeps/powerpc/fpu_control.h: ... here.
24208         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24209         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24210         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24211         * sysdeps/powerpc/bits/mathinline.h: ... here.
24212
24213 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24214
24215         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24216         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24217         to just [NEED_DL_SYSINFO_DSO].
24218         * elf/dl-support.c: Likewise.
24219         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24220         * elf/rtld.c (dl_main): Likewise.
24221         * elf/setup-vdso.h (setup_vdso): Likewise.
24222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24223         * sysdeps/unix/sysv/linux/dl-sysdep.c
24224         (_dl_discover_osversion): Likewise.
24225
24226 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24227
24228         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24229         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24230
24231 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24232
24233         * NEWS: Mention libm performance improvements and non-x86 PI
24234         futex support.
24235
24236         * csu/libc-start.c (__pthread_initialize_minimal): Change
24237         function arguments.
24238         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24239
24240 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24241
24242         [BZ #13550]
24243         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24244         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24245         <bp-sym.h> and <bp-asm.h>.
24246         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24247         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24248         and <bp-asm.h>.
24249         (memcpy): Don't use BP_SYM.
24250         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24251         <bp-asm.h>.
24252         (__mpn_add_n): Don't use BP_SYM.
24253         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24254         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24255         and <bp-asm.h>.
24256         (__mpn_addmul_1): Don't use BP_SYM.
24257         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24258         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24259         <bp-sym.h>.
24260         (_setjmp): Don't use BP_SYM.
24261         (__novmx_setjmp): Likewise.
24262         (__GI__setjmp): Likewise.
24263         (__vmx_setjmp): Likewise.
24264         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24265         <bp-sym.h>.
24266         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24267         (__bzero): Don't use BP_SYM.
24268         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24269         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24270         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24271         <bp-sym.h> and <bp-asm.h>.
24272         (memcpy): Don't use BP_SYM.
24273         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24274         <bp-sym.h> and <bp-asm.h>.
24275         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24276         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24277         <bp-sym.h> and <bp-asm.h>.
24278         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24279         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24280         <bp-asm.h>.
24281         (__mpn_lshift): Don't use BP_SYM.
24282         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24283         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24284         <bp-asm.h>.
24285         (memset): Don't use BP_SYM.
24286         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24287         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24288         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24289         <bp-asm.h>.
24290         (__mpn_mul_1): Don't use BP_SYM.
24291         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24292         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24293         <bp-sym.h> and <bp-asm.h>.
24294         (memcmp): Don't use BP_SYM.
24295         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24296         <bp-sym.h> and <bp-asm.h>.
24297         (memcpy): Don't use BP_SYM.
24298         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24299         <bp-sym.h> and <bp-asm.h>.
24300         (memset): Don't use BP_SYM.
24301         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24302         <bp-sym.h> and <bp-asm.h>.
24303         (strncmp): Don't use BP_SYM.
24304         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24305         <bp-sym.h> and <bp-asm.h>.
24306         (memcpy): Don't use BP_SYM.
24307         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24308         <bp-sym.h> and <bp-asm.h>.
24309         (memset): Don't use BP_SYM.
24310         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24311         <bp-sym.h> and <bp-asm.h>.
24312         (__memchr): Don't use BP_SYM.
24313         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24314         <bp-sym.h> and <bp-asm.h>.
24315         (memcmp): Don't use BP_SYM.
24316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24317         <bp-sym.h> and <bp-asm.h>.
24318         (memcpy): Don't use BP_SYM.
24319         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24320         <bp-sym.h> and <bp-asm.h>.
24321         (__mempcpy): Don't use BP_SYM.
24322         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24323         <bp-sym.h> and <bp-asm.h>.
24324         (__memrchr): Don't use BP_SYM.
24325         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24326         <bp-sym.h> and <bp-asm.h>.
24327         (memset): Don't use BP_SYM.
24328         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24329         <bp-sym.h> and <bp-asm.h>.
24330         (__rawmemchr): Don't use BP_SYM.
24331         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24332         <bp-sym.h> and <bp-asm.h>.
24333         (__STRCMP): Don't use BP_SYM.
24334         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24335         <bp-sym.h> and <bp-asm.h>.
24336         (strchr): Don't use BP_SYM.
24337         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24338         <bp-sym.h> and <bp-asm.h>.
24339         (__strchrnul): Don't use BP_SYM.
24340         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24341         <bp-sym.h> and <bp-asm.h>.
24342         (strlen): Don't use BP_SYM.
24343         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24344         <bp-sym.h> and <bp-asm.h>.
24345         (strncmp): Don't use BP_SYM.
24346         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24347         <bp-sym.h> and <bp-asm.h>.
24348         (__strnlen): Don't use BP_SYM.
24349         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24350         <bp-asm.h>.
24351         (__mpn_rshift): Don't use BP_SYM.
24352         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24353         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24354         <bp-sym.h> and <bp-asm.h>.
24355         (__sigsetjmp): Don't use BP_SYM.
24356         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24357         (L(start_addresses)): Don't use BP_SYM.
24358         (_start): Likewise.
24359         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24360         <bp-asm.h>.
24361         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24362         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24363         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24364         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24365         <bp-asm.h>.
24366         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24367         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24368         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24369         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24370         <bp-asm.h>.
24371         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24372         comments.
24373         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24374         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24375         <bp-asm.h>.
24376         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24377         FIXME comments.
24378         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24379         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24380         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24381         <bp-asm.h>.
24382         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24383         comment.
24384         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24385         and <bp-asm.h>.
24386         (strncmp): Don't use BP_SYM,
24387         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24388         <bp-asm.h>.
24389         (__mpn_sub_n): Don't use BP_SYM.
24390         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24391         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24392         and <bp-asm.h>.
24393         (__mpn_submul_1): Don't use BP_SYM.
24394         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24396         <bp-sym.h> and <bp-asm.h>.
24397         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24399         <bp-sym.h> and <bp-asm.h>.
24400         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24401         comment.
24402
24403 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24404
24405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24406         Use ZK to minimize writes to Z.
24407         (sub_magnitudes): Simplify code a bit.
24408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24409         Use ZK to minimize writes to Z.
24410         (sub_magnitudes): Simplify code a bit.
24411
24412 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24413
24414         * csu/gmon-start.c: Add special exception to license text.
24415
24416 2013-02-27  Richard Henderson  <rth@redhat.com>
24417
24418         * scripts/config.guess: Update from config.git.
24419         * scripts/config.sub: Likewise.
24420
24421 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24422
24423         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24424
24425         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24426
24427         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24428
24429         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24430
24431         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24432
24433 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24434
24435         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24436         [$(build-shared = yes].
24437
24438 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24439
24440         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24441         (__mul): Reduce iterations for calculating mantissa.
24442
24443         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24444         MPTWO.
24445         (__mpranred): Likewise.
24446
24447         [BZ #15160]
24448         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24449         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24450
24451 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24452
24453         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24454         Define __attribute__.
24455
24456 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24457
24458         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24459         unused.
24460         * posix/regex_internal.h (__attribute): Remove.
24461         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24462         (re_string_context_at): Likewise.
24463         (bitset_not): Use __attribute__ and mark function as possibly
24464         unused.
24465         (bitset_merge): Likewise.
24466         (bitset_mask): Likewise.
24467         (re_string_char_size_at): Likewise.
24468         (re_string_wchar_at): Likewise.
24469         (re_string_elem_size_at): Likewise.
24470
24471 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24472
24473         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24474         code.
24475         (cc32): Likewise.
24476
24477         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24478         (__acr): Likewise.
24479         (__cpy): Likewise.
24480         (norm): Likewise.
24481         (denorm): Likewise.
24482         (__dbl_mp): Likewise.
24483         (add_magnitudes): Likewise.
24484         (sub_magnitudes): Likewise.
24485         (__mul): Likewise.
24486         (__inv): Likewise.
24487
24488         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24489         style.
24490
24491         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24492         style.
24493
24494         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24495         code.
24496
24497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24498         up changes with default code.
24499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24500         Likewise.
24501
24502 2013-02-24  Allan McRae  <allan@archlinux.org>
24503
24504         * manual/socket.texi (The Internet Namespace): Order menu items
24505         to match that in the file.
24506
24507         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24508         node listing of the info page menu.
24509
24510 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24511
24512         [BZ #13550]
24513         * sysdeps/i386/bp-asm.h: Remove file.
24514         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24515         (PARMS): Do not use macros from bp-asm.h.
24516         (S1): Likewise.
24517         (S2): Likewise.
24518         (SIZE): Likewise.
24519         (__mpn_add_n): Do not use BP_SYM
24520         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24521         "bp-asm.h".
24522         (PARMS): Do not use macros from bp-asm.h.
24523         (S1): Likewise.
24524         (SIZE): Likewise.
24525         (__mpn_addmul_1): Do not use BP_SYM
24526         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24527         "bp-asm.h".
24528         (PARMS): Do not use macros from bp-asm.h.
24529         (SIGMSK): Likewise.
24530         (_setjmp): Likewise.  Do not use BP_SYM.
24531         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24532         "bp-asm.h".
24533         (PARMS): Do not use macros from bp-asm.h.
24534         (SIGMSK): Likewise.
24535         (setjmp): Likewise.  Do not use BP_SYM.
24536         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24537         "bp-asm.h".
24538         (PARMS): Do not use macros from bp-asm.h.
24539         (__frexp): Do not use BP_SYM.
24540         (frexp): Likewise.
24541         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24542         "bp-asm.h".
24543         (PARMS): Do not use macros from bp-asm.h.
24544         (__frexpf): Do not use BP_SYM.
24545         (frexpf): Likewise.
24546         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24547         "bp-asm.h".
24548         (PARMS): Do not use macros from bp-asm.h.
24549         (__frexpl): Do not use BP_SYM.
24550         (frexpl): Likewise.
24551         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24552         "bp-asm.h".
24553         (PARMS): Do not use macros from bp-asm.h.
24554         (__remquo): Do not use BP_SYM.
24555         (remquo): Likewise.
24556         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24557         "bp-asm.h".
24558         (PARMS): Do not use macros from bp-asm.h.
24559         (__remquof): Do not use BP_SYM.
24560         (remquof): Likewise.
24561         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24562         "bp-asm.h".
24563         (PARMS): Do not use macros from bp-asm.h.
24564         (__remquol): Do not use BP_SYM.
24565         (remquol): Likewise.
24566         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24567         "bp-asm.h".
24568         (PARMS): Do not use macros from bp-asm.h.
24569         (DEST): Likewise.
24570         (SRC): Likewise.
24571         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24572         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24573         "bp-asm.h".
24574         (PARMS): Do not use macros from bp-asm.h.
24575         (strlen): Do not use BP_SYM.
24576         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24577         "bp-asm.h".
24578         (PARMS): Do not use macros from bp-asm.h.
24579         (S1): Likewise.
24580         (S2): Likewise.
24581         (SIZE): Likewise.
24582         (__mpn_add_n): Do not use BP_SYM.
24583         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24584         "bp-asm.h".
24585         (PARMS): Do not use macros from bp-asm.h.
24586         (S1): Likewise.
24587         (SIZE): Likewise.
24588         (__mpn_addmul_1): Do not use BP_SYM.
24589         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24590         weak_alias.
24591         (bzero): Likewise.
24592         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24593         "bp-asm.h".
24594         (PARMS): Do not use macros from bp-asm.h.
24595         (S): Likewise.
24596         (SIZE): Likewise.
24597         (__mpn_lshift): Do not use BP_SYM.
24598         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24599         "bp-asm.h".
24600         (PARMS): Do not use macros from bp-asm.h.
24601         (DEST): Likewise.
24602         (SRC): Likewise.
24603         (LEN): Likewise.
24604         (memcpy): Likewise.  Do not use BP_SYM.
24605         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24606         libc_hidden_def and weak_alias.
24607         (mempcpy): Do not use BP_SYM in weak_alias.
24608         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24609         "bp-asm.h".
24610         (PARMS): Do not use macros from bp-asm.h.
24611         (DEST): Likewise.
24612         (LEN): Likewise.
24613         [!BZERO_P] (CHR): Likewise.
24614         (memset): Likewise.  Do not use BP_SYM.
24615         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24616         "bp-asm.h".
24617         (PARMS): Do not use macros from bp-asm.h.
24618         (S1): Likewise.
24619         (SIZE): Likewise.
24620         (__mpn_mul_1): Do not use BP_SYM.
24621         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24622         "bp-asm.h".
24623         (PARMS): Do not use macros from bp-asm.h.
24624         (S): Likewise.
24625         (SIZE): Likewise.
24626         (__mpn_rshift): Do not use BP_SYM.
24627         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24628         "bp-asm.h".
24629         (PARMS): Do not use macros from bp-asm.h.
24630         (STR): Likewise.
24631         (CHR): Likewise.
24632         (strchr): Likewise.  Do not use BP_SYM.
24633         (index): Do not use BP_SYM in weak_alias.
24634         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24635         "bp-asm.h".
24636         (PARMS): Do not use macros from bp-asm.h.
24637         (DEST): Likewise.
24638         (SRC): Likewise.
24639         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24640         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24641         "bp-asm.h".
24642         (PARMS): Do not use macros from bp-asm.h.
24643         (strlen): Do not use BP_SYM.
24644         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24645         "bp-asm.h".
24646         (PARMS): Do not use macros from bp-asm.h.
24647         (S1): Likewise.
24648         (S2): Likewise.
24649         (SIZE): Likewise.
24650         (__mpn_sub_n): Do not use BP_SYM.
24651         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24652         "bp-asm.h".
24653         (PARMS): Do not use macros from bp-asm.h.
24654         (S1): Likewise.
24655         (SIZE): Likewise.
24656         (__mpn_submul_1): Do not use BP_SYM.
24657         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24658         "bp-asm.h".
24659         (PARMS): Do not use macros from bp-asm.h.
24660         (S1): Likewise.
24661         (S2): Likewise.
24662         (SIZE): Likewise.
24663         (__mpn_add_n): Do not use BP_SYM.
24664         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24665         weak_alias.
24666         (bzero): Likewise.
24667         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24668         "bp-asm.h".
24669         (PARMS): Do not use macros from bp-asm.h.
24670         (BLK2): Likewise.
24671         (LEN): Likewise.
24672         (memcmp): Do not use BP_SYM.
24673         (bcmp): Do not use BP_SYM in weak_alias.
24674         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24675         "bp-asm.h".
24676         (PARMS): Do not use macros from bp-asm.h.
24677         (DEST): Likewise.
24678         (SRC): Likewise.
24679         (LEN): Likewise.
24680         (memcpy): Likewise.  Do not use BP_SYM.
24681         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24682         "bp-asm.h".
24683         (PARMS): Do not use macros from bp-asm.h.
24684         (DEST): Likewise.
24685         (SRC): Likewise.
24686         (LEN): Likewise.
24687         (memmove): Likewise.  Do not use BP_SYM.
24688         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24689         "bp-asm.h".
24690         (PARMS): Do not use macros from bp-asm.h.
24691         (DEST): Likewise.
24692         (SRC): Likewise.
24693         (LEN): Likewise.
24694         (__mempcpy): Likewise.  Do not use BP_SYM.
24695         (mempcpy): Do not use BP_SYM in weak_alias.
24696         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24697         "bp-asm.h".
24698         (PARMS): Do not use macros from bp-asm.h.
24699         (DEST): Likewise.
24700         (LEN): Likewise.
24701         [!BZERO_P] (CHR): Likewise.
24702         (memset): Likewise.  Do not use BP_SYM.
24703         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24704         "bp-asm.h".
24705         (PARMS): Do not use macros from bp-asm.h.
24706         (STR2): Likewise.
24707         (strcmp): Do not use BP_SYM.
24708         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24709         "bp-asm.h".
24710         (PARMS): Do not use macros from bp-asm.h.
24711         (STR): Likewise.
24712         (DELIM): Likewise.
24713         [USE_AS_STRTOK_R] (SAVE): Likewise.
24714         (FUNCTION): Likewise.  Do not use BP_SYM.
24715         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24716         aliases.
24717         (strtok_r): Likewise.
24718         (__GI___strtok_r): Likewise.
24719         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24720         (PARMS): Do not use macros from bp-asm.h.
24721         (S): Likewise.
24722         (SIZE): Likewise.
24723         (__mpn_lshift): Do not use BP_SYM.
24724         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24725         (PARMS): Do not use macros from bp-asm.h.
24726         (STR): Likewise.
24727         (CHR): Likewise.
24728         (__memchr): Do not use BP_SYM.
24729         (memchr): Do not use BP_SYM in weak_alias.
24730         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24731         (PARMS): Do not use macros from bp-asm.h.
24732         (BLK2): Likewise.
24733         (LEN): Likewise.
24734         (memcmp): Do not use BP_SYM.
24735         (bcmp): Do not use BP_SYM in weak_alias.
24736         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24737         (PARMS): Do not use macros from bp-asm.h.
24738         (S1): Likewise.
24739         (SIZE): Likewise.
24740         (__mpn_mul_1): Do not use BP_SYM.
24741         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24742         "bp-asm.h".
24743         (PARMS): Do not use macros from bp-asm.h.
24744         (STR): Likewise.
24745         (CHR): Likewise.
24746         (__rawmemchr): Do not use BP_SYM.
24747         (rawmemchr): Do not use BP_SYM in weak_alias.
24748         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24749         (PARMS): Do not use macros from bp-asm.h.
24750         (S): Likewise.
24751         (SIZE): Likewise.
24752         (__mpn_rshift): Do not use BP_SYM.
24753         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24754         (PARMS): Do not use macros from bp-asm.h.
24755         (SIGMSK): Likewise.
24756         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24757         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24758         (_start): Do not use BP_SYM.
24759         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24760         (PARMS): Do not use macros from bp-asm.h.
24761         (DEST): Likewise.
24762         (SRC): Likewise.
24763         (__stpcpy): Likewise.  Do not use BP_SYM.
24764         (stpcpy): Do not use BP_SYM in weak_alias.
24765         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24766         "bp-asm.h".
24767         (PARMS): Do not use macros from bp-asm.h.
24768         (DEST): Likewise.
24769         (SRC): Likewise.
24770         (LEN): Likewise.
24771         (__stpncpy): Likewise.  Do not use BP_SYM.
24772         (stpncpy): Do not use BP_SYM in weak_alias.
24773         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24774         (PARMS): Do not use macros from bp-asm.h.
24775         (STR): Likewise.
24776         (CHR): Likewise.
24777         (strchr): Likewise.  Do not use BP_SYM.
24778         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24779         "bp-asm.h".
24780         (PARMS): Do not use macros from bp-asm.h.
24781         (STR): Likewise.
24782         (CHR): Likewise.
24783         (__strchrnul): Likewise.  Do not use BP_SYM.
24784         (strchrnul): Do not use BP_SYM in weak_alias.
24785         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24786         "bp-asm.h".
24787         (PARMS): Do not use macros from bp-asm.h.
24788         (STOP): Likewise.
24789         (strcspn): Do not use BP_SYM.
24790         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24791         "bp-asm.h".
24792         (PARMS): Do not use macros from bp-asm.h.
24793         (STR): Likewise.
24794         (STOP): Likewise.
24795         (strpbrk): Likewise.  Do not use BP_SYM.
24796         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24797         "bp-asm.h".
24798         (PARMS): Do not use macros from bp-asm.h.
24799         (STR): Likewise.
24800         (CHR): Likewise.
24801         (strrchr): Likewise.  Do not use BP_SYM.
24802         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24803         (PARMS): Do not use macros from bp-asm.h.
24804         (SKIP): Likewise.
24805         (strspn): Do not use BP_SYM.
24806         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24807         (PARMS): Do not use macros from bp-asm.h.
24808         (STR): Likewise.
24809         (DELIM): Likewise.
24810         (SAVE): Likewise.
24811         (FUNCTION): Likewise.  Do not use BP_SYM.
24812         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24813         aliases.
24814         (strtok_r): Likewise.
24815         (__GI___strtok_r): Likewise.
24816         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24817         (PARMS): Do not use macros from bp-asm.h.
24818         (S1): Likewise.
24819         (S2): Likewise.
24820         (SIZE): Likewise.
24821         (__mpn_sub_n): Do not use BP_SYM.
24822         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24823         "bp-asm.h".
24824         (PARMS): Do not use macros from bp-asm.h.
24825         (S1): Likewise.
24826         (SIZE): Likewise.
24827         (__mpn_submul_1): Do not use BP_SYM.
24828         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24829         <bp-sym.h>.
24830         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24831         and <bp-asm.h>.
24832         (PARMS): Do not use macros from bp-asm.h.
24833         (FLAGS): Likewise.
24834         (PTID): Likewise.
24835         (TLS): Likewise.
24836         (CTID): Likewise.
24837         (__clone): Do not use BP_SYM.
24838         (clone): Do not use BP_SYM in weak_alias.
24839         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24840         and <bp-asm.h>.
24841         (PARMS): Do not use macros from bp-asm.h.
24842         (LEN): Likewise.
24843         (__mmap64): Do not use BP_SYM.
24844         (mmap64): Do not use BP_SYM in weak_alias.
24845         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24846         <bp-sym.h> and <bp-asm.h>.
24847         (PARMS): Do not use macros from bp-asm.h.
24848         (__posix_fadvise64_l64): Do not use BP_SYM.
24849         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24850         (PARMS): Do not use macros from bp-asm.h.
24851         (NSOPS): Likewise.
24852         (semtimedop): Do not use BP_SYM.
24853         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24854         and <bp-asm.h>.
24855
24856 2013-02-21  Allan McRae  <allan@archlinux.org>
24857
24858         * manual/message.texi (Charset conversion in gettext):
24859         Move @end statement to beginning of line.
24860
24861 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24862
24863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24864         static.
24865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24866         Likewise.
24867
24868         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24869         (denorm): Likewise.
24870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24872
24873 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24874
24875         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24876         tail-call to the resolved function if pltexit isn't needed.
24877
24878 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24879
24880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24881         or Y being zero as being unlikely.
24882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24883         Likewise.
24884
24885 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24886
24887         * manual/nss.texi (System Databases and Name Service Switch):
24888         Remove frobnicate @pxref.
24889
24890 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24891
24892         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24893         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24894
24895 2013-02-20  Petr Machata  <pmachata@redhat.com>
24896
24897         * elf/elf.h (R_ARM_TARGET1): New macro.
24898         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24899         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24900         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24901         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24902         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24903         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24904         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24905         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24906         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24907         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24908         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24909         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24910         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24911         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24912         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24913         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24914         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24915         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24916         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24917         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24918         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24919         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24920         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24921         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24922         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24923         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24924         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24925         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24926         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24927         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24928         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24929         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24930         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24931         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24932         (R_ARM_THM_GOT_BREL12): Likewise.
24933         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24934         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24935         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24936         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24937         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24938         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24939         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24940         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24941         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24942
24943 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24944
24945         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24946         __attribute_used__ to __attribute__ ((unused)).
24947
24948 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24949
24950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24951         powerpc mpa.c.
24952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24953         comment formatting.
24954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24955
24956 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24957
24958         [BZ #13550]
24959         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24960         Remove macro.
24961         (ENTER): Remove both macro definitions.
24962         (LEAVE): Likewise.
24963         (CHECK_BOUNDS_LOW): Likewise.
24964         (CHECK_BOUNDS_HIGH): Likewise.
24965         (CHECK_BOUNDS_BOTH): Likewise.
24966         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24967         (RETURN_BOUNDED_POINTER): Likewise.
24968         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24969         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24970         (POP_ERRNO_LOCATION_RETURN): Likewise.
24971         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24972         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24973         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24974         macros.
24975         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24976         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24977         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24978         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24979         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24980         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24981         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24982         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24983         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24984         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24985         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24986         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24987         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24988         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24989         removed macros.
24990         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24991         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24992         macros.
24993         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24994         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24995         * sysdeps/i386/i586/memset.S (memset): Likewise.
24996         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24997         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24998         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24999         macros.
25000         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25001         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25002         Change uses of L(2) to L(out).
25003         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25004         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25005         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25006         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25007         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25008         removed macros.
25009         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25010         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25011         macros.
25012         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25013         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25014         (RETURN): Do not use macro LEAVE.
25015         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25016         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25017         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25018         * sysdeps/i386/i686/memset.S (memset): Likewise.
25019         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25020         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25021         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25022         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25023         Likewise.
25024         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25025         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25026         L(1_2) and L(1_3) into L(1).
25027         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25028         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25029         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25030         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25031         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25032         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25033         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25034         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25035         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25036         macros.
25037         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25038         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25039         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25040         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25041         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25042         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25043         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25044         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25045         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25046         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25047         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25048         * sysdeps/i386/strspn.S (strspn): Likewise.
25049         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25050         conditional code.
25051         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25052         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25053         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25054         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25055         L(1_3) into L(1_1).
25056         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25057         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25058         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25059         macros.
25060         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25061
25062 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25063
25064         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25065         macro.
25066
25067 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25068
25069         * math/atest-exp.c (exp_mpn): Remove ROUND.
25070         * math/atest-exp2.c (exp_mpn): Likewise.
25071         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25072
25073         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25074         * stdlib/tst-tls-atexit-lib.c: Likewise.
25075         * stdlib/tst-tls-atexit.c: Likewise.
25076
25077 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25078
25079         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25080         and __attribute_alloc_size__.
25081
25082 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25083
25084         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25085         __attribute_alloc_size__.
25086         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25087         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25088
25089 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25090
25091         * include/programs/xmalloc.h: New file.
25092         * catgets/gencat.c: Include it.
25093         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25094         * elf/pldd.c: Likewise.
25095         * iconv/iconv_charmap.c: Likewise.
25096         * iconv/iconvconfig.c: Likewise.
25097         * iconv/strtab.c: Likewise.
25098         * locale/programs/locale.c: Likewise.
25099         * locale/programs/localedef.h: Likewise.
25100         * locale/programs/simple-hash.c: Likewise.
25101         * nscd/nscd.h: Likewise.
25102         * nss/makedb.c: Likewise.
25103         * sysdeps/generic/ldconfig.h: Likewise.
25104
25105 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25106
25107         * Versions.def: Add GLIBC_2.18.
25108         * include/link.h (struct link_map): New member l_tls_dtor_count.
25109         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25110         (__call_tls_dtors): Likewise.
25111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25112         __cxa_thread_atexit_impl.
25113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25114         Likewise.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25116         Likewise.
25117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25118         Likewise.
25119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25120         Likewise.
25121         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25123         Likewise.
25124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25125         Likewise.
25126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25128         Likewise.
25129         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25130         (tests): Add test case tst-tls-atexit.
25131         (modules-names): Add shared library for tst-tls-atexit.
25132         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25133         (GLIBC_PRIVATE): Add __call_tls_dtors.
25134         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25135         for libstdc++.
25136         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25137         * stdlib/tst-tls-atexit.c: New test case.
25138         * stdlib/tst-tls-atexit-lib.c: New test case.
25139
25140         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25141
25142         * elf/Versions (ld): Add _dl_find_dso_for_object.
25143         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25144         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25145         (dl_open_worker): Use _dl_find_dso_for_object.
25146         * elf/dl-sym.c (do_sym): Likewise.
25147         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25148
25149 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25150
25151         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25152         Syntactic changes only.
25153         (_dl_runtime_profile): Do a tail-call to the resolved function.
25154
25155 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25156
25157         [BZ #13550]
25158         * sysdeps/x86_64/bp-asm.h: Remove file.
25159         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25160         <bp-sym.h> and <bp-asm.h>.
25161         (__clone): Do not use BP_SYM.
25162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25163         <bp-sym.h> and <bp-asm.h>.
25164         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25165         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25166         "bp-asm.h".
25167         (_setjmp): Do not use BP_SYM.
25168         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25169         "bp-asm.h".
25170         (setjmp): Do not use BP_SYM.
25171         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25172         libc_hidden_def.
25173         (mempcpy): Do not use BP_SYM in weak_alias.
25174         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25175         "bp-asm.h".
25176         (strchr): Do not use BP_SYM.
25177         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25178         "bp-asm.h".
25179         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25180         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25181         (_start): Do not use BP_SYM.
25182         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25183         "bp-asm.h".
25184         (strcat): Do not use BP_SYM.
25185         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25186         "bp-asm.h".
25187         (STRCMP): Do not use BP_SYM.
25188         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25189         "bp-asm.h".
25190         (STRCPY): Do not use BP_SYM.
25191         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25192         "bp-asm.h".
25193         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25194         "bp-asm.h".
25195         (FUNCTION): Do not use BP_SYM.
25196         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25197         weak_alias.
25198         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25199
25200 2013-02-17  Andreas Jaeger  <aj@suse.de>
25201
25202         * time/Versions: Sort entries.
25203         * string/Versions: Likewise.
25204         * resolv/Versions: Likewise.
25205         * posix/Versions: Likewise.
25206         * iconv/Versions: Likewise.
25207         * elf/Versions: Likewise.
25208         * wcsmbs/Versions: Likewise.
25209
25210 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25211
25212         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25213         loop termination condition.
25214
25215         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25216         variable to calculate EZ.
25217         (__sqr): Likewise.
25218
25219         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25220         the lower precision input.
25221
25222 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25223
25224         [BZ #13550]
25225         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25226         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25227         (run-via-rtld-prefix): Do not handle %-bp tests.
25228         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25229         (all-object-suffixes): Remove .ob.
25230         (bppfx): Remove variable.
25231         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25232         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25233         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25234         [$(build-bounded) = yes] (libtype.ob): Likewise.
25235         * Makerules (elide-routines.ob): Remove variable.
25236         (do-tests-clean): Do not handle *-bp.out.
25237         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25238         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25239         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25240         (tests): Do not include $(tests-bp.out).
25241         (xtests): Do not include $(xtests-bp.out).
25242         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25243         [$(build-bounded) = yes] ($(addprefix
25244         $(objpfx),$(binaries-bounded))): Remove rule.
25245         ($(objpfx)%-bp.out): Remove rule.
25246         * config.make.in (build-bounded): Remove variable.
25247         * crypt/Makefile [$(build-bounded) = yes]
25248         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25249         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25250         append to variable.
25251         [$(build-bounded) = yes] (install-lib): Likewise.
25252         [$(build-bounded) = yes] (generated): Likewise.
25253         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25254         Remove rule.
25255         * intl/Makefile [$(build-bounded) = yes]
25256         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25257         * math/Makefile [$(build-bounded) = yes]
25258         ($(tests:%=$(objpfx)%-bp): Likewise.
25259         * misc/Makefile [$(build-bounded) = yes]
25260         ($(objpfx)tst-tsearch-bp): Likewise.
25261         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25262         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25263         Remove dependency.
25264         * string/Makefile (o-objects.ob): Remove variable.
25265         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25266         (CFLAGS-.ob): Remove variable.
25267         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25268         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25269         both definitions of variable.
25270         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25271         (ASFLAGS-.ob): Remove variable.
25272
25273 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25274
25275         [BZ #13550]
25276         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25277         Remove __BOUNDED_POINTERS__ from condition.
25278         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25279         * string/bits/string2.h [!__NO_STRING_INLINES &&
25280         !__BOUNDED_POINTERS__]: Likewise.
25281         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25282         Likewise.
25283         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25284         Remove conditional code.
25285         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25286         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25287         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25288         condition.
25289
25290         [BZ #13550]
25291         * csu/libc-start.c: Do not include <bp-sym.h>.
25292         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25293         * elf/dl-open.c: Do not include <bp-sym.h>.
25294         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25295         * math/fegetenv.c: Do not include <bp-sym.h>.
25296         (fegetenv): Do not use BP_SYM in versioned symbols.
25297         * nptl/sysdeps/pthread/bits/libc-lockP.h
25298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25299         <bp-sym.h>.
25300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25301         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25303         (__pthread_mutex_destroy): Likewise.
25304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25305         (__pthread_mutex_lock): Likewise.
25306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25307         (__pthread_mutex_trylock): Likewise.
25308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25309         (__pthread_mutex_unlock): Likewise.
25310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25311         (__pthread_mutexattr_init): Likewise.
25312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25313         (__pthread_mutexattr_destroy): Likewise.
25314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25315         (__pthread_mutexattr_settype): Likewise.
25316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25317         (__pthread_rwlock_init): Likewise.
25318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25319         (__pthread_rwlock_destroy): Likewise.
25320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25321         (__pthread_rwlock_rdlock): Likewise.
25322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25323         (__pthread_rwlock_tryrdlock): Likewise.
25324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25325         (__pthread_rwlock_wrlock): Likewise.
25326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25327         (__pthread_rwlock_trywrlock): Likewise.
25328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25329         (__pthread_rwlock_unlock): Likewise.
25330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25331         (__pthread_key_create): Likewise.
25332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25333         (__pthread_setspecific): Likewise.
25334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25335         (__pthread_getspecific): Likewise.
25336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25337         Likewise.
25338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25339         (_pthread_cleanup_push_defer): Likewise.
25340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25341         (_pthread_cleanup_pop_restore): Likewise.
25342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25343         (pthread_setcancelstate): Likewise.
25344         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25345         <bp-sym.h>.
25346         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25347         (memchr): Do not use BP_SYM in weak_alias.
25348         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25349         (fegetenv): Do not use BP_SYM in versioned symbols.
25350         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25351         (fesetenv): Do not use BP_SYM in versioned symbols.
25352         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25353         (feupdateenv): Do not use BP_SYM in versioned symbols.
25354         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25355         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25356         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25357         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25358         (open64): Do not use BP_SYM in weak_alias.
25359         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25360         (fegetenv): Do not use BP_SYM in versioned symbols.
25361         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25362         (fesetenv): Do not use BP_SYM in versioned symbols.
25363         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25364         (feupdateenv): Do not use BP_SYM in versioned symbols.
25365         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25366         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25367         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25368         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25369         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25370         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25371         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25372         <bp-sym.h>.
25373         (__libc_start_main): Do not use BP_SYM.
25374
25375 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25376
25377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25378         redundant return line.
25379         (norm): Likewise.
25380         (denorm): Likewise.
25381         (dbl_mp): Likewise.
25382         (sub_magnitudes): Likewise.
25383         (__add): Likewise.
25384         (__sub): Likewise.
25385         (__mul): Likewise.
25386         (__inv): Likewise.
25387         (__dvd): Likewise.
25388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25389         (norm): Likewise.
25390         (denorm): Likewise.
25391         (dbl_mp): Likewise.
25392         (sub_magnitudes): Likewise.
25393         (__add): Likewise.
25394         (__sub): Likewise.
25395         (__mul): Likewise.
25396         (__inv): Likewise.
25397         (__dvd): Likewise.
25398
25399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25400         instead of __mul.
25401         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25402         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25403         (cc32): Likewise.
25404
25405         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25406         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25408         of __mul for squares.
25409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25410         function
25411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25412         Likewise.
25413         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25414         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25415
25416 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25417
25418         [BZ #13550]
25419         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25420         code.
25421         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25422         prototype or function definition.  Rename ubp_* variables and
25423         parameters.  Remove argv definitions conditional on
25424         [__BOUNDED_POINTERS__].
25425         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25426         * elf/dl-runtime.c (_dl_fixup): Likewise.
25427         * include/set-hooks.h (RUN_HOOK): Likewise.
25428         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25429         definition.
25430         * string/strcpy.c (strcpy): Do not use __unbounded.
25431         * sysdeps/generic/frame.h (struct layout): Likewise.
25432         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25433         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25434         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25435         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25436         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25437         (__backtrace): Likewise.
25438         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25439         use __ptrvalue.
25440         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25441         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25442         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25443         Likewise.
25444         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25445         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25446         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25447         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25448         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25449         Do not use __unbounded.
25450         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25451         Rename __unboundedrlimits parameter to rlimits in prototype.
25452         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25453         Do not use __unbounded.
25454         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25455         not use __ptrvalue.
25456         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25457         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25458         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25459         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25460         __ptrvalue or __unbounded.
25461         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25462         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25463         use __unbounded.
25464         (__new_msgctl): Do not use __ptrvalue.
25465         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25466         __unbounded.
25467         (__libc_msgrcv): Do not use __ptrvalue.
25468         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25469         startup_info): Do not use __unbounded.
25470         (__libc_start_main): Likewise.  Rename ubp_* variables and
25471         parameters.  Remove argv definitions conditional on
25472         [__BOUNDED_POINTERS__].
25473         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25474         __ptrvalue.
25475         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25476         use __unbounded.
25477         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25478         or __ptrvalue.
25479         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25480         use __unbounded.
25481         (__new_shmctl): Do not use __ptrvalue.
25482         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25483         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25484         Likewise.
25485         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25486         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25487         (__libc_sigaction): Likewise.
25488         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25489         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25490         Likewise.
25491         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25492
25493 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25494
25495         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25496
25497         * string/mempcpy.c: Implement by calling memcpy.
25498
25499 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25500
25501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25502
25503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25504         evaluation.
25505
25506         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25507         values in the mantissa.
25508
25509         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25510         minimize writes to Z.
25511         (sub_magnitudes): Simplify code a bit.
25512
25513 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25514
25515         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25516         from the message.  The linker prefixes all warnings with that already.
25517
25518 2013-02-12  Andreas Schwab  <schwab@suse.de>
25519
25520         [BZ #15078]
25521         * posix/regexec.c (extend_buffers): Add parameter min_len.
25522         (check_matching): Pass minimum needed length.
25523         (clean_state_log_if_needed): Likewise.
25524         (get_subexp): Likewise.
25525         * posix/Makefile (tests): Add bug-regex34.
25526         (bug-regex34-ENV): Define.
25527         * posix/bug-regex34.c: New file.
25528
25529         [BZ #11561]
25530         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25531         elements compare against the byte sequence of it, not its name.
25532         * posix/Makefile (tests): Add bug-regex35.
25533         (bug-regex35-ENV): Define.
25534         * posix/bug-regex35.c: New file.
25535
25536 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25537
25538         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25539         comment.
25540         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25541         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25542         (CHECK_EOL): Add undef.
25543
25544 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25545
25546         * bits/stdlib-bsearch.h: New file.
25547         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25548         * stdlib/stdlib.h: Likewise.
25549
25550 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25551
25552         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25553         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25554         declaration.
25555         * manual/search.texi (Array Search Function): Add missing const in
25556         lfind prototype.
25557         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25558         declaration to use rlim_t.
25559         (Basic Scheduling Functions): Remove erroneous const from
25560         sched_getparam prototype.  Remove erroneous * from
25561         sched_get_priority_max and sched_get_priority_min prototypes.
25562         (Resource Usage): Fix summary @comment on vtimes to refer to
25563         sys/vtimes.h rather than vtimes.h.
25564         Add missing *s in vtimes prototype.
25565         (Limits on Resources): Fix ulimit prototype to return long int.
25566         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25567         prototypes to use long int rather than double.
25568         (BSD Random): Fix initstate and setstate to use char *, not void *.
25569         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25570         prototype to make second argument 'struct aiocb64 *const[]'.
25571         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25572         (Status of AIO Operations): Remove erroneous const in aio_return and
25573         aio_return64 prototypes.
25574         (Synchronizing I/O): Fix sync prototype to return void.
25575         * manual/startup.texi (Suboptions): Remove an erroneous const in
25576         getsubopt prototype.
25577         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25578         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25579         use size_t rather than int.
25580         (Scanning All Users): Likewise for getpwent_r.
25581         (Setting Groups): Add missing const to setgroups prototype.
25582         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25583         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25584         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25585         'const void *' rather than 'const char *'.
25586         (Host Address Functions): Likewise for inet_ntop.
25587         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25588         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25589         ssize_t for return value.
25590         (Sending Data): Likewise for send, sendto, sendmsg.
25591         (Socket Option Functions): Add a missing const in setsockopt prototype.
25592         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25593         use wchar_t for the argument.
25594         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25595         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25596         take no arguments.
25597         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25598         double/float/long double for second argument.
25599         Fix return types of significand, significandf, significandl.
25600         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25601         argument in fchmod prototype.
25602         (File Owner): Use uid_t and gid_t in fchown prototype.
25603         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25604         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25605         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25606         use 'const struct dirent **' as argument types to CMP function pointer
25607         argument.
25608         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25609         (File Times): Fix summary magic @comment for struct utimbuf and utime
25610         to refer to utime.h, not time.h.
25611         * manual/string.texi (Argz Functions): Add missing const in
25612         argz_extract and argz_next prototypes.
25613         (Finding Tokens in a String): Likewise for basename.
25614         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25615         (Copying and Concatenation): Fix typo in wmemmove prototype.
25616         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25617         (Signal Stack): Remove erroneous const in sigstack prototype.
25618         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25619         prototype.
25620         (Simple Calendar Time): Likewise for stime.
25621         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25622         prototype.
25623         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25624         say sys/sysctl.h instead.
25625         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25626         and vsyslog prototypes.
25627
25628 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25629
25630         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25631         Remove.
25632
25633 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25634
25635         * misc/sys/mman.h: Fix typo in mremap comment.
25636
25637 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25638
25639         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25640         the '\0' terminator.
25641
25642 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25643
25644         [BZ #13550]
25645         * debug/segfault.c: Don't include <bp-checks.h>.
25646         * sysdeps/generic/bp-checks.h: Remove file.
25647         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25648         (__GETDENTS): Don't use CHECK_N.
25649         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25650         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25651         (__getgroups): Don't use CHECK_N.
25652         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25653         (setgroups): Don't use CHECK_N.
25654         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25655         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25656         (__libc_msgrcv): Don't use CHECK_N.
25657         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25658         (__libc_msgsnd): Don't use CHECK_N.
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25660         <bp-checks.h>.
25661         (__libc_pread): Don't use CHECK_N.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25663         include <bp-checks.h>.
25664         (__libc_pread64): Don't use CHECK_N.
25665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25666         include <bp-checks.h>.
25667         (__libc_pwrite): Don't use CHECK_N.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25669         include <bp-checks.h>.
25670         (__libc_pwrite64): Don't use CHECK_N.
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25672         <bp-checks.h>.
25673         (__libc_pread): Don't use CHECK_N.
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25675         include <bp-checks.h>.
25676         (__libc_pread64): Don't use CHECK_N.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25678         include <bp-checks.h>.
25679         (__libc_pwrite): Don't use CHECK_N.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25681         include <bp-checks.h>.
25682         (__libc_pwrite64): Don't use CHECK_N.
25683         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25684         (do_pread): Don't use CHECK_N.
25685         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25686         (do_pread64): Don't use CHECK_N.
25687         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25688         (do_pwrite): Don't use CHECK_N.
25689         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25690         (do_pwrite64): Don't use CHECK_N.
25691         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25692         (__libc_readv): Don't use CHECK_N.
25693         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25694         (semop): Don't use CHECK_N.
25695         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25696         <bp-checks.h>.
25697         (semtimedop): Don't use CHECK_N.
25698         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25699         (__libc_pread): Don't use CHECK_N.
25700         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25701         <bp-checks.h>.
25702         (__libc_pread64): Don't use CHECK_N.
25703         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25704         <bp-checks.h>.
25705         (__libc_pwrite): Don't use CHECK_N.
25706         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25707         <bp-checks.h>.
25708         (__libc_pwrite64): Don't use CHECK_N.
25709         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25710         <bp-checks.h>.
25711         (__libc_msgrcv): Don't use CHECK_N.
25712         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25713         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25714         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25715         (__libc_writev): Don't use CHECK_N.
25716
25717 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25718
25719         * string/strcpy.c: Removed unused variable.
25720
25721         * Makeconfig (+sysdep-includes): Define with := rather than =.
25722         Use an existing include/ subdir of each sysdeps dir before it.
25723
25724 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25725
25726         * nscd/connection.c (register_traced_file): Comment function.
25727         [HAVE_INOTIFY] (union __inev): Define.
25728         [HAVE_INOTIFY] (inotify_check_files): New function.
25729         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25730         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25731         clear_db_cache.
25732         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25733
25734 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25735
25736         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25737         loaded if not already and that a failure is permanent.
25738
25739 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25740
25741         [BZ #15006]
25742         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25743         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25744
25745 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25746
25747         [BZ #13550]
25748         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25749         (CHECK_1_NULL_OK): Likewise.
25750         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25751         (__fxstat): Do not use CHECK_1.
25752         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25753         <bp-checks.h>.
25754         (___fxstat64): Do not use CHECK_1.
25755         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25756         <bp-checks.h>.
25757         (__fxstatat): Do not use CHECK_1.
25758         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25759         <bp-checks.h>.
25760         (__fxstatat64): Do not use CHECK_1.
25761         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25762         <bp-checks.h>.
25763         (__fxstat): Do not use CHECK_1.
25764         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25765         <bp-checks.h>.
25766         (__fxstatat): Do not use CHECK_1.
25767         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25768         <bp-checks.h>.
25769         (__getresgid): Do not use CHECK_1.
25770         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25771         <bp-checks.h>.
25772         (__getresuid): Do not use CHECK_1.
25773         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25774         <bp-checks.h>.
25775         (__lxstat): Do not use CHECK_1.
25776         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25777         <bp-checks.h>.
25778         (__old_msgctl): Do not use CHECK_1.
25779         (__new_msgctl): Likewise.
25780         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25781         <bp-checks.h>.
25782         (__new_setrlimit): Do not use CHECK_1.
25783         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25784         <bp-checks.h>.
25785         (__old_shmctl): Do not use CHECK_1.
25786         (__new_shmctl): Likewise.
25787         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25788         <bp-checks.h>.
25789         (__xstat): Do not use CHECK_1.
25790         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25791         (__lxstat): Do not use CHECK_1.
25792         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25793         <bp-checks.h>.
25794         (___lxstat64): Do not use CHECK_1.
25795         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25796         (__old_msgctl): Do not use CHECK_1.
25797         (__new_msgctl): Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25799         <bp-checks.h>.
25800         (__gettimeofday): Do not use CHECK_1.
25801         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25802         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25803         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25804         <bp-checks.h>.
25805         (__gettimeofday): Do not use CHECK_1.
25806         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25807         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25808         (__new_shmctl): Do not use CHECK_1.
25809         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25810         <bp-checks.h>.
25811         (do_sigtimedwait): Do not use CHECK_1.
25812         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25813         <bp-checks.h>.
25814         (do_sigwaitinfo): Do not use CHECK_1.
25815         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25816         <bp-checks.h>.
25817         (msgctl): Do not use CHECK_1.
25818         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25819         <bp-checks.h>.
25820         (shmctl): Do not use CHECK_1.
25821         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25822         (ustat): Do not use CHECK_1.
25823         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25824         <bp-checks.h>.
25825         (__fxstat): Do not use CHECK_1.
25826         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25827         <bp-checks.h>.
25828         (__fxstatat): Do not use CHECK_1.
25829         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25830         <bp-checks.h>.
25831         (__lxstat): Do not use CHECK_1.
25832         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25833         <bp-checks.h>.
25834         (__xstat): Do not use CHECK_1.
25835         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25836         (__xstat): Do not use CHECK_1.
25837         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25838         (___xstat64): Do not use CHECK_1.
25839
25840         [BZ #13550]
25841         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25842         definitions.
25843         (CHECK_BOUNDS_HIGH): Likewise.
25844         * string/strcpy.c: Do not include <bp-checks.h>.
25845         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25846
25847 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25848
25849         * nscd/nscd-client.h (__nscd_drop_map_ref):
25850         Add __attribute__ ((unused)).
25851         * nis/nss-nisplus.h (niserr2nss): Likewise.
25852
25853         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25854         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25855
25856         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25857         Remove inline keyword.
25858         * include/rounding-mode.h (round_away): Likewise.
25859         * libio/wfileops.c (adjust_wide_data): Likewise.
25860         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25861         (__m128i_strloadu_tolower): Likewise.
25862         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25863         (__m128i_strloadu_tolower): Likewise.
25864         * time/mktime.c (ydhms_diff): Likewise.
25865         * locale/elem-hash.h (elem_hash): Likewise.
25866         * locale/setlocale.c (setdata): Likewise.
25867         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25868         (re_string_wchar_at): Likewise.
25869         (bitset_not, bitset_merge, bitset_mask): Likewise.
25870         [!(__GNUC__ > 3)] (inline): Remove macro.
25871         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25872         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25873         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25874         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25875         * string/memcmp.c (memcmp_bytes): Likewise.
25876         * locale/programs/locarchive.c (compute_hashval): Likewise.
25877         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25878         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25879         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25880         * nss/getent.c (print_rpc, print_protocols): Likewise.
25881         (print_passwd, print_group, print_aliases): Likewise.
25882         * nis/nss-nisplus.h (niserr2nss): Likewise.
25883         * nscd/connections.c (restart_p): Likewise.
25884         Change return type to bool.
25885
25886 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25887
25888         * Makeconfig (all-Depend-files): Add existing
25889         $(sorted-subdirs:=/Depend) files.
25890         (all-subdirs): Remove nss.
25891         * sysdeps/unix/inet/Subdirs: Add it here instead.
25892         * hesiod/Depend: New file.
25893
25894         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25895         instead of calling alloca.
25896
25897         * io/lseek.c (__lseek): Rename to __libc_lseek.
25898         Define __lseek as an alias.
25899
25900         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25901
25902 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25903
25904         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25905         else clause and remove check for non-standard endianness.
25906
25907 2013-02-04  David S. Miller  <davem@davemloft.net>
25908
25909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25910
25911 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25912
25913         [BZ #13550]
25914         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25915         (__ubp_memchr): Remove prototype.
25916         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25917         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25918         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25919         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25920         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25921         Remove alias.
25922         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25923         (__ubp_memchr): Likewise.
25924         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25925         (__ubp_memchr): Likewise.
25926         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25927         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25928         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25929         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25930         CHECK_STRING.
25931         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25932         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25933         (__getcwd): Do not use CHECK_STRING.
25934         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25935         <bp-checks.h>.
25936         (__real_chown): Do not use CHECK_STRING.
25937         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25938         <bp-checks.h>.
25939         (fchownat): Do not use CHECK_STRING.
25940         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25941         CHECK_STRING.
25942         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25943         <bp-checks.h>.
25944         (__lchown): Do not use CHECK_STRING.
25945         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25946         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25947         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25948         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25950         include <bp-checks.h>.
25951         (truncate64): Do not use CHECK_STRING.
25952         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25953         <bp-checks.h>.
25954         (__real_chown): Do not use CHECK_STRING.
25955         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25956         <bp-checks.h>.
25957         (__lchown): Do not use CHECK_STRING.
25958         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25959         <bp-checks.h>.
25960         (__chown): Do not use CHECK_STRING.
25961         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25962         <bp-checks.h>.
25963         (truncate64): Do not use CHECK_STRING.
25964         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25965         Likewise.
25966         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25967         (__xmknod): Do not use CHECK_STRING.
25968         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25969         <bp-checks.h>.
25970         (__xmknodat): Do not use CHECK_STRING.
25971         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25972         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25973
25974 2013-02-04  Andreas Schwab  <schwab@suse.de>
25975
25976         [BZ #14142]
25977         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25978         * include/netdb.h: Likewise for h_errno.
25979         * elf/tst-stackguard1.c: Include <tls.h>.
25980
25981 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25982
25983         * elf/link.h (struct link_map): Extend the l_addr comment.
25984         * include/link.h (struct link_map): Likewise.
25985
25986 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25987
25988         [BZ #13550]
25989         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25990         (BOUNDED_1): Remove macro.
25991         * debug/backtrace.c: Don't include <bp-checks.h>.
25992         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25993         (__backtrace): Likewise.
25994         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25995         <bp-checks.h>.
25996         (__backtrace): Don't use BOUNDED_1.
25997         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25998         <bp-checks.h>.
25999         (__backtrace): Don't use BOUNDED_1.
26000         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26001         (__backtrace): Don't use BOUNDED_1.
26002         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26003         (shmat): Don't use BOUNDED_N.
26004
26005 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26006
26007         [BZ #13550]
26008         * sysdeps/generic/bp-start.h: Remove file.
26009         * csu/libc-start.c: Don't include <bp-start.h>.
26010         (LIBC_START_MAIN): Set up __environ directly instead of using
26011         INIT_ARGV_and_ENVIRON.
26012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26013         <bp-start.h>.
26014
26015         [BZ #13550]
26016         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26017         definitions.
26018         (CHECK_FCNTL): Likewise.
26019         (CHECK_N_PAGES): Likewise.
26020
26021         [BZ #13550]
26022         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26023         definitions.
26024         (CHECK_SIGSET_NULL_OK): Likewise.
26025         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26026         <bp-checks.h>.
26027         (sigpending): Don't use CHECK_SIGSET.
26028         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26029         <bp-checks.h>.
26030         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26031         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26032         <bp-checks.h>.
26033         (do_sigsuspend): Don't use CHECK_SIGSET.
26034         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26035         use CHECK_SIGSET.
26036         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26037         (do_sigwait): Don't use CHECK_SIGSET.
26038         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26039         use CHECK_SIGSET.
26040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26041         include <bp-checks.h>.
26042         (sigpending): Don't use CHECK_SIGSET.
26043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26044         include <bp-checks.h>.
26045         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26046         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26047         <bp-checks.h>.
26048         (sigpending): Don't use CHECK_SIGSET.
26049         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26050         <bp-checks.h>.
26051         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26052
26053         [BZ #13550]
26054         * sysdeps/generic/bp-semctl.h: Remove file.
26055         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26056         <bp-checks.h> and <bp-semctl.h>.
26057         (__old_semctl): Don't use CHECK_SEMCTL.
26058         (__new_semctl): Likewise.
26059         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26060         and <bp-semctl.h>.
26061         (__old_semctl): Don't use CHECK_SEMCTL.
26062         (__new_semctl): Likewise.
26063         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26064         <bp-checks.h> and <bp-semctl.h>.
26065         (__old_semctl): Don't use CHECK_SEMCTL.
26066         (__new_semctl): Likewise.
26067         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26068         <bp-checks.h> and <bp-semctl.h>.
26069         (semctl): Don't use CHECK_SEMCTL.
26070
26071         [BZ #13550]
26072         * Makerules (elide-bp-thunks): Remove variable.
26073         (elide-routines.oS): Don't use $(elide-bp-thunks).
26074         (elide-routines.os): Likewise.
26075         (elide-routines.o): Likewise.
26076         (elide-routines.op): Likewise.
26077         (elide-routines.og): Likewise.
26078         (objects): Don't use $(bp-thunks).
26079         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26080         include.
26081         (common-generated): Do not add s-proto-bp.d.
26082         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26083         (int): Likewise.
26084         (typ): Likewise.
26085         Do not generate makefile rules for bounded-pointer thunks.
26086         * sysdeps/generic/bp-thunks.h: Remove file.
26087         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26088         * sysdeps/unix/s-proto-bp.S: Likewise.
26089
26090         [BZ #15062]
26091         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26092         parts of result separately when argument is not close to line from
26093         -i to i and one part of argument is small.
26094         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26095         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26096         * math/libm-test.inc (cacos_test): Add more tests.
26097         (casin_test): Likewise.
26098         (casinh_test): Likewise.
26099         * sysdeps/i386/fpu/libm-test-ulps: Update.
26100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26101
26102 2013-01-31  David S. Miller  <davem@davemloft.net>
26103
26104         * po/de.po: Update from translation team.
26105
26106 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26107
26108         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26109
26110 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26111
26112         * configure.in (_AC_PROG_CC_C89): New definition.
26113         * configure: Regenerate.
26114
26115         * configure.in (AC_PROG_CPP): New definition.
26116         * configure: Regenerate.
26117
26118 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26119
26120         * debug/tst-backtrace.h: New file.
26121         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26122         (ret): Remove variable.
26123         (x): Likewise.
26124         (FAIL): Remove macro.
26125         (NO_INLINE): Likewise.
26126         (fn1): Use match function instead of strstr.
26127         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26128         (ret): Remove variable.
26129         (x): Likewise.
26130         (FAIL): Remove macro.
26131         (NO_INLINE): Likewise.
26132         (fn): Use match function instead of strstr.
26133         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26134         (ret): Remove variable.
26135         (x): Likewise.
26136         (FAIL): Remove macro.
26137         (NO_INLINE): Likewise.
26138         (handle_signal): Use match function instead of strstr.
26139         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26140         (ret): Remove variable.
26141         (x): Likewise.
26142         (FAIL): Remove macro.
26143         (NO_INLINE): Likewise.
26144         (handle_signal): Use match function instead of strstr.
26145
26146 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26147
26148         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26149
26150 2013-01-23  David S. Miller  <davem@davemloft.net>
26151
26152         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26153         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26154         argument of CAS if possible.
26155         * sysdeps/sparc/sparc64/bits/atomic.h
26156         (__arch_compare_and_exchange_val_32_acq): Likewise.
26157         (__arch_compare_and_exchange_val_64_acq): Likewise.
26158
26159 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26160
26161         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26162         * sysdeps/posix/ulimit.c: ... this.
26163         Include <limits.h>.
26164         * sysdeps/unix/bsd/ulimit.c: Remove file.
26165
26166 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26167
26168         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26169         (LDFLAGS-tst-array5): Likewise.
26170
26171 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26172
26173         [BZ #15036]
26174         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26175         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26176         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26177         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26178
26179 2013-01-21  David S. Miller  <davem@davemloft.net>
26180
26181         * sysdeps/sparc/backtrace.c: New file.
26182         * sysdeps/sparc/sparc32/backtrace.h: New file.
26183         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26184         * sysdeps/sparc/sparc64/backtrace.h: New file.
26185         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26186         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26187         -funwind-tables.
26188
26189 2013-01-21  Andreas Schwab  <schwab@suse.de>
26190
26191         [BZ #15020]
26192         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26193         closed its stdout.
26194
26195 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26196
26197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26198         "mpa2.h".
26199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26200
26201 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26202             Mark Mitchell  <mark@codesourcery.com>
26203             Tom de Vries  <tom@codesourcery.com>
26204             Paul Pluzhnikov  <ppluzhnikov@google.com>
26205
26206         * debug/tst-backtrace2.c: New file.
26207         * debug/tst-backtrace3.c: Likewise.
26208         * debug/tst-backtrace4.c: Likewise.
26209         * debug/tst-backtrace5.c: Likewise.
26210         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26211         (CFLAGS-tst-backtrace3.c): Likewise.
26212         (CFLAGS-tst-backtrace4.c): Likewise.
26213         (CFLAGS-tst-backtrace5.c): Likewise.
26214         (LDFLAGS-tst-backtrace2): Likewise.
26215         (LDFLAGS-tst-backtrace3): Likewise.
26216         (LDFLAGS-tst-backtrace4): Likewise.
26217         (LDFLAGS-tst-backtrace5): Likewise.
26218         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26219         tst-backtrace4 and tst-backtrace5.
26220
26221 2013-01-18  Anton Blanchard  <anton@samba.org>
26222             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26223
26224         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26225         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26226         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26227         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26229         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26230         "+r" and remove output regs list as redundant.  Add explicit inline
26231         asm to specify register of return val to work around compiler codegen
26232         bug.  Remove (int) cast on return value.  Add return type parameter to
26233         use in macro so that this macro does not truncate return value for
26234         64-bit values.
26235         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26236         pass to INTERNAL_VSYSCALL_NCS.
26237         (INLINE_VSYSCALL): Add 'long int' as return type to
26238         INTERNAL_VSYSCALL_NCS macro invocation.
26239         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26240         INTERNAL_VSYSCALL_NCS macro invocation.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26242
26243 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26244
26245         [BZ #14496]
26246         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26247         Fix application of SIMD FP exception mask.
26248
26249         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26250         mp_no from a power of two.
26251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26252         __mpexp_twomm1.  Use __pow_mp.
26253
26254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26255         multiplication.
26256
26257 2013-01-17  David S. Miller  <davem@davemloft.net>
26258
26259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26260
26261 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26262
26263         [BZ #15023]
26264         * include/complex.h: Condition contents on [!_COMPLEX_H].
26265         (__kernel_casinhf): New prototype.
26266         (__kernel_casinh): Likewise.
26267         (__kernel_casinhl): Likewise.
26268         * math/Makefile (libm_calls): Add k_casinh.
26269         * math/k_casinh.c: New file.
26270         * math/k_casinhf.c: Likewise.
26271         * math/k_casinhl.c: Likewise.
26272         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26273         finite nonzero arguments.
26274         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26275         finite nonzero arguments.
26276         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26277         finite nonzero arguments.
26278         * math/s_casinh.c: Do not include <float.h>.
26279         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26280         * math/s_casinhf.c: Do not include <float.h>.
26281         (__casinhf): Move code for finite nonzero arguments to
26282         k_casinhf.c.
26283         * math/s_casinhl.c: Do not include <float.h>.
26284         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26285         redefine.
26286         (__casinhl): Move code for finite nonzero arguments to
26287         k_casinhl.c.
26288         * math/libm-test.inc (cacos_test): Add more tests.
26289         * sysdeps/i386/fpu/libm-test-ulps: Update.
26290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26291
26292 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26293
26294         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26295         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26296         [!HAVE_MREMAP]: Remove [defined linux] case.
26297         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26298
26299 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26300
26301         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26302
26303 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26304
26305         * elf/elf.h (R_386_SIZE32): New relocation.
26306         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26307         R_386_SIZE32.
26308         (elf_machine_rela): Likewise.
26309         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26310         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26311
26312 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26313
26314         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26315         (FP_FAST_FMA): Do not define.
26316         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26317         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26318         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26319         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26320         !_SOFT_FLOAT]: Likewise.
26321         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26322         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26323         value.
26324         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26325         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26326         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26327         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26328         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26329         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26330         file.
26331
26332 2013-01-16  Andreas Schwab  <schwab@suse.de>
26333
26334         [BZ #14327]
26335         * include/stdlib.h (__mktemp): Add declaration.
26336         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26337         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26338
26339 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26340
26341         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26342         definitions.
26343         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26344         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26345         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26346         definitions here.
26347         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26348         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26349         definitions.
26350         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26351         and ONE.
26352         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26353         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26354         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26355         definitions.
26356         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26357         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26358         definitions.
26359         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26360
26361         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26362
26363 2013-01-15  David S. Miller  <davem@davemloft.net>
26364
26365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26366         trunc{,f} to libm-sysdep_routes.
26367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26369         file.
26370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26372         file.
26373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26374         file.
26375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26377         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26378         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26379         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26380         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26381         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26382         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26383
26384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26385         nearbyint{,f} to libm-sysdep_routes.
26386         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26388         New file.
26389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26390         file.
26391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26392         New file.
26393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26394         file.
26395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26397         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26398         file.
26399         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26400         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26401         file.
26402         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26403         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26404         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26405
26406         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26407         libc_feholdexcept and libc_fesetenv.
26408
26409 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26410
26411         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26412
26413 2013-01-14  David S. Miller  <davem@davemloft.net>
26414
26415         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26416         (SPARC_ASM_VIS2_IFUNC): Likewise.
26417         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26419         use of 'siam' instruction.
26420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26421         Likewise.
26422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26423         Likewise.
26424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26425         Likewise.
26426         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26427         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26431         file.
26432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26433         file.
26434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26435         file.
26436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26437         file.
26438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26443         new VIS2 routines.
26444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26447         Likewise.
26448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26453         routines to libm-sysdep_routines.
26454         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26455
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26457         fdim/fdimf to libm-sysdep_routines.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26459         file.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26462         file.
26463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26466         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26467         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26468         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26469         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26470
26471 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26472
26473         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26474         to optimize copies.
26475
26476         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26479
26480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26481         local variable MPTWO.
26482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26483         Likewise.
26484
26485 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26486
26487         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26488         GLOB_NOESCAPE.
26489
26490 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26491
26492         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26493
26494 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26495
26496         * manual/pattern.texi (glob_t): Document gl_flags.
26497         (glob64_t): Likewise.
26498
26499 2013-01-11  David S. Miller  <davem@davemloft.net>
26500
26501         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26502         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26503         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26504         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26505         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26506         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26507         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26508         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26509         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26510         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26511         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26512         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26513         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26514
26515         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26516         sparc V9 rather than using V8 code.
26517         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26518         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26519
26520         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26521         Move to...
26522         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26523         Here.
26524
26525 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26526
26527         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26528         not in the main loop.
26529         * configure: Regenerated.
26530
26531 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26532
26533         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26534         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26535         to just #else.
26536         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26537         [!__GLIBC_HAVE_LONG_LONG] case.
26538         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26539         condition to just #else.
26540         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26541         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26542         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26543         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26544         unconditional.
26545         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26546         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26547         #elif condition to just #else.
26548         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26549         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26550         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26551         #elif condition to just #else.
26552
26553 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26554
26555         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26556         (EF_MIPS_ARCH_64): Fix value.
26557         (EF_MIPS_ARCH_32R2): New.
26558         (EF_MIPS_ARCH_64R2): New.
26559
26560 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26561
26562         * Makeconfig (+link-pie-before-libc): New.
26563         (+link-pie-after-libc): Likewise.
26564         (+link-pie-tests): Likewise.
26565         (+link-pie): Rewritten.
26566         (link-before-libc): Remove $(config-LDFLAGS).
26567         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26568         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26569         (config-LDFLAGS): Renamed to ...
26570         (rtld-LDFLAGS): This.
26571         (rtld-tests-LDFLAGS): New macro.
26572         (link-libc-rpath-link): Likewise.
26573         (link-libc-tests-rpath-link): Likewise.
26574         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26575         (link-libc): Prepand $(link-libc-rpath-link).
26576         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26577         (test-program-prefix): New macro.
26578         (test-via-rtld-prefix): Likewise.
26579         (test-program-cmd): Likewise.
26580         (host-test-program-cmd): Likewise.
26581         * Makefile ($(common-objpfx)testrun.sh): Replace
26582         $(run-program-prefix) with $(test-program-prefix).
26583         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26584         $(rtld-LDFLAGS).
26585         ($(common-objpfx)shlib.lds): Likewise.
26586         (build-module-helper): Likewise.
26587         ($(common-objpfx)format.lds): Likewise.
26588         * Rules (binaries-pie-tests): New.
26589         (binaries-pie-notests): Likewise.
26590         (binaries-pie): Rewritten.
26591         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26592         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26593         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26594         (make-test-out): Replace $(host-built-program-cmd) with
26595         $(host-test-program-cmd).
26596         * config.make.in (build-hardcoded-path-in-tests): New variable.
26597         * configure.in (--enable-hardcoded-path-in-tests): New configure
26598         option.
26599         (hardcoded_path_in_tests): New AC_SUBST.
26600         * configure: Regenerated.
26601         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26602         $(built-program-cmd) with $(test-program-cmd).
26603         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26604         (test_program_cmd): This.
26605         * elf/Makefile ($(objpfx)order.out): Run test with
26606         $(test-program-prefix).
26607         ($(objpfx)order2.out): Likewise.
26608         ($(objpfx)tst-initorder.out): Likewise.
26609         ($(objpfx)tst-initorder2.out): Likewise.
26610         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26611         $(test-program-cmd).
26612         ($(objpfx)tst-array1-static.out): Likewise.
26613         ($(objpfx)tst-array2.out): Likewise.
26614         ($(objpfx)tst-array3.out): Likewise.
26615         ($(objpfx)tst-array4.out): Likewise.
26616         ($(objpfx)tst-array5.out): Likewise.
26617         ($(objpfx)tst-array5-static.out): Likewise.
26618         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26619         $(test-program-cmd).
26620         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26621         $(run-program-prefix) with $(test-program-prefix).
26622         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26623         (test_program_prefix): This.
26624         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26625         $(run-program-prefix) with $(test-program-prefix).
26626         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26627         (test_program_prefix): This.
26628         * iconvdata/tst-tables.sh: Likewise.
26629         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26630         $(run-program-prefix) with $(test-program-prefix).
26631         ($(objpfx)tst-translit.out): Likewise.
26632         ($(objpfx)tst-gettext2.out): Likewise.
26633         ($(objpfx)tst-gettext4.out): Likewise.
26634         ($(objpfx)tst-gettext6.out): Likewise.
26635         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26636         (test_program_prefix): This.
26637         * intl/tst-gettext2.sh: Likewise.
26638         * intl/tst-gettext4.sh  Likewise.
26639         * intl/tst-gettext6.sh: Likewise.
26640         * intl/tst-translit.sh: Likewise.
26641         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26642         with $(test-program-cmd).
26643         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26644         $(run-program-prefix) with $(test-program-prefix).
26645         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26646         (test_program_prefix): This.
26647         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26648         $(run-program-prefix) with $(test-program-prefix).
26649         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26650         (test_program_prefix): This.
26651         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26652         * posix/Makefile ($(objpfx)globtest.out): Replace
26653         $(run-via-rtld-prefix) and $(test-wrapper) with
26654         $(test-program-prefix) and $(test-via-rtld-prefix).
26655         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26656         $(test-program-prefix).
26657         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26658         $(host-test-program-cmd).
26659         (tst-spawn-ARGS): Likewise.
26660         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26661         $(test-program-prefix).
26662         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26663         (test_via_rtld_prefix): This.
26664         (test_wrapper): Renamed to ...
26665         (test_program_prefix): This.
26666         (run_program_prefix): Replaced by test_program_prefix.
26667         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26668         (test_program_prefix): This.
26669         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26670         with $(host-test-program-cmd).
26671         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26672         $(run-program-prefix) with $(test-program-prefix).
26673         ($(objpfx)tst-printf.out): Likewise.
26674         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26675         $(test-program-cmd).
26676         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26677         (test_program_prefix): This.
26678         * stdio-common/tst-unbputc.sh: Likewise.
26679         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26680         $(run-program-prefix) with $(test-program-prefix).
26681         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26682         (test_program_prefix): This.
26683         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26684         $(built-program-cmd) with $(test-program-cmd).
26685
26686 2013-01-11  Andreas Jaeger  <aj@suse.de>
26687
26688         [BZ #15003]
26689         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26690         value. Sync with Linux 3.7.
26691
26692 2013-01-10  David S. Miller  <davem@davemloft.net>
26693
26694         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26695         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26696         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26697
26698 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26699
26700         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26701         never set.
26702         * configure: Regenerated.
26703
26704 2013-01-10  David S. Miller  <davem@davemloft.net>
26705
26706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26707         sparc V9 rather than using V8 code.
26708         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26709         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26710
26711 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26712
26713         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26714         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26715         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26716         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26717         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26718         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26719         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26720         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26721         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26722         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26723         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26724         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26725         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26726         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26727         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26728         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26729         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26730         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26731         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26732         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26733         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26734         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26735         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26736         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26737         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26738         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26739         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26740
26741 2013-01-10  David S. Miller  <davem@davemloft.net>
26742
26743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26744
26745 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26746
26747         * posix/Makefile (tests-static): New variable.
26748         (tests): Add $(tests-static).
26749         (tst-exec-static-ARGS): New variable.
26750         (tst-spawn-static-ARGS): Likewise.
26751         * posix/tst-exec-static.c: New file.
26752         * posix/tst-spawn-static.c: Likewise.
26753         * posix/tst-exec.c: Support run directly.
26754         * posix/tst-spawn.c: Likewise.
26755
26756 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26757
26758         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26759         long.
26760         * math/bits/mathcalls.h (llrint): Likewise.
26761         (llround): Likewise.
26762         * stdlib/stdlib.h (struct drand48_data): Likewise.
26763         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26764         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26765         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26766         Likewise.
26767         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26768         Likewise.
26769         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26770         (elf_greg_t): Likewise.
26771         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26772         (__jmp_buf): Likewise.
26773         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26774         definitions.
26775         (llrint): Likewise, for all definitions.
26776         (llrintl): Likewise.
26777
26778         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26779         Remove [__GNUC__] condition.
26780         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26781         condition to just [__USE_ISOC99].
26782         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26783
26784 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26785
26786         [BZ #14200]
26787         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26788         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26789         defined.
26790         (_POSIX_V6_ILP32_OFF32): Likewise.
26791         (_XBS5_ILP32_OFF32): Likewise.
26792         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26793         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26794
26795 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26796
26797         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26798
26799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26800         doubles __mpexp_twomm1.  Adjust usage.
26801         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26802         Remove.
26803
26804 2013-01-10  Andreas Schwab  <schwab@suse.de>
26805
26806         [BZ #14964]
26807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26808         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26809
26810 2013-01-09  David S. Miller  <davem@davemloft.net>
26811
26812         [BZ #15003]
26813         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26814         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26815         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26816         (TCP_FASTOPEN): Define.
26817         (tcp_repair_opt): New structure.
26818         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26819         enum values.
26820         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26821         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26822         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26823         (tcp_cookie_transactions): New structure.
26824
26825 2013-01-09  Anton Blanchard  <anton@samba.org>
26826
26827         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26828         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26829         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26830         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26831
26832 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26833
26834         * include/features.h (__USE_ANSI): Remove.
26835
26836 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26837
26838         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26839
26840         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26841
26842 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26843
26844         * sysdeps/s390/fpu/libm-test-ulps: Update.
26845
26846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26847
26848         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26849         (__acr): Likewise.
26850         (__cpy): Likewise.
26851         (norm): Likewise.
26852         (denorm): Likewise.
26853         (__mp_dbl): Likewise.
26854         (__dbl_mp): Likewise.
26855         (add_magnitudes): Likewise.
26856         (sub_magnitudes): Likewise.
26857         (__add): Likewise.
26858         (__sub): Likewise.
26859         (__mul): Likewise.
26860         (__inv): Likewise.
26861         (__dvd): Likewise.
26862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26863         (__acr): Likewise.
26864         (__cpy): Likewise.
26865         (norm): Likewise.
26866         (denorm): Likewise.
26867         (__mp_dbl): Likewise.
26868         (__dbl_mp): Likewise.
26869         (add_magnitudes): Likewise.
26870         (sub_magnitudes): Likewise.
26871         (__add): Likewise.
26872         (__sub): Likewise.
26873         (__mul): Likewise.
26874         (__inv): Likewise.
26875         (__dvd): Likewise.
26876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26877         (__acr): Likewise.
26878         (__cpy): Likewise.
26879         (norm): Likewise.
26880         (denorm): Likewise.
26881         (__mp_dbl): Likewise.
26882         (__dbl_mp): Likewise.
26883         (add_magnitudes): Likewise.
26884         (sub_magnitudes): Likewise.
26885         (__add): Likewise.
26886         (__sub): Likewise.
26887         (__mul): Likewise.
26888         (__inv): Likewise.
26889         (__dvd): Likewise.
26890
26891 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26892
26893         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26894         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26895         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26896         2 && __USE_EXTERN_INLINES]: Likewise.
26897
26898 2013-01-08  Andreas Jaeger  <aj@suse.de>
26899
26900         [BZ# 14985]
26901         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26902         Remove.
26903         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26904         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26905
26906 2013-01-07  Anton Blanchard  <anton@samba.org>
26907
26908         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26909         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26910         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26911         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26912         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26913         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26914         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26915         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26917         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26918         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26919         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26922         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26923         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26924         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26926         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26927         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26928         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26929         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26930         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26931         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26932         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26933         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26934         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26935         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26936         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26937         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26938         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26940         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26941         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26942         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26943         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26944         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26945         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26946         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26948         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26950         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26951
26952 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26953
26954         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26955         (__MALLOC_PMT): Likewise.
26956         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26957         [__GNUC__], only on [_LIBC].
26958         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26959         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26960         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26961         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26962         forward declaration.
26963         (realloc_hook_ini): Likewise.
26964         (memalign_hook_ini): Likewise.
26965         (__libc_memalign): Do not use __MALLOC_PMT in variable
26966         declaration.
26967         (__libc_valloc): Likewise.
26968         (__libc_pvalloc): Likewise.
26969         (__libc_calloc): Likewise.
26970         (__posix_memalign): Likewise.
26971
26972         [BZ #14996]
26973         * math/s_casinh.c: Include <float.h>.
26974         (__casinh): Do not do computation with squaring and square root
26975         for large arguments.
26976         * math/s_casinhf.c: Include <float.h>.
26977         (__casinhf): Do not do computation with squaring and square root
26978         for large arguments.
26979         * math/s_casinhl.c: Include <float.h>.
26980         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26981         (__casinhl): Do not do computation with squaring and square root
26982         for large arguments.
26983         * math/libm-test.inc (casin_test): Add more tests.
26984         (casinh_test): Likewise.
26985         * sysdeps/i386/fpu/libm-test-ulps: Update.
26986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26987
26988 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26989
26990         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26991         (__x86_64_raw_data_cache_size): Likewise.
26992         (__x86_64_data_cache_size_half): Likewise.
26993         (__x86_64_raw_data_cache_size_half): Likewise.
26994         (__x86_64_shared_cache_size): Likewise.
26995         (__x86_64_raw_shared_cache_size): Likewise.
26996         (__x86_64_shared_cache_size_half): Likewise.
26997         (__x86_64_raw_shared_cache_size_half): Likewise.
26998         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26999         to ...
27000         (__x86_data_cache_size): This.
27001         (__x86_64_raw_data_cache_size): Renamed to ...
27002         (__x86_raw_data_cache_size): This.
27003         (__x86_64_data_cache_size_half): Renamed to ...
27004         (__x86_data_cache_size_half): This.
27005         (__x86_64_raw_data_cache_size_half): Renamed to ...
27006         (__x86_raw_data_cache_size_half): This.
27007         (__x86_64_shared_cache_size): Renamed to ...
27008         (__x86_shared_cache_size): This.
27009         (__x86_64_raw_shared_cache_size): Renamed to ...
27010         (__x86_raw_shared_cache_size): This.
27011         (__x86_64_shared_cache_size_half): Renamed to ...
27012         (__x86_shared_cache_size_half): This.
27013         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27014         (__x86_raw_shared_cache_size_half): This.
27015         * sysdeps/x86_64/memcpy.S: Updated.
27016         * sysdeps/x86_64/memset.S: Likewise.
27017         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27020
27021 2013-01-04  David S. Miller  <davem@davemloft.net>
27022
27023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27024
27025 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27026
27027         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27028         1 to avoid redefinition warning.
27029         (__USE_GNU): Don't define.
27030         (init_signaling_nan): Protoize.
27031
27032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27033
27034 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27035
27036         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27038         (__cpymn): Likewise.
27039         (norm): Remove commented code.
27040         (denorm): Likewise.
27041         (__mp_dbl): Likewise.
27042         (__inv): Likewise.
27043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27044         (__cpymn): Likewise.
27045         (norm): Remove commented code.
27046         (denorm): Likewise.
27047         (__mp_dbl): Likewise.
27048         (__inv): Likewise.
27049
27050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27051         mp_no value for 1.0 and 2.0.
27052         (norm): Use RADIXI instead of radixi.d.
27053         (denorm): Likewise.
27054         (__mul): Use 0.0 instead of zero.d.
27055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27056         mp_no value for 1.0 and 2.0.
27057         (norm): Use RADIXI instead of radixi.d.
27058         (denorm): Likewise.
27059         (__mul): Use 0.0 instead of zero.d.
27060
27061 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27062
27063         [BZ #14994]
27064         * math/s_casinh.c (__casinh): Reduce finite argument to first
27065         quadrant then set signs of results at the end.
27066         * math/s_casinhf.c (__casinhf): Likewise.
27067         * math/s_casinhl.c (__casinhl): Likewise.
27068         * math/libm-test.inc (casin_test): Add more tests.
27069         (casinh_test): Likewise.
27070         * sysdeps/i386/fpu/libm-test-ulps: Update.
27071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27072
27073 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27074
27075         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27076
27077         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27078
27079         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27080         declarations.
27081         (denorm): Likewise.
27082         (__mp_dbl): Likewise.
27083         (__inv): Likewise.
27084
27085         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27086         and adjust the header comment.
27087
27088         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27089         variable name from declaration.
27090
27091 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27092
27093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27094         Initialize COMMON_CPUID_INDEX_7 element.
27095         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27096         (CPUID_RTM): Likewise.
27097         (HAS_RTM): Likewise.
27098         (COMMON_CPUID_INDEX_7): New enum.
27099
27100 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27101
27102         [BZ #14981]
27103         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27104         size is zero, record memory as freed.
27105
27106 2013-01-03  Andreas Jaeger  <aj@suse.de>
27107
27108         * po/ia.po: Add new Interlingua translation.
27109
27110 2012-01-03  Allan McRae  <allan@archlinux.org>
27111
27112         * locale/programs/localedef.c: Fix description of '--posix' flag.
27113
27114 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27115
27116         * NEWS: Update dates in second copyright notice.
27117         * README: Update copyright dates in example.
27118         * manual/libc.texinfo: Update copyright dates.
27119         * scripts/test-installation.pl: Update copyright date in --version
27120         output.
27121
27122         * hurd/ctty-input.c: Fix copyright notice formatting.
27123         * hurd/ctty-output.c: Likewise.
27124         * hurd/dtable.c: Likewise.
27125         * hurd/hurd-raise.c: Likewise.
27126         * hurd/hurdprio.c: Likewise.
27127         * hurd/msgportdemux.c: Likewise.
27128         * misc/sys/file.h: Likewise.
27129         * misc/sys/ioctl.h: Likewise.
27130         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27131         * sysdeps/mach/hurd/chdir.c: Likewise.
27132         * sysdeps/mach/hurd/fchdir.c: Likewise.
27133         * sysdeps/mach/hurd/rename.c: Likewise.
27134         * sysdeps/mach/hurd/rmdir.c: Likewise.
27135         * sysdeps/mach/hurd/seekdir.c: Likewise.
27136         * sysdeps/mach/hurd/setsid.c: Likewise.
27137         * sysdeps/posix/wait3.c: Likewise.
27138
27139         * All files with FSF copyright notices: Update copyright dates
27140         using scripts/update-copyrights.
27141         * intl/plural.c: Regenerated.
27142         * locale/programs/charmap-kw.h: Likewise.
27143         * locale/programs/locfile-kw.h: Likewise.
27144
27145 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27146
27147         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27148         four values.
27149
27150         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27151         calculation loop and add branch prediction.
27152
27153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27154         check access beyond bounds of m1np.
27155
27156         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27157         MPTWO.
27158         (__inv): Remove local variable MPTWO to use the global
27159         constant.
27160         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27161         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27162         variable MPTWO.
27163         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27164         MP3HALFS static const.
27165
27166 2013-01-01  David S. Miller  <davem@davemloft.net>
27167
27168         * po/ca.po: Update from translation team.
27169
27170 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27171
27172         * scripts/update-copyrights: New file.
27173         * Makeconfig: Reformat copyright notice.
27174         * ctype/ctype.h: Likewise.
27175         * debug/swprintf_chk.c: Likewise.
27176         * elf/dl-cache.c: Likewise.
27177         * elf/dl-debug.c: Likewise.
27178         * elf/dl-object.c: Likewise.
27179         * grp/initgroups.c: Likewise.
27180         * hurd/Makefile: Likewise.
27181         * hurd/hurd/signal.h: Likewise.
27182         * hurd/hurdfault.c: Likewise.
27183         * hurd/hurdioctl.c: Likewise.
27184         * hurd/hurdlookup.c: Likewise.
27185         * hurd/intr-msg.c: Likewise.
27186         * iconv/gconv_open.c: Likewise.
27187         * libio/swprintf.c: Likewise.
27188         * locale/lc-ctype.c: Likewise.
27189         * locale/nl_langinfo.c: Likewise.
27190         * mach/Machrules: Likewise.
27191         * mach/Makefile: Likewise.
27192         * malloc/obstack.h: Likewise.
27193         * manual/Makefile: Likewise.
27194         * manual/tsort.awk: Likewise.
27195         * misc/bits/stab.def: Likewise.
27196         * nis/nis_print_group_entry.c: Likewise.
27197         * nis/nis_table.c: Likewise.
27198         * nis/nss_compat/compat-pwd.c: Likewise.
27199         * nis/nss_compat/compat-spwd.c: Likewise.
27200         * po/Makefile: Likewise.
27201         * posix/fnmatch.c: Likewise.
27202         * posix/regex.h: Likewise.
27203         * resolv/Makefile: Likewise.
27204         * resolv/nss_dns/dns-network.c: Likewise.
27205         * resolv/res_hconf.c: Likewise.
27206         * scripts/gen-sorted.awk: Likewise.
27207         * soft-fp/soft-fp.h: Likewise.
27208         * stdio-common/printf.h: Likewise.
27209         * stdlib/monetary.h: Likewise.
27210         * stdlib/random.c: Likewise.
27211         * stdlib/random_r.c: Likewise.
27212         * sysdeps/generic/Makefile: Likewise.
27213         * sysdeps/gnu/Makefile: Likewise.
27214         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27215         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27216         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27218         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27219         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27220         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27221         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27224         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27225         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27226         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27227         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27228         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27229         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27230         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27231         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27234         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27235         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27236         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27237         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27238         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27239         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27240         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27242         * sysdeps/mach/hurd/errnos.awk: Likewise.
27243         * sysdeps/mach/hurd/fork.c: Likewise.
27244         * sysdeps/mach/hurd/getcwd.c: Likewise.
27245         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27246         * sysdeps/mach/hurd/mmap.c: Likewise.
27247         * sysdeps/mach/hurd/utimes.c: Likewise.
27248         * sysdeps/mach/hurd/xmknod.c: Likewise.
27249         * sysdeps/posix/profil.c: Likewise.
27250         * sysdeps/posix/readdir_r.c: Likewise.
27251         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27252         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27253         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27254         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27256         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27258         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27260         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27261         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27262         * sysdeps/pthread/lio_listio.c: Likewise.
27263         * sysdeps/sparc/dl-procinfo.h: Likewise.
27264         * sysdeps/unix/i386/sysdep.S: Likewise.
27265         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27266         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27267         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27268         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27270         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27271         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27272         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27273         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27274         * sysdeps/wordsize-32/divdi3.c: Likewise.
27275         * time/sys/time.h: Likewise.
27276         * wcsmbs/Makefile: Likewise.
27277
27278 2013-01-01  David S. Miller  <davem@davemloft.net>
27279
27280         * po/fr.po: Update from translation team.
27281
27282         * catgets/gencat.c: Update copyright year.
27283         * csu/version.c: Likewise.
27284         * debug/catchsegv.sh: Likewise.
27285         * debug/pcprofiledump.c: Likewise.
27286         * debug/xtrace.sh: Likewise.
27287         * elf/ldconfig.c: Likewise.
27288         * elf/ldd.bash.in: Likewise.
27289         * elf/pldd.c: Likewise.
27290         * elf/sotruss.ksh: Likewise.
27291         * elf/sprof.c: Likewise.
27292         * iconv/iconv_prog.c: Likewise.
27293         * iconv/iconvconfig.c: Likewise.
27294         * locale/programs/locale.c: Likewise.
27295         * locale/programs/localedef.c: Likewise.
27296         * login/programs/pt_chown.c: Likewise.
27297         * malloc/memusage.sh: Likewise.
27298         * malloc/memusagestat.c: Likewise.
27299         * malloc/mtrace.pl: Likewise.
27300         * nscd/nscd.c: Likewise.
27301         * nss/getent.c: Likewise.
27302         * nss/makedb.c: Likewise.
27303         * posix/getconf.c: Likewise.
27304
27305 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27306
27307         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27308         numbers.
27309
27310 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27311
27312         * math/bits/mathcalls.h (modf): Use __nonnull.
27313
27314 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27315
27316         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27317         (split): Use macro CN instead of the bare value.
27318         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27319         could be used.
27320         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27321         instead of the bare value.
27322         (power1): Likewise.
27323
27324 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27325
27326         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27327         __ATAN_TWOM.
27328         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27329
27330         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27331         their values.
27332         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27333         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27334         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27335         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27336
27337 2012-12-28  Andreas Jaeger  <aj@suse.de>
27338
27339         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27340         values are from Linux 3.7.
27341
27342         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27343         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27344
27345 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27346
27347         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27348         TRUE case.
27349
27350         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27351         (norm): Likewise.
27352         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27353         variables with preprocessor constants.
27354         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27355         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27356         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27357
27358 2012-12-27  Bruno Haible  <bruno@clisp.org>
27359
27360         [BZ #14317]
27361         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27362         only if needed.
27363
27364 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27365
27366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27367         and use variable directly.
27368         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27369
27370         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27371         MPONE.
27372         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27373         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27374         variable MPONE.
27375         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27376         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27377         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27378         include directive.  Remove local variable MPONE.
27379         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27380         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27381         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27382
27383 2012-12-25  David S. Miller  <davem@davemloft.net>
27384
27385         * version.h (RELEASE): Set to "development".
27386         (VERSION): Set to "2.17.90".
27387         * NEWS: Add 2.18 section.
27388
27389 2012-12-21  David S. Miller  <davem@davemloft.net>
27390
27391         * po/hr.po: Update from translation team.
27392
27393 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27394
27395         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27396
27397 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27398
27399         * NEWS:  Mention new memcpy for MIPS.
27400
27401 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27402
27403         * manual/contrib.texi (Contributors): Spelling correction.
27404
27405 2012-12-15  David S. Miller  <davem@davemloft.net>
27406
27407         * po/ru.po: Update from translation team.
27408
27409 2012-12-13  David S. Miller  <davem@davemloft.net>
27410
27411         * NEWS: Mention IFUNC testsuite enhancements.
27412
27413         * po/pl.po: Update from translation team.
27414         * po/bg.po: Likewise.
27415
27416         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27417         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27418
27419 2012-12-11  David S. Miller  <davem@davemloft.net>
27420
27421         * po/sv.po: Update from translation team.
27422
27423         * po/vi.po: Update from translation team.
27424
27425         * po/cs.po: Update from translation team.
27426
27427         * po/de.po: Update from translation team.
27428         * po/eo.po: Likewise.
27429         * po/nl.po: Likewise.
27430
27431 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27432
27433         [BZ #14246]
27434         * manual/argp.texi (Argp Helper Functions): Move node to follow
27435         Argp Parsing State.
27436
27437         [BZ #14872]
27438         * manual/conf.texi (Limits on File System Capacity): Mention if
27439         terminating null is included in the max size.
27440
27441 2012-12-10  Andreas Jaeger  <aj@suse.de>
27442
27443         * po/cs.po: Update from translation team.
27444
27445 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27446
27447         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27448         void pointer and cast to uintptr_t.
27449         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27450         path.
27451         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27452         * sysdeps/s390/s390-64/memset.S: Likewise.
27453
27454 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27455
27456         [BZ #14833]
27457         * menual/message.texi (Message Translation): Fix typos.
27458         (Helper programs for gettext): Likewise.
27459
27460 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27461
27462         [BZ #14898]
27463         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27464         Change to -1.
27465
27466 2012-12-07  David S. Miller  <davem@davemloft.net>
27467
27468         * po/libc.pot: Update.
27469
27470 2012-12-07  Richard Henderson  <rth@redhat.com>
27471
27472         [BZ #10114]
27473         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27474         normal/normal case to before the switch.
27475         (_FP_DIV): Likewise.
27476
27477 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27478             Mike Frysinger  <vapier@gentoo.org>
27479
27480         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27481         check for __NR_fadvise64_64.
27482
27483 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27484
27485         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27486         0, not just to plain "0" as a statement.
27487         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27488         with cw.
27489
27490 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27491
27492         * NEWS: Use sourceware.org in Bugzilla URL.
27493
27494 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27495
27496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27497         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27498
27499         * stdio-common/tst-put-error.c (do_test): Add newline to the
27500         padded test to ensure flush.
27501
27502 2012-12-05  Jeff Law  <law@redhat.com>
27503
27504         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27505
27506 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27507
27508         * README: Don't refer to ports add-on as distributed separately.
27509         Mention AArch64 in list of systems supported in the ports add-on.
27510
27511         * LICENSES: Add more non-FSF copyright and license notices.
27512
27513         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27514         ((unused)).
27515
27516         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27517
27518         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27519         10000 as width of padded output.
27520
27521 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27522
27523         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27524
27525         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27526         variable LX with __attribute__ ((unused)).
27527         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27528         Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27531         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27532         with __attribute__ ((unused)).
27533
27534 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27535
27536         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27537
27538 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27539
27540         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27541         (CFLAGS-nldbl-acos.c): New variable.
27542         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27543         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27544         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27545         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27546         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27547         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27548         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27549         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27550         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27551         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27552         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27553         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27554         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27555         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27556         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27557         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27558         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27559         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27560         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27561         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27562         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27563         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27564         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27565         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27566         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27567         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27568         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27569         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27570         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27571         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27572         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27573         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27574         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27575         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27576         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27577         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27578         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27579         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27580         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27581         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27582         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27583         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27584         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27585         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27586         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27587         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27588         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27589         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27590         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27591         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27592         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27593         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27594         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27595         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27596         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27597         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27598         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27599         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27600         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27601         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27602         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27603         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27604         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27605         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27606         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27607         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27608         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27609         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27610         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27611         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27612         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27613         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27614         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27615         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27616         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27617         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27618         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27619         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27620         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27621         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27622         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27623         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27624         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27625         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27626         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27627         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27628         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27629         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27630         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27631         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27632         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27633         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27634         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27635         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27636         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27637         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27638         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27639
27640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27641         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27642
27643         [BZ #14914]
27644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27645         whole low double instead of just low 47 bits when splitting values
27646         into two parts.
27647
27648 2012-12-03  Allan McRae  <allan@archlinux.org>
27649
27650         * manual/stdio.texi (Predefined Printf Handlers): Remove
27651         @hsep and @vsep usage.
27652
27653 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27654
27655         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27656         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27657
27658 2012-12-03  Jeff Law  <law@redhat.com>
27659
27660         * time/sys/time.h (settimeofday): Do not mark TV argument
27661         as __nonnull.
27662
27663 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27664
27665         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27666         when currently writing and seek to current position when not.
27667         * libio/Makefile (tests): Remove bug-fclose1.
27668         * libio/bug-fclose1.c: Delete.
27669
27670 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27671
27672         * manual/arith.texi (feenableexcept): Fix typo.
27673         (fedisableexcept): Likewise.
27674
27675 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27676
27677         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27678         second, differently-typed declaration, rather than a cast.
27679
27680 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27681
27682         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27683         * include/rpc/svc.h: ... here.
27684
27685 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27686
27687         [BZ #13013]
27688         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27689         depending n and resplen2 to catch cases where answer
27690         equals answerp2.
27691
27692 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27693
27694         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27695         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27696
27697 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27698
27699         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27700
27701 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27702
27703         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27704
27705 2012-11-28  Jeff Law  <law@redhat.com>
27706
27707         [BZ #13761]
27708         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27709         dataset_temporary.  Track alloca usage into alloca_used.
27710         If dataset is large allocate and release it via malloc/free.
27711
27712 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27713
27714         [BZ #14197]
27715         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27716
27717 2012-11-28  David S. Miller  <davem@davemloft.net>
27718
27719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27720
27721 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27722
27723         [BZ #14803]
27724         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27725         of pi/2 rounded to nearest to 64 bits.
27726         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27727         nearest to 64 bits.
27728         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27729         bits.
27730
27731 2012-11-28  Jeff Law <law@redhat.com>
27732             Martin Osvald <mosvald@redhat.com>
27733
27734         [BZ #14889]
27735         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27736         * sunrpc/svc.c: Include time.h.
27737         (__svc_accept_failed): New function.
27738         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27739         any reason other than EINTR, call __svc_accept_failed.
27740         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27741         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27742
27743 2012-11-28  Andreas Schwab  <schwab@suse.de>
27744
27745         * scripts/abilist.awk: Also handle indirect functions in .opd
27746         section.
27747
27748 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27749
27750         [BZ #13881]
27751         * sysdeps/x86/fpu/powl_helper.c: New file.
27752         * sysdeps/x86/fpu/Makefile: Likewise.
27753         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27754         (p3): New object.
27755         (__ieee754_powl): Use __powl_helper for finite arguments except
27756         integer exponents below 8.
27757         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27758         (p3): New object.
27759         (__ieee754_powl): Use __powl_helper for finite arguments except
27760         integer exponents below 8.
27761         * math/libm-test.inc (pow_test): Add more tests and enable some
27762         previously disabled tests.
27763         * sysdeps/i386/fpu/libm-test-ulps: Update.
27764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765
27766 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27767             Carlos O'Donell  <carlos_odonell@mentor.com>
27768
27769         * nss/makedb.c (is_prime): Assert that input is odd and greater
27770         than 4.  Note that fact in a comment too.
27771         (next_prime): Add 4 to input.
27772
27773 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27774
27775         [BZ #11741]
27776         * libio/Makefile (tests): Add test case tst-fwrite-error.
27777         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27778         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27779         * libio/tst-fwrite-error.c: New test case.
27780
27781 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27782
27783         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27784         before casting to void *.
27785         * include/libc-internal.h (__pointer_type): New macro.
27786         (__integer_if_pointer_type_sub): Likewise.
27787         (__integer_if_pointer_type): Likewise.
27788         (cast_to_integer): Likewise.
27789         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27790         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27791         before casting to atomic64_t.
27792         (atomic_exchange_acq): Likewise.
27793         (__arch_exchange_and_add_body): Likewise.
27794         (__arch_add_body): Likewise.
27795         (atomic_add_negative): Likewise.
27796         (atomic_add_zero): Likewise.
27797
27798 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27799
27800         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27801         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27802         (add_fdes): Likewise.
27803         (linear_search_fdes): Likewise.
27804         (binary_search_unencoded_fdes): Likewise.
27805
27806 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27807
27808         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27809
27810 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27811
27812         * configure.in: Autodetect C++ header directories.
27813         * configure: Regenerated.
27814
27815 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27816
27817         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27818
27819 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27820
27821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27822
27823 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27824
27825         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27826         LDBL_MANT_DIG == 106]: Disable some tests.
27827         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27828         Likewise.
27829         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27830         Likewise.
27831
27832         [BZ #14871]
27833         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27834         input for small inputs.  Return +/- pi/2 for large inputs.
27835         * math/libm-test.inc (atan_test): Add more tests.
27836
27837         * sysdeps/generic/unwind-dw2-fde-glibc.c
27838         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27839         __attribute__ ((unused)).
27840
27841         [BZ #14645]
27842         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27843         x * y if x and y are nonzero and z is zero.
27844
27845         [BZ #14811]
27846         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27847         nonzero exponents with absolute value below 0x1p-117 to +/-
27848         0x1p-117.
27849
27850         [BZ #14869]
27851         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27852         up arguments below 2**-450, not just those below 2**-500.
27853         * math/libm-test.inc (hypot_test): Add another test.
27854
27855         [BZ #14868]
27856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27857         Return a+b for ratio over 2**120, not 2**60.
27858         * math/libm-test.inc (hypot_test): Add another test.
27859
27860         * math/libm-test.inc (clog_test): Use
27861         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27862         (clog10_test): Likewise.
27863
27864         [BZ #6778]
27865         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27866
27867 2012-11-22  Andreas Schwab  <schwab@suse.de>
27868
27869         * sysdeps/i386/fpu/libm-test-ulps: Update.
27870
27871 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27872
27873         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27874         printf output with newline.
27875
27876 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27877
27878         [BZ #14865]
27879         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27880         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27881         -z nodlopen, -z initfirst and -z execstack support.
27882         * configure: Regenerated.
27883
27884         * elf/elf.h (DF_1_NODIRECT): New macro.
27885         (DF_1_IGNMULDEF): Likewise.
27886         (DF_1_NOKSYMS): Likewise.
27887         (DF_1_NOHDR): Likewise.
27888         (DF_1_EDITED): Likewise.
27889         (DF_1_NORELOC): Likewise.
27890         (DF_1_SYMINTPOSE): Likewise.
27891         (DF_1_GLOBAUDIT): Likewise.
27892         (DF_1_SINGLETON): Likewise.
27893         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27894         DT_1_SUPPORTED_MASK bits.
27895         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27896
27897 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27898
27899         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27900
27901 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27902
27903         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27904         macro.
27905
27906         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27907         (sendmmsg): Move declarations...
27908         * socket/sys/socket.h: ... here.
27909         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27910         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27911         include it from...
27912         * socket/recvmmsg.c: ... this new file.
27913         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27914         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27915         definition of __sendmmsg hidden.
27916         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27917         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27918         Move ENOSYS stub into and include it from...
27919         * socket/sendmmsg.c: ... this new file.
27920         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27921         (sysdep_routines): Move recvmmsg and sendmmsg...
27922         * socket/Makefile (routines): ... here.
27923         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27924         (GLIBC_PRIVATE): Add __sendmmsg.
27925         * include/sys/socket.h (__sendmmsg): Add declarations.
27926         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27927         sendmmsg.
27928
27929 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27930
27931         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27932         variable I1 with __attribute__ ((unused)).
27933         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27934
27935 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27936
27937         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27938         DUMMY variables with __attribute__ ((unused)).
27939
27940         * bits/byteswap.h: Include <bits/types.h>.
27941         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27942
27943 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27944
27945         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27946         string_t.  Do not manually set errno.
27947         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27948         length with __strnlen.  Make sure to both set errno and return it on
27949         failure.
27950
27951 2012-11-19  David S. Miller  <davem@davemloft.net>
27952
27953         With help from Joseph Myers.
27954         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27955         very large arguments properly.
27956         * math/libm-test.inc (atan_test): New tests.
27957         (atan2_test): New tests.
27958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27960
27961 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27962
27963         [BZ #14856]
27964         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27965         Define to 3.
27966
27967         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27968         [POSIX] (EADDRNOTAVAIL): Likewise.
27969         [POSIX] (EAFNOSUPPORT): Likewise.
27970         [POSIX] (EALREADY): Likewise.
27971         [POSIX] (ECONNABORTED): Likewise.
27972         [POSIX] (ECONNREFUSED): Likewise.
27973         [POSIX] (ECONNRESET): Likewise.
27974         [POSIX] (EDESTADDRREQ): Likewise.
27975         [POSIX] (EDQUOT): Likewise.
27976         [POSIX] (EHOSTUNREACH): Likewise.
27977         [POSIX] (EIDRM): Likewise.
27978         [POSIX] (EISCONN): Likewise.
27979         [POSIX] (ELOOP): Likewise.
27980         [POSIX] (EMULTIHOP): Likewise.
27981         [POSIX] (ENETDOWN): Likewise.
27982         [POSIX] (ENETUNREACH): Likewise.
27983         [POSIX] (ENOBUFS): Likewise.
27984         [POSIX] (ENODATA): Likewise.
27985         [POSIX] (ENOLINK): Likewise.
27986         [POSIX] (ENOMSG): Likewise.
27987         [POSIX] (ENOPROTOOPT): Likewise.
27988         [POSIX] (ENOSR): Likewise.
27989         [POSIX] (ENOSTR): Likewise.
27990         [POSIX] (ENOTCONN): Likewise.
27991         [POSIX] (ENOTSOCK): Likewise.
27992         [POSIX] (EOPNOTSUPP): Likewise.
27993         [POSIX] (EOVERFLOW): Likewise.
27994         [POSIX] (EPROTO): Likewise.
27995         [POSIX] (EPROTONOSUPPORT): Likewise.
27996         [POSIX] (EPROTOTYPE): Likewise.
27997         [POSIX] (ESTALE): Likewise.
27998         [POSIX] (ETIME): Likewise.
27999         [POSIX] (ETXTBSY): Likewise.
28000         [POSIX] (EWOULDBLOCK): Likewise.
28001         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28002         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28003         [POSIX] (SEEK_CUR): Likewise.
28004         [POSIX] (SEEK_END): Likewise.
28005         [POSIX || UNIX98] (mode_t): Do not require.
28006         [POSIX] (off_t): Likewise.
28007         [POSIX] (pid_t): Likewise.
28008         [POSIX] (sys/stat.h): Do not allow header.
28009         [POSIX] (unistd.h): Likewise.
28010         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28011         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28012         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28013         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28014         require.
28015         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28016         sigevent): Specify elements.
28017         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28018         entry.
28019         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28020         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28021
28022         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28023         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28024         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28025         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28026         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28027         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28028         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28029         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28030         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28031         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28032         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28033         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28034         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28035         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28036         Likewise.
28037         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28038         Likewise.
28039         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28040         Likewise.
28041         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28042         Likewise.
28043         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28044         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28045         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28046         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28047         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28048         Specify lower bound on value.
28049         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28050         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28051         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28052         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28053         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28054         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28055         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28056         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28057         value.
28058         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28059         as optional.
28060         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28061         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28062         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28063         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28064         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28065         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28066         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28067         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28068         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28069         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28070         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28071         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28072         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28073         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28074         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28075         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28076         entry.
28077         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28078         optional.
28079         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28080         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28081         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28082         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28083         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28084         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28085         Likewise.
28086         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28087         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28088         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28089         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28090         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28091         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28092         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28093         as optional.
28094         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28095         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28096         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28097         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28098         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28099         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28100         specify as optional.
28101         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28102         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28103         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28104         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28105         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28106         [XPG3] (NL_LANGMAX): Likewise.
28107         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28108         [POSIX || XPG3] (NL_NMAX): Likewise.
28109         [POSIX || XPG3] (NL_SETMAX): Likewise.
28110         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28111         [XPG3] (NZERO): Likewise.
28112         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28113         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28114         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28115         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28116         (REG_ERANGE): Expect.
28117         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28118         optional-constant.
28119         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28120         Use (void) in prototype.
28121         [POSIX] (*_t): Allow.
28122         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28123         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28124         (WRDE_BADVAL): Expect.
28125
28126         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28127         expect.
28128         [XPG3 || XPG4] (O_RSYNC): Likewise.
28129         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28130         Likewise.
28131         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28132         [XPG3 || XPG4] (sigqueue): Likewise.
28133         [XPG3 || XPG4] (sigtimedwait): Likewise.
28134         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28135         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28136         [XPG3 || XPG4] (vsnprintf): Likewise.
28137         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28138         Likewise.
28139         [XPG3 || XPG4] (blksize_t): Likewise.
28140         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28141         Likewise.
28142         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28143         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28144         [XPG3 || XPG4] (struct itimerspec): Likewise.
28145         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28146         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28147         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28148         [XPG3 || XPG4] (clockid_t): Likewise.
28149         [XPG3 || XPG4] (timer_t): Likewise.
28150         [XPG3 || XPG4] (clock_getres): Likewise.
28151         [XPG3 || XPG4] (clock_gettime): Likewise.
28152         [XPG3 || XPG4] (clock_settime): Likewise.
28153         [XPG3 || XPG4] (nanosleep): Likewise.
28154         [XPG3 || XPG4] (timer_create): Likewise.
28155         [XPG3 || XPG4] (timer_delete): Likewise.
28156         [XPG3 || XPG4] (timer_gettime): Likewise.
28157         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28158         [XPG3 || XPG4] (timer_settime): Likewise.
28159         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28160         [XPG3 || XPG4] (getlogin_r): Likewise.
28161         [XPG3 || XPG4] (pread): Likewise.
28162         [XPG3 || XPG4] (pthread_atfork): Likewise.
28163         [XPG3 || XPG4] (pwrite): Likewise.
28164
28165         [BZ #14835]
28166         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28167         <bits/siginfo.h>.
28168
28169 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28170
28171         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28172         finalizing MALLSTREAM.
28173
28174         * sysdeps/mach/hurd/syncfs.c: New file.
28175
28176 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28177
28178         [BZ #14719]
28179         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28180         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28181         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28182         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28183         (_nss_dns_gethostbyname4_r): Likewise.
28184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28185         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28186
28187 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28188
28189         [BZ #13763]
28190         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28191
28192 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28193
28194         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28195         * elf/cache.c (print_entry): Print ",AArch64" for
28196         FLAG_AARCH64_LIB64
28197
28198         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28199         * elf/cache.c (print_entry): Print ",hard-float" for
28200         FLAG_ARM_LIBHF.
28201
28202 2012-11-18  David S. Miller  <davem@davemloft.net>
28203
28204         With help from Joseph Myers.
28205         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28206         cutoff to 2**-13.
28207         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28208         cutoff to 2**-25.
28209         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28210         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28211         small.
28212         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28213         * math/libm-test.inc (y0_test): New tests.
28214         (y1_test): New tests.
28215         * sysdeps/i386/fpu/libm-test-ulps: Update.
28216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28218
28219 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28220
28221         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28222         64-bit targets.
28223         * configure: Regenerated.
28224
28225 2012-11-17  David S. Miller  <davem@davemloft.net>
28226
28227         [BZ #14811]
28228         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28229         nonzero exponents with absolute value below 0x1p-128 to +/-
28230         0x1p-128.
28231
28232 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28233
28234         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28235
28236         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28237
28238         * posix/getconf-speclist.c: New file.
28239         * posix/posix-envs.def: Likewise.
28240         * posix/confstr.c (START_ENV_GROUP): New macro.
28241         (END_ENV_GROUP): Likewise.
28242         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28243         (KNOWN_PRESENT_ENV_STRING): Likewise.
28244         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28245         (UNKNOWN_ENVIRONMENT): Likewise.
28246         (confstr): Include posix-envs.def instead of handling
28247         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28248         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28249         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28250         (END_ENV_GROUP): Likewise.
28251         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28252         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28253         (UNKNOWN_ENVIRONMENT): Likewise.
28254         (__sysconf): Include posix-envs.def instead of handling associated
28255         cases directly here.
28256         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28257         preprocessing getconf-speclist.c rather than running getconf or
28258         generating empty file.
28259
28260 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28261
28262         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28263
28264 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28265
28266         [BZ #14672]
28267         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28268
28269 2012-11-16  David S. Miller  <davem@davemloft.net>
28270
28271         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28272         smaller than LDBL_EPSILON/2.0L, just return xm1.
28273
28274 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28275
28276         * elf/tst-array1.c (init): Set constructor priority to 1000.
28277         (fini): Set destructor priority to 1000.
28278         * elf/tst-array2dep.c: Likewise.
28279
28280 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28281
28282         [BZ #11741]
28283         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28284         (_IO_new_file_xsputn): Also return EOF if none of the input
28285         data was written when overflow failed.
28286         * libio/iopadn.c (_IO_padn): Likewise.
28287         * libio/iowpadn.c (_IO_wpadn): Likewise.
28288         * stdio-common/tst-put-error.c: Add copyright notice.
28289         (do_test): Add case for printing padded string.
28290         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28291         _IO_padn returned error.
28292         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28293         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28294         return EOF.
28295
28296 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28297
28298         * libio/libioP.h: Add comment note that the references to C++
28299         bits are now obsolete.
28300
28301 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28302
28303         * math/libm-test.inc (check_complex): Use asprintf.
28304
28305 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28306
28307         * debug/pcprofiledump.c (print_version): Update copyright year.
28308         * malloc/memusagestat.c (print_version): Likewise.
28309
28310 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28311
28312         [BZ #14831]
28313         * elf/Makefile (tests): Add tst-audit8.
28314         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28315         ($(objpfx)tst-audit8.out): New target.
28316         (tst-audit8-ENV): New variable.
28317         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28318         audit if l_reloc_result is NULL.
28319         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28320         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28321         * elf/tst-audit8.c: New file.
28322
28323 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28324
28325         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28326         * misc/Makefile (CFLAGS-select.c): Define.
28327         * posix/Makefile (CFLAGS-pause.c): Define.
28328
28329 2012-11-13  David S. Miller  <davem@davemloft.net>
28330
28331         * crypt/Makefile: Move test targets after toplevel Rules
28332         inclusion.  Grab any necessary sysdep routines when linking.
28333         * crypt/md5.c (md5_process_block): Remove define, we will always
28334         name it __md5_process_block.
28335         (md5_finish_ctx): Update md5_process_block call.
28336         (md5_stream): Likewise.
28337         (md5_process_bytes): Likewise.
28338         (md5_process_block): Rename to __md5_process_block and move to ...
28339         * crypt/md5-block.c: ... here.
28340         * crypt/sha256.c (sha256_process_block): Move to ...
28341         * crypt/sha256-block.c: ... here.
28342         * crypt/sha512.c (sha512_process_block): Move to ...
28343         * crypt/sha512-block.c: ... here.
28344         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28345         path.
28346         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28347         * sysdeps/sparc/sparc64/multiarch/Makefile
28348         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28349         crypt subdir.
28350         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28351         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28352         multiarch changes.
28353         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28354         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28355         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28356         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28357         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28358         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28359         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28360         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28361         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28362         file.
28363         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28364         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28365         file.
28366         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28367
28368 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28369
28370         * timezone/tzselect.ksh: Update from tzcode git revision
28371         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28372         * timezone/zdump.c: Likewise.
28373         * timezone/zic.c: Likewise.
28374         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28375         in TZVERSION setting, not $(PKGVERSION).
28376         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28377         REPORT_BUGS_TO settings.
28378
28379         [BZ #14838]
28380         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28381         macro.
28382
28383 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28384
28385         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28386         detection to immediately after _FP_ROUND().
28387         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28388         bits are 0.
28389
28390 2012-11-11  David S. Miller  <davem@davemloft.net>
28391
28392         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28393         inttypes.h
28394         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28395         __close rather than their public counterparts.
28396
28397 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28398
28399         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28400         file.
28401         [UNIX98] (sem_timedwait): Do not expect.
28402         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28403         [XPG4 || UNIX98] (sockatmark): Do not expect.
28404         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28405         (clock_getcpuclockid): Do not expect.
28406         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28407         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28408         Do not expect.
28409         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28410         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28411         [UNIX98] (vwscanf): Likewise.
28412         [UNIX98] (vswscanf): Likewise.
28413
28414 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28415
28416         * timezone/version.h: Remove file.
28417         * timezone/README: Do not refer to version.h.
28418         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28419         $(objpfx)version.h.
28420         ($(objpfx)zdump.o): Likewise.
28421         ($(objpfx)version.h): New target.
28422
28423         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28424         2012i.
28425         * timezone/README: Don't mention modification to tzselect.ksh.
28426         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28427         work on unmodified tzselect.ksh.  Substitute version numbers in
28428         tzselect.ksh.
28429
28430         * Makefile (format-me): Remove.
28431         (INSTALL): Adjust indentation.  Use commands directly instead of
28432         using $(format-me).
28433
28434         * aclocal.m4 (ACX_PKGVERSION): New macro.
28435         (ACX_BUGURL): Likewise.
28436         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28437         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28438         (REPORT_BUGS_TO): Likewise.
28439         * configure: Regenerated.
28440         * config.h.in (PKGVERSION): New macro.
28441         (REPORT_BUGS_TO): Likewise.
28442         * config.make.in (PKGVERSION): New variable.
28443         (PKGVERSION_TEXI): Likewise.
28444         (REPORT_BUGS_TO): Likewise.
28445         (REPORT_BUGS_TEXI): Likewise.
28446         * Makefile (format-me): Use -I$(common-objpfx)manual.
28447         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28448         ($(common-objpfx)manual/%): New target.
28449         (manual/%): Remove target.
28450         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28451         (print_version): Use PKGVERSION.
28452         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28453         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28454         and REPORT_BUGS_TO.
28455         ($(objpfx)xtrace): Likewise.
28456         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28457         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28458         (print_version): Use PKGVERSION.
28459         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28460         (do_version): Use PKGVERSION.
28461         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28462         REPORT_BUGS_TO.
28463         (common-ldd-rewrite): Likewise.
28464         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28465         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28466         (print_version): Use PKGVERSION.
28467         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28468         * elf/pldd.c (argp_program_bug_address): Remove variable.
28469         (more_help): New function.
28470         (argp): Use more_help.
28471         (print_version): Use PKGVERSION.
28472         * elf/sln.c (main): Use PKGVERSION.
28473         (usage): Use REPORT_BUGS_TO.
28474         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28475         (top level): Use PKGVERSION.
28476         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28477         (print_version): Use PKGVERSION.
28478         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28479         (print_version): Use PKGVERSION.
28480         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28481         (print_version): Use PKGVERSION.
28482         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28483         (print_version): Use PKGVERSION.
28484         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28485         (print_version): Use PKGVERSION.
28486         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28487         (print_version): Use PKGVERSION.
28488         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28489         and BUGURL.
28490         ($(objpfx)memusage): Likewise.
28491         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28492         (do_version): Use PKGVERSION.
28493         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28494         (print_version): Use PKGVERSION.
28495         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28496         ($PKGVERSION): New variable.
28497         ($REPORT_BUGS_TO): Likewise.
28498         (usage): Use $REPORT_BUGS_TO.
28499         (top level): Use $PKGVERSION.
28500         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28501         ($(objpfx)pkgvers.texi): New rule.
28502         ($(objpfx)stamp-pkgvers): Likewise.
28503         * manual/install.texi: Include pkgvers.texi.
28504         (--with-pkgversion): Document new configure option.
28505         (--with-bugurl): Likewise.
28506         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28507         than necessarily for this particular distribution.  Use
28508         REPORT_BUGS_TO for where to report bugs.
28509         * INSTALL: Regenerated.
28510         * manual/libc.texinfo: Include pkgvers.texi.
28511         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28512         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28513         (print_version): Use PKGVERSION.
28514         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28515         (print_version): Use PKGVERSION.
28516         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28517         (print_version): Use PKGVERSION.
28518         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28519         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28520         macro.
28521         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28522         (print_version): Use PKGVERSION.
28523         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28524         (print_version): Use PKGVERSION.
28525         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28526         and PKGVERSION.
28527
28528         * timezone/checktab.awk: Update from tzcode 2012i.
28529         * timezone/ialloc.c: Likewise.
28530         * timezone/private.h: Likewise.
28531         * timezone/scheck.c: Likewise.
28532         * timezone/tzfile.h: Likewise.
28533         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28534         (TZVERSION): Hardcode tzcode version number.
28535         * timezone/zdump.c: Update from tzcode 2012i.
28536         * timezone/zic.c: Likewise.
28537         * timezone/version.h: New file.
28538         * timezone/README: Describe version.h.  Update upstream location.
28539
28540         [BZ #14824]
28541         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28542         (mktemp): Enable declaration.
28543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28547         Likewise.
28548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28549         Likewise.
28550         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28551         Likewise.
28552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28553         Likewise.
28554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28555         Likewise.
28556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28557         Likewise.
28558
28559         [BZ #14821]
28560         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28561         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28562         for copies of such integer values.
28563         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28564         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28565
28566 2012-11-09  Andreas Jaeger  <aj@suse.de>
28567
28568         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28569         definitions and declarations that are provided by
28570         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28571
28572 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28573
28574         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28575         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28576         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28577         definition.
28578
28579 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28580
28581         * elf/elf.h: Update comment before AArch64 relocations.
28582
28583 2012-11-07  David S. Miller  <davem@davemloft.net>
28584
28585         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28586         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28587         (__start_context): Declare.
28588         (__makecontext_ret): Delete.
28589         (__makecontext): Hook up __start_context instead of
28590         __makecontext_ret.
28591         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28592         (sysdep_routines): Add __start_context when in stdlib.
28593
28594 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28595
28596         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28597         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28598         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28599         hardcoded "nm".
28600         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28601         (READELF): New variable.  Use it instead of hardcoded "readelf".
28602
28603 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28604
28605         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28606         * sysdeps/x86/Makefile: Here.
28607         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28608         * sysdeps/x86/tst-xmmymm.sh: This.
28609
28610 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28611
28612         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28613         expectations.
28614         [UNIX98] (pthread_barrier_t): Do not expect.
28615         [UNIX98] (pthread_barrierattr_t): Likewise.
28616         [UNIX98] (pthread_spinlock_t): Likewise.
28617         [UNIX98] (pthread_barrier_destroy): Likewise.
28618         [UNIX98] (pthread_barrier_init): Likewise.
28619         [UNIX98] (pthread_barrier_wait): Likewise.
28620         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28621         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28622         [UNIX98] (pthread_barrierattr_init): Likewise.
28623         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28624         [UNIX98] (pthread_getcpuclockid): Likewise.
28625         [UNIX98] (pthread_mutex_timedlock): Likewise.
28626         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28627         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28628         [UNIX98] (pthread_sigmask): Likewise.
28629         [UNIX98] (pthread_spin_destroy): Likewise.
28630         [UNIX98] (pthread_spin_init): Likewise.
28631         [UNIX98] (pthread_spin_lock): Likewise.
28632         [UNIX98] (pthread_spin_trylock): Likewise.
28633         [UNIX98] (pthread_spin_unlock): Likewise.
28634         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28635         Do not expect.
28636         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28637         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28638         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28639         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28640         [XPG3 || XPG4] (pthread_key_t): Likewise.
28641         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28642         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28643         [XPG3 || XPG4] (pthread_once_t): Likewise.
28644         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28645         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28646         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28647         [XPG3 || XPG4] (pthread_t): Likewise.
28648
28649         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28650         not expect.
28651         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28652
28653         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28654         Change function return type to int.
28655
28656         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28657         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28658         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28659         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28660         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28661         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28662         [!POSIX] (posix_madvise): Likewise.
28663         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28664         && !UNIX98].
28665         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28666         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28667         (mode_t): Likewise.
28668         (posix_mem_offset): Likewise.
28669         (posix_typed_mem_get_info): Likewise.
28670         (posix_typed_mem_open): Likewise.
28671
28672         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28673         Change condition to [XOPEN2K8].
28674
28675         * conform/conformtest.pl: Preprocess allow-header data with -x c
28676         instead of from stdin.
28677         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28678         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28679         [C99-based standards] (cerfc): Likewise.
28680         [C99-based standards] (cexp2): Likewise.
28681         [C99-based standards] (cexpm1): Likewise.
28682         [C99-based standards] (clog10): Likewise.
28683         [C99-based standards] (clog1p): Likewise.
28684         [C99-based standards] (clog2): Likewise.
28685         [C99-based standards] (clgamma): Likewise.
28686         [C99-based standards] (ctgamma): Likewise.
28687         [C99-based standards] (cerff): Likewise.
28688         [C99-based standards] (cerfcf): Likewise.
28689         [C99-based standards] (cexp2f): Likewise.
28690         [C99-based standards] (cexpm1f): Likewise.
28691         [C99-based standards] (clog10f): Likewise.
28692         [C99-based standards] (clog1pf): Likewise.
28693         [C99-based standards] (clog2f): Likewise.
28694         [C99-based standards] (clgammaf): Likewise.
28695         [C99-based standards] (ctgammaf): Likewise.
28696         [C99-based standards] (cerfl): Likewise.
28697         [C99-based standards] (cerfcl): Likewise.
28698         [C99-based standards] (cexp2l): Likewise.
28699         [C99-based standards] (cexpm1l): Likewise.
28700         [C99-based standards] (clog10l): Likewise.
28701         [C99-based standards] (clog1pl): Likewise.
28702         [C99-based standards] (clog2l): Likewise.
28703         [C99-based standards] (clgammal): Likewise.
28704         [C99-based standards] (ctgammal): Likewise.
28705         * conform/data/inttypes.h-data [C99-based standards]: Include
28706         stdint.h-data.  Remove all expectations for stdint.h contents.
28707         [C99-based standards] (PRI*): Do not allow.
28708         [C99-based standards] (SCN*): Likewise.
28709         [C99-based standards] (*_t): Likewise.
28710         [C99-based-standards] (PRId8): Expect macro.
28711         [C99-based-standards] (PRIi8): Likewise.
28712         [C99-based-standards] (PRIo8): Likewise.
28713         [C99-based-standards] (PRIu8): Likewise.
28714         [C99-based-standards] (PRIx8): Likewise.
28715         [C99-based-standards] (PRIX8): Likewise.
28716         [C99-based-standards] (SCNd8): Likewise.
28717         [C99-based-standards] (SCNi8): Likewise.
28718         [C99-based-standards] (SCNo8): Likewise.
28719         [C99-based-standards] (SCNu8): Likewise.
28720         [C99-based-standards] (SCNx8): Likewise.
28721         [C99-based-standards] (PRIdLEAST8): Likewise.
28722         [C99-based-standards] (PRIiLEAST8): Likewise.
28723         [C99-based-standards] (PRIoLEAST8): Likewise.
28724         [C99-based-standards] (PRIuLEAST8): Likewise.
28725         [C99-based-standards] (PRIxLEAST8): Likewise.
28726         [C99-based-standards] (PRIXLEAST8): Likewise.
28727         [C99-based-standards] (SCNdLEAST8): Likewise.
28728         [C99-based-standards] (SCNiLEAST8): Likewise.
28729         [C99-based-standards] (SCNoLEAST8): Likewise.
28730         [C99-based-standards] (SCNuLEAST8): Likewise.
28731         [C99-based-standards] (SCNxLEAST8): Likewise.
28732         [C99-based-standards] (PRIdFAST8): Likewise.
28733         [C99-based-standards] (PRIiFAST8): Likewise.
28734         [C99-based-standards] (PRIoFAST8): Likewise.
28735         [C99-based-standards] (PRIuFAST8): Likewise.
28736         [C99-based-standards] (PRIxFAST8): Likewise.
28737         [C99-based-standards] (PRIXFAST8): Likewise.
28738         [C99-based-standards] (SCNdFAST8): Likewise.
28739         [C99-based-standards] (SCNiFAST8): Likewise.
28740         [C99-based-standards] (SCNoFAST8): Likewise.
28741         [C99-based-standards] (SCNuFAST8): Likewise.
28742         [C99-based-standards] (SCNxFAST8): Likewise.
28743         [C99-based-standards] (PRId16): Likewise.
28744         [C99-based-standards] (PRIi16): Likewise.
28745         [C99-based-standards] (PRIo16): Likewise.
28746         [C99-based-standards] (PRIu16): Likewise.
28747         [C99-based-standards] (PRIx16): Likewise.
28748         [C99-based-standards] (PRIX16): Likewise.
28749         [C99-based-standards] (SCNd16): Likewise.
28750         [C99-based-standards] (SCNi16): Likewise.
28751         [C99-based-standards] (SCNo16): Likewise.
28752         [C99-based-standards] (SCNu16): Likewise.
28753         [C99-based-standards] (SCNx16): Likewise.
28754         [C99-based-standards] (PRIdLEAST16): Likewise.
28755         [C99-based-standards] (PRIiLEAST16): Likewise.
28756         [C99-based-standards] (PRIoLEAST16): Likewise.
28757         [C99-based-standards] (PRIuLEAST16): Likewise.
28758         [C99-based-standards] (PRIxLEAST16): Likewise.
28759         [C99-based-standards] (PRIXLEAST16): Likewise.
28760         [C99-based-standards] (SCNdLEAST16): Likewise.
28761         [C99-based-standards] (SCNiLEAST16): Likewise.
28762         [C99-based-standards] (SCNoLEAST16): Likewise.
28763         [C99-based-standards] (SCNuLEAST16): Likewise.
28764         [C99-based-standards] (SCNxLEAST16): Likewise.
28765         [C99-based-standards] (PRIdFAST16): Likewise.
28766         [C99-based-standards] (PRIiFAST16): Likewise.
28767         [C99-based-standards] (PRIoFAST16): Likewise.
28768         [C99-based-standards] (PRIuFAST16): Likewise.
28769         [C99-based-standards] (PRIxFAST16): Likewise.
28770         [C99-based-standards] (PRIXFAST16): Likewise.
28771         [C99-based-standards] (SCNdFAST16): Likewise.
28772         [C99-based-standards] (SCNiFAST16): Likewise.
28773         [C99-based-standards] (SCNoFAST16): Likewise.
28774         [C99-based-standards] (SCNuFAST16): Likewise.
28775         [C99-based-standards] (SCNxFAST16): Likewise.
28776         [C99-based-standards] (PRId32): Likewise.
28777         [C99-based-standards] (PRIi32): Likewise.
28778         [C99-based-standards] (PRIo32): Likewise.
28779         [C99-based-standards] (PRIu32): Likewise.
28780         [C99-based-standards] (PRIx32): Likewise.
28781         [C99-based-standards] (PRIX32): Likewise.
28782         [C99-based-standards] (SCNd32): Likewise.
28783         [C99-based-standards] (SCNi32): Likewise.
28784         [C99-based-standards] (SCNo32): Likewise.
28785         [C99-based-standards] (SCNu32): Likewise.
28786         [C99-based-standards] (SCNx32): Likewise.
28787         [C99-based-standards] (PRIdLEAST32): Likewise.
28788         [C99-based-standards] (PRIiLEAST32): Likewise.
28789         [C99-based-standards] (PRIoLEAST32): Likewise.
28790         [C99-based-standards] (PRIuLEAST32): Likewise.
28791         [C99-based-standards] (PRIxLEAST32): Likewise.
28792         [C99-based-standards] (PRIXLEAST32): Likewise.
28793         [C99-based-standards] (SCNdLEAST32): Likewise.
28794         [C99-based-standards] (SCNiLEAST32): Likewise.
28795         [C99-based-standards] (SCNoLEAST32): Likewise.
28796         [C99-based-standards] (SCNuLEAST32): Likewise.
28797         [C99-based-standards] (SCNxLEAST32): Likewise.
28798         [C99-based-standards] (PRIdFAST32): Likewise.
28799         [C99-based-standards] (PRIiFAST32): Likewise.
28800         [C99-based-standards] (PRIoFAST32): Likewise.
28801         [C99-based-standards] (PRIuFAST32): Likewise.
28802         [C99-based-standards] (PRIxFAST32): Likewise.
28803         [C99-based-standards] (PRIXFAST32): Likewise.
28804         [C99-based-standards] (SCNdFAST32): Likewise.
28805         [C99-based-standards] (SCNiFAST32): Likewise.
28806         [C99-based-standards] (SCNoFAST32): Likewise.
28807         [C99-based-standards] (SCNuFAST32): Likewise.
28808         [C99-based-standards] (SCNxFAST32): Likewise.
28809         [C99-based-standards] (PRId64): Likewise.
28810         [C99-based-standards] (PRIi64): Likewise.
28811         [C99-based-standards] (PRIo64): Likewise.
28812         [C99-based-standards] (PRIu64): Likewise.
28813         [C99-based-standards] (PRIx64): Likewise.
28814         [C99-based-standards] (PRIX64): Likewise.
28815         [C99-based-standards] (SCNd64): Likewise.
28816         [C99-based-standards] (SCNi64): Likewise.
28817         [C99-based-standards] (SCNo64): Likewise.
28818         [C99-based-standards] (SCNu64): Likewise.
28819         [C99-based-standards] (SCNx64): Likewise.
28820         [C99-based-standards] (PRIdLEAST64): Likewise.
28821         [C99-based-standards] (PRIiLEAST64): Likewise.
28822         [C99-based-standards] (PRIoLEAST64): Likewise.
28823         [C99-based-standards] (PRIuLEAST64): Likewise.
28824         [C99-based-standards] (PRIxLEAST64): Likewise.
28825         [C99-based-standards] (PRIXLEAST64): Likewise.
28826         [C99-based-standards] (SCNdLEAST64): Likewise.
28827         [C99-based-standards] (SCNiLEAST64): Likewise.
28828         [C99-based-standards] (SCNoLEAST64): Likewise.
28829         [C99-based-standards] (SCNuLEAST64): Likewise.
28830         [C99-based-standards] (SCNxLEAST64): Likewise.
28831         [C99-based-standards] (PRIdFAST64): Likewise.
28832         [C99-based-standards] (PRIiFAST64): Likewise.
28833         [C99-based-standards] (PRIoFAST64): Likewise.
28834         [C99-based-standards] (PRIuFAST64): Likewise.
28835         [C99-based-standards] (PRIxFAST64): Likewise.
28836         [C99-based-standards] (PRIXFAST64): Likewise.
28837         [C99-based-standards] (SCNdFAST64): Likewise.
28838         [C99-based-standards] (SCNiFAST64): Likewise.
28839         [C99-based-standards] (SCNoFAST64): Likewise.
28840         [C99-based-standards] (SCNuFAST64): Likewise.
28841         [C99-based-standards] (SCNxFAST64): Likewise.
28842         [C99-based-standards] (PRIdMAX): Likewise.
28843         [C99-based-standards] (PRIiMAX): Likewise.
28844         [C99-based-standards] (PRIoMAX): Likewise.
28845         [C99-based-standards] (PRIuMAX): Likewise.
28846         [C99-based-standards] (PRIxMAX): Likewise.
28847         [C99-based-standards] (PRIXMAX): Likewise.
28848         [C99-based-standards] (SCNdMAX): Likewise.
28849         [C99-based-standards] (SCNiMAX): Likewise.
28850         [C99-based-standards] (SCNoMAX): Likewise.
28851         [C99-based-standards] (SCNuMAX): Likewise.
28852         [C99-based-standards] (SCNxMAX): Likewise.
28853         [C99-based-standards] (PRIdPTR): Likewise.
28854         [C99-based-standards] (PRIiPTR): Likewise.
28855         [C99-based-standards] (PRIoPTR): Likewise.
28856         [C99-based-standards] (PRIuPTR): Likewise.
28857         [C99-based-standards] (PRIxPTR): Likewise.
28858         [C99-based-standards] (PRIXPTR): Likewise.
28859         [C99-based-standards] (SCNdPTR): Likewise.
28860         [C99-based-standards] (SCNiPTR): Likewise.
28861         [C99-based-standards] (SCNoPTR): Likewise.
28862         [C99-based-standards] (SCNuPTR): Likewise.
28863         [C99-based-standards] (SCNxPTR): Likewise.
28864         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28865         allow.
28866         * conform/data/stdint.h-data: Update comments to clarify
28867         requirements.
28868         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28869         type.
28870         [C99-based standards] (INT8_MAX): Likewise.
28871         [C99-based standards] (INT16_MIN): Likewise.
28872         [C99-based standards] (INT16_MAX): Likewise.
28873         [C99-based standards] (INT32_MIN): Likewise.
28874         [C99-based standards] (INT32_MAX): Likewise.
28875         [C99-based standards] (INT64_MIN): Likewise.
28876         [C99-based standards] (INT64_MAX): Likewise.
28877         [C99-based standards] (UINT8_MAX): Likewise.
28878         [C99-based standards] (UINT16_MAX): Likewise.
28879         [C99-based standards] (UINT32_MAX): Likewise.
28880         [C99-based standards] (UINT64_MAX): Likewise.
28881         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28882         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28883         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28884         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28885         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28886         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28887         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28888         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28889         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28890         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28891         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28892         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28893         [C99-based standards] (INT_FAST8_MIN): Likewise.
28894         [C99-based standards] (INT_FAST8_MAX): Likewise.
28895         [C99-based standards] (INT_FAST16_MIN): Likewise.
28896         [C99-based standards] (INT_FAST16_MAX): Likewise.
28897         [C99-based standards] (INT_FAST32_MIN): Likewise.
28898         [C99-based standards] (INT_FAST32_MAX): Likewise.
28899         [C99-based standards] (INT_FAST64_MIN): Likewise.
28900         [C99-based standards] (INT_FAST64_MAX): Likewise.
28901         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28902         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28903         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28904         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28905         [C99-based standards] (INTPTR_MIN): Likewise.
28906         [C99-based standards] (INTPTR_MAX): Likewise.
28907         [C99-based standards] (UINTPTR_MAX): Likewise.
28908         [C99-based standards] (INTMAX_MIN): Likewise.
28909         [C99-based standards] (INTMAX_MAX): Likewise.
28910         [C99-based standards] (UINTMAX_MAX): Likewise.
28911         [C99-based standards] (PTRDIFF_MIN): Likewise.
28912         [C99-based standards] (PTRDIFF_MAX): Likewise.
28913         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28914         [C99-based standards] (SIZE_MAX): Likewise.
28915         [C99-based standards] (WCHAR_MAX): Likewise.
28916         [C99-based standards] (WINT_MAX): Likewise.
28917         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28918         constraint on value.
28919         [C99-based standards] (WCHAR_MIN): Likewise.
28920         [C99-based standards] (WINT_MIN): Likewise.
28921         [C99-based standards] (*_t): Allow.
28922         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28923         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28924         Include math.h-data and complex.h-data.  Remove all expectations
28925         of math.h and complex.h contents.
28926         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28927         at end of line.
28928         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28929         (struct tm): Expect tag.
28930         [C99-based-standards] (wcstof): Expect function.
28931         [C99-based-standards] (wcstold): Likewise.
28932         [C99-based-standards] (wcstoll): Likewise.
28933         [C99-based-standards] (wcstoull): Likewise.
28934         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28935         macro-int-constant.  Specify type.
28936         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28937         constraint on value.
28938         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28939         Specify type.
28940         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28941         Specify value.
28942         [ISO C standards]: Do not allow headers.
28943         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28944         wcs[abcdefghijklmnopqrstuvwxyz]*.
28945         [ISO C standards] (*_t): Do not allow.
28946         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28947         Expect function.
28948         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28949         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28950         Specify type.
28951         [ISO C standards]: Do not allow headers.
28952         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28953         is[abcdefghijklmnopqrstuvwxyz]*.
28954         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28955         to[abcdefghijklmnopqrstuvwxyz]*.
28956         [ISO C standards] (*_t): Do not allow.
28957         * conform/data/stdalign.h-data: New file.
28958         * conform/data/stdbool.h-data: Likewise.
28959         * conform/data/stdnoreturn.h-data: Likewise.
28960
28961 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28962
28963         [BZ #14815]
28964         * manual/filesys.texi (Directory Entries): Typo fix.
28965         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28966
28967 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28968
28969         * elf/elf.h (EM_AARCH64): New macro.
28970         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28971         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28972         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28973         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28974         (R_AARCH64_TLSDESC): Likewise.
28975         (NT_ARM_TLS): Likewise.
28976         (NT_ARM_HW_BREAK): Likewise.
28977         (NT_ARM_HW_WATCH): Likewise.
28978
28979 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28980
28981         [BZ #14811]
28982         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28983         (__ieee754_powl): Saturate nonzero exponents with absolute value
28984         below 0x1p-79 to +/- 0x1p-79.
28985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28986         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28987         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28988         nonzero exponents with absolute value below 0x1p-32 to +/-
28989         0x1p-32.
28990         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28991         (__ieee754_powl): Saturate nonzero exponents with absolute value
28992         below 0x1p-79 to +/- 0x1p-79.
28993         * math/libm-test.inc (pow_test): Add more tests.
28994
28995 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28996
28997         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28998         _dl_s390_cap_flags with kernel. Increase string length.
28999         (_dl_s390_platforms): Add z196 and zEC12.
29000
29001 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29002
29003         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29004         Change XOPEN21K to XOPEN2K.
29005
29006 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29007
29008         * string/memmove.c: Use memcpy when possible.
29009
29010 2012-11-06  Andreas Jaeger  <aj@suse.de>
29011
29012         * po/eo.po: Update from translation team.
29013
29014 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29015
29016         [BZ #14793]
29017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29018         exponent and small x and y exponents, scale x or y up.  Increase
29019         by 2 the exponent used in scaling up.
29020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29022         * math/libm-test.inc (fma_test): Add more tests.
29023         (fma_test_towardzero): Likewise.
29024         (fma_test_downward): Likewise.
29025         (fma_test_upward): Likewise.
29026
29027 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29028
29029         [BZ #14805]
29030         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29031         fenv_t *.
29032
29033         [BZ #14801]
29034         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29035         namespace for names of struct fields.
29036         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29037         fenv_t fields.
29038         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29039         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29040
29041 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29042
29043         [BZ #3665]
29044         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29045
29046 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29047
29048         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29049         PTR_DEMANGLE.
29050
29051         [BZ #5246]
29052         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29053         PTR_DEMANGLE.
29054
29055 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29056
29057         [BZ #14797]
29058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29059         definitely overflow as x * y not x * y + z.
29060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29062         * math/libm-test.inc (fma_test): Add more tests.
29063         (fma_test_towardzero): Likewise.
29064         (fma_test_downward): Likewise.
29065         (fma_test_upward): Likewise.
29066
29067 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29068
29069         [BZ #157]
29070
29071         * include/stub-tag.h: Remove file.
29072         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29073         '#include' of it.
29074         * manual/maint.texi (Porting): Don't reference it.
29075         * Makerules ($(objpfx)stubs): Likewise.
29076         * dirent/closedir.c: Don't include <stub-tag.h>.
29077         * dirent/dirfd.c: Likewise.
29078         * dirent/fdopendir.c: Likewise.
29079         * dirent/getdents.c: Likewise.
29080         * dirent/getdents64.c: Likewise.
29081         * dirent/opendir.c: Likewise.
29082         * dirent/readdir.c: Likewise.
29083         * dirent/readdir64.c: Likewise.
29084         * dirent/readdir64_r.c: Likewise.
29085         * dirent/readdir_r.c: Likewise.
29086         * dirent/rewinddir.c: Likewise.
29087         * dirent/seekdir.c: Likewise.
29088         * dirent/telldir.c: Likewise.
29089         * gmon/profil.c: Likewise.
29090         * grp/setgroups.c: Likewise.
29091         * inet/if_index.c: Likewise.
29092         * io/access.c: Likewise.
29093         * io/chdir.c: Likewise.
29094         * io/chmod.c: Likewise.
29095         * io/chown.c: Likewise.
29096         * io/close.c: Likewise.
29097         * io/dup.c: Likewise.
29098         * io/dup2.c: Likewise.
29099         * io/dup3.c: Likewise.
29100         * io/euidaccess.c: Likewise.
29101         * io/faccessat.c: Likewise.
29102         * io/fchdir.c: Likewise.
29103         * io/fchmod.c: Likewise.
29104         * io/fchmodat.c: Likewise.
29105         * io/fchown.c: Likewise.
29106         * io/fchownat.c: Likewise.
29107         * io/fcntl.c: Likewise.
29108         * io/flock.c: Likewise.
29109         * io/fstatfs.c: Likewise.
29110         * io/fstatfs64.c: Likewise.
29111         * io/fstatvfs.c: Likewise.
29112         * io/fstatvfs64.c: Likewise.
29113         * io/futimens.c: Likewise.
29114         * io/fxstat.c: Likewise.
29115         * io/fxstat64.c: Likewise.
29116         * io/fxstatat.c: Likewise.
29117         * io/fxstatat64.c: Likewise.
29118         * io/getcwd.c: Likewise.
29119         * io/isatty.c: Likewise.
29120         * io/lchmod.c: Likewise.
29121         * io/lchown.c: Likewise.
29122         * io/link.c: Likewise.
29123         * io/linkat.c: Likewise.
29124         * io/lseek.c: Likewise.
29125         * io/lseek64.c: Likewise.
29126         * io/lxstat64.c: Likewise.
29127         * io/mkdir.c: Likewise.
29128         * io/mkdirat.c: Likewise.
29129         * io/mkfifo.c: Likewise.
29130         * io/mkfifoat.c: Likewise.
29131         * io/open.c: Likewise.
29132         * io/open64.c: Likewise.
29133         * io/openat.c: Likewise.
29134         * io/openat64.c: Likewise.
29135         * io/pipe.c: Likewise.
29136         * io/pipe2.c: Likewise.
29137         * io/poll.c: Likewise.
29138         * io/posix_fadvise.c: Likewise.
29139         * io/posix_fadvise64.c: Likewise.
29140         * io/posix_fallocate.c: Likewise.
29141         * io/posix_fallocate64.c: Likewise.
29142         * io/read.c: Likewise.
29143         * io/readlink.c: Likewise.
29144         * io/readlinkat.c: Likewise.
29145         * io/rmdir.c: Likewise.
29146         * io/sendfile.c: Likewise.
29147         * io/sendfile64.c: Likewise.
29148         * io/statfs.c: Likewise.
29149         * io/statfs64.c: Likewise.
29150         * io/statvfs.c: Likewise.
29151         * io/statvfs64.c: Likewise.
29152         * io/symlink.c: Likewise.
29153         * io/symlinkat.c: Likewise.
29154         * io/ttyname.c: Likewise.
29155         * io/ttyname_r.c: Likewise.
29156         * io/umask.c: Likewise.
29157         * io/unlink.c: Likewise.
29158         * io/unlinkat.c: Likewise.
29159         * io/utime.c: Likewise.
29160         * io/utimensat.c: Likewise.
29161         * io/write.c: Likewise.
29162         * io/xmknod.c: Likewise.
29163         * io/xmknodat.c: Likewise.
29164         * io/xstat.c: Likewise.
29165         * io/xstat64.c: Likewise.
29166         * login/getpt.c: Likewise.
29167         * login/grantpt.c: Likewise.
29168         * login/unlockpt.c: Likewise.
29169         * math/e_acoshl.c: Likewise.
29170         * math/e_acosl.c: Likewise.
29171         * math/e_asinl.c: Likewise.
29172         * math/e_atan2l.c: Likewise.
29173         * math/e_atanhl.c: Likewise.
29174         * math/e_coshl.c: Likewise.
29175         * math/e_expl.c: Likewise.
29176         * math/e_fmodl.c: Likewise.
29177         * math/e_gammal_r.c: Likewise.
29178         * math/e_hypotl.c: Likewise.
29179         * math/e_j0l.c: Likewise.
29180         * math/e_j1l.c: Likewise.
29181         * math/e_jnl.c: Likewise.
29182         * math/e_lgammal_r.c: Likewise.
29183         * math/e_log10l.c: Likewise.
29184         * math/e_log2l.c: Likewise.
29185         * math/e_logl.c: Likewise.
29186         * math/e_powl.c: Likewise.
29187         * math/e_rem_pio2l.c: Likewise.
29188         * math/e_sinhl.c: Likewise.
29189         * math/e_sqrtl.c: Likewise.
29190         * math/fclrexcpt.c: Likewise.
29191         * math/fedisblxcpt.c: Likewise.
29192         * math/feenablxcpt.c: Likewise.
29193         * math/fegetenv.c: Likewise.
29194         * math/fegetexcept.c: Likewise.
29195         * math/fegetround.c: Likewise.
29196         * math/feholdexcpt.c: Likewise.
29197         * math/fesetenv.c: Likewise.
29198         * math/fesetround.c: Likewise.
29199         * math/feupdateenv.c: Likewise.
29200         * math/fgetexcptflg.c: Likewise.
29201         * math/fraiseexcpt.c: Likewise.
29202         * math/fsetexcptflg.c: Likewise.
29203         * math/ftestexcept.c: Likewise.
29204         * math/k_cosl.c: Likewise.
29205         * math/k_rem_pio2l.c: Likewise.
29206         * math/k_sinl.c: Likewise.
29207         * math/k_tanl.c: Likewise.
29208         * math/s_asinhl.c: Likewise.
29209         * math/s_atanl.c: Likewise.
29210         * math/s_cbrtl.c: Likewise.
29211         * math/s_erfl.c: Likewise.
29212         * math/s_expm1l.c: Likewise.
29213         * math/s_log1pl.c: Likewise.
29214         * math/s_tanhl.c: Likewise.
29215         * misc/acct.c: Likewise.
29216         * misc/brk.c: Likewise.
29217         * misc/chflags.c: Likewise.
29218         * misc/chroot.c: Likewise.
29219         * misc/fchflags.c: Likewise.
29220         * misc/fgetxattr.c: Likewise.
29221         * misc/flistxattr.c: Likewise.
29222         * misc/fremovexattr.c: Likewise.
29223         * misc/fsetxattr.c: Likewise.
29224         * misc/fsync.c: Likewise.
29225         * misc/ftruncate.c: Likewise.
29226         * misc/futimes.c: Likewise.
29227         * misc/futimesat.c: Likewise.
29228         * misc/getdomain.c: Likewise.
29229         * misc/getdtsz.c: Likewise.
29230         * misc/gethostid.c: Likewise.
29231         * misc/gethostname.c: Likewise.
29232         * misc/getloadavg.c: Likewise.
29233         * misc/getpagesize.c: Likewise.
29234         * misc/getsysstats.c: Likewise.
29235         * misc/getxattr.c: Likewise.
29236         * misc/gtty.c: Likewise.
29237         * misc/ioctl.c: Likewise.
29238         * misc/lgetxattr.c: Likewise.
29239         * misc/listxattr.c: Likewise.
29240         * misc/llistxattr.c: Likewise.
29241         * misc/lremovexattr.c: Likewise.
29242         * misc/lsetxattr.c: Likewise.
29243         * misc/lutimes.c: Likewise.
29244         * misc/madvise.c: Likewise.
29245         * misc/mincore.c: Likewise.
29246         * misc/mlock.c: Likewise.
29247         * misc/mlockall.c: Likewise.
29248         * misc/mmap.c: Likewise.
29249         * misc/mprotect.c: Likewise.
29250         * misc/msync.c: Likewise.
29251         * misc/munlock.c: Likewise.
29252         * misc/munlockall.c: Likewise.
29253         * misc/munmap.c: Likewise.
29254         * misc/preadv.c: Likewise.
29255         * misc/preadv64.c: Likewise.
29256         * misc/ptrace.c: Likewise.
29257         * misc/pwritev.c: Likewise.
29258         * misc/pwritev64.c: Likewise.
29259         * misc/readv.c: Likewise.
29260         * misc/reboot.c: Likewise.
29261         * misc/remap_file_pages.c: Likewise.
29262         * misc/removexattr.c: Likewise.
29263         * misc/revoke.c: Likewise.
29264         * misc/select.c: Likewise.
29265         * misc/setdomain.c: Likewise.
29266         * misc/setegid.c: Likewise.
29267         * misc/seteuid.c: Likewise.
29268         * misc/sethostid.c: Likewise.
29269         * misc/sethostname.c: Likewise.
29270         * misc/setregid.c: Likewise.
29271         * misc/setreuid.c: Likewise.
29272         * misc/setxattr.c: Likewise.
29273         * misc/sstk.c: Likewise.
29274         * misc/stty.c: Likewise.
29275         * misc/swapoff.c: Likewise.
29276         * misc/swapon.c: Likewise.
29277         * misc/sync.c: Likewise.
29278         * misc/syncfs.c: Likewise.
29279         * misc/syscall.c: Likewise.
29280         * misc/truncate.c: Likewise.
29281         * misc/ualarm.c: Likewise.
29282         * misc/usleep.c: Likewise.
29283         * misc/ustat.c: Likewise.
29284         * misc/utimes.c: Likewise.
29285         * misc/vhangup.c: Likewise.
29286         * misc/writev.c: Likewise.
29287         * posix/_exit.c: Likewise.
29288         * posix/alarm.c: Likewise.
29289         * posix/execve.c: Likewise.
29290         * posix/fexecve.c: Likewise.
29291         * posix/fork.c: Likewise.
29292         * posix/fpathconf.c: Likewise.
29293         * posix/getaddrinfo.c: Likewise.
29294         * posix/getegid.c: Likewise.
29295         * posix/geteuid.c: Likewise.
29296         * posix/getgid.c: Likewise.
29297         * posix/getgroups.c: Likewise.
29298         * posix/getlogin.c: Likewise.
29299         * posix/getlogin_r.c: Likewise.
29300         * posix/getpgid.c: Likewise.
29301         * posix/getpid.c: Likewise.
29302         * posix/getppid.c: Likewise.
29303         * posix/getresgid.c: Likewise.
29304         * posix/getresuid.c: Likewise.
29305         * posix/getsid.c: Likewise.
29306         * posix/getuid.c: Likewise.
29307         * posix/glob64.c: Likewise.
29308         * posix/nanosleep.c: Likewise.
29309         * posix/pathconf.c: Likewise.
29310         * posix/pause.c: Likewise.
29311         * posix/posix_madvise.c: Likewise.
29312         * posix/pread.c: Likewise.
29313         * posix/pread64.c: Likewise.
29314         * posix/pwrite.c: Likewise.
29315         * posix/pwrite64.c: Likewise.
29316         * posix/sched_getaffinity.c: Likewise.
29317         * posix/sched_getp.c: Likewise.
29318         * posix/sched_gets.c: Likewise.
29319         * posix/sched_primax.c: Likewise.
29320         * posix/sched_primin.c: Likewise.
29321         * posix/sched_rr_gi.c: Likewise.
29322         * posix/sched_setaffinity.c: Likewise.
29323         * posix/sched_setp.c: Likewise.
29324         * posix/sched_sets.c: Likewise.
29325         * posix/sched_yield.c: Likewise.
29326         * posix/setgid.c: Likewise.
29327         * posix/setlogin.c: Likewise.
29328         * posix/setpgid.c: Likewise.
29329         * posix/setresgid.c: Likewise.
29330         * posix/setresuid.c: Likewise.
29331         * posix/setsid.c: Likewise.
29332         * posix/setuid.c: Likewise.
29333         * posix/sleep.c: Likewise.
29334         * posix/spawni.c: Likewise.
29335         * posix/sysconf.c: Likewise.
29336         * posix/times.c: Likewise.
29337         * posix/wait.c: Likewise.
29338         * posix/wait3.c: Likewise.
29339         * posix/wait4.c: Likewise.
29340         * posix/waitpid.c: Likewise.
29341         * resolv/gai_sigqueue.c: Likewise.
29342         * resource/getpriority.c: Likewise.
29343         * resource/getrlimit.c: Likewise.
29344         * resource/getrusage.c: Likewise.
29345         * resource/nice.c: Likewise.
29346         * resource/setpriority.c: Likewise.
29347         * resource/setrlimit.c: Likewise.
29348         * resource/ulimit.c: Likewise.
29349         * rt/aio_cancel.c: Likewise.
29350         * rt/aio_fsync.c: Likewise.
29351         * rt/aio_read.c: Likewise.
29352         * rt/aio_sigqueue.c: Likewise.
29353         * rt/aio_suspend.c: Likewise.
29354         * rt/aio_write.c: Likewise.
29355         * rt/clock_getres.c: Likewise.
29356         * rt/clock_gettime.c: Likewise.
29357         * rt/clock_nanosleep.c: Likewise.
29358         * rt/clock_settime.c: Likewise.
29359         * rt/lio_listio.c: Likewise.
29360         * rt/mq_close.c: Likewise.
29361         * rt/mq_getattr.c: Likewise.
29362         * rt/mq_notify.c: Likewise.
29363         * rt/mq_open.c: Likewise.
29364         * rt/mq_receive.c: Likewise.
29365         * rt/mq_send.c: Likewise.
29366         * rt/mq_setattr.c: Likewise.
29367         * rt/mq_timedreceive.c: Likewise.
29368         * rt/mq_timedsend.c: Likewise.
29369         * rt/mq_unlink.c: Likewise.
29370         * rt/shm_open.c: Likewise.
29371         * rt/shm_unlink.c: Likewise.
29372         * rt/timer_create.c: Likewise.
29373         * rt/timer_delete.c: Likewise.
29374         * rt/timer_getoverr.c: Likewise.
29375         * rt/timer_gettime.c: Likewise.
29376         * rt/timer_settime.c: Likewise.
29377         * setjmp/__longjmp.c: Likewise.
29378         * setjmp/setjmp.c: Likewise.
29379         * signal/kill.c: Likewise.
29380         * signal/killpg.c: Likewise.
29381         * signal/raise.c: Likewise.
29382         * signal/sigaction.c: Likewise.
29383         * signal/sigaltstack.c: Likewise.
29384         * signal/sigblock.c: Likewise.
29385         * signal/sigignore.c: Likewise.
29386         * signal/sigintr.c: Likewise.
29387         * signal/signal.c: Likewise.
29388         * signal/sigpause.c: Likewise.
29389         * signal/sigpending.c: Likewise.
29390         * signal/sigqueue.c: Likewise.
29391         * signal/sigreturn.c: Likewise.
29392         * signal/sigset.c: Likewise.
29393         * signal/sigsetmask.c: Likewise.
29394         * signal/sigstack.c: Likewise.
29395         * signal/sigsuspend.c: Likewise.
29396         * signal/sigtimedwait.c: Likewise.
29397         * signal/sigvec.c: Likewise.
29398         * signal/sigwait.c: Likewise.
29399         * signal/sigwaitinfo.c: Likewise.
29400         * signal/sysv_signal.c: Likewise.
29401         * socket/accept.c: Likewise.
29402         * socket/accept4.c: Likewise.
29403         * socket/bind.c: Likewise.
29404         * socket/connect.c: Likewise.
29405         * socket/getpeername.c: Likewise.
29406         * socket/getsockname.c: Likewise.
29407         * socket/getsockopt.c: Likewise.
29408         * socket/isfdtype.c: Likewise.
29409         * socket/listen.c: Likewise.
29410         * socket/recv.c: Likewise.
29411         * socket/recvfrom.c: Likewise.
29412         * socket/recvmsg.c: Likewise.
29413         * socket/send.c: Likewise.
29414         * socket/sendmsg.c: Likewise.
29415         * socket/sendto.c: Likewise.
29416         * socket/setsockopt.c: Likewise.
29417         * socket/shutdown.c: Likewise.
29418         * socket/sockatmark.c: Likewise.
29419         * socket/socket.c: Likewise.
29420         * socket/socketpair.c: Likewise.
29421         * stdio-common/ctermid.c: Likewise.
29422         * stdio-common/cuserid.c: Likewise.
29423         * stdio-common/remove.c: Likewise.
29424         * stdio-common/rename.c: Likewise.
29425         * stdio-common/renameat.c: Likewise.
29426         * stdio-common/tempname.c: Likewise.
29427         * stdlib/getcontext.c: Likewise.
29428         * stdlib/makecontext.c: Likewise.
29429         * stdlib/setcontext.c: Likewise.
29430         * stdlib/swapcontext.c: Likewise.
29431         * stdlib/system.c: Likewise.
29432         * streams/fattach.c: Likewise.
29433         * streams/fdetach.c: Likewise.
29434         * streams/getmsg.c: Likewise.
29435         * streams/getpmsg.c: Likewise.
29436         * streams/putmsg.c: Likewise.
29437         * streams/putpmsg.c: Likewise.
29438         * sysdeps/unix/bsd/getpt.c: Likewise.
29439         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29440         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29441         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29443         Likewise.
29444         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29445         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29446         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29447         * sysvipc/msgctl.c: Likewise.
29448         * sysvipc/msgget.c: Likewise.
29449         * sysvipc/msgrcv.c: Likewise.
29450         * sysvipc/msgsnd.c: Likewise.
29451         * sysvipc/semctl.c: Likewise.
29452         * sysvipc/semget.c: Likewise.
29453         * sysvipc/semop.c: Likewise.
29454         * sysvipc/semtimedop.c: Likewise.
29455         * sysvipc/shmat.c: Likewise.
29456         * sysvipc/shmctl.c: Likewise.
29457         * sysvipc/shmdt.c: Likewise.
29458         * sysvipc/shmget.c: Likewise.
29459         * termios/tcdrain.c: Likewise.
29460         * termios/tcflow.c: Likewise.
29461         * termios/tcflush.c: Likewise.
29462         * termios/tcgetattr.c: Likewise.
29463         * termios/tcgetpgrp.c: Likewise.
29464         * termios/tcsendbrk.c: Likewise.
29465         * termios/tcsetattr.c: Likewise.
29466         * termios/tcsetpgrp.c: Likewise.
29467         * time/adjtime.c: Likewise.
29468         * time/clock.c: Likewise.
29469         * time/getitimer.c: Likewise.
29470         * time/gettimeofday.c: Likewise.
29471         * time/setitimer.c: Likewise.
29472         * time/settimeofday.c: Likewise.
29473         * time/stime.c: Likewise.
29474         * time/time.c: Likewise.
29475
29476 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29477
29478         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29479         /usr/old/bin.
29480
29481         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29482         instead of spaces.
29483         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29484
29485 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29486
29487         [BZ #14796]
29488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29489         FE_TONEAREST before applying Dekker multiplication and Knuth
29490         addition.  Clear inexact exceptions and check for exact zero
29491         results afterwards.
29492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29495         * math/libm-test.inc (fma_test): Add more tests.
29496         (fma_test_towardzero): Likewise.
29497         (fma_test_downward): Likewise.
29498         (fma_test_upward): Likewise.
29499         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29500         function.
29501         (libc_fesetround): New macro.
29502         (libc_fesetroundf): Likewise.
29503         (libc_fesetroundl): Likewise.
29504         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29505         function.
29506         (libc_fesetround_387): Likewise.
29507         (libc_fesetroundf): New macro.
29508         (libc_fesetround): Likewise.
29509         (libc_fesetroundl): Likewise.
29510         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29511         function.
29512         (libc_fesetroundf): New macro.
29513         (libc_fesetround): Likewise.
29514         (libc_fesetroundl): Likewise.
29515         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29516         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29517         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29518         libm_hidden_ver.
29519         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29520         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29521         libm_hidden_def.
29522         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29523         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29524         libm_hidden_ver.
29525         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29526         libm_hidden_def.
29527
29528         [BZ #3439]
29529         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29530         integer constant usable in #if and use that to give value to enum
29531         constant.
29532         (FE_DIVBYZERO): Likewise.
29533         (FE_UNDERFLOW): Likewise.
29534         (FE_OVERFLOW): Likewise.
29535         (FE_INVALID): Likewise.
29536         (FE_INVALID_SNAN): Likewise.
29537         (FE_INVALID_ISI): Likewise.
29538         (FE_INVALID_IDI): Likewise.
29539         (FE_INVALID_ZDZ): Likewise.
29540         (FE_INVALID_IMZ): Likewise.
29541         (FE_INVALID_COMPARE): Likewise.
29542         (FE_INVALID_SOFTWARE): Likewise.
29543         (FE_INVALID_SQRT): Likewise.
29544         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29545         (FE_TONEAREST): Likewise.
29546         (FE_TOWARDZERO): Likewise.
29547         (FE_UPWARD): Likewise.
29548         (FE_DOWNWARD): Likewise.
29549         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29550         (FE_DIVBYZERO): Likewise.
29551         (FE_OVERFLOW): Likewise.
29552         (FE_UNDERFLOW): Likewise.
29553         (FE_INEXACT): Likewise.
29554         (FE_TONEAREST): Likewise.
29555         (FE_DOWNWARD): Likewise.
29556         (FE_UPWARD): Likewise.
29557         (FE_TOWARDZERO): Likewise.
29558         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29559         (FE_UNDERFLOW): Likewise.
29560         (FE_OVERFLOW): Likewise.
29561         (FE_DIVBYZERO): Likewise.
29562         (FE_INVALID): Likewise.
29563         (FE_TONEAREST): Likewise.
29564         (FE_TOWARDZERO): Likewise.
29565         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29566         (FE_OVERFLOW): Likewise.
29567         (FE_UNDERFLOW): Likewise.
29568         (FE_DIVBYZERO): Likewise.
29569         (FE_INEXACT): Likewise.
29570         (FE_TONEAREST): Likewise.
29571         (FE_TOWARDZERO): Likewise.
29572         (FE_UPWARD): Likewise.
29573         (FE_DOWNWARD): Likewise.
29574         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29575         (FE_DIVBYZERO): Likewise.
29576         (FE_OVERFLOW): Likewise.
29577         (FE_UNDERFLOW): Likewise.
29578         (FE_INEXACT): Likewise.
29579         (FE_TONEAREST): Likewise.
29580         (FE_DOWNWARD): Likewise.
29581         (FE_UPWARD): Likewise.
29582         (FE_TOWARDZERO): Likewise.
29583
29584 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29585
29586         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29587
29588 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29589
29590         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29591         commands.  Quote $PWD.
29592         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29593         -x" by "export".
29594         (remove_newlines): Remove.
29595
29596 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29597
29598         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29599         * stdlib/stdlib.h (atof): Moved to ...
29600         * include/bits/stdlib-float.h: Here.  New file.
29601         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29602         * stdlib/bits/stdlib-float.h: New file.
29603         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29604         -mno-sse -mno-mmx.
29605         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29606         <xmmintrin.h>.
29607
29608 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29609
29610         * conform/conformtest.pl (@headers): Add fenv.h.
29611         * conform/data/fenv.h-data: New file.
29612         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29613         include of <math/fenv.h>.
29614
29615         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29616         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29617         && !UNIX98].  Enables tests for XOPEN2K8.
29618         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29619         POSIX2008]: Likewise.
29620
29621         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29622         (struct rusage): Do not expect type or its members.
29623
29624         [BZ #3439]
29625         * math/math.h (FP_NAN): Define macro to integer constant usable in
29626         #if and use that to give value to enum constant.
29627         (FP_INFINITE): Likewise.
29628         (FP_ZERO): Likewise.
29629         (FP_SUBNORMAL): Likewise.
29630         (FP_NORMAL): Likewise.
29631
29632 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29633
29634         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29635         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29636         arguments.
29637
29638 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29639
29640         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29641         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29642         autoconf-time if not.
29643         * configure.in: Remove AC_PREREQ.
29644
29645 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29646
29647         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29648         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29649         of the internal implementation.
29650
29651 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29652
29653         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29654         except include of <misc/sys/syslog.h>.
29655
29656 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29657
29658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29659         function returns with a NULL context exit with zero.
29660
29661 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29662
29663         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29664
29665 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29666
29667         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29668         (run_program_cmd): This.
29669         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29670         (tst_langinfo): New variable.  Use it.
29671
29672 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29673
29674         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29675         floating point opcodes.
29676
29677 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29678
29679         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29680         variable.
29681
29682         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29683
29684         * sysdeps/mach/hurd/powerpc: Remove directory.
29685         * sysdeps/mach/powerpc: Likewise.
29686
29687 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29688
29689         * scripts/check-local-headers.sh: Ignore c++ headers.
29690
29691 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29692
29693         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29694         __libc_cleanup_region_start argument.
29695
29696 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29697
29698         [BZ #14784]
29699         [BZ #14785]
29700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29701         x * y using scaling, not as x * y + z.
29702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29704         * math/libm-test.inc (fma_test): Add more tests.
29705         (fma_test_towardzero): Likewise.
29706         (fma_test_downward): Likewise.
29707         (fma_test_upward): Likewise.
29708
29709 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29710
29711         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29712
29713 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29714
29715         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29716         New variable.
29717
29718 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29719
29720         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29721
29722 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29723
29724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29725         Fix sort order.
29726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29727         Likewise.
29728
29729 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29730
29731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29732         Fix the order of the list for glibc 2.17.
29733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29734         Likewise.
29735
29736 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29737
29738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29739
29740 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29741
29742         [BZ #14610]
29743         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29744         for low part of x being zero before using __atanl (y).
29745         * math/libm-test.inc (atan2_test): Add another test.
29746
29747         * manual/install.texi (Configuring and compiling): Document
29748         general use of test-wrapper and test-wrapper-env.
29749         * INSTALL: Regenerated.
29750
29751         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29752         (__fma): Do not extract and scale down low bits on after-rounding
29753         systems when result rounded to normal precision would have normal
29754         exponent.
29755         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29756         (__fmal): Do not extract and scale down low bits on after-rounding
29757         systems when result rounded to normal precision would have normal
29758         exponent.
29759         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29760         (__fmal): Do not extract and scale down low bits on after-rounding
29761         systems when result rounded to normal precision would have normal
29762         exponent.
29763         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29764         macro.
29765         (fma_test): Add more tests.
29766         (fma_test_towardzero): Likewise.
29767         (fma_test_downward): Likewise.
29768         (fma_test_upward): Likewise.
29769
29770 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29771
29772         * sysdeps/i386/tininess.h: Renamed to ...
29773         * sysdeps/x86/tininess.h: This.
29774         * sysdeps/x86_64/tininess.h: Removed.
29775
29776 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29777
29778         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29779         input.  Use $(build-program-cmd).
29780         ($(objpfx)tst-array1-static.out): Likewise.
29781         ($(objpfx)tst-array2.out): Likewise.
29782         ($(objpfx)tst-array3.out): Likewise.
29783         ($(objpfx)tst-array4.out): Likewise.
29784         ($(objpfx)tst-array5.out): Likewise.
29785         ($(objpfx)tst-array5-static.out): Likewise.
29786
29787 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29788
29789         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29790         if defined.
29791
29792         * nss/nsswitch.h (nss_interface_function): Provide new
29793         macro for use with NSS functions.
29794         * grp/initgroups.c: Use new macro.
29795         * nss/getXXbyYY.c: Likewise.
29796         * nss/getXXbyYY_r.c: Likewise.
29797         * nss/getXXent.c: Likewise.
29798         * nss/getXXent_r.c: Likewise.
29799         * sysdeps/posix/getaddrinfo.c: Likewise.
29800
29801 2012-10-30  Andreas Jaeger  <aj@suse.de>
29802
29803         * po/ru.po: Update Russion translation from translation project.
29804
29805 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29806
29807         [BZ #14152]
29808         [BZ #14783]
29809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29810         result and shift together with sticky bit instead of replicating
29811         round-to-nearest rounding.
29812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29814         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29815         missing underflow exceptions.
29816         (fma_test_towardzero): Add more tests.
29817         (fma_test_downward): Likewise.
29818         (fma_test_upward): Likewise.
29819
29820         [BZ #14047]
29821         * sysdeps/generic/tininess.h: New file.
29822         * sysdeps/i386/tininess.h: Likewise.
29823         * sysdeps/sh/tininess.h: Likewise.
29824         * sysdeps/x86_64/tininess.h: Likewise.
29825         * stdlib/tst-strtod-underflow.c: Likewise.
29826         * stdlib/tst-tininess.c: Likewise.
29827         * stdlib/strtod_l.c: Include <tininess.h>.
29828         (round_and_return): Do not set errno for exact underflow cases.
29829         Force an underflow exception when setting errno for underflow.
29830         Determine underflow based on rounding to normal precision if
29831         TININESS_AFTER_ROUNDING.
29832         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29833         ERANGE for exact underflow cases.
29834         * stdlib/Makefile (tests): Add tst-tininess and
29835         tst-strtod-underflow.
29836         ($(objpfx)tst-tininess): Use $(link-libm).
29837         ($(objpfx)tst-strtod-underflow): Likewise.
29838
29839 2012-10-30  Andreas Jaeger  <aj@suse.de>
29840
29841         [BZ#14767]
29842         * elf/Makefile (tests): Remove conditional for have-initfini-array
29843         since this is now always required and the variable does not exist
29844         anymore.
29845         (tests-static): Likewise.
29846         (modules-names): Likewise.
29847
29848         * po/eo.po: Add Esperanto translation from translation project.
29849
29850         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29851         merged with constructor/destructor.
29852         (init_array): Likewise.
29853         * elf/tst-array2dep.c (fini_array): Likewise.
29854         (init_array): Likewise.
29855
29856 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29857
29858         * manual/message.texi: Delete @cartouche tags.
29859
29860 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29861
29862         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29863         EOPNOTSUPP.
29864         * sysdeps/mach/hurd/fsync.c: Likewise.
29865
29866         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29867         [_POSIX_REALTIME_SIGNALS]: Change condition to
29868         [_POSIX_REALTIME_SIGNALS > 0].
29869
29870 2012-10-27  Andreas Jaeger  <aj@suse.de>
29871
29872         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29873         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29875         [__WORDSIZE != 64]: Likewise.
29876
29877 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29878
29879         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29880         *  iconvdata/tst-tables.sh: Likewise.
29881
29882 2012-10-25  David S. Miller  <davem@davemloft.net>
29883
29884         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29885         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29886         of strtoull.
29887
29888         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29889         ifunc-impl-list.c
29890         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29891         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29892         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29893         file.
29894
29895 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29896
29897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29898         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29899         __getdirentries.
29900
29901 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29902             Jim Blandy  <jimb@codesourcery.com>
29903
29904         * scripts/cross-test-ssh.sh: New file.
29905         * manual/install.texi (Configuring and compiling): Document use of
29906         cross-test-ssh.sh.
29907         * INSTALL: Regenerated.
29908
29909 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29910
29911         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29912         EOPNOTSUPP.
29913
29914 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29915
29916         * Makeconfig (run-program-prefix): Fix comment.
29917
29918 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29919             Jim Blandy  <jimb@codesourcery.com>
29920
29921         * Makeconfig (test-wrapper): New variable,
29922         (test-wrapper-env): Likewise.
29923         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29924         (run-built-tests): Define to yes.
29925         (run-program-prefix): Use $(test-wrapper).
29926         (built-program-cmd): Likewise.
29927         * Rules (make-test-out): Use $(test-wrapper-env) and
29928         $(host-built-program-cmd).
29929         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29930         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29931         tst-pathopt.sh.
29932         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29933         $(test-wrapper-env) to tst-rtld-load-self.sh.
29934         ($(objpfx)order2.out): Use $(test-wrapper).
29935         ($(objpfx)tst-initorder.out): Likewise.
29936         ($(objpfx)tst-initorder2.out): Likewise.
29937         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29938         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29939         (test_wrapper_env): New variable.  Use it to run ld.so.
29940         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29941         Use it to run ld.so.
29942         (test_wrapper_env): Likewise.
29943         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29944         $(test-wrapper) to run-iconv-test.sh.
29945         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29946         (ICONV): Use $test_wrapper.
29947         * posix/Makefile ($(objpfx)globtest.out): Pass
29948         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29949         globtest.sh, not $(run-program-prefix).
29950         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29951         (test_wrapper): Likewise.
29952         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29953         set together with run_via_rtld_prefix.
29954         (run_program_prefix): Define in terms of test_wrapper and
29955         run_via_rtld_prefix.
29956
29957 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29958
29959         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29960         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29961         Targets removed.
29962
29963         [BZ #14743]
29964         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29965         Declare __clock_getres, __clock_gettime, __clock_settime,
29966         __clock_nanosleep, and __clock_getcpuclockid.
29967         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29968         Remove librt_hidden_def (clock_gettime).
29969         * sysdeps/unix/clock_gettime.c: Likewise.
29970         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29971         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29972         * rt/clock_getres.c: Define __clock_getres as an alias.
29973         * sysdeps/posix/clock_getres.c: Likewise.
29974         * rt/clock_settime.c: Define __clock_settime as an alias.
29975         * sysdeps/unix/clock_settime.c: Likewise.
29976         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29977         * sysdeps/unix/clock_nanosleep.c: Likewise.
29978         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29979         * rt/clock-compat.c: New file.
29980         * rt/Makefile (librt-routines): Add clock-compat and move
29981         $(clock-routines) to ...
29982         (routines): ... here, new variable.
29983         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29984         Don't add get_clockfreq here.
29985         * rt/Versions (libc: GLIBC_2.17): New version set.
29986         Add clock_* symbols here.
29987         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29988         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29989         (GLIBC_2.17): Add clock_* symbols.
29990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29994         Likewise.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29996         Likewise.
29997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30001         * NEWS: Mention the move.
30002
30003         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30004         Use __open, __read, __close rather than their public counterparts.
30005         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30006         (__get_clockfreq_via_cpuinfo): Likewise.
30007         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30008         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30009
30010         * config.h.in (HAVE_IFUNC): New #undef.
30011         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30012         was successful.
30013         * configure: Regenerated.
30014
30015 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30016
30017         * configure.in: Move READELF check to start of file.
30018         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30019         libc_cv_asm_gnu_indirect_function in the process.
30020         * configure: Regenerated.
30021
30022 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30023
30024         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30025         send the output to /dev/null.
30026         (libc_cv_cc_with_libunwind): Likewise.
30027         (libc_cv_as_noexecstack): Likewise.
30028         * configure: Regenerate.
30029
30030 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30031
30032         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30033
30034         * posix/globtest.sh (TMPDIR): Do not set.
30035         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30036         (testout): Likewise.
30037
30038 2012-10-24  Andreas Jaeger  <aj@suse.de>
30039
30040         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30041         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30042         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30043         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30044         posix_fadvise64, posix_fallocate64.
30045
30046         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30047         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30048         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30049         Likewise.
30050         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30051         Likewise.
30052         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30053
30054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30055         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30056         <bits/fcntl-linux.h>.
30057         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30058
30059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30060         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30061         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30062         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30063         [__WORDSIZE != 64]: Likewise.
30064
30065 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30066
30067         * Makeconfig (run-built-tests): New variable.
30068         * Rules [$(cross-compiling) = yes]: Change condition to
30069         [$(run-built-tests) = no].
30070         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30071         to [$(run-built-tests) = yes].
30072         * elf/Makefile [$(cross-compiling) = no]: Likewise
30073         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30074         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30075         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30076         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30077         * io/Makefile [$(cross-compiling) = no]: Likewise.
30078         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30079         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30080         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30081         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30082         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30083         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30084         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30085         * string/Makefile [$(cross-compiling) = no]: Likewise.
30086
30087         * posix/Makefile ($(objpfx)globtest.out): Pass
30088         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30089         $(rtld-installed-name).
30090         * posix/globtest.sh (elf_objpfx): Remove variable.
30091         (rtld_installed_name): Likewise.
30092         (library_path): Likewise.
30093         (run_program_prefix): New variable.  Use for running globtest
30094         binary.
30095
30096 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30097             Joseph Myers  <joseph@codesourcery.com>
30098
30099         * Makeconfig (host-built-program-cmd): New variable.
30100         * elf/Makefile (tst-stackguard1-ARGS): Use
30101         $(host-built-program-cmd).
30102         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30103         (tst-spawn-ARGS): Likewise.
30104         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30105
30106 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30107             Jim Blandy  <jimb@codesourcery.com>
30108
30109         * Makeconfig (run-via-rtld-prefix): New variable.
30110         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30111         (built-program-cmd): Likewise.
30112
30113 2012-10-22  Andreas Jaeger  <aj@suse.de>
30114
30115         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30116         __O_RSYNC if it exists, otherwise to O_SYNC.
30117
30118 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30119             Joseph Myers  <joseph@codesourcery.com>
30120
30121         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30122         /dev/null.
30123         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30124         from /dev/null
30125         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30126         /dev/null.
30127
30128 2012-10-22  Andreas Jaeger  <aj@suse.de>
30129
30130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30131         Define always.
30132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30133
30134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30135         bits/fcntl-linux.h.
30136
30137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30138         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30139
30140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30141         to __O_LARGEFILE.
30142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30143         to __O_LARGEFILE.
30144
30145 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30146             Joseph Myers  <joseph@codesourcery.com>
30147
30148         * config.make.in (NM): New variable.
30149
30150 2012-10-21  Andreas Jaeger  <aj@suse.de>
30151
30152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30153         definitions and declarations that are provided by
30154         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30155
30156 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30157
30158         [BZ #14683]
30159         * elf/Makefile (tests-static): Add tst-leaks1-static.
30160         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30161         ($(objpfx)tst-leaks1-static): New rule.
30162         ($(objpfx)tst-leaks1-static-mem): Likewise.
30163         (tst-leaks1-static-ENV): New macro.
30164         * elf/dl-open.c (dl_open_worker): Check the main application
30165         only if SHARED is defined.
30166         * elf/tst-leaks1-static.c: New file.
30167
30168 2012-10-20  Andreas Jaeger  <aj@suse.de>
30169
30170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30171         generic values for Linux.
30172         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30173         and declarations that are provided by <bits/fcntl-linux.h> and
30174         include <bits/fcntl-linux.h>.
30175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30176         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30177
30178 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30179
30180         * io/fcntl.h: Move include of <bits/types.h> to the top and
30181         include it unconditionally.
30182
30183 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30184
30185         * wcsmbs/Makefile (tests-ifunc): New variable.
30186         (tests): Add $(tests-ifunc).
30187         * wcsmbs/test-wcschr-ifunc.c: New file.
30188         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30189         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30190         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30191         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30192         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30193
30194         * string/Makefile (tests-ifunc): New variable.
30195         (tests): Add $(tests-ifunc).
30196         * string/test-memccpy.c (TEST_NAME): New macro.
30197         * string/test-memchr.c (TEST_NAME): Likewise.
30198         * string/test-memcmp.c (TEST_NAME): Likewise.
30199         * string/test-memcpy.c (TEST_NAME): Likewise.
30200         * string/test-memmem.c (TEST_NAME): Likewise.
30201         * string/test-memmove.c (TEST_NAME): Likewise.
30202         * string/test-memset.c (TEST_NAME): Likewise.
30203         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30204         * string/test-stpcpy.c (TEST_NAME): Likewise.
30205         * string/test-stpncpy.c (TEST_NAME): Likewise.
30206         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30207         * string/test-strcasestr.c (TEST_NAME): Likewise.
30208         * string/test-strcat.c (TEST_NAME): Likewise.
30209         * string/test-strchr.c (TEST_NAME): Likewise.
30210         * string/test-strcmp.c(TEST_NAME): Likewise.
30211         * string/test-strcpy.c (TEST_NAME): Likewise.
30212         * string/test-strcspn.c (TEST_NAME): Likewise.
30213         * string/test-strlen.c (TEST_NAME): Likewise.
30214         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30215         * string/test-strncmp.c (TEST_NAME): Likewise.
30216         * string/test-strncpy.c (TEST_NAME): Likewise.
30217         * string/test-strnlen.c (TEST_NAME): Likewise.
30218         * string/test-strpbrk.c (TEST_NAME): Likewise.
30219         * string/test-strrchr.c (TEST_NAME): Likewise.
30220         * string/test-strspn.c (TEST_NAME): Likewise.
30221         * string/test-strstr.c (TEST_NAME): Likewise.
30222         * string/test-bcopy-ifunc.c: New file.
30223         * string/test-bzero-ifunc.c: Likewise.
30224         * string/test-memccpy-ifunc.c: Likewise.
30225         * string/test-memchr-ifunc.c: Likewise.
30226         * string/test-memcmp-ifunc.c: Likewise.
30227         * string/test-memcpy-ifunc.c: Likewise.
30228         * string/test-memmem-ifunc.c: Likewise.
30229         * string/test-memmove-ifunc.c: Likewise.
30230         * string/test-mempcpy-ifunc.c: Likewise.
30231         * string/test-memset-ifunc.c: Likewise.
30232         * string/test-rawmemchr-ifunc.c: Likewise.
30233         * string/test-stpcpy-ifunc.c: Likewise.
30234         * string/test-stpncpy-ifunc.c: Likewise.
30235         * string/test-strcasecmp-ifunc.c: Likewise.
30236         * string/test-strcasestr-ifunc.c: Likewise.
30237         * string/test-strcat-ifunc.c: Likewise.
30238         * string/test-strchr-ifunc.c: Likewise.
30239         * string/test-strchrnul-ifunc.c: Likewise.
30240         * string/test-strcmp-ifunc.c: Likewise.
30241         * string/test-strcpy-ifunc.c: Likewise.
30242         * string/test-strcspn-ifunc.c: Likewise.
30243         * string/test-strlen-ifunc.c: Likewise.
30244         * string/test-strncasecmp-ifunc.c: Likewise.
30245         * string/test-strncat-ifunc.c: Likewise.
30246         * string/test-strncmp-ifunc.c: Likewise.
30247         * string/test-strncpy-ifunc.c: Likewise.
30248         * string/test-strnlen-ifunc.c: Likewise.
30249         * string/test-strpbrk-ifunc.c: Likewise.
30250         * string/test-strrchr-ifunc.c: Likewise.
30251         * string/test-strspn-ifunc.c: Likewise.
30252         * string/test-strstr-ifunc.c: Likewise.
30253
30254         * debug/Makefile (tests-ifunc): New variable.
30255         (tests): Add $(tests-ifunc).
30256         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30257         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30258         * debug/test-stpcpy_chk-ifunc.c: New file.
30259         * debug/test-strcpy_chk-ifunc.c: Likewise.
30260
30261 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30262
30263         [BZ #13601]
30264         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30265         header is not read in.
30266
30267 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30268
30269         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30270         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30271         directly.  Pass built executable to script as
30272         $(built-program-cmd).
30273         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30274         $testprogram without using LD_LIBRARY_PATH and $ldso.
30275
30276         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30277         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30278         $(rtld-installed-name).
30279         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30280         (rtld_installed_name): Likewise.
30281         (library_path): Likewise.
30282         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30283         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30284         $(run-program-prefix) to tst-tables.sh.
30285         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30286         it to run tst-table-from and tst-table-to.
30287         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30288         Pass it to tst-table.sh.
30289         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30290         $(run-program-prefix) to tst-gettext.sh.
30291         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30292         tst-translit.sh.
30293         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30294         tst-gettext2.sh.
30295         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30296         to run tst-gettext.
30297         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30298         to run tst-gettext2.
30299         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30300         to run tst-translit.
30301         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30302         $(run-program-prefix) to tst-mtrace.sh.
30303         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30304         to run tst-mtrace.
30305         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30306         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30307         $(rtld-installed-name).
30308         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30309         (rtld_installed_name): Likewise.
30310         (run_program_prefix): New variable.  Use it to run wordexp-test.
30311
30312         * Makeconfig (ARCH): Remove all definitions.
30313         (machine): Likewise.
30314         [ARCH]: Remove conditional code.
30315         [!objdir]: Give error.
30316         [!objdir] (objpfx): Remove.
30317         [!objdir] (common-objpfx): Likewise.
30318         [!objdir] (common-objdir): Likewise.
30319         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30320         AC_CONFIG_FILES call.
30321         * configure: Regenerated.
30322
30323         [BZ #13888]
30324         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30325         or TMPDIR.
30326         (testout): Likewise.
30327
30328         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30329         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30330         $(rtld-installed-name).
30331         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30332         (rtld_installed_name): Likwise.
30333         (runit): Remove function.
30334         (run_getconf): New variable,  Use it for running getconf binary.
30335
30336 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30337
30338         [BZ #14716]
30339         * string/test-memmem.c (check_result): New function.
30340         (do_one_test): Use it.
30341         (check1): New function.
30342         (test_main): Use it.
30343
30344 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30345
30346         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30347
30348 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30349
30350         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30351         (_G_LSEEK64): Likewise.
30352         (_G_MMAP64): Likewise.
30353         (_G_FSTAT64): Likewise.
30354         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30355         (_G_LSEEK64): Likewise.
30356         (_G_MMAP64): Likewise.
30357         (_G_FSTAT64): Likewise.
30358         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30359         unconditional.  Call __mmap64 directly.
30360         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30361         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30362         __lseek64 directly.
30363         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30364         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30365         __mmap64 directly.
30366         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30367         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30368         __lseek64 directly.
30369         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30370         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30371         __lseek64 directly.
30372         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30373         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30374         __lseek64 directly.
30375         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30376         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30377         __fxstat64 directly.
30378         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30379         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30380         unconditional.
30381         (freopen64) [!_G_OPEN64]: Remove conditional code.
30382         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30383         unconditional.
30384         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30385         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30386         unconditional.
30387         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30388         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30389         unconditional.
30390         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30391         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30392         unconditional.
30393         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30394         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30395         unconditional.
30396         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30397         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30398         unconditional.
30399         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30400         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30401         unconditional.
30402         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30403
30404 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30405
30406         [BZ #12140]
30407         * manual/memory.texi (Malloc Tunable Parameters): Add note
30408         about free list pointers overwriting some perturb bytes.
30409         Wording suggested by Roland McGrath.
30410
30411 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30412
30413         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30414         (lgamma_test): Likewise.
30415         (tgamma_test): Likewise.
30416
30417 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30418
30419         [BZ #14700]
30420         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30421         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30422
30423 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30424
30425         * NEWS: Mention BZ #14716.
30426         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30427         when removing AVAILABLE1_USES_J macro.
30428
30429 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30430
30431         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30432         (__bswap_64): __uint64_t for unsigned 64-bit int.
30433
30434 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30435
30436         * include/string.h (memmem): Declare libc hidden alias.
30437         * string/memmem.c (memmem): Define libc hidden alias.
30438         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30439         __read, __close instead of open, read, close.
30440
30441 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30442
30443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30444         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30445         global and hidden.
30446         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30447         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30448         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30449         Likewise.
30450         (__rawmemchr_sse2): Likewise.
30451         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30452         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30453         (__strchr_sse2): Likewise.
30454         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30455         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30456         (__strcasecmp_sse2): Likewise.
30457         (__strncasecmp_sse2): Likewise.
30458         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30459         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30460         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30461         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30462         (__strrchr_sse2): Likewise.
30463         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30464         ifunc-impl-list.c.
30465         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30466         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30467         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30468         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30469         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30470         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30471         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30472         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30473         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30474         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30475         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30476         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30477         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30478         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30479         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30480         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30481         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30482         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30483         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30484         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30485         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30486         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30487         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30488         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30489         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30490         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30491         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30492         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30493         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30494         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30495
30496         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30497         global and hidden.
30498         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30499         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30500         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30501         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30502         Likewise.
30503         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30504         Likewise.
30505         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30506         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30507         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30508         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30509         ifunc-impl-list.c.
30510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30511         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30512         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30520         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30521         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30522         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30523         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30524         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30526         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30527         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30528         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30529         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30530         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30531         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30532         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30533         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30534         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30535         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30536         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30537         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30538         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30539         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30540         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30541         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30542         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30543         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30544         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30545         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30546         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30547         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30548         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30549         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30550         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30551
30552         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30553         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30554         * include/ifunc-impl-list.h: New file.
30555         * misc/ifunc-impl-list.c: Likewise.
30556         * misc/Makefile (routines): Add ifunc-impl-list.
30557         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30558         * string/test-string.h: Include <ifunc-impl-list.h>.
30559         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30560         TEST_NAME]: New variables.
30561         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30562         are defined.
30563         (test_init): Call __libc_ifunc_impl_list to initialize
30564         func_list if TEST_IFUNC and TEST_NAME are defined.
30565
30566         * string/Makefile (strop-tests): Add bcopy and bzero.
30567         * string/test-bcopy.c: New file.
30568         * string/test-bzero.c: Likewise.
30569         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30570         defined.
30571         * string/test-memset.c: Support bzero test if TEST_BZERO is
30572         defined.
30573         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30574         __libc_memmove.
30575         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30576         __libc_memset.
30577         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30578         of memset.
30579
30580 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30581
30582         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30583         * configure: Regenerated.
30584
30585         * Makeconfig (+link-static-before-libc): Don't include
30586         $(link-static-libc).
30587
30588         * libio/libio.h (_IO_pos_t): Remove.
30589
30590 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30591
30592         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30593         McGrath.
30594
30595 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30596
30597         * crypt/crypt-entry.c: Include fips-private.h.
30598         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30599         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30600         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30601         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30602
30603 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30604
30605         * crypt/crypt-private.h: Include stdbool.h.
30606         (_ufc_setup_salt_r): Return bool.
30607         * crypt/crypt-entry.c: Include errno.h.
30608         (__crypt_r): Return NULL with EINVAL for bad salt.
30609         * crypt/crypt_util.c (bad_for_salt): New.
30610         (_ufc_setup_salt_r): Check that salt is long enough and within
30611         the specified alphabet.
30612         * crypt/badsalttest.c: New file.
30613         * crypt/Makefile (tests): Add it.
30614         ($(objpfx)badsalttest): New.
30615
30616 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30617
30618         * NEWS: Add entry for BZ #14602.
30619
30620 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30621
30622         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30623         type-generic.
30624         * math/libm-test.inc: Update comment listing what functions and
30625         macros are tested.
30626         (isgreater_test): New function.
30627         (isgreaterequal_test): Likewise.
30628         (isless_test): Likewise.
30629         (islessequal_test): Likewise.
30630         (islessgreater_test): Likewise.
30631         (isunordered_test): Likewise.
30632         (main): Call the new functions.
30633
30634 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30635
30636         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30637         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30638         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30639         * sysdeps/i386/configure: Regenerated.
30640         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30641         * sysdeps/mach/configure: Regenerated.
30642         * sysdeps/mach/hurd/configure: Regenerated.
30643         * sysdeps/powerpc/configure: Regenerated.
30644         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30645         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30646         * sysdeps/s390/s390-32/configure: Regenerated.
30647         * sysdeps/s390/s390-64/configure: Regenerated.
30648         * sysdeps/sh/configure: Regenerated.
30649         * sysdeps/sparc/configure: Regenerated.
30650         * sysdeps/unix/sysv/linux/configure: Regenerated.
30651         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30652         * sysdeps/x86_64/configure: Regenerated.
30653
30654         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30655         defined.  Don't check if MAP is NULL.
30656
30657 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30658
30659         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30660         (_G_stat64): Likewise.
30661         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30662         (_G_stat64): Likewise.
30663         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30664         instead of struct _G_stat64.
30665         * libio/fileops.c (mmap_remap_check): Likewise.
30666         (decide_maybe_mmap): Likewise.
30667         (_IO_new_file_seekoff): Likewise.
30668         (_IO_file_stat): Likewise.
30669         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30670         _G_off64_t.
30671         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30672         instead of struct _G_stat64.
30673         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30674
30675 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30676
30677         [BZ #14602]
30678         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30679         Replace with ...
30680         (CHECK_EOL): New macro.
30681         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30682         CHECK_EOL.
30683         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30684         Replace with CHECK_EOL.
30685         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30686         Replace with CHECK_EOL.
30687
30688 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30689
30690         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30691         type-generic.
30692         * math/libm-test.inc: Update comment listing what functions and
30693         macros are tested.
30694         (finite_test): New function.
30695         (isinf_test): Likewise.
30696         (isnan_test): Likewise.
30697         (fpclassify_test): Test subnormal input.
30698         (isfinite_test): Likewise.
30699         (isnormal_test): Likewise.
30700         (main): Call the new functions.
30701
30702 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30703
30704         [BZ #14660]
30705         * Makerules (%.dynsym): Force C locale when running
30706         $(OBJDUMP) --dynamic-syms.
30707
30708 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30709
30710         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30711         <stdint.h>.
30712
30713 2012-10-06  David S. Miller  <davem@davemloft.net>
30714
30715         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30716         upper 32-bits of the length value in %o2 since we use branch-on-register
30717         tests which consider the entire 64-bit register.
30718
30719 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30720
30721         * string/test-strstr.c (check2): Add a test for page boundary.
30722
30723 2012-10-05  David S. Miller  <davem@davemloft.net>
30724
30725         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30726         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30727         file.
30728         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30729         sysdep_routines.
30730         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30731         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30732         and bzero when HWCAP_SPARC_CRYPTO is present.
30733
30734 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30735
30736         [BZ #14602]
30737         * string/test-strstr.c (check2): New function.
30738         (test_main): Call check2.
30739
30740         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30741         and bug-strchr1.
30742         * string/bug-strcasestr1.c (do_test): Moved to ...
30743         * string/test-strcasestr.c (check1): Here.  New function.
30744         (do_one_test): Break out result checking code into ...
30745         (check_result): This.  New function.
30746         (do_one_test): Call check_result.
30747         (test_main): Call check1.
30748         * string/bug-strchr1.c (do_test): Moved to ...
30749         * string/test-strchr.c (check1): Here.  New function.
30750         (do_one_test): Break out result checking code into ...
30751         (check_result): This.  New function.
30752         (do_one_test): Call check_result.
30753         (test_main): Call check1.
30754         * string/bug-strstr1.c (main): Moved to ...
30755         * string/test-strstr.c (check1): Here.  New function.
30756         (do_one_test): Break out result checking code into ...
30757         (check_result): This.  New function.
30758         (do_one_test): Call check_result.
30759         (test_main): Call check1.
30760         * string/bug-strcasestr1.c: Removed.
30761         * string/bug-strchr1.c: Likewise.
30762         * string/bug-strstr1.c: Likewise.
30763
30764         * elf/Makefile (dl-routines): Add hwcaps.
30765         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30766         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30767         (_dl_important_hwcaps): Moved to ...
30768         * elf/dl-hwcaps.c: Here.  New file.
30769         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30770
30771         [BZ #14557]
30772         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30773         if IS_IN_rtld isn't defined.
30774
30775         * elf/dl-support.c (_dl_sysinfo_map): New.
30776         Include "get-dynamic-info.h" and "setup-vdso.h".
30777         (_dl_non_dynamic_init): Call setup_vdso.
30778         * elf/dynamic-link.h: Don't include <assert.h>.
30779         (elf_get_dynamic_info): Moved to ...
30780         * elf/get-dynamic-info.h: Here.  New file.
30781         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30782         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30783         * elf/setup-vdso.h: Here.  New file.
30784         * elf/rtld.c: Include "setup-vdso.h".
30785         (dl_main): Call setup_vdso.
30786
30787 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30788
30789         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30790         creal in comment listing functions tested.  List finite, isinf,
30791         isnan, isless, islessequal, isgreater, isgreaterequal,
30792         islessgreater, isunordered, lgamma_r and pow10 as functions and
30793         macros not tested.  Mention which functions not tested are aliases
30794         for other functions.  Fix typo.  Note that signs of NaNs are not
30795         tested.
30796
30797         * scripts/config.guess: Update from config.git.
30798         * scripts/config.sub: Likewise.
30799
30800 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30801
30802         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30803         * misc/madvise.c (madvise): Renamed to __madvise.
30804         Make madvise a weak alias.
30805         * include/sys/mman.h: Declare __madvise.
30806         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30807         * sysdeps/unix/syscalls.list
30808         (madvise): Make __madvise the strong name, and madvise a weak alias.
30809         * sysdeps/unix/sysv/linux/syscalls.list
30810         (madvise, mmap): Remove redundant entries.
30811         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30812         * malloc/malloc.c (mtrim): Likewise.
30813         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30814
30815 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30816
30817         * sysdeps/mach/hurd/dl-cache.c: File removed.
30818         * config.h.in (USE_LDCONFIG): New #undef.
30819         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30820         * configure: Regenerated.
30821         * elf/Makefile (dl-routines): Add dl-cache only under
30822         [$(use-ldconfig) = yes].
30823         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30824         cache on [USE_LDCONFIG].
30825         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30826         [USE_LDCONFIG].
30827         * elf/rtld.c (dl_main): Likewise.
30828
30829 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30830
30831         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30832         _SC_LEVEL4_CACHE_LINESIZE.
30833
30834 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30835
30836         * sysdeps/unix/bsd/confstr.h: File removed.
30837
30838 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30839
30840         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30841         sys/sdt-config.h.
30842
30843 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30844
30845         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30846         Make 'mapoff' field ElfW(Off) rather than off_t.
30847
30848 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30849
30850         * nscd/Makefile: Remove nscd-cflags and all its users.
30851         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30852         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30853
30854         [BZ #10631]
30855         * malloc.c (malloc_printerr): Clarify error message.
30856
30857 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30858
30859         [BZ #14648]
30860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30861         Set bit_FMA_Usable if FMA is supported.
30862         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30863         macro.
30864         (bit_FMA4_Usable): Updated.
30865         (index_FMA_Usable): New macro.
30866         (CPUID_FMA): Likewise
30867         (HAS_FMA): Defined with bit_FMA_Usable.
30868
30869 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30870
30871         * bits/types.h (__swblk_t): Type removed.
30872         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30873         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30874         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30875         (__SWBLK_T_TYPE): Likewise.
30876         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30877         (__SWBLK_T_TYPE): Likewise.
30878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30879         (__SWBLK_T_TYPE): Likewise.
30880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30881         (__SWBLK_T_TYPE): Likewise.
30882
30883 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30884             Honza Horak <hhorak@redhat.com>
30885
30886         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30887         (xdr_mapname): Use YPMAXMAP as maxsize.
30888         (xdr_peername): Use YPMAXPEER as maxsize.
30889         (xdr_keydat): Use YPAXRECORD as maxsize.
30890         (xdr_valdat): Use YPMAXRECORD as maxsize.
30891
30892 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30893
30894         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30895
30896         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30897         * csu/init-first.c: ... here.
30898         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30899         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30900         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30901         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30902         * sysdeps/i386/init-first.c: File removed.
30903         * sysdeps/sh/init-first.c: File removed.
30904
30905 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30906
30907         [BZ #14645]
30908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30909         if x * y might underflow to zero and z is zero.
30910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30912         * math/libm-test.inc (min_subnorm_value): New variable.
30913         (fma_test): Add more tests.
30914         (fma_test_towardzero): Likewise.
30915         (fma_test_downward): Likewise
30916         (fma_test_upward): Likewise.
30917         (initialize): Set min_subnorm_value.
30918
30919 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30920
30921         [BZ #14638]
30922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30923         0 + 0.
30924         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30925         mode for addition resulting in exact zero.
30926         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30928         exact 0 + 0.
30929         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30930         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30931         * math/libm-test.inc (fma_test): Add more tests.
30932         (fma_test_towardzero): New function.
30933         (fma_test_downward): Likewise.
30934         (fma_test_upward): Likewise.
30935         (main): Call the new functions.
30936
30937 2012-09-28  David S. Miller  <davem@davemloft.net>
30938
30939         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30940
30941 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30942
30943         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30944         instead of SIGALRM.
30945
30946         * sysdeps/gnu/_G_config.h: Moved to ...
30947         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30948         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30949         * sysdeps/generic/_G_config.h: ... here.
30950
30951         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30952
30953         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30954
30955         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30956         Conditionalize target on [libnss_test1.so-version].
30957
30958         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30959
30960         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30961         (elfobjdir): Move out of conditionals.
30962
30963         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30964         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30965         (__nss_lookup_function): Conditionalize label remove_from_tree on
30966         [!DO_STATIC_NSS || SHARED], matching its only use.
30967
30968 2012-09-28  David S. Miller  <davem@davemloft.net>
30969
30970         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30971         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30972         file.
30973         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30974         sysdep_routines.
30975         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30977         when HWCAP_SPARC_CRYPTO is present.
30978
30979 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30980
30981         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30982
30983 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30984
30985         [BZ #6530]
30986         * stdio-common/vfprintf.c (process_string_arg): Revert
30987         2000-07-22 change.
30988
30989 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30990
30991         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30992         for testcase.
30993         * stdio-common/tst-sprintf.c: Include <locale.h>
30994         (main): Test sprintf's handling of incomplete multibyte
30995         characters.
30996
30997 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30998
30999         * elf/dl-runtime.c (VERSYMIDX): Removed.
31000         * elf/dl-version.c (VERSYMIDX): Likewise.
31001         * elf/do-rel.h (VERSYMIDX): Likewise.
31002         (VALIDX): Likewise.
31003         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31004         * elf/rtld.c (VALIDX): Likewise.
31005         (ADDRIDX): Likewise.
31006         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31007         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31008         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31009         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31010         (VALIDX): Likewise.
31011         (ADDRIDX): Likewise.
31012
31013 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31014
31015         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31016
31017 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31018
31019         [BZ #11438]
31020         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31021         to global scope.
31022         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31023         addresses are in the same scope as 192.0.2/24.
31024         * posix/gai.conf: Document new scope table defaults.
31025
31026 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31027
31028         [BZ #5298]
31029         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31030         for ftell.  Compute offsets from write pointers instead.
31031         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31032
31033 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034
31035         [BZ #14543]
31036         * libio/Makefile (tests): New test case tst-fseek.
31037         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31038         combination works in wide mode.
31039         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31040         state when the external buffer state changes.
31041
31042 2012-09-27  David S. Miller  <davem@davemloft.net>
31043
31044         [BZ #14376]
31045         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31046         pass reloc->r_addend in as the 'high' argument to
31047         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31048
31049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31050
31051 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31052
31053         * rt/tst-aio2.c: Include <pthread.h>.
31054         * rt/tst-aio3.c: Likewise.
31055
31056 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31057
31058         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31059
31060 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31061
31062         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31063         contents on [SHARED].
31064
31065 2012-09-26  Marek Polacek  <polacek@redhat.com>
31066
31067         [BZ #14530]
31068         [BZ #13741]
31069         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31070         for C++ and GCC <4.3 as well as for non GCC compilers.
31071
31072 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31073
31074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31075
31076 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31077
31078         * Makefile.in (all, install): Declare with .PHONY.
31079         Reported by Michael Hope <michael.hope@linaro.org>.
31080
31081 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31082
31083         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31084         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31085         system header.
31086         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31087         Likewise.
31088         (sydep_routines): Add the new and the internal functions.
31089         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31090         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31092         (GLIBC_2.17): Add the new function.
31093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31094         (GLIBC_2.17): Likewise.
31095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31096         (GLIBC_2.17): Likewise.
31097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31098         (GLIBC_2.17): Likewise.
31099         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31100
31101 2012-09-25  Alan Modra  <amodra@gmail.com>
31102
31103         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31104         Add release barrier before setting once_control to say
31105         initialisation is done.  Add hints on lwarx.  Use macro in
31106         place of isync.
31107         (clear_once_control): Add release barrier.
31108
31109 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31110
31111         [BZ #13629]
31112         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31113         specially.
31114         * math/s_clog10.c (__clog10): Likewise.
31115         * math/s_clog10f.c (__clog10f): Likewise.
31116         * math/s_clog10l.c (__clog10l): Likewise.
31117         * math/s_clogf.c (__clogf): Likewise.
31118         * math/s_clogl.c (__clogl): Likewise.
31119         * math/Makefile (libm-calls): Add x2y2m1.
31120         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31121         (__x2y2m1): Likewise.
31122         (__x2y2m1l): Likewise.
31123         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31124         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31127         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31128         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31129         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31130         * sysdeps/i386/fpu/libm-test-ulps: Update.
31131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31132
31133         [BZ #14621]
31134         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31135         int as type of variable DEPTH.
31136         (glob): Use size_t instead of int as type of variables NEWCOUNT
31137         and OLD_PATHC.
31138
31139 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31140
31141         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31142         Add s_sincosf-sse2.
31143         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31144         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31145         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31146         macros for using routine as __sincosf_ia32.
31147         Use macro for function declaration and weak_alias.
31148         * sysdeps/i386/fpu/libm-test-ulps: Update.
31149
31150         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31152
31153         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31154         subnormal argument.
31155         * math/s_cexpf.c (__cexpf): Likewise.
31156         * math/s_csinf.c (__csinf): Likewise.
31157         * math/s_csinhf.c (__csinhf): Likewise.
31158         * math/s_ctanf.c (__ctanf): Likewise.
31159         * math/s_ctanhf.c (__ctanhf): Likewise.
31160         * math/s_ccosh.c (__ccoshf): Likewise.
31161         * math/s_cexp.c (__cexpl): Likewise.
31162         * math/s_csin.c (__csin): Likewise.
31163         * math/s_csinh.c (__csinh): Likewise.
31164         * math/s_ctan.c (__ctan): Likewise.
31165         * math/s_ctanh.c (ctanh): Likewise.
31166         * math/s_ccoshl.c (__ccoshl): Likewise.
31167         * math/s_cexpl.c (__cexpl): Likewise.
31168         * math/s_csinl.c (__csinl): Likewise.
31169         * math/s_csinhl.c (__csinhl): Likewise.
31170         * math/s_ctanl.c (__ctanl): Likewise.
31171         * math/s_ctanhl.c (__ctanhl): Likewise.
31172
31173 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31174
31175         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31176         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31177         (_IO_off_t): Define to __off_t, not _G_off_t.
31178         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31179         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31180         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31181         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31182         type of __dummy and __dummy2 fields.
31183         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31184         (_G_ssize_t): Likewise.
31185         (_G_off_t): Likewise.
31186         (_G_pid_t): Likewise.
31187         (_G_uid_t): Likewise.
31188         (_G_wchar_t): Likewise.
31189         (_G_wint_t): Likewise.
31190         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31191         (_G_ssize_t): Likewise.
31192         (_G_off_t): Likewise.
31193         (_G_pid_t): Likewise.
31194         (_G_uid_t): Likewise.
31195         (_G_wchar_t): Likewise.
31196         (_G_wint_t): Likewise.
31197         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31198         (_G_ssize_t): Likewise.
31199         (_G_off_t): Likewise.
31200         (_G_pid_t): Likewise.
31201         (_G_uid_t): Likewise.
31202         (_G_wchar_t): Likewise.
31203         (_G_wint_t): Likewise.
31204
31205 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31206
31207         * malloc/arena.c: Include malloc-sysdep.h.
31208         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31209         is sufficient to shrink the heap or an unmap is needed.
31210         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31211         new function check_may_shrink_heap.
31212         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31213         new function check_may_shrink_heap.
31214
31215 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31216
31217         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31218         comments.
31219
31220 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31221
31222         * catgets/test-gencat.sh: Add "set -e".
31223         * elf/tst-pathopt.sh: Likewise.
31224         * grp/tst_fgetgrent.sh: Likewise.
31225         * iconvdata/run-iconv-test.sh: Likewise.
31226         * intl/tst-gettext.sh: Likewise.
31227         * intl/tst-gettext2.sh: Likewise.
31228         * intl/tst-gettext4.sh: Likewise.
31229         * intl/tst-gettext6.sh: Likewise.
31230         * intl/tst-translit.sh: Likewise.
31231         * io/ftwtest-sh: Likewise.
31232         * libio/test-freopen.sh: Likewise.
31233         * malloc/tst-mtrace.sh: Likewise.
31234         * posix/globtest.sh: Likewise.
31235         * posix/tst-getconf.sh: Likewise.
31236         * posix/wordexp-tst.sh: Likewise.
31237         * stdio-common/tst-printf.sh: Likewise.
31238         * stdio-common/tst-unbputc.sh: Likewise.
31239         * stdlib/tst-fmtmsg.sh: Likewise.
31240         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31241         * catgets/Makefile: Do not specify -e option when running
31242         testsuite shell scripts.
31243         * elf/Makefile: Likewise.
31244         * grp/Makefile: Likewise.
31245         * iconvdata/Makefile: Likewise.
31246         * intl/Makefile: Likewise.
31247         * io/Makefile: Likewise.
31248         * libio/Makefile: Likewise.
31249         * malloc/Makefile: Likewise.
31250         * posix/Makefile: Likewise.
31251         * stdio-common/Makefile: Likewise.
31252         * stdlib/Makefile: Likewise.
31253         * sysdeps/x86_64/Makefile: Likewise.
31254
31255         * io/ftwtest-sh: Add copyright header.
31256         * posix/globtest.sh: Likewise.
31257         * posix/tst-getconf.sh: Likewise.
31258         * posix/wordexp-tst.sh: Likewise.
31259         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31260
31261 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31262
31263         [BZ #13679]
31264         * Makeconfig (+link): Defined as $(+link-static) if
31265         $(build-shared) isn't yes.
31266         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31267         isn't yes.
31268         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31269
31270         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31271
31272         [BZ #14562]
31273         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31274         new chunk size with MALLOC_ALIGN_MASK.
31275
31276 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31277
31278         [BZ #5044]
31279         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31280         <rounding-mode.h>.
31281         (__printf_fphex): Determine rounding using get_rounding_mode and
31282         round_away.
31283         * stdio-common/tst-printf-round.c (struct hex_test): New
31284         structure.
31285         (hex_tests): New variable.
31286         (test_hex_in_one_mode): New function.
31287         (do_test): Also run tests for hex float output.
31288
31289 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31290
31291         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31292         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31293         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31294         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31295         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31296         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31297         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31298         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31299
31300 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31301
31302         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31303         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31304         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31305         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31306
31307 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31308
31309         [BZ #14579]
31310         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31311         mode only.
31312         * elf/tst-rtld-load-self.sh: New test.
31313         * elf/Makefile: Run it.
31314
31315 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31316
31317         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31318         (tst-writev-ENV): Remove.
31319         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31320
31321 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31322
31323         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31324
31325 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31326
31327         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31328         unconditional.
31329         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31330         Likewise.
31331         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31332         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31333         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31334         Likewise.
31335
31336 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31337
31338         [BZ #14587]
31339         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31340         * config.make.in (have-cpp-asm-debuginfo): Removed.
31341         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31342         * configure: Regenerated.
31343
31344 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31345
31346         [BZ #5044]
31347         * stdio-common/printf_fp.c: Include <stdbool.h> and
31348         <rounding-mode.h>.
31349         (___printf_fp): Determine rounding using get_rounding_mode and
31350         round_away.
31351         * stdio-common/tst-printf-round.c: New file.
31352         * stdio-common/Makefile (tests): Add tst-printf-round.
31353         (link-libm): New variable.
31354         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31355
31356 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31357
31358         [BZ #14576]
31359         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31360         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31361         Likewise.
31362         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31363         Likewise.
31364
31365 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31366
31367         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31368         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31369         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31370         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31371
31372 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31373
31374         [BZ #14518]
31375         * include/rounding-mode.h: New file.
31376         * sysdeps/generic/get-rounding-mode.h: Likewise.
31377         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31378         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31379         (MAX_VALUE): New macro.
31380         (MIN_VALUE): Likewise.
31381         (overflow_value): New function.
31382         (underflow_value): Likewise.
31383         (round_and_return): Use overflow_value and underflow_value to
31384         determine return values in overflow and underflow cases.  Use
31385         round_away to determine rounding depending on rounding mode.
31386         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31387         determine return values in overflow and underflow cases.
31388         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31389         (struct test_results): New structure.
31390         (struct test): Use struct test_results to store expected results
31391         for all rounding modes.
31392         (TEST): Include expected results for all rounding modes.
31393         (test_in_one_mode): New function.
31394         (do_test): Use test_in_one_mode to compute and check results.
31395         Check results for all rounding modes.
31396         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31397         $(link-libm).
31398
31399 2012-12-09  Allan McRae  <allan@archlinux.org>
31400
31401         * sysdeps/i386/fpu/libm-test-ulps: Update
31402
31403 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31404
31405         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31406         (_G_int32_t): Likewise.
31407         (_G_uint16_t): Likewise.
31408         (_G_uint32_t): Likewise.
31409         (_G_HAVE_BOOL): Likewise.
31410         (_G_HAVE_ATEXIT): Likewise.
31411         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31412         (_G_HAVE_IO_FILE_OPEN): Likewise.
31413         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31414         (_G_int32_t): Likewise.
31415         (_G_uint16_t): Likewise.
31416         (_G_uint32_t): Likewise.
31417         (_G_HAVE_BOOL): Likewise.
31418         (_G_HAVE_ATEXIT): Likewise.
31419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31420         (_G_HAVE_IO_FILE_OPEN): Likewise.
31421         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31422         (_G_int32_t): Likewise.
31423         (_G_uint16_t): Likewise.
31424         (_G_uint32_t): Likewise.
31425         (_G_HAVE_BOOL): Likewise.
31426         (_G_HAVE_ATEXIT): Likewise.
31427         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31428         (_G_HAVE_IO_FILE_OPEN): Likewise.
31429
31430 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31431
31432         * csu/libc-tls.c: Update copyright years.
31433
31434 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31435
31436         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31437         [!_G_USING_THUNKS]: Remove conditional code.
31438         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31439         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31440
31441         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31442         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31443         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31444         (_G_VTABLE_LABEL_PREFIX): Likewise.
31445         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31446         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31447         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31448         (_G_VTABLE_LABEL_PREFIX): Likewise.
31449         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31450         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31451         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31452         (_G_VTABLE_LABEL_PREFIX): Likewise.
31453         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31454
31455 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31456
31457         * libio/Makefile: Include ../Makeconfig before tests.
31458         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31459         only if $(build-shared) is yes.
31460
31461         * iconv/gconv_db.c: Update copyright years.
31462
31463 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31464
31465         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31466         unwind info if defined PIC. Fix special cases description.
31467         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31468
31469         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31470         DP_HI_MASK entry.
31471         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31472
31473 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31474
31475         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31476
31477         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31478         is NULL.
31479
31480         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31481         (LDLIBS-tst-chk4): This.
31482         (LDFLAGS-tst-chk5): Renamed to ...
31483         (LDLIBS-tst-chk5): This.
31484         (LDFLAGS-tst-chk6): Renamed to ...
31485         (LDLIBS-tst-chk6): This.
31486         (LDFLAGS-tst-lfschk4): Renamed to ...
31487         (LDLIBS-tst-lfschk4): This.
31488         (LDFLAGS-tst-lfschk5): Renamed to ...
31489         (LDLIBS-tst-lfschk5): This.
31490         (LDFLAGS-tst-lfschk6): Renamed to ...
31491         (LDLIBS-tst-lfschk6): This.
31492
31493         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31494         on $(common-objpfx)soversions.mk.
31495
31496 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31497
31498         [BZ #10014]
31499         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31500         example host name.
31501
31502 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31503
31504         * malloc/arena.c (arena_get_retry): New function that gets
31505         another arena for the caller to try its request on.
31506         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31507         current arena cannot fulfill the request.
31508         (__libc_memalign): Likewise.
31509         (__libc_memalign): Likewise.
31510         (__libc_pvalloc): Likewise.
31511         (__libc_calloc): Likewise.
31512
31513 2012-09-05  John Tobey  <john.tobey@gmail.com>
31514
31515         [BZ #13542]
31516         * manual/arith.texi (Operations on Complex): Fix description
31517         of carg branch cut.
31518
31519 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31520
31521         [BZ #10014]
31522         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31523         host name.
31524
31525         [BZ #10038]
31526         * manual/memory.texi (Memory): Make order of menu items match
31527         order of sections.
31528
31529 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31530
31531         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31532         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31533         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31534
31535 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31536
31537         * csu/libc-tls.c (static_dtv): Renamed to ...
31538         (_dl_static_dtv): This.  Make it global.
31539         (_dl_initial_dtv): Removed.
31540         (__libc_setup_tls): Updated.
31541         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31542         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31543         DL_INITIAL_DTV.
31544
31545 2012-09-06  Petr Machata  <pmachata@redhat.com>
31546
31547         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31548         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31549         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31550         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31551
31552 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31553
31554         [BZ #14545]
31555         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31556         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31557         freeing dtv[-1].
31558
31559 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31560
31561         [BZ #14544]
31562         * Makeconfig (link-static-before-libc): Replace $(+prector)
31563         with $(+prectorT).
31564         (link-static-after-libc): Replace $(+postctor) with
31565         $(+postctorT).
31566         (link-bounded): Replace $(+prector)/$(+postctor) with
31567         $(+prectorT)/$(+postctorT).
31568         (+prectorT): New macro.
31569         (+postctorT): Likewise.
31570
31571 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31572
31573         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31574         (round_str): Handle values above the maximum for IBM long double
31575         as inexact.
31576         * stdlib/tst-strtod-round.c (tests): Regenerated.
31577
31578 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31579
31580         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31581         assembler flag.
31582         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31583         zarch_nohighgprs around the zarch optimized routines.
31584         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31585         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31586         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31587         for zarch.
31588
31589 2012-09-05  David S. Miller  <davem@davemloft.net>
31590
31591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31592
31593         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31594         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31595         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31596         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31597         entries.
31598
31599 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31600
31601         * malloc/arena.c: Fold copyright years.
31602         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31603
31604 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31605
31606         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31607
31608 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31609
31610         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31611
31612 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31613
31614         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31615         change internal state upon failure.
31616
31617 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31618
31619         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31620         * malloc/memusage.c (mmap): Likewise.
31621         (mmap64, mremap): Likewise.  Adjust name in comment.
31622
31623 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31624
31625         * libio/fileops.c: Fix typos in comments.
31626         * libio/oldfileops.c: Likewise.
31627         * libio/wfileops.c: Likewise.
31628
31629 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31630
31631         [BZ #1349]
31632         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31633         (tst-malloc-usable-ENV): Set environment for test case.
31634         * malloc/hooks.c (malloc_check_get_size): New function to get
31635         requested size.
31636         * malloc/malloc.c (musable): Use malloc_check_get_size.
31637         * malloc/tst-malloc-usable.c: New test case.
31638
31639 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31640
31641         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31642
31643 2012-09-05  Allan McRae  <allan@archlinux.org>
31644
31645         [BZ #13966]
31646         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31647         determine header location.
31648         * configure: Regenerated.
31649
31650 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31651
31652         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31653         float format.
31654         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31655         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31656         format.
31657         (test): Regenerate.
31658
31659 2012-09-04  David S. Miller  <davem@davemloft.net>
31660
31661         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31662         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31663         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31664
31665 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31666
31667         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31668         failures.
31669
31670         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31671
31672 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31673
31674         [BZ #9914]
31675         * libio/iogetdelim.c: Include <limits.h>.
31676         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31677         + len + 1 would overflow.
31678
31679 2012-09-03  Andreas Jaeger  <aj@suse.de>
31680
31681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31682         * sysdeps/i386/fpu/libm-test-ulps: Update.
31683
31684 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31685
31686         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31687         Add s_sinf-sse2, s_conf-sse2.
31688
31689         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31690         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31691         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31692         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31693
31694         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31695         for using routine as __sinf_ia32.
31696         Use macro for function declaration and weak_alias.
31697         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31698         for using routine as __cosf_ia32.
31699         Use macro for function declaration and weak_alias.
31700
31701         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31702         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31703
31704         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31705         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31707
31708         * math/libm-test.inc (cos_test): Add more test cases.
31709         (sin_test): Likewise.
31710         (sincos_test): Likewise.
31711
31712 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31713
31714         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31715         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31716         hidden.
31717         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31718
31719 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31720
31721         [BZ #14538]
31722         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31723         first element of the GOT.
31724         (elf_machine_load_address): Return the difference between
31725         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31726
31727 2012-09-01  Allan McRae  <allan@archlinux.org>
31728
31729         [BZ #13412]
31730         * configure.in (AWK): Require gawk version 3.0 or later.
31731         * configure: Regenerated.
31732
31733 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31734
31735         * sysdeps/unix/sysv/linux/kernel-features.h
31736         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31738         [__NR_clock_getres]: Make code unconditional.
31739         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31740         (clock_getcpuclockid): Remove code left unreachable by removal of
31741         conditionals.
31742         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31743         code unconditional.
31744         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31745         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31746         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31747         Make code unconditional.
31748         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31749         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31750         * sysdeps/unix/sysv/linux/clock_settime.c
31751         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31752         conditional code.
31753         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31754         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31755
31756 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31757
31758         [BZ #14476]
31759         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31760         scripts/test-installation.pl.
31761
31762         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31763         and $ld_so_version if it is set.
31764
31765 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31766
31767         [BZ #14516]
31768         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31769         failure if reading from procfs failed.
31770         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31771
31772 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31773
31774         * sysdeps/unix/sysv/linux/kernel-features.h
31775         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31776         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31777         Remove conditional code.
31778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31779         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31780         Remove conditional code.
31781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31782         * sysdeps/unix/sysv/linux/i386/fxstat.c
31783         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31785         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31786         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31788         * sysdeps/unix/sysv/linux/i386/lxstat.c
31789         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31790         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31791         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31792         Remove conditional code.
31793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31794         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31795         Remove conditional code.
31796         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31797         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31798         <kernel-features.h>.
31799         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31800         Remove.
31801         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31802         Remove conditional code.
31803         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31804         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31805         Remove conditional.
31806
31807 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31808
31809         [BZ #5400]
31810         * NEWS: Add fixed bug number.
31811
31812 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31813
31814         [BZ #14519]
31815         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31816         underflowing exponent in case of negative sign.
31817         * stdlib/tst-strtod-round-data: Add more tests.
31818         * stdlib/tst-strtod-round.c (tests): Regenerated.
31819
31820         [BZ #3479]
31821         * stdlib/strtod_l.c (NDIG): Remove.
31822         (HEXNDIG): Likewise.
31823         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31824         smallest representable value.
31825         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31826         lie within an exact representation of 1/2 ulp of the result.
31827         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31828         unconditionally.
31829         (TENS_P9_IDX): Define unconditionally.
31830         (TENS_P9_SIZE): Likewise.
31831         (TENS_P10_IDX): Likewise.
31832         (TENS_P10_SIZE): Likewise.
31833         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31834         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31835         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31836         entries for 10^2^13 and 10^2^14.
31837         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31838         (TENS_P13_IDX): Define.
31839         (TENS_P13_SIZE): Likewise.
31840         (TENS_P14_IDX): Likewise.
31841         (TENS_P14_SIZE): Likewise.
31842         (_fpioconst_pow10): Change array size to
31843         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31844         unconditional.
31845         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31846         1024]: Add entries for 10^2^13 and 10^2^14.
31847         [LAST_POW10 > _LAST_POW10]: Remove #error.
31848         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31849         (_fpioconst_pow10): Change array size to
31850         FPIOCONST_POW10_ARRAY_SIZE.
31851         * stdlib/gen-fpioconst.c: New file.
31852         * stdlib/gen-tst-strtod-round.c: Likewise.
31853         * stdlib/tst-strtod-round-data: Likewise.
31854         * stdlib/tst-strtod-round.c: Likewise.
31855         * stdlib/Makefile (tests): Add tst-strtod-round.
31856
31857         [BZ #14459]
31858         * stdlib/strtod_l.c: Include <stdint.h>.
31859         (NDEBUG): Do not define.
31860         (round_and_return): Change EXPONENT parameter to type intmax_t.
31861         Rearrange calculations to avoid internal overflow possibilities.
31862         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31863         Rearrange calculations to avoid internal overflow possibilities.
31864         Assert that number fits inside MPNSIZE limbs.
31865         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31866         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31867         calculations and add assertions to avoid internal overflow
31868         possibilities.  Add casts to avoid signed/unsigned operations.
31869         * stdlib/tst-strtod-overflow.c: New file.
31870         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31871
31872 2012-08-25  Marek Polacek  <polacek@redhat.com>
31873
31874         * time/time.h: Fix some typos in comments.
31875
31876 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31877
31878         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31879         * posix/tst-rfc3484-2.c: Likewise.
31880         * posix/tst-rfc3484-3.c: Likewise.
31881
31882 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31883
31884         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31885         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31886
31887 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31888
31889         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31890         #include of fxstatat64.c.
31891
31892 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31893
31894         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31895         * shadow/getspent_r.c: Likewise.
31896         * shadow/getspnam.c: Likewise.
31897         * shadow/getspnam_r.c: Likewise.
31898         * gshadow/getsgent.c: Likewise.
31899         * gshadow/getsgent_r.c: Likewise.
31900         * gshadow/getsgnam.c: Likewise.
31901         * gshadow/getsgnam_r.c: Likewise.
31902         * inet/getnetbyad.c: Likewise.
31903         * inet/getnetbyad_r.c: Likewise.
31904         * inet/getnetbynm.c: Likewise.
31905         * inet/getnetbynm_r.c: Likewise.
31906         * inet/getnetent.c: Likewise.
31907         * inet/getnetent_r.c: Likewise.
31908         * inet/getproto.c: Likewise.
31909         * inet/getproto_r.c: Likewise.
31910         * inet/getprtent.c: Likewise.
31911         * inet/getprtent_r.c: Likewise.
31912         * inet/getprtname.c: Likewise.
31913         * inet/getprtname_r.c: Likewise.
31914         * inet/getrpcbyname.c: Likewise.
31915         * inet/getrpcbyname_r.c: Likewise.
31916         * inet/getrpcbynumber.c: Likewise.
31917         * inet/getrpcbynumber_r.c: Likewise.
31918         * inet/getrpcent.c: Likewise.
31919         * inet/getrpcent_r.c: Likewise.
31920         * inet/getaliasent.c: Likewise.
31921         * inet/getaliasent_r.c: Likewise.
31922         * inet/getaliasname.c: Likewise.
31923         * inet/getaliasname_r.c: Likewise.
31924         * nscd/getgrgid_r.c: Likewise.
31925         * nscd/getgrnam_r.c: Likewise.
31926         * nscd/gethstbyad_r.c: Likewise.
31927         * nscd/gethstbynm3_r.c: Likewise.
31928         * nscd/getpwnam_r.c: Likewise.
31929         * nscd/getpwuid_r.c: Likewise.
31930         * nscd/getsrvbynm_r.c: Likewise.
31931         * nscd/getsrvbypt_r.c: Likewise.
31932         * nscd/gai.c: Likewise.
31933
31934         * configure.in (build_nscd): New substituted variable, set
31935         by --disable-build-nscd and defaults to $use_nscd.
31936         * configure: Regenerated.
31937         * config.make.in (build-nscd): New substituted variable.
31938         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31939         Change conditional to require [$(build-nscd) = yes] as well.
31940         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31941
31942         [BZ# 13696]
31943         * configure.in (use_nscd): New substituted variable, set by
31944         --disable-nscd.  If enabled, define USE_NSCD.
31945         * configure: Regenerated.
31946         * config.h.in: Add USE_NSCD.
31947         * config.make.in (use-nscd): New substituted variable.
31948         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31949         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31950         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31951         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31952         (CFLAGS-getgrnam_r.c): Likewise.
31953         (CFLAGS-initgroups.c): Likewise.
31954         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31955         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31956         Variables removed.
31957         * inet/getnetgrent_r.c
31958         (nscd_setnetgrent): New function, broken out of ...
31959         (setnetgrent): ... here.  Call it.
31960         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31961         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31962         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31963         * nscd/Makefile (routines, aux): Move definitions after include of
31964         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31965         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31966         Conditionalize on [USE_NSCD].
31967         (is_nscd, nscd_init_cb): Likewise.
31968         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31969         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31970         * nss/nss_db/db-init.c: Likewise.
31971         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31972         [USE_NSCD].
31973         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31974         (make_request): Use it.
31975         (cache_valid_p): New function.
31976         (__check_pf): Use it.
31977         * NEWS: Add item for --disable-nscd.
31978
31979 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31980
31981         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31982         to support sed >= 4.2.1-20-ga9bf076.
31983         * configure: Regenerated.
31984
31985 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31986
31987         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31988         Conditionalize whole body on [IREL].
31989
31990 2012-08-22  Jeff Law <law@redhat.com>
31991
31992         [BZ #14505]
31993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31994         if the family is PF_UNSPEC.
31995
31996 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31997
31998         * Makerules (lib-version): Rename from V.
31999         (install-lib-nosubdir): Change V to lib-version.
32000
32001 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32002
32003         [BZ #14252]
32004         * powerpc32/power6/wcschr.c: New file.
32005         * powerpc32/power6/wcscpy.c: New file.
32006         * powerpc32/power6/wcsrchr.c: New file.
32007         * powerpc64/power6/wcschr.c: New file.
32008         * powerpc64/power6/wcscpy.c: New file.
32009         * powerpc64/power6/wcsrchr.c: New file.
32010
32011 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32012
32013         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32014         (two_way_short_needle): Use it.
32015         * string/strstr.c (AVAILABLE1_USES_J): Define.
32016         * string/strcasestr.c: Likewise.
32017
32018         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32019         array references.
32020         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32021
32022         [BZ #11607]
32023         * NEWS: Add an entry.
32024         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32025         define their defaults.
32026         (two_way_short_needle): Detect end-of-string on-the-fly.
32027         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32028         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32029         * string/bug-strcasestr1.c: New test.
32030         * string/Makefile: Run it.
32031
32032 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32033
32034         [BZ #11607]
32035         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32036         the first character.
32037
32038 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32039
32040         * csu/elf-init.c (__libc_csu_irel): Function removed.
32041         * csu/libc-start.c (apply_irel): New function.
32042         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32043
32044 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32045
32046         * sysdeps/unix/sysv/linux/kernel-features.h
32047         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32048         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32049         <kernel-features.h>.
32050         [__NR_fadvise64_64]: Make code unconditional.
32051         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32052         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32053         !__NR_fadvise64_64)]: Likewise.
32054         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32055         !__NR_fadvise64_64))]: Likewise.
32056         [__NR_fadvise64]: Make code unconditional.
32057         [!__NR_fadvise64]: Remove conditional code.
32058         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32059         <kernel-features.h>.
32060         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32061         unconditional.
32062         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32063         conditional code.
32064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32065         not include <kernel-features.h>.
32066         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32067         unconditional.
32068         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32069         conditional code.
32070         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32071         include <kernel-features.h>.
32072         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32073         unconditional.
32074         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32075         conditional code.
32076
32077 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32078
32079         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32080         slight instruction rearrangements per scrollpipe analysis.
32081         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32082
32083 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32084
32085         * manual/syslog.texi (syslog; vsyslog, closelog):
32086         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32087         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32088
32089         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32090         DSOCAPS to match condition on defining it.
32091
32092 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32093
32094         * sysdeps/unix/sysv/linux/kernel-features.h
32095         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32097         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32098         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32100         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32101         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32103         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32104         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32105
32106         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32107         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32108
32109         * sysdeps/unix/sysv/linux/kernel-features.h
32110         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32111         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32112         unconditional.
32113         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32114         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32115         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32116         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32117         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32118         Make code unconditional.
32119         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32120         (__mmap64) [!__NR_mmap2]: Likewise.
32121         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32122         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32123         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32124         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32125         [__NR_mmap2]: Make code unconditional.
32126         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32127         (__mmap64) [!__NR_mmap2]: Likewise.
32128
32129 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32130
32131         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32132
32133 2012-08-18  Andreas Jaeger  <aj@suse.de>
32134
32135         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32136
32137 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32138
32139         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32140         * include/unistd.h (__have_sock_cloexec): Likewise.
32141         (__have_pipe2): Likewise.
32142         (__have_dup3): Likewise.
32143
32144 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32145
32146         [BZ #9685]
32147         * include/unistd.h (__have_pipe2): Change define into an extern int.
32148         (__have_dup3): Likewise.
32149         * socket/have_sock_cloexec.c: Include fcntl.h.
32150         (__have_pipe2): New variable.
32151         (__have_dup3): Likewise.
32152
32153 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32154
32155         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32156
32157 2012-08-17  Marek Polacek  <polacek@redhat.com>
32158
32159         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32160         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32161
32162 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32163
32164         * configure.in: Add AC_SUBST for sysheaders.
32165         * configure: Regenerated.
32166         * config.make.in (sysheaders): New substituted variable.
32167
32168         * sysdeps/unix/mkfifo.c: Moved ...
32169         * sysdeps/posix/mkfifo.c: ... here.
32170         * sysdeps/unix/mkfifoat.c: Moved ...
32171         * sysdeps/posix/mkfifoat.c: ... here.
32172
32173         * sysdeps/unix/utime.c: Moved ...
32174         * sysdeps/posix/utime.c: ... here.
32175
32176         * sysdeps/unix/time.c: Moved ...
32177         * sysdeps/posix/time.c: ... here.
32178         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32179         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32180
32181         * sysdeps/unix/nice.c: Moved ...
32182         * sysdeps/posix/nice.c: ... here.
32183
32184         * sysdeps/unix/alarm.c: Moved ...
32185         * sysdeps/posix/alarm.c: ... here.
32186
32187         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32188
32189 2012-08-17  Jeff Law <law@redhat.com>
32190
32191         * intl/Makefile (codeset_mo): New variable.
32192         ($(codeset_mo)): New target.
32193         (tst-codeset.out): Depend on that.  Remove explicit rule.
32194         (tst-gettext3.out, tst-gettext5.out): Likewise.
32195         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32196         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32197         * intl/tst-codeset.sh: Remove.
32198         * intl/tst-gettext3.sh: Likewise.
32199         * intl/tst-gettext5.sh: Likewise.
32200
32201 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32202
32203         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32204         * sysdeps/unix/syscalls.list: ... here.
32205
32206         * sysdeps/posix/getaddrinfo.c
32207         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32208         (gaiconf_init, gaiconf_reload): Use them.
32209         [!_STATBUF_ST_NSEC]
32210         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32211         Define using time_t rather than struct timespec.
32212
32213         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32214         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32215         Macros removed.
32216         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32217         [!NO_THREADS].
32218         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32219         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32220         Likewise.
32221
32222         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32223         __libc_cleanup_push argument.
32224
32225         * bits/param.h: New file.
32226         * misc/sys/param.h: New file.
32227         * include/sys/param.h: New file.
32228         * misc/Makefile (headers): Add bits/param.h.
32229         * sysdeps/generic/sys/param.h: File removed.
32230         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32231         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32232         * sysdeps/mach/hurd/bits/param.h: New file.
32233         * sysdeps/mach/hurd/sys/param.h: File removed.
32234
32235         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32236         last change.
32237
32238         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32239         [_IO_MTSAFE_IO].
32240         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32241         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32242         New macros.
32243
32244         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32245         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32246         rather than -D_IO_MTSAFE_IO conditionally.
32247         * stdio-common/Makefile (CPPFLAGS): Likewise.
32248         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32249         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32250         Use $(libio-mtsafe).
32251         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32252         of -D_IO_MTSAFE_IO.
32253         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32254         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32255         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32256         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32257         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32258         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32259         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32260         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32261         (CFLAGS-fread_u_chk.c): Likewise.
32262         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32263         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32264         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32265         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32266         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32267         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32268         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32269         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32270         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32271
32272         * libio/Makefile: Test [$(libc-reentrant) = yes]
32273         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32274
32275         * Makeconfig
32276         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32277         * sysdeps/pthread/configure: File removed.
32278         * sysdeps/pthread/Makeconfig: New file.
32279         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32280         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32281
32282 2012-08-16  Gary Benson  <gbenson@redhat.com>
32283
32284         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32285         unmapping the first object in a namespace.
32286
32287 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32288
32289         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32290         (__internal_setnetgrent): ... this.  Add internal_function to
32291         definition.  Add libc_hidden_def.
32292         (setnetgrent): Update caller.
32293         (internal_endnetgrent): Renamed to ...
32294         (__internal_endnetgrent): ... this.  Add internal_function to
32295         definition.  Add libc_hidden_def.
32296         (endnetgrent): Update caller.
32297         (internal_getnetgrent_r): Renamed to ...
32298         (__internal_getnetgrent_r): ... this.  Add internal_function to
32299         definition.  Add libc_hidden_def.
32300         (__getnetgrent_r): Update caller.
32301         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32302
32303 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32304
32305         * stdlib/longlong.h: Update from GCC.
32306
32307 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32308
32309         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32310         on _QL, which is set by umul_ppmm but never used.
32311         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32312         variables, which are set by GMP macros but never used.
32313         * stdio-common/_itowa.c (_itowa): Likewise.
32314         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32315         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32316
32317 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32318
32319         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32320         struct La_sh_regs is not constant.
32321         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32322         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32323         and struct La_sparc64_regs are not constant.
32324
32325 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32326
32327         * sysdeps/unix/sysv/linux/kernel-features.h
32328         (__ASSUME_POSIX_TIMERS): Remove.
32329         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32331         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32332         Make code unconditional.
32333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32334         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32335         Make code unconditional.
32336         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32337         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32338         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32339         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32340         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32341         Make code unconditional.
32342         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32343         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32344         (__libc_missing_posix_timers): Remove.
32345
32346 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32347
32348         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32349         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32350
32351         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32352
32353         * elf/dl-sym.c: Include <stdlib.h>.
32354
32355         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32356         constants, which avoids warnings in 32-bit builds.
32357
32358         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32359         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32360
32361         * misc/lseek.c: File moved to ...
32362         * io/lseek.c: ... here.
32363
32364         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32365
32366         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32367         shifting LEN more than 31 bits at once.
32368
32369 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32370
32371         [BZ #14195]
32372         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32373         segmentation fault for a case of two empty input strings.
32374         * string/test-strncasecmp.c (check1): Renamed to...
32375         (bz12205): ...this.
32376         (bz14195): Add new testcase for two empty input strings and N > 0.
32377         (test_main): Call new testcase, adapt for renamed function.
32378
32379 2012-08-15  Andreas Jaeger  <aj@suse.de>
32380
32381         [BZ #14090]
32382         * crypt/md5test2.c: New test, based on test supplied by Serge
32383         Belyshev <belyshev@depni.sinp.msu.ru>.
32384         * crypt/Makefile (xtests): Add md5test-giant..
32385         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32386
32387 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32388
32389         [BZ #14090]
32390         * crypt/md5.c (md5_process_block): Don't assume the buffer
32391         length is less than 2**32.
32392         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32393         length is less than 2**64.
32394
32395 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32396
32397         * string/str-two-way.h: Include <sys/param.h>.
32398         (MAX): Macro removed.
32399
32400         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32401         Move #define and #undef of memmove to just before and after
32402         including <string.h>.
32403
32404         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32405         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32406         and after including <string.h>.  Move declarations of
32407         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32408         to before #include "string/memmove.c".
32409
32410         * include/dirent.h: Declare __getdirentries.
32411
32412         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32413         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32414
32415 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32416
32417         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32418         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32419         * sysdeps/i386/configure: Regenerated.
32420         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32421         STABS_CURRENT_FILE, and STABS_FUN.
32422         (END): Remove call to STABS_FUN_END.
32423         (STABS_CURRENT_FILE1): Delete.
32424         (STABS_CURRENT_FILE): Likewise.
32425         (STABS_FUN): Likewise.
32426         (STABS_FUN_END): Likewise.
32427         (STABS_FUN2): Likewise.
32428         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32429         * sysdeps/x86_64/configure: Regenerated.
32430
32431 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32432
32433         * elf/dl-open.c: Include <atomic.h>.
32434         * elf/dl-lookup.c: Likewise.
32435
32436 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32437
32438         * sysdeps/unix/sysv/linux/kernel-features.h
32439         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32440         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32441         unconditionally.
32442         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32443         unconditionally.
32444         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32445         condition on __ASSUME_CLONE_THREAD_FLAGS.
32446
32447 2012-08-14  Andreas Jaeger  <aj@suse.de>
32448
32449         * sysdeps/i386/fpu/libm-test-ulps: Update.
32450
32451 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32452
32453         * include/atomic.h (atomic_exchange_and_add): Split into ...
32454         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32455         New atomic macros.
32456
32457 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32458
32459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32460
32461 2012-08-13  Jeff Law <law@redhat.com>
32462
32463         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32464         null byte in the output string.
32465
32466 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32467
32468         * sysdeps/unix/sysv/linux/kernel-features.h
32469         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32470         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32471         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32472         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32473         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32474         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32475         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32476
32477 2012-08-09  Jeff Law <law@redhat.com>
32478
32479         [BZ #13939]
32480         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32481         When avoid_arena is set, don't retry in the that arena.  Pick the
32482         next one, whatever it might be.
32483         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32484         (arena_lock): Pass in new parameter to arena_get2.
32485         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32486         arena_get2.
32487         (__libc_malloc): Unify retrying after main arena failure with
32488         __libc_memalign version.
32489         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32490
32491 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32492
32493         [BZ #14166]
32494         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32495         to __redirect_strstr.
32496         (__strstr_sse42): Use typeof __redirect_strstr.
32497         (__strstr_ia32): Likewise.
32498         (__libc_strstr): New prototype.
32499         (strstr): Renamed to ...
32500         (__libc_strstr): This.
32501         (strstr): New strong alias of __libc_strstr.
32502         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32503         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32504         __redirect_time.
32505         Include <time.h>.
32506         (__libc_time): New prototype.
32507         (time_ifunc): Replace time with __libc_time.
32508         (time): New strong alias and hidden definition of __libc_time.
32509         (__GI_time): Remove strong alias.
32510         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32511         Include <stddef.h>.
32512         (memmove): Redefined to __redirect_memmove.
32513         (__memmove_sse2): Use typeof __redirect_memmove.
32514         (__memmove_ssse3): Likewise.
32515         (__memmove_ssse3_back): Likewise.
32516         (__libc_memmove): New prototype.
32517         (memmove): Renamed to ...
32518         (__libc_memmove): This.
32519         (memmove): New strong alias of __libc_memmove.
32520
32521 2012-08-08  Mark Salter  <msalter@redhat.com>
32522
32523         * elf/elf.h
32524         (R_MN10300_TLS_GD): Define.
32525         (R_MN10300_TLS_LD): Likewise.
32526         (R_MN10300_TLS_LDO): Likewise.
32527         (R_MN10300_TLS_GOTIE): Likewise.
32528         (R_MN10300_TLS_IE): Likewise.
32529         (R_MN10300_TLS_LE): Likewise.
32530         (R_MN10300_TLS_DTPMOD): Likewise.
32531         (R_MN10300_TLS_DTPOFF): Likewise.
32532         (R_MN10300_TLS_TPOFF): Likewise.
32533         (R_MN10300_SYM_DIFF): Likewise.
32534         (R_MN10300_ALIGN): Likewise.
32535         (R_MN10300_NUM): Update.
32536
32537 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32538
32539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32540         Remove.
32541
32542 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32543
32544         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32545
32546         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32547         sysdeps/unix -> sysdeps/posix move.
32548         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32549
32550 2012-08-07      Allan McRae     <allan@archlinux.org>
32551
32552         [BZ #14303]
32553         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32554         (SUNOS_CPP): Likewise.
32555         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32556         not found.
32557         (open_input): Call CPP using execvp.
32558
32559 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32560
32561         * sysdeps/unix/sysv/linux/kernel-features.h
32562         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32563         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32564         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32565         (__ASSUME_WAITID_SYSCALL): Likewise.
32566         * sysdeps/unix/sysv/linux/dl-execstack.c
32567         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32568         code unconditional.
32569         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32570         conditional code.
32571         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32572         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32573         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32574         code.
32575         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32576         unconditional.
32577         [__ASSUME_WAITID_SYSCALL]: Likewise.
32578         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32579
32580 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32581
32582         * sysdeps/unix/closedir.c: Renamed to ...
32583         * sysdeps/posix/closedir.c: ... here.
32584         * sysdeps/unix/dirfd.c: Renamed to ...
32585         * sysdeps/posix/dirfd.c: ... here.
32586         * sysdeps/unix/dirstream.h: Renamed to ...
32587         * sysdeps/posix/dirstream.h: ... here.
32588         * sysdeps/unix/fdopendir.c: Renamed to ...
32589         * sysdeps/posix/fdopendir.c: ... here.
32590         * sysdeps/unix/opendir.c: Renamed to ...
32591         * sysdeps/posix/opendir.c: ... here.
32592         * sysdeps/unix/readdir.c: Renamed to ...
32593         * sysdeps/posix/readdir.c: ... here.
32594         * sysdeps/unix/readdir_r.c: Renamed to ...
32595         * sysdeps/posix/readdir_r.c: ... here.
32596         * sysdeps/unix/rewinddir.c: Renamed to ...
32597         * sysdeps/posix/rewinddir.c: ... here.
32598         * sysdeps/unix/seekdir.c: Renamed to ...
32599         * sysdeps/posix/seekdir.c: ... here.
32600         * sysdeps/unix/telldir.c: Renamed to ...
32601         * sysdeps/posix/telldir.c: ... here.
32602         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32603         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32604         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32605         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32606
32607         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32608         * bits/fcntl.h: ... here.
32609
32610         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32611         not 0.
32612         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32613         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32614         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32615         (struct flock): Move l_start, l_len to the beginning.
32616         Use __pid_t for l_pid.
32617         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32618         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32619         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32620         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32621         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32622         [__USE_LARGEFILE64] (struct flock64): New type.
32623         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32624
32625         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32626         * bits/dirent.h: ... here.
32627
32628         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32629         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32630
32631 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32632
32633         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32634         Change from 2.6.0 to 2.6.16.
32635         * sysdeps/unix/sysv/linux/configure: Regenerated.
32636         * sysdeps/unix/sysv/linux/kernel-features.h
32637         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32638         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32639         version.
32640         (__ASSUME_UTIMES): Likewise.
32641         (__ASSUME_CLONE_STOPPED): Remove.
32642         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32643         architectures, not kernel version.
32644         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32645         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32646         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32647         (__ASSUME_WAITID_SYSCALL): Likewise.
32648         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32649         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32650         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32651         refer to older versions.
32652
32653 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32654
32655         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32656         Define alphasort64 as an alias.
32657         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32658         Define versionsort64 as an alias.
32659         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32660         Define scandir64 as an alias.
32661         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32662         Define scandirat64 as an alias.
32663         * dirent/alphasort64.c (alphasort64):
32664         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32665         * dirent/versionsort64.c: Likewise.
32666         * dirent/scandir64.c: Likewise.
32667         * dirent/scandirat64.c: Likewise.
32668         * sysdeps/wordsize-64/alphasort.c: File removed.
32669         * sysdeps/wordsize-64/alphasort64.c: File removed.
32670         * sysdeps/wordsize-64/scandir.c: File removed.
32671         * sysdeps/wordsize-64/scandir64.c: File removed.
32672         * sysdeps/wordsize-64/scandirat.c: File removed.
32673         * sysdeps/wordsize-64/scandirat64.c: File removed.
32674         * sysdeps/wordsize-64/versionsort.c: File removed.
32675         * sysdeps/wordsize-64/versionsort64.c: File removed.
32676         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32677         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32678         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32679         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32680         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32681         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32682         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32683         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32684
32685         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32687         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32688         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32689         [defined __arch64__ || defined __sparcv9]
32690         (__INO_T_MATCHES_INO64_T): New macro.
32691         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32692         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32693         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32694         * sysdeps/unix/sysv/linux/bits/dirent.h
32695         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32696         (_DIRENT_MATCHES_DIRENT64): New macro.
32697
32698         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32699         Define lockf64 as an alias.
32700         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32701         Define fseeko64 as an alias.
32702         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32703         Define ftello64 as an alias.
32704         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32705         Define _IO_fgetpos64 and fgetpos64 as aliases.
32706         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32707         Define _IO_fsetpos64 and fsetpos64 as aliases.
32708         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32709         Conditionalize body on this.
32710         * libio/fseeko64.c: Likewise.
32711         * libio/ftello64.c: Likewise.
32712         * libio/iofgetpos64.c: Likewise.
32713         * libio/iofsetpos64.c: Likewise.
32714         * sysdeps/wordsize-64/lockf.c: File removed.
32715         * sysdeps/wordsize-64/lockf64.c: File removed.
32716         * sysdeps/wordsize-64/fseeko.c: File removed.
32717         * sysdeps/wordsize-64/fseeko64.c: File removed.
32718         * sysdeps/wordsize-64/ftello.c: File removed.
32719         * sysdeps/wordsize-64/ftello64.c: File removed.
32720         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32721         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32722         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32723         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32724         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32725         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32726         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32727         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32728         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32729         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32730         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32731         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32732         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32733         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32734
32735         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32736         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32737         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32738         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32739         [defined __arch64__ || defined __sparcv9]
32740         (__OFF_T_MATCHES_OFF64_T): New macro.
32741         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32742         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32744         (__OFF_T_MATCHES_OFF64_T): New macro.
32745
32746 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32747
32748         * stdlib/secure-getenv.c (__secure_getenv): Replace
32749         GLIBC_2_16 with GLIBC_2_17.
32750
32751 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32752
32753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32754         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32755
32756 2012-08-03  David S. Miller  <davem@davemloft.net>
32757
32758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32759
32760 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32761
32762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32763         Remove.
32764         (__ASSUME_CORRECT_SI_PID): Likewise.
32765         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32766         (__ASSUME_TMPFS_NAME): Likewise.
32767         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32768         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32769         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32770         (HAVE_AUX_SECURE): Make definition unconditional.
32771         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32772         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32773
32774 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32775
32776         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32777         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32778         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32779         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32780         __eloop_threshold instead of SYMLOOP_MAX.
32781
32782         * sysdeps/generic/eloop-threshold.h: New file.
32783         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32784         of MAXSYMLINKS.
32785         * elf/chroot_canon.c (chroot_canon): Likewise.
32786
32787 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32788
32789         [BZ #13717]
32790         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32791         Change to 2.6.0 everywhere.
32792         * sysdeps/unix/sysv/linux/configure: Regenerated.
32793         * sysdeps/unix/sysv/linux/kernel-features.h
32794         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32795         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32796         kernel versions.
32797         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32798         (__ASSUME_FUTEX_REQUEUE): Remove.
32799         (__ASSUME_STATFS64): Define unconditionally.
32800         (__ASSUME_AT_SECURE): Likewise.
32801         (__ASSUME_CORRECT_SI_PID): Likewise.
32802         (__ASSUME_TGKILL): Define without depending on kernel version for
32803         i386.
32804         (__ASSUME_UTIMES): Likewise.
32805         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32806         kernel version.
32807         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32808         (__ASSUME_TMPFS_NAME): Likewise.
32809         * README: Update reference to Linux kernel versions.
32810
32811 2012-08-02  Marek Polacek  <polacek@redhat.com>
32812
32813         [BZ# 14150]
32814         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32815         libc_cv_asm_type_prefix with %.
32816         * configure: Regenerated.
32817         * include/libc-symbols.h: Remove comment about
32818         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32819         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32820         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32821         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32822         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32823         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32824         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32825         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32826         * elf/tst-unique2mod1.c: Likewise.
32827         * elf/tst-unique1mod2.c: Likewise.
32828         * elf/tst-unique1mod1.c: Likewise.
32829         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32830         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32831         Replace ASM_TYPE_DIRECTIVE with .type.
32832         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32833         * sysdeps/i386/sysdep.h: Likewise.
32834         * sysdeps/x86_64/sysdep.h: Likewise.
32835         * sysdeps/sh/sysdep.h: Likewise.
32836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32837         Do not define ASM_TYPE_DIRECTIVE.
32838         * sysdeps/powerpc/sysdep.h: Likewise.
32839         * sysdeps/powerpc/powerpc32/sysdep.h:
32840         Replace ASM_TYPE_DIRECTIVE with .type.
32841         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32842         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32843         * sysdeps/i386/fpu/e_powf.S: Likewise.
32844         * sysdeps/i386/fpu/e_expl.S: Likewise.
32845         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32846         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32847         * sysdeps/i386/fpu/e_pow.S: Likewise.
32848         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32849         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32850         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32851         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32852         * sysdeps/i386/fpu/e_log2.S: Likewise.
32853         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32854         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32855         * sysdeps/i386/fpu/e_powl.S: Likewise.
32856         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32857         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32858         * sysdeps/i386/fpu/e_logl.S: Likewise.
32859         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32860         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32861         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32862         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32863         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32864         * sysdeps/i386/fpu/e_log.S: Likewise.
32865         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32866         * sysdeps/i386/fpu/e_logf.S: Likewise.
32867         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32868         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32869         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32870         * sysdeps/i386/fpu/e_log10.S: Likewise.
32871         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32872         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32873         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32874         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32875         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32876         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32877         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32878         * sysdeps/i386/i686/strtok.S: Likewise.
32879         * sysdeps/i386/i386-mcount.S: Likewise.
32880         * sysdeps/i386/strtok.S: Likewise.
32881         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32882         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32884         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32885         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32886         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32887         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32888         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32889         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32890         * sysdeps/x86_64/_mcount.S: Likewise.
32891         * sysdeps/x86_64/strtok.S: Likewise.
32892         * sysdeps/sh/_mcount.S: Likewise.
32893
32894 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32895
32896         * libio/iofopen.c: Include <fcntl.h>.
32897         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32898         (_IO_fopen64, fopen64): Define as aliases.
32899         * libio/iofopen64.c: Include <fcntl.h>.
32900         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32901         Conditionalize body on this.
32902         * sysdeps/wordsize-64/iofopen.c: File removed.
32903         * sysdeps/wordsize-64/iofopen64.c: File removed.
32904
32905 2012-08-01  Marek Polacek  <polacek@redhat.com>
32906
32907         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32908         Use dlfcn directly instead of a variable.
32909         (binfmt-subdir): Do not define.
32910         (dlfcn): Likewise.
32911
32912 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32913
32914         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32915         Remove all definitions.
32916         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32917         <kernel-features.h>.
32918         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32919         (miss_F_GETOWN_EX): Remove all definitions.
32920         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32921         macro definition.
32922         [!__ASSUME_FCNTL64]: Remove conditional code.
32923         [__ASSUME_FCNTL64]: Make code unconditional.
32924         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32925         <kernel-features.h>.
32926         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32927         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32928         (lockf64) [__NR_fcntl64]: Make code unconditional.
32929         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32930
32931         * sysdeps/unix/sysv/linux/kernel-features.h
32932         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32933         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32934         Make code unconditional.
32935         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32936         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32938         [__NR_vfork]: Make code unconditional.
32939         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32940         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32942         [__NR_vfork]: Make code unconditional.
32943         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32944         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32945
32946 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32947
32948         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32949         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32950
32951         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32952         Define mkstemp64 as an alias.
32953         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32954         Define mkstemps64 as an alias.
32955         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32956         Define mkostemp64 as an alias.
32957         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32958         Define mkostemps64 as an alias.
32959         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32960         Conditionalize body on this.
32961         * misc/mkostemp64.c: Likewise.
32962         * misc/mkostemps64.c: Likewise.
32963         * misc/mkstemps64.c: Likewise.
32964         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32965         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32966         * sysdeps/wordsize-64/mkostemp.c: File removed.
32967         * sysdeps/wordsize-64/mkstemp.c: File removed.
32968         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32969         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32970         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32971         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32972
32973         [BZ #14138]
32974         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32975         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32976         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32977         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32978
32979         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32980         compat_symbol macros from <shlib-compat.h> rather than the underlying
32981         default_symbol_version and symbol_version macros, so that DEFAULT
32982         lines in shlib-versions are respected.
32983         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32984
32985 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32986
32987         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32988         Declare with warn_unused_result.
32989         (setgid, setregid, setegid, setresgid): Likewise.
32990         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32991         Likewise.
32992         * WUR-REPORT: Remove set*id functions.
32993
32994 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32995
32996         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32997
32998 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32999
33000         [BZ #10191]
33001         * include/sys/socket.h (__libc_accept, __libc_accept4):
33002         Add attribute_hidden.
33003         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33004
33005         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33006         use of PTR_MANGLE.
33007         * inet/getnetgrent_r.c (setup): Likewise.
33008
33009         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33010
33011 2012-07-31  David S. Miller  <davem@davemloft.net>
33012
33013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33014
33015 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33016
33017         [BZ #13629]
33018         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33019         value between 1.0 and 2.0 and smaller part has absolute value less
33020         than 1.0.
33021         * math/s_clog10.c (__clog10): Likewise.
33022         * math/s_clog10f.c (__clog10f): Likewise.
33023         * math/s_clog10l.c (__clog10l): Likewise.
33024         * math/s_clogf.c (__clogf): Likewise.
33025         * math/s_clogl.c (__clogl): Likewise.
33026         * math/libm-test.inc (clog_test): Add more tests.
33027         (clog10_test): Likewise.
33028         * sysdeps/i386/fpu/libm-test-ulps: Update.
33029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33030
33031 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33032
33033         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33034         Exit with zero in case no suitable GID is found, and write a
33035         message to standard error.
33036
33037 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33038
33039         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33040         rather than to 1.
33041         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33042         (MAXPATHLEN): Removed.
33043         (NOGROUP, NODEV): New macros.
33044         (setbit, clrbit, isset, isclr): New macros.
33045         (howmany, roundup, powerof2): New macros.
33046         (DEV_BSIZE): New macro.
33047
33048         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33049         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33050
33051         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33052         definition on [!__NO_LONG_DOUBLE_MATH].
33053
33054         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33055         PTR_MANGLE and PTR_DEMANGLE.
33056
33057         * socket/accept4.c (accept4): Rename to __libc_accept4.
33058         Define accept4 as a weak alias.
33059
33060         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33061         on [_DIRENT_HAVE_D_TYPE].
33062         * io/ftw.c (ftw_dir): Likewise.
33063
33064         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33065
33066         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33067
33068         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33069         Use the BSD numbers rather than the arbitrary ones we had.
33070         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33071         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33072         (SIGXCPU, SIGXFSZ): New macros.
33073         (_NSIG): Now 32.
33074
33075         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33076         initializer on [_LIBC_REENTRANT].
33077
33078         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33079         definitions inside [_POSIX_MAPPED_FILES].
33080
33081         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33082
33083         * dirent/opendir.c: Include <fcntl.h>.
33084
33085         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33086         (__libc_getspecific): Likewise.
33087         (__libc_key_create): Likewise.
33088
33089         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33090         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33091         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33092         (tmpfile64): Define as alias.
33093         * sysdeps/wordsize-64/tmpfile.c: File removed.
33094         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33095         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33096         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33097
33098         * stdio-common/vfscanf.c: Include <stdbool.h>.
33099         * nss/makedb.c: Likewise.
33100         * stdio-common/_i18n_number.h: Likewise.
33101         * argp/argp-help.c: Likewise.
33102         * posix/wordexp.c: Likewise.
33103         * sysdeps/posix/spawni.c: Likewise.
33104         * nss/nss_files/files-initgroups.c: Likewise.
33105         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33106         * nss/nss_files/files-initgroups.c: Likewise.
33107         * nss/nss_db/db-netgrp.c: Likewise.
33108         * nss/nss_db/db-initgroups.c: Likewise.
33109         * io/fchmodat.c: Include <sys/stat.h>.
33110
33111         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33112         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33113
33114         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33115         [HAVE_MMAP].
33116
33117         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33118         Add multiple inclusion protection.
33119
33120 2012-07-27  David S. Miller  <davem@davemloft.net>
33121
33122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33123
33124 2012-07-27  Gary Benson  <gbenson@redhat.com>
33125
33126         [BZ #14298]
33127         * elf/rtld.c: Include <stap-probe.h>.
33128         (dl_main): Added static probes "init_start" and "init_complete".
33129         * elf/dl-load.c: Include <stap-probe.h>.
33130         (lose): Take new parameter "nsid".
33131         Added static probe "map_failed".
33132         (_dl_map_object_from_fd): Pass namespace id to lose.
33133         Added static probe "map_start".
33134         (open_verify): Pass namespace id to lose.
33135         * elf/dl-open.c: Include <stap-probe.h>.
33136         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33137         and "reloc_complete".
33138         * elf/dl-close.c: Include <stap-probe.h>.
33139         (_dl_close_worker): Added static probes "unmap_start" and
33140         "unmap_complete".
33141         * elf/rtld-debugger-interface.txt: New file documenting the above.
33142
33143 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33144
33145         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33146         rather than a string variable.
33147         * sunrpc/rpc_main.c (h_output): Likewise.
33148         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33149
33150 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33151
33152         * inet/check_native.c: New file.
33153
33154 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33155
33156         [BZ #13629]
33157         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33158         if larger part has absolute value 1.0.
33159         * math/s_clog10.c (__clog10): Likewise.
33160         * math/s_clog10f.c (__clog10f): Likewise.
33161         * math/s_clog10l.c (__clog10l): Likewise.
33162         * math/s_clogf.c (__clogf): Likewise.
33163         * math/s_clogl.c (__clogl): Likewise.
33164         * math/libm-test.inc (clog_test): Add more tests.
33165         (clog10_test): Likewise.
33166         * sysdeps/i386/fpu/libm-test-ulps: Update.
33167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33168
33169         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33170         (pltexit): Likewise.
33171         (La_regs): Likewise.
33172         (La_retval): Likewise.
33173         (int_retval): Likewise.
33174         Update #error for removed macros to refer only to definitions in
33175         tst-audit.h.
33176         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33177         macro.
33178         (pltexit): Likewise.
33179         (La_regs): Likewise.
33180         (La_retval): Likewise.
33181         (int_retval): Likewise.
33182         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33183         macro.
33184         (pltexit): Likewise.
33185         (La_regs): Likewise.
33186         (La_retval): Likewise.
33187         (int_retval): Likewise.
33188         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33189         macro.
33190         (pltexit): Likewise.
33191         (La_regs): Likewise.
33192         (La_retval): Likewise.
33193         (int_retval): Likewise.
33194         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33195         macro.
33196         (pltexit): Likewise.
33197         (La_regs): Likewise.
33198         (La_retval): Likewise.
33199         (int_retval): Likewise.
33200         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33201         macro.
33202         (pltexit): Likewise.
33203         (La_regs): Likewise.
33204         (La_retval): Likewise.
33205         (int_retval): Likewise.
33206         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33207         macro.
33208         (pltexit): Likewise.
33209         (La_regs): Likewise.
33210         (La_retval): Likewise.
33211         (int_retval): Likewise.
33212         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33213         macro definitions in tst-audit.h.
33214         * sysdeps/i386/tst-audit.h: New file.
33215         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33216         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33217         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33218         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33219         * sysdeps/sh/tst-audit.h: Likewise.
33220         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33221         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33222         * sysdeps/x86_64/tst-audit.h: Likewise.
33223
33224 2012-07-26  Andreas Jaeger  <aj@suse.de>
33225
33226         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33227         ptrace.
33228
33229         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33230         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33231         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33232         PTRACE_O_MASK.
33233         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33234         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33235         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33236
33237         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33238         value.
33239
33240         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33241         _sigsys.
33242         (si_call_addr, si_syscall, si_arch): Define new macro.
33243         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33244         _sigsys.
33245         (si_call_addr, si_syscall, si_arch): Define new marcro.
33246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33247         _sigsys.
33248         (si_call_addr, si_syscall, si_arch): Define new macro.
33249         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33250         _sigsys.
33251         (si_call_addr, si_syscall, si_arch): Define new macro.
33252
33253 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33254
33255         [BZ #13717]
33256         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33257         Change to 2.4.21 where previously 2.4.1.
33258         * sysdeps/unix/sysv/linux/configure: Regenerated.
33259         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33260         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33261         Linux kernel version.
33262         (__ASSUME_STD_AUXV): Remove.
33263         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33264         kernel version.
33265         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33266         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33267         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33268         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33269         (__ASSUME_NETLINK_SUPPORT): Likewise.
33270         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33271         (__no_netlink_support): Remove conditional definition.
33272         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33273         Remove.
33274         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33275         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33276         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33277         (if_nameindex_ioctl): Remove.
33278         (if_nameindex_netlink): Do not handle __no_netlink_support.
33279         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33280         code.
33281         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33282         Remove conditional code.
33283         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33284         code.
33285         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33286         unconditional.
33287         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33288         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33289         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33290         Remove.
33291         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33292         [!__ASSUME_STD_AUXV]: Remove conditional code.
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33294         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33295         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33297         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33298         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33299         code.
33300         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33302         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33303         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33304         conditional code.
33305         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33307         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33308         code.
33309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33310         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33311         conditional code.
33312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33313         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33314         code unconditional.
33315         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33316         conditional code.
33317         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33318         unconditional.
33319         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33320         conditional code.
33321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33322         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33323         unconditional.
33324         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33325         conditional code.
33326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33327         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33328         code unconditional.
33329         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33330         conditional code.
33331         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33332         unconditional.
33333         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33334         conditional code.
33335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33336         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33337         code unconditional.
33338         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33339         conditional code.
33340         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33341         unconditional.
33342         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33343         conditional code.
33344
33345 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33346
33347         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33348         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33349         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33350         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33351         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33352         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33353         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33354         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33355         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33356         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33357         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33358         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33359         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33360         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33361         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33362         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33363         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33364         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33365         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33367         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33368         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33370
33371 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33372
33373         * Versions.def: Add GLIBC_2.17.
33374         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33375         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33376         Introduce __libc_secure_getenv.
33377         * stdlib/Versions (2.17): Add secure_getenv
33378         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33379         * stdlib/secure-getenv.c: Rename __secure_getenv to
33380         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33381         symbol __secure_getenv for GLIBC_2.0.
33382         * stdlib/tst-secure-getenv.c: New.
33383         * stdlib/Makefile (tests): Add testcase.
33384         * manual/startup.texi (Environment Access): Document
33385         secure_getenv.
33386         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33387         __libc_secure_getenv.
33388         * inet/ruserpass.c (ruserpass): Likewise.
33389         * malloc/mtrace.c (mtrace): Likewise.
33390         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33391         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33392         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33393         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33394         HAVE_SECURE_GETENV.
33395         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33396         __secure_getenv to __libc_secure_getenv.
33397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33399         Likewise.
33400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33401         Likewise.
33402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33409
33410 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33411
33412         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33413         (struct La_i86_retval): Likewise.
33414         (struct La_x86_64_regs): Likewise.
33415         (struct La_x86_64_retval): Likewise.
33416         (struct La_x32_regs): Likewise.
33417         (struct La_x32_retval): Likewise.
33418         (struct La_ppc32_regs): Likewise.
33419         (struct La_ppc32_retval): Likewise.
33420         (struct La_ppc64_regs): Likewise.
33421         (struct La_ppc64_retval): Likewise.
33422         (struct La_sh_regs): Likewise.
33423         (struct La_sh_retval): Likewise.
33424         (struct La_s390_32_regs): Likewise.
33425         (struct La_s390_32_retval): Likewise.
33426         (struct La_s390_64_regs): Likewise.
33427         (struct La_s390_64_retval): Likewise.
33428         (struct La_sparc32_regs): Likewise.
33429         (struct La_sparc32_retval): Likewise.
33430         (struct La_sparc64_regs): Likewise.
33431         (struct La_sparc64_retval): Likewise.
33432         (struct audit_ifaces): Remove architecture-specific pltenter and
33433         pltexit members.
33434         * sysdeps/i386/ldsodefs.h: New file.
33435         * sysdeps/powerpc/ldsodefs.h: Likewise.
33436         * sysdeps/s390/ldsodefs.h: Likewise.
33437         * sysdeps/sh/ldsodefs.h: Likewise.
33438         * sysdeps/sparc/ldsodefs.h: Likewise.
33439         * sysdeps/x86_64/ldsodefs.h: Likewise.
33440
33441 2012-07-25  Marek Polacek  <polacek@redhat.com>
33442
33443         [BZ #6808]
33444         * math/libm-test.inc (yn_test): Add another test.
33445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33446         to ERANGE when the result is +-Inf.
33447         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33448         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33449         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33450         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33451
33452 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33453
33454         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33455         equal to 0.
33456         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33457         clock_t.
33458         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33459
33460 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33461
33462         * configure.in <sysdeps resolving>: Correct printing
33463         Implies_before.
33464         * configure: Regenerate.
33465
33466 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33467
33468         * math/w_ilogb.c: Include <limits.h>.
33469         * math/w_ilogbl.c: Likewise.
33470
33471 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33472
33473         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33474         va_copy.  Document allowing for unavailable va_copy only as
33475         pre-C99 compatibility.
33476         * manual/string.texi (Copying and Concatenation): Use va_copy
33477         instead of __va_copy in concat example.
33478
33479 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33480
33481         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33482         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33483         it if not null.
33484
33485         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33486         with O_NOLINK passed to __file_name_lookup.
33487
33488         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33489         with O_NOLINK passed to __file_name_lookup.
33490
33491         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33492         negative N or less than NGIDS.
33493
33494         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33495         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33496         enough.  Use memcpy instead of strncpy.
33497
33498 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33499
33500         * elf/Makefile (check-data): Remove.
33501         (localplt.data): New vpath directive.
33502         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33503         instead of $(check-data).
33504         * scripts/data/localplt-generic.data: Move to ...
33505         * sysdeps/generic/localplt.data: ... here.
33506         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33507         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33508         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33510         ... here.
33511         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33513         ... here.
33514         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33516         ... here.
33517         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33519         ... here.
33520         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33522         ... here.
33523         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33525         ... here.
33526
33527 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33528
33529         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33530         PPC32 and PPC64 files.
33531         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33532         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33533
33534 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33535
33536         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33537         __makecontext_ret to ...
33538         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33539         ... here and call exit if uc_link is NULL.  New file.
33540         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33541         __makecontext_ret.S.
33542         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33543         __makecontext_ret to ...
33544         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33545         ... here and call exit if uc_link is NULL.  New file.
33546         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33547         __makecontext_ret.S.
33548
33549 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33550
33551         * elf/elf.h (R_390_IRELATIVE): New definition.
33552         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33553         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33554         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33555         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33556         (elf_machine_lazy_rel): Likewise.
33557         * sysdeps/s390/dl-irel.h: New file.
33558         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33559         * sysdeps/s390/s390-64/memset.S: New asm code.
33560         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33561         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33562         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33563         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33564         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33565         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33566         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33567         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33568         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33569         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33570         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33571         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33572         * sysdeps/s390/s390-32/memset.S: New asm code.
33573         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33574
33575 2012-07-17  Marek Polacek  <polacek@redhat.com>
33576
33577         [BZ #14349]
33578         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33579         * sysdeps/s390/s390-64/configure.in: Likewise.
33580         * sysdeps/sparc/configure.in: Likewise.
33581         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33582         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33583         * sysdeps/i386/configure.in: Likewise.
33584         * sysdeps/x86_64/configure.in: Likewise.
33585         * sysdeps/sh/configure.in: Likewise.
33586         * sysdeps/s390/s390-32/configure: Regenerated.
33587         * sysdeps/s390/s390-64/configure: Likewise.
33588         * sysdeps/x86_64/configure: Likewise.
33589         * sysdeps/sh/configure: Likewise.
33590         * sysdeps/powerpc/powerpc64/configure: Likewise.
33591         * sysdeps/powerpc/powerpc32/configure: Likewise.
33592         * sysdeps/sparc/configure: Likwise.
33593         * sysdeps/i386/configure: Likewise.
33594
33595         * elf/dl-open.c: Comment fixes.
33596
33597 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33598
33599         * Makefile [CXX] (check-data): Remove.
33600         [CXX] (c++-types.data): New vpath directive.
33601         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33602         vpath.  Do not allow for C++ type data being missing.
33603         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33604         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33605         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33606         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33607         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33608         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33609         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33611         ... here.
33612         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33614         ... here.
33615         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33617         ... here.
33618         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33620         ... here.
33621         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33623         ... here.
33624         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33626         ... here.
33627         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33629         ... here.
33630         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33632
33633         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33634         definitions to architecture-specific files.
33635         (TLS_IE): Likewise.
33636         (TLS_LD): Likewise.
33637         (TLS_GD): Likewise.
33638         * sysdeps/i386/tls-macros.h: New file.
33639         * sysdeps/powerpc/tls-macros.h: Likewise.
33640         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33641         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33642         * sysdeps/sh/tls-macros.h: Likewise.
33643         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33644         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33645         * sysdeps/x86_64/tls-macros.h: Likewise.
33646
33647 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33648
33649         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33650         zero value for regular exit case.
33651
33652         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33653         (__start_context): Preserve zero value for regular exit case.
33654
33655 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33656             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33657
33658         * manual/setjmp.texi (setcontext): Clarify normal process
33659         termination when uc_link is the null pointer.
33660         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33661         exit call.
33662
33663 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33664
33665         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33666         preprocessor.  Test for each exception mask separately.
33667
33668 2012-07-16  Andreas Jaeger  <aj@suse.de>
33669
33670         * po/ru.po: Update from translation team.
33671
33672 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33673
33674         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33675         equal to 0.
33676         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33677         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33678         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33679         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33680         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33681
33682 2012-07-13  Andreas Jaeger  <aj@suse.de>
33683
33684         * po/fr.po: Update from translation team.
33685
33686 2012-07-12  Marek Polacek  <polacek@redhat.com>
33687
33688         [BZ #14173]
33689         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33690         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33691         loop condition.
33692
33693 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33694
33695         [BZ #13717]
33696         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33697         Change to 2.4.1 where previously 2.4.0.
33698         * sysdeps/unix/sysv/linux/configure: Regenerated.
33699         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33700         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33701         version.
33702         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33703         (__ASSUME_AT_CLKTCK): Remove.
33704         (__ASSUME_AT_PAGESIZE): Likewise.
33705         (__ASSUME_AT_XID): Likewise.
33706         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33707         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33708         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33709         unconditionally.
33710         (HAVE_AUX_PAGESIZE): Likewise.
33711         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33712         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33713         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33714
33715 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33716
33717         [BZ #14307]
33718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33719         the temporary buffer used to invoke __gethostbyname2_r,
33720         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33721         host_data / struct gaih_addrtuple.
33722         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33723         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33724         header file nss/nsswitch.h.
33725         * nss/nsswitch.h (global scope): Add definition of implementation
33726         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33727         resolv/nss_dns/dns-host.c).
33728
33729 2012-07-11  Andreas Jaeger  <aj@suse.de>
33730
33731         * po/fr.po: Update from translation team.
33732
33733         * po/sv.po: Update from translation team
33734         * po/fr.po: Another update from translation team.
33735
33736 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737
33738         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33739         for subnormals or multiply small sinh result by itself.
33740         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33742
33743 2012-07-11  David S. Miller  <davem@davemloft.net>
33744
33745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33746
33747 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33748
33749         [BZ #14347]
33750         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33751         (INTERNAL_MARK): Shift it here.
33752
33753 2012-07-10  Marek Polacek  <polacek@redhat.com>
33754
33755         [BZ #14151]
33756         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33757         libc_cv_asm_global_directive with .globl.
33758         * configure: Regenerated.
33759         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33760         with .globl.
33761         * sysdeps/i386/configure: Regenerated.
33762         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33763         with .globl.
33764         * sysdeps/x86_64/configure: Regenerated.
33765         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33766         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33767         * elf/tst-unique2mod2.c: Likewise.
33768         * elf/tst-unique2mod1.c: Likewise.
33769         * elf/tst-unique1mod2.c: Likewise.
33770         * elf/tst-unique1mod1.c: Likewise.
33771         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33772         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33773         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33774         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33775         * sysdeps/mach/sysdep.h: Likewise.
33776         * sysdeps/i386/sysdep.h: Likewise.
33777         * sysdeps/i386/i386-mcount.S: Likewise.
33778         * sysdeps/x86_64/_mcount.S: Likewise.
33779         * sysdeps/x86_64/sysdep.h: Likewise.
33780         * sysdeps/sh/_mcount.S: Likewise.
33781         * sysdeps/sh/sysdep.h: Likewise.
33782         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33783         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33784         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33785         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33786         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33787         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33788         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33789         * locale/localeinfo.h: Likewise.
33790         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33791         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33792
33793 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33794
33795         [BZ #14336]
33796         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33797         system".
33798         * manual/message.texi (The Uniforum approach): Likewise.
33799         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33800         (glibc iconv Implementation): Likewise.
33801
33802 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33803
33804         [BZ #14337]
33805         * math/s_clog.c (__clog): Avoid scaling a value down where that
33806         could result in underflow.
33807         * math/s_clog10.c (__clog10): Likewise.
33808         * math/s_clog10f.c (__clog10f): Likewise.
33809         * math/s_clog10l.c (__clog10l): Likewise.
33810         * math/s_clogf.c (__clogf): Likewise.
33811         * math/s_clogl.c (__clogl): Likewise.
33812         * math/libm-test.inc (clog_test): Add more tests.
33813         (clog10_test): Likewise.
33814         * sysdeps/i386/fpu/libm-test-ulps: Update.
33815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33816
33817 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33818
33819         [BZ #14283]
33820         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33821         by 7 not 8 to examine high bit of fractional part.
33822
33823         [BZ #14042]
33824         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33825         for call to __mcount_internal.
33826         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33827         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33828         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33829
33830 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33831
33832         [BZ #14154]
33833         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33834         approximation for values within 0x1p-13f of an odd multiple of
33835         pi/4.
33836         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33837         exception.  Add more tests.
33838         * sysdeps/i386/fpu/libm-test-ulps: Update.
33839
33840         [BZ #6778]
33841         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33842         inputs and return -1 for them.  Do not check for +Inf in case not
33843         reachable for +Inf.
33844         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33845         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33846         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33847         and return -1 for them.  Do not check for +Inf in case not
33848         reachable for +Inf.
33849         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33850         define.
33851         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33852         and return -1 for them.  Do not check for +Inf in case not
33853         reachable for +Inf.
33854         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33855         spurious underflow.
33856         * sysdeps/i386/fpu/libm-test-ulps: Update.
33857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33858
33859 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33860
33861         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33862
33863 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33864
33865         [BZ #14157]
33866         [BZ #14331]
33867         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33868         could result in spurious underflow.  Scale down values above
33869         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33870         * math/s_csqrtf.c (__csqrtf): Likewise.
33871         * math/s_csqrtl.c (__csqrtl): Likewise.
33872         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33873         spurious underflow.
33874         * sysdeps/i386/fpu/libm-test-ulps: Update.
33875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33876
33877 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33878
33879         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33880         xopen-msg.sed.
33881         * catgets/xopen-msg.awk: New file.
33882         * catgets/xopen-msg.sed: Removed.
33883
33884         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33885         po2text.sed.
33886         * intl/po2test.awk: New file.
33887         * intl/po2test.sed: Removed.
33888
33889 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33890
33891         [BZ #14328]
33892         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33893         or multiply small sinh result by itself.
33894         * math/s_ctanf.c (__ctanf): Likewise.
33895         * math/s_ctanh.c (__ctanh): Likewise.
33896         * math/s_ctanhf.c (__ctanhf): Likewise.
33897         * math/s_ctanhl.c (__ctanhl): Likewise.
33898         * math/s_ctanl.c (__ctanl): Likewise.
33899         * math/libm-test.inc (ctan_test_tonearest): New function.
33900         (ctan_test_towardzero): Likewise.
33901         (ctan_test_downward): Likewise.
33902         (ctan_test_upward): Likewise.
33903         (ctanh_test_tonearest): Likewise.
33904         (ctanh_test_towardzero): Likewise.
33905         (ctanh_test_downward): Likewise.
33906         (ctanh_test_upward): Likewise.
33907         (main): Call these new functions.
33908         * sysdeps/i386/fpu/libm-test-ulps: Update.
33909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33910
33911 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33912
33913         * .gitignore: Delete /ports entry.
33914
33915 2012-07-03  Andreas Jaeger  <aj@suse.de>
33916
33917         * po/bg.po: Update from translation team.
33918         * po/cs.po: Likewise.
33919         * po/de.po: Likewise.
33920         * po/hr.po: Likewise.
33921         * po/nl.pl: Likewise.
33922         * po/pl.po: Likewise.
33923         * po/vi.po: Likewise.
33924
33925 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33926
33927         * Makeconfig [!+link] (+link-before-libc): New variable.
33928         [!+link] (+link-after-libc): Likewise.
33929         [!+link] (+link-tests): Likewise.
33930         [!+link] (+link): Define in terms of $(+link-before-libc) and
33931         $(+link-after-libc).
33932         [!+link-static] (+link-static-before-libc): New variable.
33933         [!+link-static] (+link-static-after-libc): Likewise.
33934         [!+link-static] (+link-static-tests): Likewise.
33935         [!+link-static] (+link-static): Define in terms of
33936         $(+link-static-before-libc) and $(+link-static-after-libc).
33937         [build-shared] (link-libc-before-gnulib): New variable.
33938         [build-shared] (link-libc-tests): Likewise.
33939         [build-shared] (link-libc): Define in terms of
33940         $(link-libc-before-gnulib).
33941         [!build-shared] (link-libc-tests): New variable.
33942         (link-libc-static-tests): New variable.
33943         [!gnulib] (gnulib-arch): New variable.
33944         [!gnulib] (gnulib-tests): Likewise.
33945         [!gnulib] (static-gnulib-arch): Likewise.
33946         [!gnulib] (static-gnulib-tests): Likewise.
33947         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33948         Define with "=" instead of ":=".
33949         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33950         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33951         * Rules (binaries-all-notests): New variable.
33952         (binaries-all-tests): Likewise.
33953         (binaries-static-notests): Likewise.
33954         (binaries-static-tests): Likewise.
33955         (binaries-all): Define using $(binaries-all-notests) and
33956         $(binaries-all-tests).
33957         (binaries-static): Define using $(binaries-static-notests) and
33958         $(binaries-static-tests).
33959         (binaries-shared-tests): New variable.
33960         (binaries-shared-notests): Likewise.
33961         (binaries-shared): Remove variable.
33962         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33963         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33964         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33965         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33966         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33967         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33968         * elf/Makefile (sln-modules): New variable.
33969         (extra-objs): Add $(sln-modules:=.o).
33970         (ldconfig-modules): Add static-stubs.
33971         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33972         * elf/static-stubs.c: New file.
33973
33974         [BZ #14283]
33975         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33976         by 7 not 8 to examine high bit of fractional part.  Use volatile
33977         variables when splitting into final array of floats if
33978         __FLT_EVAL_METHOD__ != 0.
33979         * math/libm-test.inc (cos_test): Add another test.
33980         (sin_test): Likewise.
33981         * sysdeps/i386/fpu/libm-test-ulps: Update.
33982
33983         [BZ #14273]
33984         * math/libm-test.inc (cosh_test): Add more tests.
33985
33986         * version.h (RELEASE): Set to "development".
33987         (VERSION): Set to "2.16.90".
33988
33989 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33990
33991         * NEWS: Update copyright. Remove last-updated date.
33992         Mention math library bug fixes and timezone data changes.
33993         * README: Mention GNU/Hurd, x32, and HPPA support status.
33994
33995 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33996
33997         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33998
33999 2012-06-27  Andreas Jaeger  <aj@suse.de>
34000
34001         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34002
34003 2012-06-25  Andreas Jaeger  <aj@suse.de>
34004
34005         * sysdeps/s390/fpu/libm-test-ulps: Update.
34006
34007 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34008             Thomas Schwinge  <thomas@codesourcery.com>
34009
34010         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34011         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34012         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34013         fanotify_mark.
34014
34015 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34016
34017         * sysdeps/mach/start.c: Remove file.
34018         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34019         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34020         * sysdeps/sh/init-first.c: Likewise.
34021
34022         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34023         registers for frame unwinding purposes, add CFI directives.
34024         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34025         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34026         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34027         Likewise.
34028
34029         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34030         __fortify_fail returning.
34031         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34032
34033         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34034         sysdeps/sh/____longjmp_chk.S.
34035         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34036         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34037         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34038         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34039
34040         * sysdeps/sh/abort-instr.h: New file.
34041         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34042         process in case exit returns.
34043
34044         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34045         initialize the GOT register before use.
34046
34047         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34048         calculation of ARGC > 4.
34049
34050         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34051         meaningful names to some local labels.
34052
34053 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34054             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34055
34056         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34057         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34058         (__arch_compare_and_exchange_val_16_acq): Likewise.
34059         (__arch_compare_and_exchange_val_32_acq): Likewise.
34060         (atomic_exchange_and_add): Fix gUSA sequence.
34061         (atomic_add): Likewise.
34062         (atomic_add_negative): Likewise.
34063         (atomic_add_zero): Likewise.
34064         (atomic_bit_test_set): Likewise.
34065
34066 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34067
34068         [BZ #13579]
34069         * include/link.h (struct link_map): Add l_free_initfini.
34070         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34071         l_initfini.
34072         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34073         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34074         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34075         set.
34076
34077 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34078
34079         * configure.in: Use AC_LANG_SOURCE.
34080         * configure: Regenerate.
34081
34082 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34083
34084         * configure.in (libc_cv_localstatedir): New substituted variable.
34085         * configure: Regenerated.
34086         * config.make.in (localstatedir): New variable, substituted from
34087         libc_cv_localstatedir.
34088         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34089         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34090         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34091         * sysdeps/gnu/configure: Regenerated.
34092
34093 2012-06-21  Jeff Law  <law@redhat.com>
34094
34095         [BZ #14277]
34096         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34097         free.  Simplify list management for _LIBC case.
34098
34099 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34100
34101         [BZ #14273]
34102         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34103         Clear sign bit of 64-bit integer value before comparing against
34104         overflow value.
34105
34106         * sysdeps/mach/configure: Regenerated.
34107
34108 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34109
34110         [BZ #14278]
34111         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34112
34113 2012-06-21  Jeff Law  <law@redhat.com>
34114
34115         [BZ #13882]
34116         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34117         uint16_t for elements in the "seen" array to avoid char overflows.
34118         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34119         * elf/dl-open.c (dl_open_worker): Likewise.
34120
34121 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34122
34123         * scripts/list-sources.sh: Scan PORTS for translations.
34124         * po/libc.pot: Regenerated.
34125
34126 2012-06-21  Andreas Jaeger  <aj@suse.de>
34127
34128         [BZ #12194]
34129         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34130         warning.
34131         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34132         * bits/byteswap-16.h (__bswap_16): Likewise.
34133         * bits/byteswap.h (__bswap_constant_16): Likewise.
34134
34135 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34136
34137         [BZ #14117]
34138         * sysdeps/i386/fpu_control.h: Removed.
34139         * sysdeps/x86_64/fpu_control.h: Moved to ...
34140         * sysdeps/x86/fpu_control.h: Here.
34141
34142         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34143         (_FPU_SETCW): Likewise.
34144
34145 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34146
34147         [BZ #14117]
34148         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34149         * sysdeps/x86/fpu/bits/mathinline.h: This.
34150         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34151
34152         [BZ #14050]
34153         [BZ #14117]
34154         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34155         functions if __x86_64__ is defined.
34156
34157 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34158
34159         * string/endian.h: Add !__ASSEMBLER__ condition for including
34160         conversion interfaces.
34161
34162 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34163
34164         [BZ #14241]
34165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34166         of ABS(x) in calculating zero to negative powers other than odd
34167         integers.
34168         * math/libm-test.inc (pow_test): Add more tests.
34169
34170 2012-06-15  Andreas Jaeger  <aj@suse.de>
34171
34172         * manual/contrib.texi (Contributors): Update entry of Liubov
34173         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34174         Machado Filho.
34175
34176 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34177
34178         * string/string.h: Add __wur to GNU version of strerror_r.
34179
34180 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34181
34182         [BZ #14229]
34183         * string/Makefile (tests): Add tst-strtok_r.
34184         * string/tst-strtok_r.c: New file.
34185         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34186         RAX_LP/RDX_LP on SAVE_PTR.
34187
34188 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34189
34190         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34191
34192 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34193
34194         * libm_test.inc (csqrt_test): Allow more spurious underflow
34195         exceptions.
34196         (j0_test): Likewise.
34197         (j1_test): Likewise.
34198         (y0_test): Likewise.
34199         (y1_test): Likewise.
34200
34201 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34202
34203         * po/Makefile (libc.pot): Use UTF-8 charset.
34204
34205 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34206
34207         [BZ #14210]
34208         Suppress sign-conversion warning from FD_SET.
34209         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34210         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34211         not unsigned long int.
34212         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34213
34214 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34215
34216         [BZ #14050]
34217         [BZ #14117]
34218         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34219         __extern_always_inline instead of __extern_inline.
34220         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34221         (__signbit): Likewise.
34222         (__signbitl): Support C++ namespace.
34223         (lrintf): New inline function.
34224         (lrint): Likewise.
34225         (llrintf): Likewise.
34226         (llrint): Likewise.
34227         (fmaxf): Likewise.
34228         (fmax): Likewise.
34229         (fminf): Likewise.
34230         (fmin): Likewise.
34231         (rint): Likewise.
34232         (rintf): Likewise.
34233         (ceil): Likewise.
34234         (ceilf): Likewise.
34235         (floor): Likewise.
34236         (floorf): Likewise.
34237         (nearbyint): Likewise.
34238         (nearbyintf): Likewise.
34239
34240 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34241
34242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34243         non-default versions.
34244
34245 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34246
34247         [BZ #14218]
34248         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34249
34250 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34251
34252         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34253         (FE_UPWARD, FE_DOWNWARD): Don't define.
34254         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34255         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34256
34257         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34258         reading it.
34259         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34261
34262 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34263
34264         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34266         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34267         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34268
34269 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34270
34271         [BZ #14117]
34272         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34273         * sysdeps/i386/fpu/Implies: New file.
34274         * sysdeps/x86_64/fpu/Implies: Likewise.
34275         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34276         * sysdeps/x86/fpu/bits/fenv.h: This.
34277
34278         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34279         __SSE_MATH__.
34280
34281 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34282
34283         [BZ #14134]
34284         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34285         character 0xffff that matches the last element of the
34286         conversion table.
34287
34288 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34289
34290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34291         fmodl commit.
34292
34293 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34294
34295         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34296         values higher than 25.6283.
34297
34298 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34299
34300         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34301         subnormal exponent extraction and add some __builtin_expect.
34302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34303         Fix for subnormal mantissa calculation.
34304
34305 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34306
34307         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34308         cpu2 is -1 and errno is not ENOSYS.
34309
34310 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34311
34312         [BZ #14117]
34313         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34314         * sysdeps/x86/bits/string.h: This.
34315         * sysdeps/x86_64/bits/string.h: Removed.
34316
34317         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34318         if not compiling for x86-64, but compiling for >= i486.
34319
34320         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34321         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34322
34323         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34324         New macro from Linux kernel 3.4.0.
34325         (FP_XSTATE_MAGIC2): Likewise.
34326         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34327         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34328         (struct _fpx_sw_bytes): New struct.
34329         (struct _xsave_hdr): Likewise.
34330         (struct _ymmh_state): Likewise.
34331         (struct _xstate): Likewise.
34332
34333         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34334         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34335         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34336         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34337         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34338         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34339
34340         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34341         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34342         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34343         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34344         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34345         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34346
34347 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34348
34349         [BZ #13743]
34350         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34351         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34352         (sysdep_headers): Include sys/platform/ppc.h.
34353         * sysdeps/powerpc/test-gettimebase.c: Test for
34354         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34355         * manual/Makefile (appendices): Include platform.texi.
34356         * manual/contrib.texi (Contributors): Update @node pointers.
34357         * manual/maint.texi (Maintenance): Likewise.
34358         (Platform): New node.
34359         * manual/platform.texi: New file.  Document the new features.
34360
34361 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34362             Jakub Jelinek  <jakub@redhat.com>
34363
34364         [BZ #14188]
34365         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34366         where __builtin_expect is unavailable.
34367
34368 2012-06-03  David S. Miller  <davem@davemloft.net>
34369
34370         * stdlib/longlong.h: Updated from GCC.
34371
34372 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34373
34374         [BZ #14042]
34375         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34376         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34377         __mcount_internal.
34378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34379         (GLIBC_2.16): Likewise.
34380
34381 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34382
34383         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34384
34385 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34386
34387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34388         (default-abi): New variable.
34389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34390         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34391         variable.
34392         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34393         Likewise.
34394         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34395         Likewise.
34396         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34397         Likewise.
34398
34399         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34400         definition.  Document in comment.
34401
34402 2012-06-01  David S. Miller  <davem@davemloft.net>
34403
34404         * stdlib/longlong.h: Updated from GCC.
34405
34406 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34407
34408         [BZ #14117]
34409         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34410         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34411         sys/debugreg.h sys/io.h here.
34412         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34413         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34414         sys/io.h.
34415         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34416         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34417         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34418         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34419         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34420         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34421
34422         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34423         Define only if __x86_64__ is defined.
34424
34425 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34426
34427         [BZ #14048]
34428         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34429         Use int64_t for variable i.
34430         * math/libm-test.inc (fmod_test): Add more tests.
34431
34432         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34433         z computation is not scheduled after fetestexcept.
34434         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34435         Use math_force_eval instead of asm to ensure calculation scheduled
34436         before exception test.
34437         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34438         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34439
34440 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34441
34442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34443         computation is not scheduled after fetestexcept.
34444
34445 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34446
34447         [BZ #14117]
34448         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34449         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34450
34451 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34452
34453         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34454         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34455
34456 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34457
34458         [BZ #14117]
34459         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34460         <bits/wordsize.h>.
34461         (__WCHAR_MIN): Support __WORDSIZE == 64.
34462         (__WCHAR_MAX): Likewise.
34463
34464         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34465         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34466
34467         [BZ #14183]
34468         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34469         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34470
34471         [BZ #14117]
34472         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34473         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34474
34475         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34476         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34477
34478         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34479         Defined to 1 if __x86_64__ isn't defined.
34480         (_STAT_VER_LINUX_OLD): New.
34481         (st_atime): Remove duplicate.
34482         (st_mtime): Likewise.
34483         (st_ctime): Likewise.
34484
34485 2012-05-31  David S. Miller  <davem@davemloft.net>
34486
34487         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34488         entries.
34489
34490 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34491
34492         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34493         gen-libm-test.pl.
34494
34495         [BZ #14132]
34496         * elf/dl-reloc.c: Include <_itoa.h>.
34497         (_dl_reloc_bad_type): Remove use of INTUSE.
34498         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34499         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34500         * stdio-common/psiginfo.c (psiginfo): Likewise.
34501         * stdio-common/psignal.c (psignal): Likewise.
34502         * string/strsignal.c (strsignal): Likewise.
34503         * include/signal.h (_sys_siglist): Declare hidden proto.
34504         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34505         INTVARDEF with libc_hidden_data_def.
34506         * stdio-common/itoa-udigits.c: Likewise.
34507         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34508         (_itoa_lower_digits_internal): Remove declaration.
34509         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34510         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34511         (_sys_sigabbrev_internal): Remove aliases.
34512         (_sys_siglist): Define hidden alias.
34513
34514 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34515
34516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34517         bits/sysctl.h.
34518
34519 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34520
34521         [BZ #14117]
34522         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34523         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34524
34525         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34526         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34527         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34528         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34530         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34531
34532         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34533         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34534         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34535
34536         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34537         with __addr.
34538         (insw): Likewise.
34539         (insl): Likewise.
34540         (outsb): Likewise.
34541         (outsw): Likewise.
34542         (outsl): Likewise.
34543
34544         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34545         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34546         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34547
34548         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34549         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34550         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34551         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34552         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34553         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34554
34555         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34556         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34557
34558         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34559         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34560
34561         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34563         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34564
34565         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34566         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34567         to ...
34568         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34569
34570         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34571         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34572         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34573
34574         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34575         for x86-64.
34576         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34577
34578 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34579
34580         * math/math.h (M_El): Use two more decimal places.
34581         (M_LOG2El): Likewise.
34582         (M_LOG10El): Likewise.
34583         (M_LN2l): Likewise.
34584         (M_LN10l): Likewise.
34585         (M_PIl): Likewise.
34586         (M_PI_2l): Likewise.
34587         (M_PI_4l): Likewise.
34588         (M_1_PIl): Likewise.
34589         (M_2_PIl): Likewise.
34590         (M_2_SQRTPIl): Likewise.
34591         (M_SQRT2l): Likewise.
34592         (M_SQRT1_2l): Likewise.
34593
34594 2012-05-31  David S. Miller  <davem@davemloft.net>
34595
34596         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34597         values between float registers.
34598         * sysdeps/sparc/sparc64/memset.S: Likewise.
34599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34600
34601 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34602
34603         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34604         -D_FORTIFY_SOURCE=1.
34605         (CPPFLAGS-tst-longjmp_chk.c): Define.
34606         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34607         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34608         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34609         CFLAGS-tst-wchar-h.c.
34610
34611 2012-05-31  Marek Polacek  <polacek@redhat.com>
34612
34613         [BZ #14132]
34614         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34615         __endmntent_internal): Remove declaration.
34616         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34617         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34618         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34619
34620 2012-05-30  David S. Miller  <davem@davemloft.net>
34621
34622         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34623         (___Q_simulate_exceptions): Use real FP ops rather than writing
34624         into the %fsr.
34625         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34626         Likewise.
34627
34628 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34629
34630         [BZ #14117]
34631         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34632         * sysdeps/x86/bits/xtitypes.h: This.
34633
34634         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34635         * sysdeps/x86/bits/wordsize.h: This.
34636
34637         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34638         * sysdeps/x86/bits/huge_vall.h: This.
34639
34640         * sysdeps/i386/bits/select.h: Removed.
34641         * sysdeps/x86_64/bits/select.h: Renamed to ...
34642         * sysdeps/x86/bits/select.h: This.
34643
34644         * sysdeps/i386/bits/setjmp.h: Removed.
34645         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34646         * sysdeps/x86/bits/setjmp.h: This.
34647
34648         * sysdeps/i386/bits/mathdef.h: Removed.
34649         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34650         * sysdeps/x86/bits/mathdef.h: This.
34651
34652 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34653
34654         [BZ #14132]
34655         * include/sys/socket.h (__connect_internal)
34656         (__libc_sa_len_internal): Remove declaration.
34657         (__connect, __libc_sa_len): Declare hidden_proto.
34658         (SA_LEN): Remove use of INTUSE.
34659         * socket/connect.c: Add libc_hidden_def.
34660         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34661         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34662         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34663         alias.
34664         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34665         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34666         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34667         of adding _internal alias.
34668
34669 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34670
34671         [BZ #14117]
34672         * sysdeps/i386/bits/link.h: Removed.
34673         * sysdeps/i386/bits/linkmap.h: Likewise.
34674         * sysdeps/x86_64/bits/link.h: Renamed to ...
34675         * sysdeps/x86/bits/link.h: This.
34676         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34677         * sysdeps/x86/bits/linkmap.h: This.
34678
34679         * sysdeps/i386/bits/endian.h: Removed.
34680         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34681         * sysdeps/x86/bits/endian.h: This.
34682
34683         * sysdeps/i386/bits/byteswap.h: Removed.
34684         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34685         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34686         * sysdeps/x86/bits/byteswap.h: This.
34687         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34688         * sysdeps/x86/bits/byteswap-16.h: This.
34689         * sysdeps/i386/Implies: Add x86.
34690         * sysdeps/x86_64/Implies: Likewise.
34691
34692 2012-05-30  David S. Miller  <davem@davemloft.net>
34693
34694         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34695         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34696         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34697         (FP_TRAPPING_EXCEPTIONS): Define.
34698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34699         (FP_TRAPPING_EXCEPTIONS): Define.
34700         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34701         subnormals only when inexact has been signalled or underflow
34702         exceptions are enabled.
34703         (_FP_PACK_CANONICAL): Likewise.
34704
34705 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34706
34707         [BZ #14183]
34708         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34709         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34710
34711 2012-05-30  Richard Henderson  <rth@twiddle.net>
34712
34713         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34714         with #ifndef NOT_IN_libc.
34715
34716         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34717         marked to avoid plt entry.
34718
34719 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34720
34721         [BZ #14112]
34722         * Makeconfig (default-abi): New macro.
34723         (abi-includes): Likewise.
34724         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34725         $(abi-$(default-abi)-lib-soname) for soname if defined.
34726         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34727         abi-variants.
34728         * Makefile (installed-stubs): Likewise.
34729         * include/stubs-biarch.h: Removed.
34730         * scripts/lib-names.awk: Only handle one library at a time.
34731         * scripts/soversions.awk: Remove WORDSIZE support.
34732         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34733         entries.
34734         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34735         Removed.
34736         (syscall-list-default-condition): Likewise.
34737         (syscall-list-default-condition): Likewise.
34738         (syscall-list-includes): Likewise.
34739         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34740         syscall-list-* with abi-*.  Handle undefined abi-variants.
34741         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34742         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34743         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34744         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34745         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34746         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34747         Removed.
34748         (syscall-list-32-options): Likewise.
34749         (syscall-list-32-condition): Likewise.
34750         (syscall-list-64-options): Likewise.
34751         (syscall-list-64-condition): Likewise.
34752         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34753         macro.
34754         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34755         Renamed to ...
34756         (abi-*): This.
34757         (abi-64-ld-soname): New macro.
34758         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34759         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34760         Renamed to ...
34761         (abi-*): This.
34762         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34763         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34764
34765 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34766
34767         * sysdeps/unix/sysv/linux/kernel-features.h
34768         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34769         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34770         include <kernel-features.h>.
34771         [!__NR_ftruncate64]: Remove conditional code.
34772         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34773         [__NR_ftruncate64]: Make code unconditional.
34774         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34775         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34776         include <kernel-features.h>.
34777         [!__NR_ftruncate64]: Remove conditional code.
34778         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34779         [__NR_ftruncate64]: Make code unconditional.
34780         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34782         include <kernel-features.h>.
34783         [!__NR_ftruncate64]: Remove conditional code.
34784         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34785         [__NR_ftruncate64]: Make code unconditional.
34786         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34788         include <kernel-features.h>.
34789         [!__NR_ftruncate64]: Remove conditional code.
34790         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34791         [__NR_ftruncate64]: Make code unconditional.
34792         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34793
34794         * configure.in (libc_cv_fpie): Weaken to a compile test using
34795         LIBC_TRY_CC_OPTION.
34796         * configure: Regenerated.
34797
34798 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34799
34800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34804         Refreshed.
34805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34811         Refreshed.
34812
34813 2012-05-27  David S. Miller  <davem@davemloft.net>
34814
34815         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34816         (___Q_zero): New.
34817         (__Q_simulate_exceptions): Return void.  Change to simulate
34818         exceptions by writing into the %fsr.
34819         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34820         (__Qp_handle_exceptions): Likewise.
34821         (numbers): Delete.
34822         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34823         __Qp_handle_exceptions.
34824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34825         __Qp_handle_exceptions.
34826         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34827         as unused and give dummy FP_RND_NEAREST initializer.
34828         (FP_INHIBIT_RESULTS): Define.
34829         (___Q_simulate_exceptions): Update declaration.
34830         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34831         formatting.
34832         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34833         as unused and give dummy FP_RND_NEAREST initializer.
34834         (__Qp_handle_exceptions): Update declaration.
34835         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34836         formatting.
34837
34838 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34839
34840         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34841         the temporary FPU control word.
34842         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34843         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34844         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34845         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34846         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34847         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34848         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34849         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34850         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34851         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34852         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34853
34854 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34855
34856         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34857         fields.
34858
34859 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34860
34861         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34862         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34863         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34864         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34865         Likewise.
34866         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34867         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34868         Likewise.
34869
34870 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34871
34872         * po/h.po: Update from translation team.
34873
34874 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34875
34876         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34877
34878         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34879         handling of denormals.
34880         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34881         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34882         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34883         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34887         Likewise.
34888
34889 2012-05-26  Marek Polacek  <polacek@redhat.com>
34890
34891         [BZ #14152]
34892         * math/libm-test.inc (fma_test): Don't always expect underflow
34893         exception.
34894
34895 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34896
34897         [BZ #12416]
34898         * elf/tst-execstack.c: Include stackinfo.h.
34899         (do_test): Adjust test case to ensure that pthread_getattr_np
34900         behaviour remains the same after marking stack executable.
34901
34902 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34903
34904         * sysdeps/unix/sysv/linux/kernel-features.h
34905         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34906         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34907         kernel-features.h.
34908         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34909         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34910         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34911         kernel-features.h.
34912         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34913         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34914
34915 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34916
34917         * configure.in: Define the default includes to being none.
34918         * configure: Regenerated.
34919
34920 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34921
34922         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34923         * sysdeps/x86_64/setjmp.S: Likewise.
34924         * sysdeps/i386/bsd-setjmp.S: Likewise.
34925         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34926         * sysdeps/i386/setjmp.S: Likewise.
34927         * sysdeps/i386/__longjmp.S: Likewise.
34928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34929         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34930
34931         * include/stap-probe.h: New file.
34932         * configure.in: Handle --enable-systemtap.
34933         * configure: Regenerated.
34934         * config.h.in (USE_STAP_PROBE): New #undef.
34935         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34936         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34937         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34938
34939 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34940
34941         [BZ #13717]
34942         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34943         to 2.4.0 where earlier.
34944         * sysdeps/unix/sysv/linux/configure: Regenerated.
34945         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34946         <kernel-features.h>.
34947         [__ASSUME_32BITUIDS]: Make code unconditional.
34948         [!__ASSUME_32BITUIDS]: Remove conditional code.
34949         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34950         <kernel-features.h>.
34951         [__ASSUME_32BITUIDS]: Make code unconditional.
34952         [!__ASSUME_32BITUIDS]: Remove conditional code.
34953         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34954         [__ASSUME_32BITUIDS]: Make code unconditional.
34955         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34956         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34957         <kernel-features.h>.
34958         [__ASSUME_32BITUIDS]: Make code unconditional.
34959         [!__ASSUME_32BITUIDS]: Remove conditional code.
34960         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34961         <kernel-features.h>.
34962         [__ASSUME_32BITUIDS]: Make code unconditional.
34963         [!__ASSUME_32BITUIDS]: Remove conditional code.
34964         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34965         <kernel-features.h>.
34966         [__ASSUME_32BITUIDS]: Make code unconditional.
34967         [!__ASSUME_32BITUIDS]: Remove conditional code.
34968         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34969         <kernel-features.h>.
34970         [__ASSUME_32BITUIDS]: Make code unconditional.
34971         [!__ASSUME_32BITUIDS]: Remove conditional code.
34972         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34973         <kernel-features.h>.
34974         [__ASSUME_32BITUIDS]: Make code unconditional.
34975         [!__ASSUME_32BITUIDS]: Remove conditional code.
34976         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34977         <kernel-features.h>.
34978         [__ASSUME_32BITUIDS]: Make code unconditional.
34979         [!__ASSUME_32BITUIDS]: Remove conditional code.
34980         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34981         <kernel-features.h>.
34982         [__ASSUME_32BITUIDS]: Make code unconditional.
34983         [!__ASSUME_32BITUIDS]: Remove conditional code.
34984         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34985         <kernel-features.h>.
34986         [__ASSUME_32BITUIDS]: Make code unconditional.
34987         [!__ASSUME_32BITUIDS]: Remove conditional code.
34988         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34989         <kernel-features.h>.
34990         [__ASSUME_32BITUIDS]: Make code unconditional.
34991         [!__ASSUME_32BITUIDS]: Remove conditional code.
34992         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34993         <kernel-features.h>.
34994         [__ASSUME_32BITUIDS]: Make code unconditional.
34995         [!__ASSUME_32BITUIDS]: Remove conditional code.
34996         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34997         <kernel-features.h>.
34998         [__NR_setresgid] (__setresgid): Do not declare.
34999         [__ASSUME_32BITUIDS]: Make code unconditional.
35000         [!__ASSUME_32BITUIDS]: Remove conditional code.
35001         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35002         <kernel-features.h>.
35003         [__NR_setresuid] (__setresuid): Do not declare.
35004         [__ASSUME_32BITUIDS]: Make code unconditional.
35005         [!__ASSUME_32BITUIDS]: Remove conditional code.
35006         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35007         <kernel-features.h>.
35008         [__ASSUME_32BITUIDS]: Make code unconditional.
35009         [!__ASSUME_32BITUIDS]: Remove conditional code.
35010         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35011         <kernel-features.h>.
35012         [__ASSUME_32BITUIDS]: Make code unconditional.
35013         [!__ASSUME_32BITUIDS]: Remove conditional code.
35014         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35015         <kernel-features.h>.
35016         [__ASSUME_32BITUIDS]: Make code unconditional.
35017         [!__ASSUME_32BITUIDS]: Remove conditional code.
35018         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35019         <kernel-features.h>.
35020         [__ASSUME_32BITUIDS]: Make code unconditional.
35021         [!__ASSUME_32BITUIDS]: Remove conditional code.
35022         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35023         <kernel-features.h>.
35024         [__ASSUME_32BITUIDS]: Make code unconditional.
35025         [!__ASSUME_32BITUIDS]: Remove conditional code.
35026         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35027         <kernel-features.h>.
35028         [__ASSUME_32BITUIDS]: Make code unconditional.
35029         [!__ASSUME_32BITUIDS]: Remove conditional code.
35030         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35031         <kernel-features.h>.
35032         [__ASSUME_32BITUIDS]: Make code unconditional.
35033         [!__ASSUME_32BITUIDS]: Remove conditional code.
35034         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35035         <kernel-features.h>.
35036         [__ASSUME_32BITUIDS]: Make code unconditional.
35037         [!__ASSUME_32BITUIDS]: Remove conditional code.
35038         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35039         <kernel-features.h>.
35040         [__ASSUME_32BITUIDS]: Make code unconditional.
35041         [!__ASSUME_32BITUIDS]: Remove conditional code.
35042         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35043         <kernel-features.h>.
35044         [__ASSUME_32BITUIDS]: Make code unconditional.
35045         [!__ASSUME_32BITUIDS]: Remove conditional code.
35046         * sysdeps/unix/sysv/linux/kernel-features.h
35047         (__ASSUME_SETRESUID_SYSCALL): Remove.
35048         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35049         (__ASSUME_32BITUIDS): Likewise.
35050         (__ASSUME_LDT_WORKS): Likewise.
35051         (__ASSUME_O_DIRECTORY): Likewise.
35052         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35053         architecture but not kernel version.
35054         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35055         (__ASSUME_MMAP2_SYSCALL): Likewise.
35056         (__ASSUME_STAT64_SYSCALL): Likewise.
35057         (__ASSUME_IPC64): Likewise.
35058         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35059         <kernel-features.h>.
35060         [__ASSUME_32BITUIDS]: Make code unconditional.
35061         [!__ASSUME_32BITUIDS]: Remove conditional code.
35062         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35063         <kernel-features.h>.
35064         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35065         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35066         132096]: Remove conditional code.
35067         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35068         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35069         <kernel-features.h>.
35070         [__ASSUME_32BITUIDS]: Make code unconditional.
35071         [!__ASSUME_32BITUIDS]: Remove conditional code.
35072         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35073         <kernel-features.h>.
35074         [__ASSUME_32BITUIDS]: Make code unconditional.
35075         [!__ASSUME_32BITUIDS]: Remove conditional code.
35076         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35077         <kernel-features.h>.
35078         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35079         unconditional.
35080         (__setresgid): Do not declare.
35081         [__ASSUME_32BITUIDS]: Make code unconditional.
35082         [!__ASSUME_32BITUIDS]: Remove conditional code.
35083         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35084         <kernel-features.h>.
35085         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35086         unconditional.
35087         (__setresuid): Do not declare.
35088         [__ASSUME_32BITUIDS]: Make code unconditional.
35089         [!__ASSUME_32BITUIDS]: Remove conditional code.
35090         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35091         <kernel-features.h>.
35092         [__ASSUME_32BITUIDS]: Make code unconditional.
35093         [!__ASSUME_32BITUIDS]: Remove conditional code.
35094         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35095         <kernel-features.h>.
35096         [__ASSUME_32BITUIDS]: Make code unconditional.
35097         [!__ASSUME_32BITUIDS]: Remove conditional code.
35098
35099 2012-05-25  Richard Henderson  <rth@twiddle.net>
35100
35101         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35102         dl_hwcap to ifunc resolver.
35103         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35104         elf_ifunc_invoke.
35105         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35106         dl_hwcap to ifunc resolver.
35107         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35108
35109 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35110
35111         [BZ #14153]
35112         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35113         for |x| <= 2**-26, not 2**-57.
35114         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35115         exception.
35116
35117 2012-05-24  Jeff Law  <law@redhat.com>
35118
35119         * stdio-common/Makefile (tests): Add bug25.
35120         * stdio-common/bug25.c: New test.
35121
35122 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35123
35124         [BZ #13576]
35125         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35126         multiple of MALLOC_ALIGNMENT in size.
35127         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35128
35129 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35130
35131         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35132         Require >= 256.
35133         (FILENAME_MAX): Use macro-int-constant.
35134         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35135         (_IOFBF): Use macro-int-constant.
35136         (_IOLBF): Likewise.
35137         (_IONBF): Likewise.
35138         (SEEK_CUR): Likewise.
35139         (SEEK_END): Likewise.
35140         (SEEK_SET): Likewise.
35141         (TMP_MAX): Likewise.
35142         (EOF): Use macro-int-constant.  Require < 0.
35143         (NULL): Use macro-constant.  Require == 0.
35144         (stdin): Require type to be FILE *.
35145         (stdout): Likewise.
35146         (stderr): Likewise.
35147         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35148         macro-int-constant.
35149         (EXIT_SUCCESS): Likewise.
35150         (NULL): Use macro-constant.  Require == 0.
35151         (RAND_MAX): Use macro-int-constant.
35152         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35153         [C99-based standards] (strtof): Require function.
35154         [C99-based standards] (strtold): Likewise.
35155         [C99-based standards] (strtoll): Likewise.
35156         [C99-based standards] (strtoull): Likewise.
35157         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35158         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35159         [ISO || ISO99 || ISO11] (math.h): Likewise.
35160         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35161         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35162         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35163
35164 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35165
35166         [BZ #14132]
35167         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35168         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35169         * intl/dgettext.c (DCGETTEXT): Likewise.
35170         * intl/gettext.c (DCGETTEXT): Likewise.
35171         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35172         * posix/regex_internal.h (gettext): Likewise.
35173         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35174         Remove declaration.
35175         * include/argz.h (__argz_count_internal)
35176         (__argz_stringify_internal): Remove declaration.
35177         (__argz_count, __argz_stringify): Declare hidden proto.
35178         * intl/dcgettext.c: Remove use of INTDEF.
35179         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35180         * string/argz-stringify.c: Likewise.
35181         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35182         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35183         Declare hidden proto.
35184         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35185         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35186         Declare hidden proto.
35187         * include/stdio.h (__asprintf_internal): Don't declare.
35188         (__asprintf): Don't define as macro.  Declare hidden proto.
35189         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35190         (__fsetlocking): Declare hidden proto.
35191         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35192         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35193         hidden proto.
35194         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35195         (_IO_setlinebuf): Remove use of INTUSE.
35196         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35197         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35198         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35199         Remove declaration.
35200         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35201         (_IO_do_flush): Remove use of INTUSE.
35202         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35203         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35204         (_IO_adjust_column, _IO_least_wmarker)
35205         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35206         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35207         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35208         (_IO_default_doallocate, _IO_wdefault_doallocate)
35209         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35210         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35211         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35212         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35213         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35214         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35215         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35216         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35217         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35218         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35219         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35220         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35221         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35222         proto.
35223         (_IO_flush_all_internal, _IO_adjust_column_internal)
35224         (_IO_default_uflow_internal, _IO_default_finish_internal)
35225         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35226         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35227         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35228         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35229         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35230         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35231         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35232         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35233         (_IO_file_close_internal, _IO_file_close_it_internal)
35234         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35235         (_IO_file_init_internal, _IO_file_attach_internal)
35236         (_IO_file_fopen_internal, _IO_file_read_internal)
35237         (_IO_file_sync_internal, _IO_file_seek_internal)
35238         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35239         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35240         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35241         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35242         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35243         (_IO_list_all_internal, _IO_link_in_internal)
35244         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35245         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35246         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35247         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35248         (_IO_do_write_internal, _IO_padn_internal)
35249         (_IO_getline_info_internal, _IO_getline_internal)
35250         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35251         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35252         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35253         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35254         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35255         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35256         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35257         with libc_hidden_ver, remove use of INTUSE.
35258         * libio/genops.c: Likewise.
35259         * libio/freopen.c: Likewise.
35260         * libio/freopen64.c: Likewise.
35261         * libio/iofclose.c: Likewise.
35262         * libio/iofdopen.c: Likewise.
35263         * libio/iofflush.c: Likewise.
35264         * libio/iofflush_u.c: Likewise.
35265         * libio/iofgets.c: Likewise.
35266         * libio/iofgets_u.c: Likewise.
35267         * libio/iofopen.c: Likewise.
35268         * libio/iofopncook.c: Likewise.
35269         * libio/iofread.c: Likewise.
35270         * libio/iofread_u.c: Likewise.
35271         * libio/ioftell.c: Likewise.
35272         * libio/iofwrite.c: Likewise.
35273         * libio/iogetline.c: Likewise.
35274         * libio/iogets.c: Likewise.
35275         * libio/iogetwline.c: Likewise.
35276         * libio/iopadn.c: Likewise.
35277         * libio/iopopen.c: Likewise.
35278         * libio/ioseekoff.c: Likewise.
35279         * libio/ioseekpos.c: Likewise.
35280         * libio/iosetbuffer.c: Likewise.
35281         * libio/iosetvbuf.c: Likewise.
35282         * libio/ioungetc.c: Likewise.
35283         * libio/ioungetwc.c: Likewise.
35284         * libio/iovdprintf.c: Likewise.
35285         * libio/iovsprintf.c: Likewise.
35286         * libio/iovsscanf.c: Likewise.
35287         * libio/memstream.c: Likewise.
35288         * libio/obprintf.c: Likewise.
35289         * libio/oldfileops.c: Likewise.
35290         * libio/oldiofclose.c: Likewise.
35291         * libio/oldiofdopen.c: Likewise.
35292         * libio/oldiofopen.c: Likewise.
35293         * libio/oldiopopen.c: Likewise.
35294         * libio/oldstdfiles.c: Likewise.
35295         * libio/putc.c: Likewise.
35296         * libio/setbuf.c: Likewise.
35297         * libio/setlinebuf.c: Likewise.
35298         * libio/stdfiles.c: Likewise.
35299         * libio/strops.c: Likewise.
35300         * libio/vasprintf.c: Likewise.
35301         * libio/vscanf.c: Likewise.
35302         * libio/vsnprintf.c: Likewise.
35303         * libio/vswprintf.c: Likewise.
35304         * libio/wfiledoalloc.c: Likewise.
35305         * libio/wfileops.c: Likewise.
35306         * libio/wgenops.c: Likewise.
35307         * libio/wmemstream.c: Likewise.
35308         * libio/wstrops.c: Likewise.
35309         * libio/__fpurge.c: Likewise.
35310         * libio/__fsetlocking.c: Likewise.
35311         * assert/assert.c: Likewise.
35312         * debug/fgets_chk.c: Likewise.
35313         * debug/fgets_u_chk.c: Likewise.
35314         * debug/fread_chk.c: Likewise.
35315         * debug/fread_u_chk.c: Likewise.
35316         * debug/gets_chk.c: Likewise.
35317         * debug/obprintf_chk.c: Likewise.
35318         * debug/vasprintf_chk.c: Likewise.
35319         * debug/vdprintf_chk.c: Likewise.
35320         * debug/vsnprintf_chk.c: Likewise.
35321         * debug/vsprintf_chk.c: Likewise.
35322         * malloc/mtrace.c: Likewise.
35323         * misc/error.c: Likewise.
35324         * misc/syslog.c: Likewise.
35325         * stdio-common/asprintf.c: Likewise.
35326         * stdio-common/fxprintf.c: Likewise.
35327         * stdio-common/getw.c: Likewise.
35328         * stdio-common/isoc99_fscanf.c: Likewise.
35329         * stdio-common/isoc99_scanf.c: Likewise.
35330         * stdio-common/isoc99_vfscanf.c: Likewise.
35331         * stdio-common/isoc99_vscanf.c: Likewise.
35332         * stdio-common/isoc99_vsscanf.c: Likewise.
35333         * stdio-common/printf-prs.c: Likewise.
35334         * stdio-common/printf_fp.c: Likewise.
35335         * stdio-common/printf_fphex.c: Likewise.
35336         * stdio-common/printf_size.c: Likewise.
35337         * stdio-common/putw.c: Likewise.
35338         * stdio-common/scanf.c: Likewise.
35339         * stdio-common/sprintf.c: Likewise.
35340         * stdio-common/tmpfile.c: Likewise.
35341         * stdio-common/vfprintf.c: Likewise.
35342         * stdio-common/vfscanf.c: Likewise.
35343         * stdlib/strfmon_l.c: Likewise.
35344         * sunrpc/openchild.c: Likewise.
35345         * sunrpc/xdr_stdio.c: Likewise.
35346         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35347         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35348
35349 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35350
35351         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35352
35353         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35354         in the third column, to generate for the shared library an IFUNC
35355         that uses _dl_vdso_vsym.
35356         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35357         * Makeconfig (object-suffixes-noshared): New variable.
35358
35359         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35360         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35361         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35362         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35363
35364         [BZ #14132]
35365         * include/sys/time.h (__gettimeofday): Remove macro.
35366         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35367         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35368         Remove INTDEF.
35369         (__gettimeofday): Add libc_hidden_def.
35370         (gettimeofday): Add libc_hidden_weak.
35371         * sysdeps/mach/gettimeofday.c: Likewise.
35372         * sysdeps/posix/gettimeofday.c: Likewise.
35373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35374         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35375         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35376         (__gettimeofday_internal): Remove strong_alias.
35377         (__gettimeofday): Add libc_hidden_def.
35378         (gettimeofday): Add libc_hidden_weak.
35379         * sysdeps/unix/syscalls.list (gettimeofday):
35380         Remove __gettimeofday_internal alias.
35381
35382 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35383             H.J. Lu  <hongjiu.lu@intel.com>
35384
35385         [BZ #12495]
35386         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35387         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35388         (largebin_index_32_big): New.
35389         (largebin_index): Use it for 16-byte alignment.
35390         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35391         correction with front_misalign.
35392
35393 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35394
35395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35397         Likewise.
35398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35399         Likewise.
35400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35401         Likewise.
35402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35403         Likewise.
35404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35405         Likewise.
35406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35407         Likewise.
35408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35409         Likewise.
35410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35411         Likewise.
35412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35413         Likewise.
35414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35415         Likewise.
35416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35417         Likewise.
35418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35419         Likewise.
35420
35421         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35422         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35423
35424 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35425
35426         [BZ #10846]
35427         [BZ #14036]
35428         * math/libm-test.inc (exp_test): Add test from bug 14036.
35429         (pow_test): Add test from bug 10846.
35430
35431         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35432         and other flags.
35433         (special_function): Do not include flags in test name.
35434         (parse_args): Likewise.
35435         * sysdeps/i386/fpu/libm-test-ulps: Update.
35436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35437         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35438         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35440
35441         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35442         exceptions.
35443         * math/libm-test.inc ("Philosophy"): Update comment about
35444         exception testing.
35445         (UNDERFLOW_EXCEPTION): New macro.
35446         (UNDERFLOW_EXCEPTION_OK): Likewise.
35447         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35448         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35449         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35450         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35451         (INVALID_EXCEPTION_OK): Update value.
35452         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35453         (OVERFLOW_EXCEPTION_OK): Likewise.
35454         (IGNORE_ZERO_INF_SIGN): Likewise.
35455         (test_exceptions): Handle underflow exceptions.
35456         (acos_test): Update for underflow exception expectations.
35457         (cexp_test): Likewise.
35458         (clog_test): Likewise.
35459         (clog10_test): Likewise.
35460         (csqrt_test): Likewise.
35461         (ctan_test): Likewise.
35462         (ctanh_test): Likewise.
35463         (exp_test): Likewise.
35464         (exp10_test): Likewise.
35465         (exp2_test): Likewise.
35466         (expm1_test): Likewise.
35467         (fma_test): Likewise.
35468         (j0_test): Likewise.
35469         (jn_test): Likewise.
35470         (nexttoward_test): Likewise.
35471         (pow_test): Likewise.
35472         (scalbn_test): Likewise.
35473         (scalbln_test): Likewise.
35474         (tan_test): Likewise.
35475         (y1_test): Likewise.
35476         * sysdeps/i386/fpu/libm-test-ulps: Update.
35477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35478
35479 2012-05-23  David S. Miller  <davem@davemloft.net>
35480
35481         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35482         (__libc_sigaction): Remove unused local variables.
35483
35484 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35485
35486         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35487
35488 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35489
35490         mktime: avoid signed integer overflow
35491         * time/mktime.c (__mktime_internal): Do not mishandle the case
35492         where diff == INT_MIN.
35493
35494         mktime: simplify computation of average
35495         * time/mktime.c (ranged_convert): Use new time_t_avg function
35496         instead of rolling our own (probably-slower) code.
35497
35498         mktime: do not assume signed right shift propagates sign bit
35499         * time/mktime.c (isdst_differ): New static function.
35500         (__mktime_internal): No need to normalize tm_isdst now.
35501         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35502         tm_isdst values.
35503
35504         mktime: merge another wrapv change from gnulib
35505         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35506         from some compilers.
35507
35508         mktime: remove incorrect attempt at unusual arithmetics
35509         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35510         The code didn't really work on such machines anyway.
35511         (TYPE_MINIMUM): Assume two's complement.
35512         (twos_complement_arithmetic): Verify that long_int and time_t
35513         are two's complement (or unsigned, in the latter case).
35514
35515         mktime: check signed shifts on long_int and time_t, too
35516         * time/mktime.c (SHR): Check that shifts work as desired
35517         on the types long_int and time_t too, as SHR is used on
35518         such types.
35519
35520         mktime: do not assume 'long' is wide enough
35521         * time/mktime.c (verify): Move decl up.
35522         (long_int): New type.
35523         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35524         to remove assumption in the code that 'long' is wide enough to
35525         store year values.  This assumption is not true on x32 and on
35526         some non-glibc platforms.
35527
35528         mktime: merge wrapv change from gnulib
35529         * time/mktime.c (WRAPV): New macro.
35530         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35531         (guess_time_tm, __mktime_internal): Do not assume that signed
35532         integer overflow wraps around; modern compilers generate code
35533         where this assumption is no longer valid.
35534
35535 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35536
35537         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35538         Replace "jmp L(pseudo_end)" with "ret".
35539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35540         Likewise.
35541
35542 2012-05-23  Andreas Jaeger  <aj@suse.de>
35543
35544         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35545         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35546
35547 2012-05-23  Andreas Jaeger  <aj@suse.de>
35548             Maximilian Attems  <max@stro.at>
35549
35550         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35551         New macros.
35552
35553 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35554
35555         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35556         code so that pseudo_end is just ret and the stack pointer is
35557         correct also for static library in error case.
35558
35559 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35560
35561         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35562         move to syscalls.list.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35567
35568         * manual/install.texi (Running make install): Do not mention Linux
35569         kernel version for which pt_chown is not needed.
35570         (Linux): Do not mention problems with nscd with 2.0 kernels.
35571         * INSTALL: Regenerated.
35572
35573 2012-05-23  Andreas Jaeger  <aj@suse.de>
35574
35575         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35576         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35577         macro.
35578         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35579         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35580         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35581         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35582         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35583         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35584         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35585         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35587         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35588         * sysdeps/unix/sysv/linux/bits/in.h
35589         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35590
35591 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35592
35593         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35594         (PREPARE_VERSION): Just use assert instead, it will be elided
35595         under [NDEBUG] anyway.
35596
35597 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35598
35599         * sysdeps/unix/sysv/linux/Makefile: Include
35600         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35601         (sysdep_routines): Remove sysctl.
35602         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35603         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35604         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35605         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35606         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35607
35608 2012-05-22  Andreas Jaeger  <aj@suse.de>
35609
35610         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35611         that pseudo_end is just ret and the stack pointer is correct also
35612         for static library in error case.
35613
35614 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35615
35616         [BZ #14122]
35617         * nss/nsswitch.c (defconfig_entries): New variable.
35618         (__nss_database_lookup): Don't leak defconfig entries.
35619         (nss_parse_service_list): Don't leak on error paths.
35620         (free_database_entries): New function.
35621         (free_defconfig): New function.
35622         (free_mem): Move common code to free_database_entries.
35623
35624 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35625
35626         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35627         Add arch_prctl.
35628         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35629
35630         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35631         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35633         New macro.
35634         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35635         (INTERNAL_SYSCALL_TYPES): Likewise.
35636         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35637         (LOAD_REGS_TYPES_[1-6]): Likewise.
35638         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35639         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35640
35641 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35642
35643         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35644         copysignl for GLIBC_2_0.
35645         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35646         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35648         logbl for GLIBC_2_0.
35649         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35650         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35651
35652 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35653
35654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35655         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35656
35657         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35658         Use "neg %eax".
35659
35660         * time/mktime.c: Update copyright years.
35661
35662 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35663
35664         mktime: merge comment-quoting-style change from gnulib
35665         * time/mktime.c: Quote 'like this' in comments.
35666         The GNU coding standards suggest that we no longer quote `like this',
35667         as "`" and "'" are typically rendered asymmetrically nowadays.
35668         The typical gnulib style is to quote 'like this' when quoting
35669         code, and "like this" when quoting English.
35670
35671         * time/mktime.c (compile-command): Add "-I.".
35672
35673         mktime: merge mktime-internal.h change from gnulib
35674         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35675
35676         mktime: merge time_r change from gnulib
35677         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35678
35679         mktime: merge DEBUG change from gnulib
35680         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35681         case system <time.h> has a #define.
35682
35683         mktime: merge <sys/types.h> change from gnulib
35684         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35685         since <time.t> is now guaranteed to define time_t.
35686
35687         mktime: merge HAVE_CONFIG_H change from gnulib
35688         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35689
35690 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35691
35692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35693         Use "neg %eax".
35694
35695         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35696         __rlim_t cast.
35697         (struct rusage): Use anonymous union to pad each field to
35698         __syscall_slong_t.
35699
35700 2012-05-21  David S. Miller  <davem@davemloft.net>
35701
35702         * Makefules (o-iterator): Remove .s cases.
35703         (compile-command.s): Delete.
35704         (COMPILE.s): Delete.
35705         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35706
35707 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35708
35709         * configure.in (libc_cv_predef_stack_protector): Only consider
35710         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35711         * configure: Regenerated.
35712
35713 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35714
35715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35716         New macro.  Use R*LP on int and pointer.
35717         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35718         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35719         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35720         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35721
35722         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35723         [__WORDSIZE_TIME64_COMPAT32] instead of
35724         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35725         (struct utmp): Likewise.
35726         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35727         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35728         Renamed to ...
35729         (__WORDSIZE_TIME64_COMPAT32): This.
35730         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35731         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35732         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35733         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35734         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35735         (__WORDSIZE_TIME64_COMPAT32): New macro.
35736
35737 2012-05-21  Andreas Jaeger  <aj@suse.de>
35738
35739         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35740         only if [SHARED]. Add prototype for __wcschr_ia32.
35741
35742 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35743
35744         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35745         of %rbp unmolested in the jmp_buf while mangling the low bits.
35746         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35747         unmolested high bits of %rbp while demangling the low bits.
35748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35749
35750 2012-05-21  Andreas Jaeger  <aj@suse.de>
35751
35752         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35753         * sunrpc/svc_simple.c: Use it for registerrpc.
35754         * sunrpc/xcrypt.c: Use it for passwd2des.
35755
35756         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35757
35758 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35759
35760         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35761         Don't define if [__SYSCALL_WORDSIZE != 32].
35762         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35763         New macro.
35764
35765 2012-05-21  Bruno Haible  <bruno@clisp.org>
35766             Andreas Jaeger  <aj@suse.de>
35767
35768         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35769         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35770         inptr and inend for must_buffer_ch.
35771         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35772         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35773         * stdio-common/Makefile (tests): Remove bug15.
35774         (bug15-ENV): Remove macro.
35775         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35776         anymore.
35777
35778 2012-05-19  Andreas Jaeger  <aj@suse.de>
35779             Roland McGrath  <roland@hack.frob.com>
35780
35781         * manual/contrib.texi: Completely rewritten. It contains now an
35782         alphabetical list of contributors and their contributions.
35783
35784 2012-05-21  Richard Henderson  <rth@twiddle.net>
35785
35786         * misc/getauxval.c (__getauxval): Use unsigned long int.
35787         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35788         (getauxval): Use unsigned long int.
35789
35790 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35791
35792         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35793
35794 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35795
35796         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35797         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35798         __alignof__ (long double).
35799
35800 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35801
35802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35803
35804 2012-05-20  Richard Henderson  <rth@twiddle.net>
35805
35806         * misc/getauxval.c: New file.
35807         * misc/sys/auxv.h: New file.
35808         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35809         (routines): Add getauxval.
35810         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35811         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35812         * elf/dl-sysdep.c (_dl_auxv): Remove.
35813         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35814         * elf/dl-support.c (_dl_auxv): New variable.
35815         (_dl_aux_init): Initialize it.
35816         * manual/startup.texi (Auxiliary Vector): New node.
35817         * sysdeps/generic/bits/hwcap.h: New file.
35818         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35819         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35820         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35821         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35822         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35825         Update.
35826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35834
35835 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35836
35837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35838
35839 2012-05-19  David S. Miller  <davem@davemloft.net>
35840
35841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35842
35843 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35844
35845         [BZ #14123]
35846         * math/s_ccosh.c: Include <float.h>
35847         (__ccosh): Avoid internal overflow calculating sinh and cosh
35848         values before multiplying by sin and cos values.
35849         * math/s_ccoshf.c: Likewise.
35850         * math/s_ccoshl.c: Likewise.
35851         * math/s_csin.c: Likewise.
35852         * math/s_csinf.c: Likewise.
35853         * math/s_csinl.c: Likewise.
35854         * math/s_csinh.c: Likewise.
35855         * math/s_csinhf.c: Likewise.
35856         * math/s_csinhl.c: Likewise.
35857         * math/libm-test.inc (ccos_test): Add more tests.
35858         (ccosh_test): Likewise.
35859         (csin_test): Likewise.
35860         (csinh_test): Likewise.
35861         * sysdeps/i386/fpu/libm-test-ulps: Update.
35862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35863
35864 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35867         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35868
35869         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35870
35871 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35872
35873         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35874         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35875         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35876         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35877         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35878         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35879         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35880         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35881         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35882         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35883         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35884         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35885         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35886         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35887         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35888         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35889         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35890         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35891         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35892         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35893         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35894         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35895         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35896         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35897         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35898         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35899         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35900         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35901         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35902         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35903         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35904
35905 2012-05-18  Andreas Jaeger  <aj@suse.de>
35906
35907         * csu/.gitignore: Delete.
35908
35909 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35910
35911         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35912         (timex): Use __syscall_slong_t.
35913
35914 2012-05-18  Andreas Jaeger  <aj@suse.de>
35915             Carlos O'Donell  <carlos_odonell@mentor.com>
35916
35917         * manual/install.texi (Configuring and compiling): Update
35918         description about files modified in the source directory.
35919         * INSTALL: Regenerated.
35920
35921 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35922
35923         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35924         value.  Use "or" to set return value to -1.
35925         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35926         negate return value.
35927
35928 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35929
35930         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35931         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35932         failure if the compiler has Graphite support disabled.
35933         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35934         Likewise.
35935         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35936         (CFLAGS-memmove.c): Likewise.
35937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35938         Likewise.
35939
35940 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35941
35942         * sysdeps/x86_64/x32/_itoa.h: New file.
35943
35944         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35945         getdents system call only if kernel and user dirents have the
35946         same d_ino and d_off.
35947
35948         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35949         LLONG_MAX != LONG_MAX.
35950         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35951         (_fitoa_word): Likewise.
35952
35953         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35954         years.
35955         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35956         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35957         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35958
35959         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35960         include <bits/wordsize.h>.  Check __x86_64__ instead of
35961         __WORDSIZE.
35962         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35963         if __x86_64__ is defined.  Use anonymous union on fpstate.
35964
35965         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35966         anonymous union.
35967
35968 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35969
35970         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35971         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35972         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35973         Refer to _rtld_local_ro instead of _rtld_global_ro.
35974         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35975         Likewise.
35976         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35977         Likewise.
35978         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35979         Likewise.
35980         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35981         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35982         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35983
35984         * sysdeps/powerpc/powerpc32/dl-machine.c
35985         (__elf_machine_runtime_setup) [PROF]: Don't reference
35986         _dl_prof_resolve.
35987
35988 2012-05-18  Andreas Jaeger  <aj@suse.de>
35989
35990         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35991         function only available for GCCs before 3.4 since GCC 3.4
35992         introduced a builtin.
35993         (lrint): Likewise.
35994         (llrintf): Likewise.
35995         (llrint): Likewise.
35996         (fmaxf): Likewise.
35997         (fmax): Likewise.
35998         (fminf): Likewise.
35999         (fmin): Likewise.
36000         (rint): Likewise.
36001         (rintf): Likewise.
36002         (nearbyint): Likewise.
36003         (nearbyintf): Likewise.
36004         (ceil): Likewise.
36005         (ceilf): Likewise.
36006         (floor): Likewise.
36007         (floorf): Likewise.
36008
36009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36010
36011         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36012         on both fields and cast pointer to __syscall_ulong_t.
36013
36014         * bits/types.h (__fsword_t): New type.
36015         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36016         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36018         (__FSWORD_T_TYPE): Likewise.
36019         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36020         (__FSWORD_T_TYPE): Likewise.
36021         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36022         (__FSWORD_T_TYPE): Likewise.
36023         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36024         (__FSWORD_T_TYPE): Likewise.
36025         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36026         __SWORD_TYPE with __fsword_t.
36027         (statfs64): Likewise.
36028
36029 2012-05-17  David S. Miller  <davem@davemloft.net>
36030
36031         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36032
36033 2012-05-17  Andreas Jaeger  <aj@suse.de>
36034
36035         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36036         warning.
36037
36038 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36039
36040         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36041
36042 2012-05-17  Andreas Jaeger  <aj@suse.de>
36043
36044         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36045         when it is used.
36046
36047 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36048
36049         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36050
36051 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36052
36053         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36054         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36055
36056 2012-05-17  Andreas Jaeger  <aj@suse.de>
36057             Carlos O'Donell  <carlos_odonell@mentor.com>
36058
36059         [BZ #14059]
36060         * sysdeps/x86_64/multiarch/init-arch.h
36061         (bit_YMM_Usable): Rename to...
36062         (bit_AVX_Usable): ... this.
36063         (bit_FMA4_Usable): New macro.
36064         (bit_XMM_state): New macro.
36065         (bit_YMM_state): New macro.
36066         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36067         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36068         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36069         (CPUID_OSXSAVE): New macro.
36070         (CPUID_AVX): New macro.
36071         (CPUID_FMA4): New macro.
36072         (index_YMM_Usable): Rename to...
36073         (index_AVX_Usable): ... this.
36074         (HAS_AVX): Use HAS_ARCH_FEATURE.
36075         (HAS_FMA4): Likewise.
36076         (HAS_YMM_USABLE): Remove.
36077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36078         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36079         are present.
36080         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36081         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36082         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36083         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36084         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36085
36086 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36087
36088         * math/libm-test.c: Support platforms without multiple rounding modes.
36089         * math/bug-nextafter.c: Support platforms without FP exceptions.
36090         * math/bug-nexttoward.c: Likewise.
36091         * math/test-fenv.c: Likewise.
36092         * math/test-misc.c: Likewise.
36093         * stdlib/bug-getcontext.c: Likewise.
36094
36095 2012-05-17  Andreas Jaeger  <aj@suse.de>
36096
36097         * manual/examples/search.c (critter_cmp): Change signature to
36098         avoid warnings.
36099         * manual/string.texi (Collation Functions): Likewise.
36100
36101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36102
36103         * bits/types.h: Fold copyright years.
36104         * bits/typesizes.h: Likewise.
36105         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36109         * time/time.h: Likewise.
36110
36111 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36112
36113         [BZ #208]
36114         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36115         in instead of returning them.  Return void.
36116         (__libc_mallinfo): Accumulate over all arenas.
36117         (__malloc_stats): Adjust for change in int_mallinfo interface.
36118
36119 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36120
36121         [BZ #10375]
36122         * configure.in (NM): Add AC_CHECK_TOOL for it.
36123         (libc_extra_cflags): New substituted variable.
36124         Check for -fstack-protector being used implicitly.
36125         * configure: Regenerated.
36126         * config.make.in (config-extra-cflags): New variable,
36127         gets @libc_extra_cflags@.
36128         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36129
36130         [BZ #10375]
36131         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36132         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36133         * configure: Regenerated.
36134         * config.make.in (CPPUNDEFS): New substituted variable.
36135         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36136         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36137         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36138
36139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36140
36141         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36142         (mq_attr): Use __syscall_slong_t.
36143
36144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36145
36146         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36147         Check __x86_64__ instead of __WORDSIZE.
36148         (_STAT_VER_LINUX): Likewise.
36149         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36150         __syscall_ulong_t and __syscall_slong_t.
36151         (stat64): Likewise.
36152
36153 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36154
36155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36156
36157 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36158
36159         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36160
36161 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36162
36163         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36164         __syscall_ulong_t.
36165
36166         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36167         include <bits/wordsize.h>.  Check __x86_64__ instead of
36168         __WORDSIZE.
36169         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36170         defined.
36171         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36172
36173         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36174         include <bits/wordsize.h>.  Check __x86_64__ instead of
36175         __WORDSIZE.
36176         (user_regs_struct): Use "__extension__ unsigned long long"
36177         instead of "unsigned long" if __x86_64__ is defined.
36178         (user): Likewise.  Pad after pointer field if __ILP32__ is
36179         defined.
36180
36181 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36182
36183         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36184         versions 5 to 9.
36185         * configure: Regenerated.
36186         * manual/install.texi (texinfo): Increase version requirement to
36187         4.5 or later.
36188         * INSTALL: Regenerated.
36189
36190         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36191
36192 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36193
36194         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36195
36196         * sysdeps/x86_64/x32/ffs.c: New file.
36197
36198         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36199         __syscall_ulong_t.
36200         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36201         defined.  Use __syscall_ulong_t.
36202         (shminfo): Use __syscall_ulong_t.
36203         (shm_info): Likewise.
36204
36205         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36206         __syscall_ulong_t.
36207
36208         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36209         <bits/wordsize.h>.
36210         (msgqnum_t): Use __syscall_ulong_t.
36211         (msglen_t): Likewise.
36212         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36213         __syscall_ulong_t.
36214
36215         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36216         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36217
36218         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36219
36220         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36221         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36222
36223         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36224         __syscall_slong_t.
36225
36226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36227         include <bits/wordsize.h>.  Check __x86_64__ instead of
36228         __WORDSIZE.
36229
36230         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36231         "unsigned long long int" if __x86_64__ is defined.
36232         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36233
36234         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36235         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36236         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36237
36238         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36239         <stdint.h>.
36240         (GET_PC): Cast to uintptr_t first.
36241         (GET_FRAME): Likewise.
36242         (GET_STACK): Likewise.
36243
36244         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36245         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36246         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36247         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36248         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36249         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36250         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36251         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36252         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36253         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36254         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36255         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36256         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36257         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36258         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36259         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36260         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36261         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36262         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36263         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36264         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36266         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36268         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36269         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36270         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36272         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36273
36274 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36275
36276         * Makerules (+depfiles): Also collect depfiles from .oS in
36277         $(extra-objs).
36278         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36279         .oS, $(libnldbl-routines)).
36280
36281         * Makerules (native-compile-mkdep-flags): Define.
36282         * sunrpc/Makefile (extra-objs): Add $(addprefix
36283         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36284         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36285         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36286         calling $(make-target-directory).
36287
36288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36289
36290         * bits/types.h (__snseconds_t): Removed.
36291         * time/time.h (struct timespec): Replace __snseconds_t with
36292         __syscall_slong_t.
36293         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36294         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36295         Likewise.
36296         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36297         (__SNSECONDS_T_TYPE): Likewise.
36298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36299         (__SNSECONDS_T_TYPE): Likewise.
36300         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36301         (__SNSECONDS_T_TYPE): Likewise.
36302
36303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36304
36305         * sysdeps/mach/hurd/bits/typesizes.h
36306         (__SYSCALL_SLONG_TYPE): New macro.
36307         (__SYSCALL_ULONG_TYPE): Likewise.
36308
36309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36310
36311         * bits/types.h (__syscall_slong_t): New type.
36312         (__syscall_ulong_t): Likewise.
36313
36314         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36315         (__SYSCALL_ULONG_TYPE): Likewise.
36316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36317         (__SYSCALL_SLONG_TYPE): Likewise.
36318         (__SYSCALL_ULONG_TYPE): Likewise.
36319         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36320         (__SYSCALL_SLONG_TYPE): Likewise.
36321         (__SYSCALL_ULONG_TYPE): Likewise.
36322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36323         (__SYSCALL_SLONG_TYPE): Likewise.
36324         (__SYSCALL_ULONG_TYPE): Likewise.
36325
36326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36327
36328         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36329         Add sigaltstack-offsets.sym.
36330         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36331         <sigaltstack-offsets.h>.
36332         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36333         longjmp_msg pointer.
36334         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36335         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36336         signal stack.
36337         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36338
36339 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36340
36341         * elf/stackguard-macros.h: Remove file.
36342         * sysdeps/generic/stackguard-macros.h: New file.
36343         * sysdeps/i386/stackguard-macros.h: Likewise.
36344         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36345         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36346         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36347         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36348         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36349         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36350         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36351         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36352         <elf/stackguard-macros.h>.
36353
36354         [BZ #14109]
36355         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36356         __aligned__ in attribute.
36357         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36358         (gregset_t): Likewise.
36359
36360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36361
36362         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36363         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36364         * sysdeps/x86_64/x32/Implies-after: New file.
36365
36366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36367
36368         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36369         and access return value for _dl_profile_fixup.  Use R10_LP to
36370         load frame size.
36371
36372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36373
36374         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36375
36376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36377
36378         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36379         * sysdeps/x86_64/x32/sysdep.h: New file.
36380
36381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36382
36383         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36384         * sysdeps/x86_64/setjmp.S: Likewise.
36385
36386 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36387
36388         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36389         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36390         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36391         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36392         remove unused global constant.
36393
36394 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36395
36396         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36397         include of <not-cancel.h>.
36398
36399 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36400
36401         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36402
36403 2012-05-15  Jeff Law  <law@redhat.com>
36404             Andreas Jaeger  <aj@suse.de>
36405
36406         [BZ #13594]
36407         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36408         out from...
36409         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36410         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36411         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36412         code changing __hst_map_handle.map.
36413
36414 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36415
36416         * configure.in (sysnames): Look for Implies-before and Implies-after
36417         files.
36418         * configure: Regenerated.
36419
36420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36421
36422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36423         8-byte data alignment with LP_SIZE alignment.
36424
36425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36426
36427         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36428         into R10_LP.
36429
36430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36431
36432         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36433
36434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36435
36436         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36437         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36438         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36439         Likewise.
36440         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36441
36442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36443
36444         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36445         (stackinfo_sub_sp): Likewise.
36446
36447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36448
36449         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36450         RAX_LP.
36451
36452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36453
36454         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36455         into R*_LP.
36456
36457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36458
36459         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36460         sizes into R*_LP.
36461
36462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36463
36464         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36465
36466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36467
36468         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36469         into R11_LP and load __x86_64_shared_cache_size_half into
36470         R8_LP.
36471
36472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36473
36474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36475         R8_LP.
36476
36477 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36478
36479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36480         logb for POWER7.
36481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36482         logbf for POWER7.
36483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36484         logbl for POWER7.
36485         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36486         powerpc32/power7/fpu/s_logb.c via #include.
36487         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36488         powerpc32/power7/fpu/s_logbf.c via #include.
36489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36490         powerpc32/power7/fpu/s_logbl.c via #include.
36491
36492 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36493
36494         * README.libm: Remove file.
36495
36496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36497
36498         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36499         count for x32.  Use R*_LP and omit operand-size suffix.
36500
36501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36502
36503         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36504         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36505         * sysdeps/x86_64/x32/shlib-versions: New file.
36506
36507 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36508
36509         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36510         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36511         Use _dl_fatal_printf instead.
36512
36513 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36514
36515         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36516         set if not set by the user.  Do not allow for being unset.
36517         * sysdeps/unix/sysv/linux/configure: Regenerated.
36518
36519 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36520
36521         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36522         the `q' suffix from lea and replace .quad with ASM_ADDR.
36523
36524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36525
36526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36527         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36528         instead of $17.
36529         (PTR_DEMANGLE): Likewise.
36530
36531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36532
36533         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36534         (LP_OP): Likewise.
36535         (ASM_ADDR): Likewise.
36536         (RAX_LP): Likewise.
36537         (RBP_LP): Likewise.
36538         (RBX_LP): Likewise.
36539         (RCX_LP): Likewise.
36540         (RDI_LP): Likewise.
36541         (RSI_LP): Likewise.
36542         (RSP_LP): Likewise.
36543         (R8_LP): Likewise.
36544         (R9_LP): Likewise.
36545         (R10_LP): Likewise.
36546         (R10_LP): Likewise.
36547         (R11_LP): Likewise.
36548         (R12_LP): Likewise.
36549         (R13_LP): Likewise.
36550         (R14_LP): Likewise.
36551         (R15_LP): Likewise.
36552
36553 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36554
36555         * sysdeps/x86_64/x32/dl-machine.h: New file.
36556
36557 2012-05-14  Andreas Jaeger  <aj@suse.de>
36558
36559         * manual/Makefile (subdir): Remove export of subdir.
36560         (all): Remove target.
36561         (.PHONY): Remove all from list.
36562         (mkinstalldirs): Remove.
36563         (.PHONY): Remove installdirs from list.
36564         ($(inst_infodir)/libc.info): Use make-target-directory.
36565         (installdirs): Remove.
36566         (subdir_%): Remove.
36567         (glibc-targets): Remove.
36568         (lib): Remove.
36569         (stubs): Remove.
36570         ($(objpfx)stubs ../po/manual.pot): Remove.
36571         ($(objpfx)stamp%): Remove.
36572         (make-target-directory): Remove.
36573         (subdir_install): Remove.
36574         (routines): Remove.
36575         (aux): Remove.
36576         (sources): Remove.
36577         (objects): Remove.
36578         (headers): Remove.
36579
36580         [BZ #13750]
36581         * manual/.gitignore: Remove, it's not needed anymore.
36582         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36583         all files in it.
36584         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36585         directory.
36586         (texis): Renamed to $(objpfx)texis.
36587         (texis-path): New, contains path to generated files.
36588         (chapters.%): Use texis-path for complete path, add extra argument
36589         libc-texinfo.sh.
36590         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36591         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36592         (summary,texi, stamp-summary): Use complete path of
36593         files. Generate files in build dir.
36594         (dir-add.texi): Build in build dir.
36595         (libm-err.texi,stamp-libm-err): Likewise.
36596         (version.texi, stamp-version): Likewise.
36597         (.%c.texi): Likewise.
36598         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36599         (mostlyclean): Remove target.
36600         (realclean): Remove target.
36601         (generated): Add new variable with contents from mostlyclean and
36602         realclean, remove entries duplicated in common-mostlyclean, add
36603         stamp-libm-err and stamp-version.
36604         (generated-dirs): Add libc directory.
36605         ($(inst_infodir)/libc.info): Install files from build dir.
36606
36607         * manual/install.texi (Configuring and compiling): Adjust since
36608         the info files are not part of the tar ball anymore.
36609
36610 2012-05-14  Andreas Jaeger  <aj@suse.de>
36611
36612         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36613         variable.
36614
36615 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36616
36617         [BZ #13717]
36618         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36619         to 2.2.0 where earlier.
36620         * sysdeps/unix/sysv/linux/configure: Regenerated.
36621         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36622         Remove conditional code.
36623         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36624         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36625         Remove conditional code.
36626         [!__NR_lchown]: Likewise.
36627         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36628         [__NR_lchown]: Likewise.
36629         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36630         comment referencing __ASSUME_LCHOWN_SYSCALL.
36631         * sysdeps/unix/sysv/linux/i386/sigaction.c
36632         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36633         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36634         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36635         Remove conditional code.
36636         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36637         (__protocol_available): Remove #if 0 code.
36638         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36639         conditional code.
36640         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36641         * sysdeps/unix/sysv/linux/kernel-features.h
36642         (__ASSUME_GETCWD_SYSCALL): Don't define.
36643         (__ASSUME_REALTIME_SIGNALS): Likewise.
36644         (__ASSUME_PREAD_SYSCALL): Likewise.
36645         (__ASSUME_PWRITE_SYSCALL): Likewise.
36646         (__ASSUME_POLL_SYSCALL): Likewise.
36647         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36648         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36649         non-SPARC.
36650         (__ASSUME_SIOCGIFNAME): Don't define.
36651         (__ASSUME_MSG_NOSIGNAL): Likewise.
36652         (__ASSUME_SENDFILE): Define unconditionally.
36653         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36654         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36655         conditional code.
36656         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36657         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36658         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36659         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36660         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36661         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36662         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36664         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36665         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36670         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36676         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36687         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36688         Remove conditional code.
36689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36690         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36691         Remove conditional code.
36692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36693         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36694         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36695         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36696         Remove conditional code.
36697         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36698         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36699         Remove conditional code.
36700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36701         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36702         Remove conditional code.
36703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36704         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36705         Remove conditional code.
36706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36707         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36708         Remove conditional code.
36709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36710         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36713         * sysdeps/unix/sysv/linux/sigaction.c
36714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36716         * sysdeps/unix/sysv/linux/sigpending.c
36717         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36718         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36719         * sysdeps/unix/sysv/linux/sigprocmask.c
36720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36722         * sysdeps/unix/sysv/linux/sigsuspend.c
36723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36725         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36726         (__libc_missing_rt_sigs): Remove.
36727         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36728         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36729         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36730         Remove conditional code.
36731         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36732         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36733         return 1.
36734         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36735         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36736         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36737         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36738
36739 2012-05-14  Andreas Jaeger  <aj@suse.de>
36740
36741         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36742         it's not used in glibc.
36743         (__coshm1): Likewise.
36744         (__acosh1p): Likewise.
36745         (__sgn): Likewise.
36746
36747         * manual/string.texi (Copying and Concatenation): Add missing
36748         variable in concat example.
36749         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36750
36751 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36752
36753         [BZ #14103]
36754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36755         __builtin_clzl with __builtin_clzll.
36756
36757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36758
36759         [BZ #14104]
36760         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36761         libc_freeres_ptr.
36762
36763 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36764
36765         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36766         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36767         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36768         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36769
36770 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36771
36772         * NEWS: Update ia64 info.
36773
36774 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36775
36776         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36777         used as bcopy.
36778
36779 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36780
36781         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36782         * sysdeps/unix/syscalls.list (dup3): Likewise.
36783         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36784         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36785
36786 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36787
36788         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36789         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36790
36791 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36792
36793         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36794         thread pointer.
36795         (TLS_IE): Use mov/add instead of movq/addq to load thread
36796         pointer.
36797         (TLS_GD_PREFIX): New.
36798         (TLS_GD): Use it.
36799
36800 2012-05-11  David S. Miller  <davem@davemloft.net>
36801
36802         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36803         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36804         (_FPU_SETCW): Likewise.
36805
36806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36807
36808         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36809         is 32-byte aligned.
36810
36811 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36812
36813         [BZ #11837]
36814         * iconvdata/gb18030.c: Update tables.
36815         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36816         characters specially.
36817         (BODY for TO_LOOP): Add encoding of missing ranges.
36818
36819 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36820
36821         [BZ #13673]
36822         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36823         * sysdeps/mach/hurd/dup3.c: Likewise.
36824         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36825         * sysdeps/powerpc/memmove.c:: Likewise.
36826
36827 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36828
36829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36830         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36831
36832 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36833
36834         * elf/elf.h (R_X86_64_RELATIVE64): New.
36835         (R_X86_64_NUM): Updated.
36836         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36837         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36838         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36839         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36840         tst-quad1pie tst-quad2pie
36841         (modules-names): Add tst-quadmod1 tst-quadmod2.
36842         ($(objpfx)tst-quad1): New dependency.
36843         ($(objpfx)tst-quad2): Likewise.
36844         ($(objpfx)tst-quad1pie): Likewise.
36845         ($(objpfx)tst-quad2pie): Likewise.
36846         * sysdeps/x86_64/tst-quad1.c: New file.
36847         * sysdeps/x86_64/tst-quad1pie.c: New file.
36848         * sysdeps/x86_64/tst-quad2.c: Likewise.
36849         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36850         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36851         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36852         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36853         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36854
36855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36856
36857         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36858         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36859         * streams/stropts.h (t_scalar_t): Define type.
36860
36861         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36862         (_PATH_PRESERVE): Set to "/var/lib".
36863         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36864
36865         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36866         instead of int.
36867
36868         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36869         if __dir_mkfile succeeded.
36870
36871         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36872         checking for _hurd_dtablesize.  Unlock it right after having
36873         finished _hurd_dtable allocation.
36874
36875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36876
36877         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36878         * sysdeps/mach/hurd/configure: Regenerated.
36879         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36880         special-casing to...
36881         * sysdeps/gnu/configure.in: ... this new file.
36882         * sysdeps/unix/sysv/linux/configure: Regenerated.
36883         * sysdeps/gnu/configure: New generated file.
36884
36885         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36886         for Linux: use nsec instead of usec, as well as:
36887         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36888         members of type struct timespec.
36889         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36890         New macros.
36891         (struct stat64): Likewise.
36892         (_STATBUF_ST_NSEC): New macro.
36893         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36894
36895         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36896         __strtoul_internal rather than strtoul.
36897
36898 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36899
36900         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36901         and reject them.
36902
36903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36904
36905         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36906         which preserves existing values.
36907         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36908
36909 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36910
36911         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36912         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36913         greater than FD_SETSIZE.
36914
36915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36916
36917         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36918         allocated, call __vm_protect to finish enabling the existing space, and
36919         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36920         allocate the remainder.
36921
36922 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36923
36924         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36925         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36926
36927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36928
36929         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36930         sysdeps/mach/hurd/readlink.c.
36931
36932         * posix/tst-sysconf.c (posix_options): Only use
36933         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36934         _POSIX_SYNCHRONIZED_IO when they are defined
36935         * sysdeps/mach/hurd/bits/posix_opt.h:
36936         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36937         (_XOPEN_REALTIME): Undefine macro.
36938         (_XOPEN_REALTIME_THREADS): Undefine macro.
36939         (_XOPEN_SHM): Undefine macro.
36940         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36941         macro to -1.
36942         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36943         macro to -1.
36944         (_POSIX_ASYNC_IO): Undefine macro.
36945         (_POSIX_PRIORITIZED_IO): Undefine macro.
36946         (_POSIX_SPIN_LOCKS): Define macro to -1.
36947
36948         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36949         SA_NODEFER, SA_RESETHAND.
36950         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36951         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36952         F_DUPFD_CLOEXEC.
36953
36954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36955
36956         * elf/Makefile (pldd-modules): Define unconditionally.
36957
36958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36959
36960         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36961
36962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36963
36964         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36965         Return ENOENT when name is empty.
36966         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36967
36968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36969
36970         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36971
36972         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36973
36974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36975
36976         Fix mlock in all cases except non-readable pages.
36977         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36978         instead of VM_PROT_ALL as parameter to __vm_wire function.
36979
36980         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36981         (__mkdir): When path is `/', just fail with EEXIST.
36982         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36983
36984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36985
36986         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36987         <sys/uio.h> (for writev).
36988         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36989         and <sys/param.h> (for MIN).
36990
36991 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36992
36993         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36994         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36995         if interrupted.
36996
36997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36998
36999         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37000         Depend on against $(link-rpcuserlibs).
37001
37002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37003
37004         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37005         (__libc_stack_end): Do not use attribute_relro.
37006         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37007         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37008         to libthread-provided value.
37009         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37010         attribute_relro.
37011
37012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37013
37014         [BZ #3748]
37015         * bits/libc-lock.h (__libc_once_get): New macro.
37016         * sysdeps/mach/bits/libc-lock.h: Likewise.
37017         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37018         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37019         instead of using implementation details.
37020
37021         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37022         * libio/freopen.c: Likewise.
37023         * libio/freopen64.c: Likewise.
37024         * misc/syslog.c: Likewise.
37025         * nscd/connections.c: Likewise.
37026         * nscd/netgroupcache.c: Likewise.
37027         * sysdeps/posix/getcwd.c: Likewise.
37028
37029 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37030
37031         * math/w_ilogbf.c: Add #include <limits.h>.
37032
37033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37034
37035         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37036         path instead of returning without unlocking.
37037
37038         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37039         immediate-write ioctls.
37040         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37041
37042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37043
37044         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37045         __builtin_frame_address instead of making assumptions about the
37046         location of the return address relative to DATA.  Force early load of
37047         the return address.
37048         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37049         __builtin_frame_address.
37050
37051         dup3 for GNU Hurd.
37052         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37053         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37054         implement dup3 and do some further code clean-ups.
37055         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37056         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37057
37058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37059
37060         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37061
37062         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37063         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37064         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37065         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37066         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37067         d->port.lock.
37068
37069         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37070         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37071         when handler == SIG_ERR, not when handler != SIG_ERR.
37072
37073 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37074
37075         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37076         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37077         definitions.
37078
37079         accept4 for GNU Hurd.
37080         * include/sys/socket.h (__libc_accept4): New prototype.
37081         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37082         to implement __libc_accept4.
37083         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37084         __libc_accept4.
37085         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37086
37087         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37088         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37089         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37090         signal-defines.sym.
37091
37092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37093
37094         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37095
37096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37097
37098         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37099         assertion on O_CLOEXEC flag.
37100         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37101         * hurd/intern-fd.c: Likewise.
37102         * hurd/port2fd.c: Likewise.
37103
37104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37105
37106         [BZ #3906]
37107         * bits/in.h (IPV6_PKTINFO): Define new macro.
37108         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37109
37110 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37111
37112         [BZ #13954]
37113         [BZ #13955]
37114         [BZ #13956]
37115         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37116         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37117         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37118         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37120         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37121         * math/libm-test.inc (logb_test) : Additional logb tests.
37122
37123 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37124             Andreas Jaeger  <aj@suse.de>
37125
37126         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37127         * configure: Regenerated.
37128         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37129         * config.make.in (link-obsolete-rpc): New substituted variable.
37130         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37131         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37132         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37133         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37134         so that libc.a contains the symbols.
37135         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37136         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37137         * sunrpc/auth_none.c: Likewise.
37138         * sunrpc/auth_unix.c: Likewise.
37139         * sunrpc/authdes_prot.c: Likewise.
37140         * sunrpc/authuxprot.c: Likewise.
37141         * sunrpc/clnt_gen.c: Likewise.
37142         * sunrpc/clnt_perr.c: Likewise.
37143         * sunrpc/clnt_raw.c: Likewise.
37144         * sunrpc/clnt_simp.c: Likewise.
37145         * sunrpc/clnt_tcp.c: Likewise.
37146         * sunrpc/clnt_udp.c: Likewise.
37147         * sunrpc/clnt_unix.c: Likewise.
37148         * sunrpc/des_crypt.c: Likewise.
37149         * sunrpc/des_soft.c: Likewise.
37150         * sunrpc/get_myaddr.c: Likewise.
37151         * sunrpc/key_call.c: Likewise.
37152         * sunrpc/key_prot.c: Likewise.
37153         * sunrpc/netname.c: Likewise.
37154         * sunrpc/pm_getmaps.c: Likewise.
37155         * sunrpc/pm_getport.c: Likewise.
37156         * sunrpc/pmap_clnt.c: Likewise.
37157         * sunrpc/pmap_prot.c: Likewise.
37158         * sunrpc/pmap_prot2.c: Likewise.
37159         * sunrpc/pmap_rmt.c: Likewise.
37160         * sunrpc/publickey.c: Likewise.
37161         * sunrpc/rpc_cmsg.c: Likewise.
37162         * sunrpc/rpc_common.c: Likewise.
37163         * sunrpc/rpc_dtable.c: Likewise.
37164         * sunrpc/rpc_prot.c: Likewise.
37165         * sunrpc/rpc_thread.c: Likewise.
37166         * sunrpc/rtime.c: Likewise.
37167         * sunrpc/svc.c: Likewise.
37168         * sunrpc/svc_auth.c: Likewise.
37169         * sunrpc/svc_raw.c: Likewise.
37170         * sunrpc/svc_run.c: Likewise.
37171         * sunrpc/svc_tcp.c: Likewise.
37172         * sunrpc/svc_udp.c: Likewise.
37173         * sunrpc/svc_unix.c: Likewise.
37174         * sunrpc/svcauth_des.c: Likewise.
37175         * sunrpc/xcrypt.c: Likewise.
37176         * sunrpc/xdr.c: Likewise.
37177         * sunrpc/xdr_array.c: Likewise.
37178         * sunrpc/xdr_float.c: Likewise.
37179         * sunrpc/xdr_intXX_t.c: Likewise.
37180         * sunrpc/xdr_mem.c: Likewise.
37181         * sunrpc/xdr_rec.c: Likewise.
37182         * sunrpc/xdr_ref.c: Likewise.
37183         * sunrpc/xdr_sizeof.c: Likewise.
37184         * sunrpc/xdr_stdio.c: Likewise.
37185
37186 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37187
37188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37189         change.  Update copyright years.
37190
37191 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37192
37193         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37194
37195 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37196             Joseph Myers  <joseph@codesourcery.com>
37197             Paul Pluzhnikov  <ppluzhnikov@google.com>
37198
37199         [BZ #14012]
37200         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37201         requiring rpcgen.
37202         [cross-compiling] (extra-libs): Likewise.
37203         [cross-compiling] (extra-libs-others): Likewise.
37204         [cross-compiling] (librpcsvc-routines): Likewise.
37205         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37206         [cross-compiling] (omit-deps): Likewise.
37207         (sunrpc-CPPFLAGS): New variable.
37208         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37209         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37210         (cross-rpcgen-objs): New variable.
37211         (extra-objs): Append $(cross-rpcgen-objs).
37212         ($(cross-rpcgen-objs)): New rule.
37213         ($(objpfx)cross-rpcgen): Likewise.
37214         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37215         comment.
37216         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37217         ($(objpfx)x%.stmp): Likewise.
37218         * sunrpc/proto.h [IS_IN_build] (_): Define.
37219         [IS_IN_build] (_libc_intl_domainname): Likewise.
37220
37221 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37222
37223         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37224         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37225         and R_X86_64_TPOFF64.
37226
37227 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37228
37229         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37230         sysdeps/unix/sysv/syscalls.list.
37231         (stime): Likewise.
37232         (utime): Likewise.
37233         * sysdeps/unix/sysv/syscalls.list: Remove file.
37234
37235 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37236
37237         [BZ #3440]
37238         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37239         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37240         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37241         (__LC_IDENTIFICATION): Make these macros useful in #if
37242         expressions, as required by C99.
37243
37244 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37245
37246         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37247         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37248         after this.
37249
37250 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37251
37252         * stdlib/longlong.h: Updated from GCC.
37253
37254 2012-05-09  Andreas Jaeger  <aj@suse.de>
37255
37256         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37257         default is first entry.
37258         (run_mode): Set type.
37259         (main): Remove informal message about syslog.
37260         (options): Fix typo.
37261
37262         [BZ #14053]
37263         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37264         to asm.
37265         (lrint): Likewise.
37266         (llrintf): Likewise.
37267         (llrint): Likewise.
37268         (rint): Likewise.
37269         (rintf): Likewise.
37270         (nearbyint): Likewise.
37271         (nearbyintf): Likewise.
37272
37273 2012-05-09  Andreas Jaeger  <aj@suse.de>
37274             Pedro Alves  <palves@redhat.com>
37275
37276         * nscd/nscd.c (run_mode): Use enum.
37277         (main): Cleanup coding style issue.
37278
37279 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37280             Andreas Jaeger  <aj@suse.de>
37281
37282         * nscd/nscd.c (go_background): Replaced with...
37283         (run_mode): ... this.
37284         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37285         (options): Add -F --foreground.
37286         (main): Implement it.
37287         (parse_opt): Parse it.
37288
37289 2012-05-09  Andreas Jaeger  <aj@suse.de>
37290
37291         [BZ #14083]
37292         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37293         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37294         -Wconversion warning.
37295         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37296         Likewise.
37297
37298 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37299
37300         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37301         == 0.
37302         (LC_ALL): Use macro-int-constant.
37303         (LC_COLLATE): Likewise.
37304         (LC_CTYPE): Likewise.
37305         (LC_MESSAGES): Likewise.
37306         (LC_MONETARY): Likewise.
37307         (LC_NUMERIC): Likewise.
37308         (LC_TIME): Likewise.
37309         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37310         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37312         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37313         Specify type.
37314         [C99-based standards] (float_t): Expect type.
37315         [C99-based standards] (double_t): Expect type.
37316         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37317         type.
37318         [C99-based standards] (HUGE_VALL): Likewise.
37319         [C99-based standards] (INFINITY): Likewise.
37320         [C99-based standards] (NAN): Likewise.
37321         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37322         [C99-based standards] (FP_NAN): Likewise.
37323         [C99-based standards] (FP_NORMAL): Likewise.
37324         [C99-based standards] (FP_SUBNORMAL): Likewise.
37325         [C99-based standards] (FP_ZERO): Likewise.
37326         [C99-based standards] (FP_FAST_FMA): Use
37327         optional-macro-int-constant.  Specify type.  Require == 1.
37328         [C99-based standards] (FP_FAST_FMAF): Likewise.
37329         [C99-based standards] (FP_FAST_FMAL): Likewise.
37330         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37331         [C99-based standards] (FP_ILOGBNAN): Likewise.
37332         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37333         Specify type.
37334         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37335         [C99-based standards] (math_errhandling): Specify type.
37336         [ISO99 || ISO11] (signgam): Do not allow.
37337         [non-C99-based standards] (copysignf): Do not allow.
37338         [non-C99-based standards] (exp2f): Likewise.
37339         [non-C99-based standards] (log2f): Likewise.
37340         [non-C99-based standards] (modff): Allow.
37341         [non-C99-based standards] (erff): Do not allow.
37342         [non-C99-based standards] (erfcf): Likewise.
37343         [non-C99-based standards] (gammaf): Likewise.
37344         [non-C99-based standards] (hypotf): Likewise.
37345         [non-C99-based standards] (j0f): Likewise.
37346         [non-C99-based standards] (j1f): Likewise.
37347         [non-C99-based standards] (jnf): Likewise.
37348         [non-C99-based standards] (lgammaf): Likewise.
37349         [non-C99-based standards] (tgammaf): Likewise.
37350         [non-C99-based standards] (y0f): Likewise.
37351         [non-C99-based standards] (y1f): Likewise.
37352         [non-C99-based standards] (ynf): Likewise.
37353         [non-C99-based standards] (isnanf): Likewise.
37354         [non-C99-based standards] (acoshf): Likewise.
37355         [non-C99-based standards] (asinhf): Likewise.
37356         [non-C99-based standards] (atanhf): Likewise.
37357         [non-C99-based standards] (cbrtf): Likewise.
37358         [non-C99-based standards] (expm1f): Likewise.
37359         [non-C99-based standards] (ilogbf): Likewise.
37360         [non-C99-based standards] (log1pf): Likewise.
37361         [non-C99-based standards] (logbf): Likewise.
37362         [non-C99-based standards] (nextafterf): Likewise.
37363         [non-C99-based standards] (remainderf): Likewise.
37364         [non-C99-based standards] (rintf): Likewise.
37365         [non-C99-based standards] (scalbf): Likewise.
37366         [non-C99-based standards] (copysignl): Likewise.
37367         [non-C99-based standards] (exp2l): Likewise.
37368         [non-C99-based standards] (log2l): Likewise.
37369         [non-C99-based standards] (modfl): Allow.
37370         [non-C99-based standards] (erfl): Do not allow.
37371         [non-C99-based standards] (erfcl): Likewise.
37372         [non-C99-based standards] (gammal): Likewise.
37373         [non-C99-based standards] (hypotl): Likewise.
37374         [non-C99-based standards] (j0l): Likewise.
37375         [non-C99-based standards] (j1l): Likewise.
37376         [non-C99-based standards] (jnl): Likewise.
37377         [non-C99-based standards] (lgammal): Likewise.
37378         [non-C99-based standards] (tgammal): Likewise.
37379         [non-C99-based standards] (y0l): Likewise.
37380         [non-C99-based standards] (y1l): Likewise.
37381         [non-C99-based standards] (ynl): Likewise.
37382         [non-C99-based standards] (isnanl): Likewise.
37383         [non-C99-based standards] (acoshl): Likewise.
37384         [non-C99-based standards] (asinhl): Likewise.
37385         [non-C99-based standards] (atanhl): Likewise.
37386         [non-C99-based standards] (cbrtl): Likewise.
37387         [non-C99-based standards] (expm1l): Likewise.
37388         [non-C99-based standards] (ilogbl): Likewise.
37389         [non-C99-based standards] (log1pl): Likewise.
37390         [non-C99-based standards] (logbl): Likewise.
37391         [non-C99-based standards] (nextafterl): Likewise.
37392         [non-C99-based standards] (remainderl): Likewise.
37393         [non-C99-based standards] (rintl): Likewise.
37394         [non-C99-based standards] (scalbl): Likewise.
37395         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37396         [non-C99-based standards] (FP_*): Do not allow.
37397         [C99-based standards] (FP_*): Change to
37398         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37399         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37400         allow.
37401         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37402         (SIG_ERR): Likewise.
37403         [X/Open-based standards] (SIG_HOLD): Likewise.
37404         (SIG_IGN): Likewise.
37405         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37406         positive value.
37407         (SIGFPE): Likewise.
37408         (SIGILL): Likewise.
37409         (SIGINT): Likewise.
37410         (SIGSEGV): Likewise.
37411         (SIGTER): Likewise.
37412         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37413         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37414         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37415         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37416         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37417         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37418         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37419         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37420         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37421         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37422         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37423         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37424         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37425         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37426         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37427         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37428         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37429         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37430         [X/Open-based standards] (SIGTRAP): Likewise.
37431         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37432         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37435         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37436         allow.
37437
37438 2012-05-08  Ian Wienand  <ianw@vmware.com>
37439
37440         [BZ #14080]
37441         * time/tzset.c (__tzset_parse_tz): Update default rules for
37442         daylight time changes in the Energy Policy Act of 2005.
37443
37444 2012-05-09  Andreas Jaeger  <aj@suse.de>
37445
37446         [BZ #13983]
37447         * elf/ldconfig.c (parse_conf): Change string to make clear that
37448         ldconfig only issued a warning if ld.so.conf does not exist.
37449
37450 2012-05-08  David S. Miller  <davem@davemloft.net>
37451
37452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37453         movxtod instead of popping the value on the stack.
37454
37455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37456
37457 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37458
37459         * config.h.in: Add HAVE_ARM_PCS_VFP.
37460
37461 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37462
37463         [BZ #13979]
37464         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37465         checking but the checks are disabled for any reason.
37466
37467 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37468
37469         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37470         and ELF64_R_TYPE with ELFW(R_TYPE).
37471
37472 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37473
37474         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37475         (ulimit): Likewise.
37476
37477         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37478         (settimeofday): Likewise.
37479
37480 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37481
37482         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37483         a struct th_u2 inside the union, and move tu_block/tu_code into
37484         a new th_u3 union of tu_block/tu_code inside of that.  Move
37485         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37486         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37487         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37488         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37489         (th_stuff): Change to th_u1.tu_stuff.
37490         (th_data): Define.
37491         (th_msg): Change to th_u1.th_u2.tu_data.
37492
37493 2012-05-07  David S. Miller  <davem@davemloft.net>
37494
37495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37496
37497         [BZ #14074]
37498         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37499         (SETUP_PIC_REG): Use it.
37500         (SETUP_PIC_REG_LEAF): Use it.
37501
37502 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37503
37504         [BZ #13885]
37505         [BZ #13923]
37506         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37507         USE_AS_EXPM1L.
37508         (EXPL_FINITE): Likewise.
37509         (FLDLOG): Likewise.
37510         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37511         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37512         e_expl.S.
37513         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37514         USE_AS_EXPM1L.
37515         (EXPL_FINITE): Likewise.
37516         (FLDLOG): Likewise.
37517         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37518         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37519         e_expl.S.
37520         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37521         test of -max_value argument for long double.
37522         * sysdeps/i386/fpu/libm-test-ulps: Update.
37523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37524
37525 2012-05-06  David S. Miller  <davem@davemloft.net>
37526
37527         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37528         quad soft-float symbols whose references which are compiler
37529         generated.
37530         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37531
37532 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37533
37534         [BZ #13884]
37535         [BZ #13914]
37536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37537         USE_AS_EXP10L.
37538         (EXPL_FINITE): Likewise.
37539         (FLDLOG): Likewise.
37540         (c0): Likewise.
37541         (c1): Likewise.
37542         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37543         Adjust comments for base varying.
37544         (__expl_finite): Change alias to EXPL_FINITE.
37545         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37546         e_expl.S.
37547         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37548         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37549         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37550         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37552         USE_AS_EXP10L.
37553         (EXPL_FINITE): Likewise.
37554         (FLDLOG): Likewise.
37555         (c0): Likewise.
37556         (c1): Likewise.
37557         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37558         Adjust comments for base varying.
37559         (__expl_finite): Change alias to EXPL_FINITE.
37560         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37561         tests for bugs.
37562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37563
37564         [BZ #14064]
37565         * math/libm-test.inc (check_float_internal): Correct ulp
37566         calculation for subnormal expected results.
37567
37568 2012-05-06  Andreas Jaeger  <aj@suse.de>
37569
37570         * Makeconfig (+math-flags): New, set to -frounding-math.
37571         (+cflags): Add +math-flags so that all of glibc gets compiled with
37572         it.
37573
37574         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37575
37576 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37577
37578         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37579         Disable one test.
37580
37581         [BZ #13787]
37582         [BZ #13922]
37583         [BZ #14036]
37584         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37585         (__ieee754_expl): Allow for and saturate large arguments.
37586         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37587         (u_threshold): Likewise.
37588         (__exp): Call __ieee754_exp before checking for overflow and
37589         underflow.
37590         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37591         (u_threshold): Likewise.
37592         (__expf): Call __ieee754_expf before checking for overflow and
37593         underflow.
37594         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37595         (u_threshold): Likewise.
37596         (__expl): Call __ieee754_expl before checking for overflow and
37597         underflow.
37598         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37599         (__ieee754_expl): Allow for and saturate large arguments.
37600         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37601         missing overflow exception on overflow.
37602         (expm1_test): Do not allow missing overflow exception on overflow.
37603
37604         * sysdeps/i386/fpu/e_expl.c: Move to ...
37605         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37606         rather than using inline asm.
37607         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37608         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37609         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37610
37611         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37612         (nice): Likewise.
37613         (poll): Likewise.
37614         (signal): Likewise.
37615         (time): Likewise.
37616         (times): Likewise.
37617
37618 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37619
37620         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37621         sysdeps/unix/common/syscalls.list.
37622         (fchmod): Likewise.
37623         (fchown): Likewise.
37624         (ftruncate): Likewise.
37625         (getrusage): Likewise.
37626         (gettimeofday): Likewise.
37627         (setpgid): Likewise.
37628         (setregid): Likewise.
37629         (setreuid): Likewise.
37630         (sigaction): Likewise.
37631         (truncate): Likewise.
37632         (vhangup): Likewise.
37633         * sysdeps/unix/common/syscalls.list: Remove file.
37634         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37635         * sysdeps/unix/sysv/linux/Implies: Likewise.
37636
37637 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37638
37639         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37641         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37642         Moved to ...
37643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37644         Here.
37645         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37646         to ...
37647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37648         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37649         to ...
37650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37651         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37652         to ...
37653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37654         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37655         to ...
37656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37657         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37658         to ...
37659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37660         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37661         to ...
37662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37663         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37664         to ...
37665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37666         Here.
37667         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37668         to ...
37669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37670         Here.
37671         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37672         to ...
37673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37674         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37675         Moved to ...
37676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37677         Here.
37678         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37679         to ...
37680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37681
37682 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37683
37684         * sysdeps/unix/common/bits/dirent.h: Remove file.
37685         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37686
37687         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37688         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37689         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37690         * sysdeps/unix/bsd/isatty.c: Likewise.
37691         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37692         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37693         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37694
37695 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37696
37697         [BZ #13563]
37698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37699         long double comparison inaccuracies.
37700         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37702
37703 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37704
37705         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37707
37708 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37709
37710         [BZ #14049]
37711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37712         nonzero digits before rounding a hex value.
37713         * stdlib/tst-strtod.c (tests): Add another test.
37714
37715 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37716
37717         * sysdeps/s390/fpu/libm-test-ulps: Update.
37718
37719 2012-05-03  Andreas Jaeger  <aj@suse.de>
37720
37721         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37722         does not get optimized out.
37723         (malloc_opt_barrier): New.
37724
37725 2012-05-03  Andreas Jaeger  <aj@suse.de>
37726             Roland McGrath  <roland@hack.frob.com>
37727
37728         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37729         intermediate file deletion.
37730         (generated): Add .symlist files.
37731
37732 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37733
37734         [BZ #13775]
37735         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37736         Redirect under this condition.
37737         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37738         [__USE_GNU] (__dprintf_chk): Not under this condition.
37739         [__USE_GNU] (__vdprintf_chk): Likewise.
37740         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37741         under this condition.
37742         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37743         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37744         [__USE_XOPEN2K8] (vdprintf): Likewise.
37745         [__USE_GNU] (__dprintf_chk): Not under this condition.
37746         [__USE_GNU] (__vdprintf_chk): Likewise.
37747         [__USE_GNU] (dprintf): Likewise.
37748         [__USE_GNU] (vdprintf): Likewise.
37749
37750 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37751
37752         * elf/Makefile (common-generated): Set this instead of generated for
37753         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37754         $(all-built-dso)-derived lists.
37755
37756 2012-05-03  Andreas Jaeger  <aj@suse.de>
37757
37758         * sysdeps/i386/fpu/libm-test-ulps: Update.
37759
37760         * FAQ: Removed.
37761         * FAQ.in: Likewise.
37762         * scripts/gen-FAQ.pl: Likewise.
37763         * manual/install.texi (Installation): Point to online location of
37764         FAQ.
37765         * Makefile (files-for-dist): Remove FAQ.
37766         (FAQ): Remove.
37767
37768 2012-05-02  Allan McRae  <allan@archlinux.org>
37769
37770         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37771         (LDFLAGS-reldepmod5.so): Likewise.
37772         (LDFLAGS-reldep6mod1.so): Likewise.
37773         (LDFLAGS-reldep6mod4.so): Likewise.
37774         (LDFLAGS-reldep8mod3.so): Likewise.
37775         (LDFLAGS-unload4mod1.so): Likewise.
37776         (LDFLAGS-unload4mod2.so): Likewise.
37777         (LDFLAGS-tst-initorder): Likewise.
37778         (LDFLAGS-tst-initordera2.so): Likewise.
37779         (LDFLAGS-tst-initordera3.so): Likewise.
37780         (LDFLAGS-tst-initordera4.so): Likewise.
37781         (LDFLAGS-tst-initorderb2.so): Likewise.
37782         (LDFLAGS-noload): Likewise.
37783         (LDFLAGS-next): Likewise.
37784         (LDFLAGS-order2mod1.so): Likewise.
37785         (LDFLAGS-order2mod2.so): Likewise.
37786         (LDFLAGS-tst-initorder2): Likewise.
37787         (LDFLAGS-tst-initorder2a.so): Likewise.
37788         (LDFLAGS-tst-initorder2b.so): Likewise.
37789         (LDFLAGS-tst-initorder2c.so): Likewise.
37790         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37791
37792 2012-05-02  David S. Miller  <davem@davemloft.net>
37793
37794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37795
37796 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37797
37798         [BZ #14055]
37799         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37800
37801 2012-05-02  Andreas Jaeger  <aj@suse.de>
37802
37803         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37804         since we manipulate rounding mode.
37805         (CPPFLAGS-test-idouble.c): Likewise.
37806         (CPPFLAGS-test-ifloat.c): Likewise.
37807         (CFLAGS-test-ldouble.c): Likewise.
37808         (CFLAGS-test-double.c): Likewise.
37809         (CFLAGS-test-float.c): Likewise.
37810         (CFLAGS-test-misc.c): Likewise.
37811         (CFLAGS-test-test-fenv.c): Likewise.
37812
37813 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37814
37815         [BZ #2550]
37816         [BZ #2570]
37817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37818         comparisons to determine direction to adjust input.
37819
37820 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37821
37822         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37823         output to the target.
37824
37825         * scripts/localplt.awk: New file.
37826         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37827         (check-localplt-CFLAGS): Variable removed.
37828         ($(all-built-dso:=.jmprel)): New static pattern rule.
37829         (generated): Add those targets.
37830         (localplt-built-dso): New variable.
37831         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37832
37833         * elf/check-localplt.c: File removed.
37834
37835         * scripts/check-execstack.awk: New file.
37836         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37837         (check-execstack-CFLAGS): Variable removed.
37838         ($(objpfx)check-execstack.h): Target removed.
37839         ($(objpfx)execstack-default): New target.
37840         (generated): Add that instead of check-execstack.h.
37841         ($(all-built-dso:=.phdr)): New static pattern rule.
37842         (generated): Add those targets.
37843         * elf/check-execstack.c: File removed.
37844
37845         * scripts/check-textrel.awk: New file.
37846         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37847         (check-textrel-CFLAGS): Variable removed.
37848         (all-built-dso): Use := to define.o
37849         ($(all-built-dso:=.dyn)): New static pattern rule.
37850         (generated): Add those targets.
37851         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37852         * config.make.in (READELF): New substituted variable.
37853         * elf/check-textrel.c: File removed.
37854
37855 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37856
37857         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37858         allow.
37859         * conform/data/ctype.h-data [C99-based standards] (isblank):
37860         Expect function.
37861         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37862         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37864         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37865         Specify type.  Require positive value.
37866         (EILSEQ): Likewise.
37867         (ERANGE): Likewise.
37868         [ISO || POSIX] (EILSEQ): Do not expect.
37869         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37870         Specify type.  Require positive value.
37871         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37872         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37873         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37874         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37875         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37876         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37877         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37878         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37879         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37880         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37881         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37882         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37883         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37884         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37885         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37886         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37887         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37888         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37889         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37890         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37891         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37892         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37893         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37894         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37895         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37896         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37897         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37898         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37899         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37900         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37901         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37902         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37903         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37904         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37905         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37906         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37907         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37908         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37909         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37910         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37911         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37912         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37913         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37914         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37915         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37916         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37917         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37918         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37919         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37920         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37921         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37922         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37923         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37924         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37925         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37926         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37927         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37928         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37929         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37930         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37931         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37932         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37933         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37934         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37935         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37936         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37937         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37938         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37939         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37940         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37941         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37942         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37943         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37944         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37945         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37946         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37947         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37948         Require >= 2.
37949         (FLT_ROUNDS): Expect as macro, not constant.
37950         (FLT_MANT_DIG): Use macro-int-constant.
37951         (DBL_MANT_DIG): Likewise.
37952         (LDBL_MANT_DIG): Likewise.
37953         (FLT_DIG): Likewise.
37954         (DBL_DIG): Likewise.
37955         (LDBL_DIG): Likewise.
37956         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37957         (DBL_MIN_EXP): Likewise.
37958         (LDBL_MIN_EXP): Likewise.
37959         (FLT_MAX_EXP): Use macro-int-constant.
37960         (DBL_MAX_EXP): Likewise.
37961         (LDBL_MAX_EXP): Likewise.
37962         (FLT_MAX_10_EXP): Likewise.
37963         (DBL_MAX_10_EXP): Likewise.
37964         (LDBL_MAX_10_EXP): Likewise.
37965         (FLT_MAX): Use macro-constant.
37966         (DBL_MAX): Likewise.
37967         (LDBL_MAX): Likewise.
37968         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37969         (DBL_EPSILON): Likewise.
37970         (LDBL_EPSILON): Likewise.
37971         (FLT_MIN): Likewise.
37972         (DBL_MIN): Likewise.
37973         (LDBL_MIN): Likewise.
37974         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37975         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37976         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37977         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37978         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37979         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37980         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37981         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37982         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37983         [ISO11] (FLT_TRUE_MIN): Likewise.
37984         [ISO11] (LDBL_TRUE_MIN): Likewise.
37985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37986         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37987         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37988         (SCHAR_MAX): Likewise.
37989         (UCHAR_MAX): Likewise.
37990         (CHAR_MIN): Likewise.
37991         (CHAR_MAX): Likewise.
37992         (MB_LEN_MAX): Use macro-int-constant.
37993         (SHRT_MIN): Use macro-int-constant.  Specify type.
37994         (SHRT_MAX): Likewise.
37995         (USHRT_MAX): Likewise.
37996         (INT_MAX): Likewise.
37997         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37998         bound negative.
37999         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38000         bound with "U".
38001         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38002         bound with "L".
38003         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38004         bound negative.  Suffix upper bound with "L".
38005         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38006         bound with "UL".
38007         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38008         Specify type.
38009         [C99-based standards] (LLONG_MAX): Likewise.
38010         [C99-based standards] (ULLONG_MAX): Likewise.
38011         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38012         == 0.
38013         [ISO11] (max_align_t): Require type.
38014         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38015
38016         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38017         from $CFLAGS, without defining away __attribute__ calls.
38018         (checknamespace): Use $CFLAGS_namespace.
38019
38020         * conform/conformtest.pl (@keywords): Only include C99 keywords
38021         for standards based on C99 or C11.
38022
38023         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38024         Disable tests.
38025         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38026         UNIX98]: Likewise.
38027
38028         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38029         usability of symbols in #if.
38030
38031         * conform/conformtest.pl: If macro or constant types start
38032         "promoted:", expect the symbol to be of the following type
38033         promoted by the integer promotions.
38034
38035         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38036         in one place.  Also handle "macro-constant".
38037
38038         * conform/conformtest.pl: Only accept expected macro values with
38039         "==".  Parse all "macro" lines in one place.
38040         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38041
38042         * conform/conformtest.pl: Handle braced types on "constant" lines
38043         instead of handling "typed-constant".
38044         * conform/data/signal.h-data: Use "constant" instead of
38045         "typed-constant".
38046
38047         * conform/conformtest.pl: Handle "optional-" at start of lines in
38048         one place rather than duplicating several cases.  Handle each
38049         format of "macro" line with initial "optional-".
38050
38051         * conform/conformtest.pl: Only accept expected constant or
38052         optional-constant values with "==".  Parse all "constant" lines in
38053         one place.  Parse all "optional-constant" lines in one place.
38054         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38055         * conform/data/fmtmsg.h-data: Likewise.
38056         * conform/data/netinet/in.h-data: Likewise.
38057         * conform/data/tar.h-data: Likewise.
38058         * conform/data/limits.h-data: Use "==" form on "constant" and
38059         "optional-constant" lines.
38060
38061         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38062         Use -std=c99 for XOPEN2K.
38063         (@knownproblems): Remove.
38064         (newtoken): Don't check %isknown.
38065
38066         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38067         Do not expect macro.
38068         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38080         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38081         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38098         [XPG3] (acosh): Likewise.
38099         [XPG3] (asinh): Likewise.
38100         [XPG3] (atanh): Likewise.
38101         [XPG3] (cbrt): Likewise.
38102         [XPG3] (expm1): Likewise.
38103         [XPG3] (ilogb): Likewise.
38104         [XPG3] (log1p): Likewise.
38105         [XPG3] (logb): Likewise.
38106         [XPG3] (nextafter): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38109         [XPG3] (remainder): Likewise.
38110         [XPG3] (rint): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38118         [UNIX98 || XOPEN2K] (scalb): Expect.
38119         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38120         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38122         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38123         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38140         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38141         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38142         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38143         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38144         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38145         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38146         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38147         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38148         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38151         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38152         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38156         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38157         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38158         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38160         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38161         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38162         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38163         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38164         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38165         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38166         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38167         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38168         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38169         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38170         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38171         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38174         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38183         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38185         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38188         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38189         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38190         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38191         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38192         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38193         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38194         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38195         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38196         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38197         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38198         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38199         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38200         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38201         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38202         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38203         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38204         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38205         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38206         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38207         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38208         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38209         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38210         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38211         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38212         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38213         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38214         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38215         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38216         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38217         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38218         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38219         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38220         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38221         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38222         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38223         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38224         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38225         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38226         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38227         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38228         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38229         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38230         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38231         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38232         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38233         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38234         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38235         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38236         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38237         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38238         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38239         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38240         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38241         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38242         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38243         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38244         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38245         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38246         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38247         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38248         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38249         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38250         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38251         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38252         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38253         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38254         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38255         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38256
38257         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38258         _XOPEN_SOURCE_EXTENDED for XPG4.
38259
38260         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38261
38262         * Makeconfig (localtime): Remove variable.
38263         (inst_localtime-file): Likewise.
38264
38265 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38266
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38268         Update.
38269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38270         Update.
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38272         Update.
38273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38274         Update.
38275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38276         Update.
38277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38278         Update.
38279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38280         Update.
38281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38282         Update.
38283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38284         Update.
38285
38286 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38287
38288         [BZ #2550]
38289         [BZ #2570]
38290         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38291         comparisons to determine direction to adjust input.
38292         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38293         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38294         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38295         Likewise.
38296         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38297         Likewise.
38298         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38299         Likewise.
38300         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38301         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38302         Likewise.
38303         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38304         Likewise.
38305         * math/libm-test.inc (nexttoward_test): Add more tests.
38306
38307 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38308
38309         [BZ #14040]
38310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38311         in version GLIBC_2.1, not GLIBC_2.0.
38312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38313         Likewise.
38314
38315 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38316
38317         [BZ #13942]
38318         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38319         (1 - x) * (1 + x).
38320         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38321         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38322         * math/libm-test.inc (acos_test): Add more tests.
38323         (asin_test): Likewise.
38324         * sysdeps/i386/fpu/libm-test-ulps: Update.
38325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38326
38327         [BZ #14034]
38328         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38329         of square root.
38330         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38331         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38332         * math/libm-test.inc (acos_test_tonearest): New function.
38333         (acos_test_towardzero): Likewise.
38334         (acos_test_downward): Likewise.
38335         (acos_test_upward): Likewise.
38336         (asin_test_tonearest): Likewise.
38337         (asin_test_towardzero): Likewise.
38338         (asin_test_downward): Likewise.
38339         (asin_test_upward): Likewise.
38340         (main): Call the new functions.
38341         * sysdeps/i386/fpu/libm-test-ulps: Update.
38342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38343
38344         [BZ #13884]
38345         [BZ #13924]
38346         * math/e_exp10.c: Include <float.h>.
38347         (__ieee754_exp10): Handle underflow here rather than multiplying
38348         large negative argument by M_LN10.
38349         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38350         of __ieee754_expf.
38351         * math/e_exp10l.c: Include <float.h>.
38352         (__ieee754_exp10l): Handle underflow here rather than multiplying
38353         large negative argument by M_LN10l.
38354         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38355         spurious overflow exception on underflow.
38356
38357 2012-04-29  Marek Polacek  <polacek@redhat.com>
38358
38359         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38360         (__fortify_function): New macro.
38361         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38362         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38363         __extern_always_inline.
38364         * libio/bits/stdio2.h: Likewise.
38365         * libio/bits/stdio.h: Likewise.
38366         * string/string.h: Likewise.
38367         * string/bits/string3.h: Likewise.
38368         * include/stdio.h: Likewise.
38369         * stdlib/bits/stdlib.h: Likewise.
38370         * stdlib/stdlib.h: Likewise.
38371         * rt/bits/mqueue2.h: Likewise.
38372         * rt/mqueue.h: Likewise.
38373         * posix/bits/unistd.h: Likewise.
38374         * posix/unistd.h: Likewise.
38375         * io/bits/poll2.h: Likewise.
38376         * io/bits/fcntl2.h: Likewise.
38377         * io/fcntl.h: Likewise.
38378         * io/sys/poll.h: Likewise.
38379         * misc/bits/syslog.h: Likewise.
38380         * misc/bits/syslog-ldbl.h: Likewise.
38381         * misc/sys/syslog.h: Likewise.
38382         * socket/bits/socket2.h: Likewise.
38383         * socket/sys/socket.h: Likewise.
38384         * debug/tst-chk1.c: Likewise.
38385         * wcsmbs/bits/wchar2.h: Likewise.
38386         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38387         * wcsmbs/wchar.h: Likewise.
38388
38389 2012-04-29  Andreas Jaeger  <aj@suse.de>
38390
38391         * Makerules (tests): Remove enable-check-abi protection.
38392         (check-abi-warn): Remove.
38393         (check-abi-%): Remove check-abi-warn usage.
38394
38395         * configure.in: Remove check-abi configure option.
38396         * configure: Regenerated.
38397         * config.make.in (enable-check-abi): Remove.
38398
38399 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38400
38401         [BZ #14033]
38402         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38403         double functions to double *_finite functions.
38404
38405         [BZ #13941]
38406         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38407         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38408         LDBL_MIN_EXP.
38409         * stdio-common/Makefile (tests): Add tst-sprintf3.
38410         * stdio-common/tst-sprintf3.c: New file.
38411
38412         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38413         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38414
38415 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38416
38417         * conform/conformtest.pl: Remove duplicate typed-constant
38418         handling.
38419
38420 2012-04-28  David S. Miller  <davem@davemloft.net>
38421
38422         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38423         (check-abi-%): Remove AWK script prerequisite and explicit
38424         abilist directory.
38425         (check-abi): Rewrite to just diff the symlist with the abilist.
38426         (config-tls, config-abi-config): Delete, no longer used.
38427         (update-abi-%): Remove AWK script and explicit abilist directory.
38428         (update-abi): Rewrite to simply compare and conditionally copy the
38429         symlist and the sysdep abilist file.  Remove update-abi-config
38430         checks.
38431         * abilist/ld.abilist: Remove.
38432         * abilist/libBrokenLocale.abilist: Remove.
38433         * abilist/libanl.abilist: Remove.
38434         * abilist/libcrypt.abilist: Remove.
38435         * abilist/libdl.abilist: Remove.
38436         * abilist/librt.abilist: Remove.
38437         * abilist/libthread_db.abilist: Remove.
38438         * abilist/libutil.abilist: Remove.
38439         * scripts/extract-abilist.awk: Remove.
38440         * scripts/merge-abilist.awk: Remove.
38441         * sysdeps/generic/libcidn.abilist: New file.
38442         * sysdeps/generic/libnss_compat.abilist: New file.
38443         * sysdeps/generic/libnss_db.abilist: New file.
38444         * sysdeps/generic/libnss_dns.abilist: New file.
38445         * sysdeps/generic/libnss_files.abilist: New file.
38446         * sysdeps/generic/libnss_hesiod.abilist: New file.
38447         * sysdeps/generic/libnss_nis.abilist: New file.
38448         * sysdeps/generic/libnss_nisplus.abilist: New file.
38449         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38450         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38451         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38452         file.
38453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38454         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38455         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38456         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38457         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38458         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38459         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38460         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38461         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38462         file.
38463         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38464         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38465         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38466         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38467         file.
38468         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38469         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38470         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38471         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38472         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38473         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38474         file.
38475         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38476         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38477         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38478         file.
38479         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38481         New file.
38482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38483         New file.
38484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38485         New file.
38486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38487         New file.
38488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38489         New file.
38490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38491         New file.
38492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38493         New file.
38494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38495         New file.
38496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38497         New file.
38498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38499         New file.
38500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38501         New file.
38502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38503         New file.
38504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38505         New file.
38506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38507         file.
38508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38509         New file.
38510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38511         New file.
38512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38513         file.
38514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38515         New file.
38516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38517         New file.
38518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38519         file.
38520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38521         New file.
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38523         New file.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38525         New file.
38526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38527         New file.
38528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38529         New file.
38530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38531         New file.
38532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38534         file.
38535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38536         New file.
38537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38538         file.
38539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38540         file.
38541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38542         file.
38543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38544         file.
38545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38546         file.
38547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38548         New file.
38549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38550         file.
38551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38552         file.
38553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38554         New file.
38555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38556         file.
38557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38559         file.
38560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38561         New file.
38562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38563         file.
38564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38565         file.
38566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38567         file.
38568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38569         file.
38570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38571         file.
38572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38573         New file.
38574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38575         file.
38576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38577         file.
38578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38579         New file.
38580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38581         file.
38582         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38583         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38584         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38585         file.
38586         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38587         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38588         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38589         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38590         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38591         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38592         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38593         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38594         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38595         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38598         file.
38599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38600         New file.
38601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38602         file.
38603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38604         file.
38605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38606         file.
38607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38608         file.
38609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38610         file.
38611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38612         New file.
38613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38614         New file.
38615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38616         file.
38617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38618         New file.
38619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38620         file.
38621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38623         file.
38624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38625         New file.
38626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38627         file.
38628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38629         file.
38630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38631         file.
38632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38633         file.
38634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38635         file.
38636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38637         New file.
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38639         New file.
38640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38641         file.
38642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38643         New file.
38644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38645         file.
38646
38647 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38648
38649         * conform/conformtest.pl: Fix typo in handling typed-constant from
38650         allow-header.
38651
38652 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * README: Cut down references to pre-2.6 Linux kernels and
38655         Linuxthreads.  Update lists of configurations in libc and ports
38656         and sort alphabetically.  Say "or newer" with Linux kernel version
38657         requirements.
38658
38659         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38660
38661 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38662
38663         [BZ #887]
38664         * math/libm-test.inc (logb_test_downward): New test to expose
38665         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38666         rounding mode.
38667
38668 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38669
38670         [BZ #14027]
38671         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38672         to be done.
38673         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38674         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38675
38676 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38677
38678         * sysdeps/unix/i386/brk.S: Remove file.
38679         * sysdeps/unix/i386/dl-brk.S: Likewise.
38680         * sysdeps/unix/i386/pipe.S: Likewise.
38681         * sysdeps/unix/i386/sigreturn.S: Likewise.
38682         * sysdeps/unix/i386/syscall.S: Likewise.
38683         * sysdeps/unix/i386/vfork.S: Likewise.
38684         * sysdeps/unix/i386/wait.S: Likewise.
38685
38686         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38687         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38688
38689         * configure.in (arm*-none*): Do not allow without
38690         --enable-hacker-mode.
38691         (netbsd*): Remove case setting base_os.
38692         (386bsd*): Likewise.
38693         (freebsd*): Likewise.
38694         (bsdi*): Likewise.
38695         (osf*): Likewise.
38696         (sunos*): Likewise.
38697         (ultrix*): Likewise.
38698         (newsos*): Likewise.
38699         (dynix*): Likewise.
38700         (*bsd*): Likewise.
38701         (sysv*): Likewise.
38702         (isc*): Likewise.
38703         (esix*): Likewise.
38704         (sco*): Likewise.
38705         (minix*): Likewise.
38706         (irix4*): Likewise.
38707         (irix6*): Likewise.
38708         (solaris[2-9]*): Likewise.
38709         (none): Likewise.
38710         * configure: Regenerated.
38711
38712 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38713
38714         [BZ #11521]
38715         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38716         overflow or cancellation in calculating denominator.
38717         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38719         down expression to avoid unexpected rounding in newer GCCs.
38720         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38721
38722 2012-04-26  David S. Miller  <davem@davemloft.net>
38723
38724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38725         long-double compat symbols.
38726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38739
38740 2012-04-25  David S. Miller  <davem@davemloft.net>
38741
38742         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38743         HWCAP_* values only after the memory barriers have been defined.
38744         (atomic_full_barrier): Define.
38745         (atomic_read_barrier): Define.
38746         (atomic_write_barrier): Define.
38747
38748 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38749
38750         * shlib-versions: Add libgcc_s version information.
38751         * sysdeps/generic/libgcc_s.h: Remove.
38752         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38753         libgcc_s.h.
38754         * sysdeps/gnu/unwind-resume.c: Likewise.
38755         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38756
38757 2012-04-25  David S. Miller  <davem@davemloft.net>
38758
38759         * sysdeps/unix/sparc/brk.S: Delete.
38760         * sysdeps/unix/sparc/dl-brk.S: Delete.
38761         * sysdeps/unix/sparc/pipe.S: Delete.
38762         * sysdeps/unix/sparc/sysdep.S: Delete.
38763         * sysdeps/unix/sparc/sysdep.h: Delete.
38764         * sysdeps/unix/sparc/vfork.S: Delete.
38765         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38766         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38767         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38768         (ret_ERRVAL, r0, r1, MOVE): Define.
38769         (JUMPTARGET): Remove.
38770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38771         sysdeps/unix/sparc/sysdep.h
38772         (ENTRY, END): Remove.
38773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38774
38775 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38776
38777         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38778         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38779         -DIS_IN_build.
38780
38781         * timezone/README: Update upstream location and email address for
38782         tzcode and tzdata.
38783         * timezone/zdump.c: Update from tzcode 2012b.
38784         * timezone/zic.c: Likewise.
38785
38786         * configure.in (libc_cv_as_needed): Remove test.
38787         * configure: Regenerated.
38788         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38789         conditional definition.
38790         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38791         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38792         * config.make.in (have-as-needed): Remove variable.
38793
38794 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38795             Paul Pluzhnikov  <ppluzhnikov@google.com>
38796
38797         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38798         strings correctly.
38799
38800 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38801
38802         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38803         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38804         * sysdeps/sh/strlen.S: Likewise.
38805
38806 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38807
38808         * sysdeps/unix/fork.S: Remove file.
38809         * sysdeps/unix/i386/fork.S: Likewise.
38810         * sysdeps/unix/sparc/fork.S: Likewise.
38811
38812         * sysdeps/unix/system.c: Remove file.
38813         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38814
38815         * sysdeps/unix/getegid.S: Remove file.
38816         * sysdeps/unix/geteuid.S: Likewise.
38817
38818 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38819
38820         * scripts/check-localplt.awk: New file.
38821         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38822         of diff.
38823         * scripts/data/localplt-generic.data: Add a comment.
38824
38825         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38826         NODE when __dir_mkfile failed.
38827         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38828         Reported by Ludovic Courtès <ludo@gnu.org>.
38829
38830 2012-04-24  Andreas Jaeger  <aj@suse.de>
38831
38832         * Makerules (common-clean): Also remove gen-as-const-headers
38833         files.
38834
38835 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38836
38837         * Makerules (native-compile): Do not change working directory for
38838         build.  Use $(OUTPUT_OPTION) in command.
38839         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38840
38841 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38842
38843         [BZ #13886]
38844         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38845         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38846         * math/libm-test.inc (floor_test): Add more tests.
38847         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38848
38849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38850
38851         * sysdeps/unix/getdents.c: Remove file.
38852         * sysdeps/unix/sysv/getdents.c: Likewise.
38853         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38854
38855         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38856         sysdeps/unix/mman/syscalls.list.
38857         (mmap): Likewise.
38858         (mprotect): Likewise.
38859         (msync): Likewise.
38860         (munmap): Likewise.
38861         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38862         * sysdeps/unix/mman/syscalls.list: Remove.
38863         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38864
38865         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38866         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38867         * configure: Regenerated.
38868         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38869         $(libgcc_s_suffix).
38870         * config.make.in (libgcc_s_suffix): Remove variable.
38871
38872 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38873
38874         * sysdeps/unix/sysv/gethostname.c: Move to ...
38875         * sysdeps/posix/gethostname.c: ... here.
38876
38877         * sysdeps/unix/execve.S: Remove file.
38878
38879         * sysdeps/unix/_exit.S: Remove file.
38880
38881 2012-04-23  Andreas Jaeger  <aj@suse.de>
38882
38883         [BZ #13739]
38884         * manual/Makefile: Remove make dist support, there's no
38885         need for a stand-alone documentation tar ball.
38886         (TEXI2DVI): Define always, it's not in Makeconfig.
38887         (dist): Removed.
38888         (tar-it): Removed.
38889         (edition): Removed.
38890         (glibc-doc-$(edition).tar): Removed
38891         (%.Z): Removed.
38892         (%.gz): Removed.
38893         (%.uu): Removed.
38894         (ETAGS): Remove, it's in Makeconfig.
38895         (move-if-change): Remove, it's in Makeconfig.
38896
38897 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38898
38899         [BZ #13970]
38900         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38901         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38902         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38903         (strtod_l, strtof_l, strtold_l): Remove __wur.
38904         It is not necessarily an error to ignore strtol's return value.
38905         One can reliably look at the stored endptr to decide whether
38906         the number had valid syntax.
38907
38908 2012-04-21  Andreas Jaeger  <aj@suse.de>
38909
38910         [BZ #13739]
38911         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38912
38913 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38914
38915         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38916         * sysdeps/unix/sysv/Versions: Remove file.
38917
38918 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38919
38920         [BZ #13927]
38921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38922
38923 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38924
38925         [BZ #7064]
38926         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38927         version from __vm86.
38928
38929 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38930
38931         * sysdeps/unix/common/lxstat.c: Remove file.
38932         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38933
38934         * sysdeps/unix/sysv/Makefile: Remove file.
38935
38936         * sysdeps/unix/sysv/direct.h: Remove file.
38937
38938         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38939         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38940         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38941         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38942         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38943         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38944         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38945
38946         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38947
38948         * sysdeps/unix/xmknod.c: Remove file.
38949         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38950
38951         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38952
38953         * sysdeps/unix/sysv/i386/time.S: Remove file.
38954
38955         * sysdeps/unix/fxstat.c: Remove file.
38956         * sysdeps/unix/xstat.c: Likewise.
38957         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38958
38959         * sysdeps/unix/sysv/sigaction.c: Remove file.
38960
38961         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38962         (sysdep_headers): Remove variable.
38963         [termio.h not in sysdep_headers] (generated): Likewise.
38964         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38965         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38966         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38967         * sysdeps/unix/sysv/tcflow.c: Likewise.
38968         * sysdeps/unix/sysv/tcflush.c: Likewise.
38969         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38970         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38971         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38972         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38973         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38974
38975         * sysdeps/unix/siglist.c: Remove file.
38976
38977         * sysdeps/unix/getppid.S: Remove file.
38978
38979         * sysdeps/unix/mkdir.c: Remove file.
38980         * sysdeps/unix/rmdir.c: Likewise.
38981
38982 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38983
38984         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38985         ERR_MAX value.
38986         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38987         errlist-compat value.
38988
38989 2012-04-18  David S. Miller  <davem@davemloft.net>
38990
38991         * sysdeps/generic/memcopy.h (reg_char): Delete.
38992         * debug/strcat_chk.c: Use char, not reg_char.
38993         * debug/strcpy_chk.c: Likewise.
38994         * debug/strncat_chk.c: Likewise.
38995         * debug/strncpy_chk.c: Likewise.
38996         * string/memchr.c: Likewise.
38997         * string/memrchr.c: Likewise.
38998         * string/rawmemchr.c: Likewise.
38999         * string/strcat.c: Likewise.
39000         * string/strchr.c: Likewise.
39001         * string/strchrnul.c: Likewise.
39002         * string/strcmp.c: Likewise.
39003         * string/strcpy.c: Likewise.
39004         * string/strncat.c: Likewise.
39005         * string/strncmp.c: Likewise.
39006         * string/strncpy.c: Likewise.
39007
39008 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39009
39010         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39011         __builtin_memcopy is called when src and dest ranges are known to not
39012         overlap.
39013
39014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39015
39016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39017         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39018         fwd_align_merge macro call.
39019         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39020         bwd_align_merge macro call.
39021         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39022
39023 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39024
39025         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39026         bwd_align_merge macros.
39027         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39028         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39029         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39030
39031 2012-04-18  David S. Miller  <davem@davemloft.net>
39032
39033         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39034
39035 2012-04-18  Andreas Jaeger  <aj@suse.de>
39036
39037         [BZ# 6794]
39038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39039         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39040         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39041
39042         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39043         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39044         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39045
39046         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39047         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39048         Adjust for changed ldbl-128 files.
39049
39050         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39051         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39052         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39053
39054 2012-04-17  David S. Miller  <davem@davemloft.net>
39055
39056         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39057
39058 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39059
39060         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39061         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39062         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39063         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39064         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39065         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39066
39067 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39068
39069         [BZ #6794]
39070         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39071         * math/libm-test.inc: Add ilogb errno and exception tests.
39072         * math/w_ilogb.c: New file: ilogb wrapper.
39073         * math/w_ilogbf.c: New file: ilogbf wrapper.
39074         * math/w_ilogbl.c: New file: ilogbl wrapper.
39075         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39076         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39077         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39078         exception being thrown with 0.0 as argument.
39079         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39080         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39081         exception being thrown with 0.0 as argument.
39082         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39083         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39084         exception being thrown with 0.0 as argument.
39085         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39086         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39087         exception being thrown with 0.0 as argument.
39088         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39089         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39090         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39091         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39093         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39094         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39095         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39096         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39097
39098 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39099
39100         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39101         with altivec.
39102
39103 2012-04-16  Marek Polacek  <polacek@redhat.com>
39104
39105         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39106
39107 2012-04-16  Marek Polacek  <polacek@redhat.com>
39108
39109         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39110         operands of fdivp instruction.
39111
39112 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39113
39114         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39115         * elf/tst-auditmod3b.c: Likewise.
39116         * elf/tst-auditmod4b.c: Likewise.
39117         * elf/tst-auditmod5b.c: Likewise.
39118         * elf/tst-auditmod6b.c: Likewise.
39119         * elf/tst-auditmod6c.c: Likewise.
39120         * elf/tst-auditmod7b.c: Likewise.
39121         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39122         * sysdeps/x86_64/preconfigure.in: Likewise.
39123         * sysdeps/x86_64/preconfigure: Regenerated.
39124
39125 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39126
39127         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39128         __ILP32__.
39129
39130 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39131
39132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39133         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39134
39135 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39136
39137         [BZ #13973]
39138         * locale/iso-639.def: Fix gl language name. Spotted by
39139         Yaron Shahrabani.
39140
39141 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39142
39143         [BZ #2074]
39144         * libio/libio.h (__io_write_fn): Update comment.
39145
39146 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39147
39148         [BZ #2074]
39149         * stdio.texi (Hook Functions): The user provided writer function
39150         is not allowed to return -1.
39151
39152 2012-04-11  David S. Miller  <davem@davemloft.net>
39153
39154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39155
39156 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39157
39158         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39159         Add a leading slash to rtkaio.
39160
39161 2012-04-11  Jim Meyering  <meyering@redhat.com>
39162
39163         [BZ #11959]
39164         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39165         It is not necessarily an error to ignore fwrite's return
39166         value.  One can reliably use ferror to test for errors after
39167         the fact.
39168
39169 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39170
39171         * bits/types.h (__snseconds_t): New type.
39172         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39173
39174         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39176         (__SNSECONDS_T_TYPE): Likewise.
39177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39178         (__SNSECONDS_T_TYPE): Likewise.
39179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39180         (__SNSECONDS_T_TYPE): Likewise.
39181
39182 2012-04-10  Andreas Jaeger  <aj@suse.de>
39183
39184         [BZ #2636]
39185         * manual/time.texi (Processor Time): Return type of times is
39186         elapsed real time since an arbitrary point in the past.
39187         (CPU Time): Move CLK_TCK from here...
39188         (Processor Time): ...to here.  Correct description.
39189         * manual/conf.texi (Constants for Sysconf): Correct description of
39190         _SC_CLK_TCK.
39191
39192 2012-04-10  David S. Miller  <davem@davemloft.net>
39193
39194         [BZ #13967]
39195         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39196         where the is a gap between DT_REL(A) and DT_JMPREL.
39197
39198 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39199
39200         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39201         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39202         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39203
39204 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39205
39206         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39207         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39208         (dl_main): Handle --inhibit-cache.
39209         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39210         _dl_inhibit_cache.
39211         * elf/dl-load.c (_dl_map_object): Use it.
39212         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39213
39214 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39215
39216         [BZ #13872]
39217         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39218         (__ieee754_powl): Saturate large exponents rather than testing for
39219         overflow of y*log2(x).
39220         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39221         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39222         exceptions.
39223
39224         [BZ #11521]
39225         * math/s_ctan.c: Include <float.h>.
39226         (__ctan): Avoid internal overflow or cancellation in calculating
39227         denominator.
39228         * math/s_ctanf.c: Likewise.
39229         * math/s_ctanl.c: Likewise.
39230         * math/s_ctanh.c: Likewise.
39231         * math/s_ctanhf.c: Likewise.
39232         * math/s_ctanhl.c: Likewise.
39233         * math/libm-test.inc (ctan_test): Add more tests.
39234         (ctanh_test): Likewise.
39235         * sysdeps/i386/fpu/libm-test-ulps: Update.
39236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39237
39238 2012-04-09  Andreas Jaeger  <aj@suse.de>
39239
39240         [BZ #6894]
39241         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39242         is an optional BSD extension.
39243
39244         [BZ #10254]
39245         * manual/stdio.texi (Opening Streams): Document additional fopen
39246         parameters.
39247
39248 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39249
39250         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39251         %eax without telling the compiler.
39252
39253 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39254
39255         [BZ # 13963]
39256         * manual/install.texi: Use sourceware.org.
39257
39258 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39259
39260         [BZ #13873]
39261         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39262         (__ieee754_pow): Generate overflow and underflow using huge*huge
39263         and tiny*tiny rather than just returning constant infinity or zero
39264         for large exponents.
39265         * math/libm-test.inc (pow_test): Require overflow exceptions for
39266         applicable cases of large exponents.
39267
39268         [BZ #706]
39269         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39270         (__ieee754_pow): Use iterative multiplication algorithm only for
39271         integer exponents with absolute value below 1024.  Check for odd
39272         integer exponents when using algorithm for real exponents.
39273         * math/libm-test.inc (pow_test): Add more tests.
39274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39275
39276 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39277
39278         [BZ #13705]
39279         * math/libm-test.inc (exp_test): Do not allow overflow exception
39280         on underflow test.
39281
39282 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39283
39284         [BZ #13705]
39285         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39286         instead of __kernel_standard_f.
39287
39288 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39289
39290         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39291         * sysdeps/x86_64/memset_chk.S: Likewise.
39292
39293 2012-04-08  Andreas Jaeger  <aj@suse.de>
39294
39295         [BZ #10153]
39296         * manual/startup.texi (Environment Access): Describe return value
39297         for putenv and setenv.
39298
39299         [BZ #6895]
39300         * manual/filesys.texi (Directory Entries): Add description for
39301         DT_LNK.
39302
39303         [BZ #6890]
39304         * manual/filesys.texi (Directory Entries): Clarify that it's file
39305         system not operating system in the description of DT_UNKNOWN.
39306
39307         [BZ #6578]
39308         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39309
39310 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39311
39312         [BZ #6649]
39313         * manual/llio.texi (Opening and Closing Files): Add cross
39314         reference to explain mode argument.
39315
39316 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39317
39318         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39319         * sysdeps/x86_64/memset_chk.S: Likewise.
39320
39321 2012-04-07  David S. Miller  <davem@davemloft.net>
39322
39323         * elf/elf.h (R_SPARC_WDISP10): Define.
39324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39325         R_SPARC_SIZE32.
39326         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39327         R_SPARC_SIZE64 and R_SPARC_H34.
39328
39329 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39330
39331         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39332         conditions and remove no longer applicable assertion.
39333
39334 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39335
39336         * bits/byteswap.h: Include <features.h>.
39337         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39338         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39339
39340 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39341
39342         * bits/byteswap.h (__bswap_16): Removed.
39343         Include <bits/byteswap-16.h> to get __bswap_16.
39344         * sysdeps/i386/bits/byteswap.h: Likewise.
39345         * sysdeps/s390/bits/byteswap.h: Likewise.
39346         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39347         * bits/byteswap-16.h: New file.
39348         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39349         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39350         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39351         * string/Makefile (headers): Add bits/byteswap-16.h.
39352
39353 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39354
39355         [BZ #13895]
39356         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39357         extra indirection.
39358         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39359         * nss/tst-nss-static.c: New.
39360
39361 2012-04-06  Robert Millan  <rmh@gnu.org>
39362
39363         [BZ #6486]
39364         * manual/llio.texi (File Position Primitive): lseek
39365         refers to WHENCE when it really means OFFSET.
39366
39367 2012-04-06  Andreas Jaeger  <aj@suse.de>
39368
39369         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39370         strncmp declarations.
39371
39372         * abilist/libc.abilist: Add __poll and __ppoll.
39373
39374 2012-04-05  David S. Miller  <davem@davemloft.net>
39375
39376         * scripts/check-local-headers.sh: Accept a host triplet in the
39377         path matched by the exclude regexp.
39378
39379         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39380         definition.
39381         * sysdeps/powerpc/powerpc32/dl-machine.h
39382         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39383         * sysdeps/s390/s390-32/dl-machine.h
39384         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39385         * sysdeps/sparc/sparc32/dl-machine.h
39386         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39387         * sysdeps/sparc/sparc64/dl-machine.h
39388         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39389
39390         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39391         lazy binding.
39392         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39393         undefined symbol errors.
39394
39395         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39396         DT_NEEDED entries.
39397
39398 2012-04-05  Michael Matz  <matz@suse.de>
39399
39400         [BZ #13592]
39401         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39402
39403 2012-04-05  Andreas Jaeger  <aj@suse.de>
39404
39405         [BZ #13908]
39406         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39407         comment.
39408
39409 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39410
39411         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39412         which ROUND is no valid rounding mode.
39413
39414 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39415
39416         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39417         read again.
39418         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39419
39420 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39421
39422         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39423         an exception using FPU order intentionally.
39424
39425 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39426
39427         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39428         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39429         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39430         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39431
39432 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39433
39434         [BZ #12340]
39435         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39436         EINVAL when BUFLEN is too smal.
39437
39438 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39439
39440         [BZ #13553]
39441         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39442         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39443
39444 2012-04-03  Andreas Jaeger  <aj@suse.de>
39445
39446         [BZ #13938]
39447         * manual/setjmp.texi (System V contexts): Fix sentence.
39448
39449         [BZ #13926]
39450         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39451         New macro for this case.
39452         [!__GNUC__] (__bswap_64): New inline function for this case.
39453         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39454         * bits/byteswap.h: Likewise.
39455         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39456         ull, guard with __GLIBC_HAVE_LONG_LONG.
39457
39458         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39459         __GLIBC_HAVE_LONG_LONG.
39460
39461         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39462         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39463
39464 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39465
39466         [BZ #13691]
39467         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39468         inptr and inend, rather than using last_ch.
39469
39470 2012-04-02  David S. Miller  <davem@davemloft.net>
39471
39472         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39473         * stdio-common/printf-parse.h (read_int): Change return type to
39474         'int', return -1 on INT_MAX overflow.
39475         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39476         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39477         overflows INT_MAX.  Check for overflow of in-format-string precision
39478         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39479         SIZE_MAX not INT_MAX for integer overflow test.
39480         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39481         skip the construct in the format string but do not record anything.
39482         * stdio-common/bug22.c: Adjust to test both width/prevision
39483         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39484         explicitly for proper errno values.
39485
39486 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39487
39488         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39489         CHAR_MAX.
39490         * string/test-strcmp.c [! WIDE]: Likewise.
39491         * time/tst-mktime2.c: Likewise for INT_MAX.
39492         * string/test-string.h: #include <sys/param.h> for MIN.
39493
39494         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39495         * sysdeps/i386/init-first.c (init): Likewise.
39496         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39497         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39498         * sysdeps/sh/init-first.c (init): Likewise.
39499
39500 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39501
39502         * po/ru.po: Update from translation team.
39503         * po/vi.po: Likewise.
39504
39505 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39506
39507         * resolv/nss_dns/dns-host.c: Merge copyright years.
39508
39509 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39510
39511         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39512         Optimize memcpy with prefetch if
39513         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39514         src, dst pointers have unequal 16 byte alignments.
39515
39516 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39517
39518         [BZ #13928]
39519         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39520         from a CNAME entry and return the minimum ttl for the query.
39521         (gaih_getanswer_slice): Likewise.
39522
39523 2012-03-30  Jeff Law  <law@redhat.com>
39524
39525         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39526         due to long keys.
39527         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39528         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39529
39530         * resolv/nss_dns/dns-host.c: Update copyright year.
39531
39532 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39533
39534         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39535         requests to save a system call.  Fix check that all bytes are sent.
39536
39537         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39538         comments for sendmmsg.
39539
39540 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39541
39542         [BZ #13691]
39543         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39544         with only 1 character between 0x0041 and 0x01b0.
39545         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39546         * wcsmbs/tst-mbsnrtowcs.c: New file.
39547
39548 2012-03-29  David S. Miller  <davem@davemloft.net>
39549
39550         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39551         small copies by hand.
39552
39553 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39554
39555         [BZ #13761]
39556         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39557         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39558         group memberships.
39559
39560 2012-03-28  David S. Miller  <davem@davemloft.net>
39561
39562         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39563         that branches into memcpy.
39564         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39566         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39567         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39569         bits.
39570         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39571         implementation too.
39572         * sysdeps/sparc/mempcpy.S: New file.
39573
39574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39575         the IFUNC routine in the libc case.
39576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39577
39578         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39579         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39580         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39581         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39582         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39583         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39584         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39585         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39586
39587         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39588         loop to 256 bytes instead of 64 bytes and fix test signedness.
39589
39590         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39591         * sysdeps/sparc/sparc32/Makefile: rather than here...
39592         * sysdeps/sparc/sparc64/Makefile: and here.
39593
39594 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39595
39596         * malloc/mallocbug.c: Avoid warnings about unused variables.
39597
39598 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39599
39600         [BZ #13760]
39601         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39602         in the right place. Discard and retry query if response is
39603         larger than input buffer size.
39604
39605 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39606
39607         [BZ #369]
39608         [BZ #2678]
39609         [BZ #3866]
39610         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39611         x for large integer exponent.
39612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39613         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39614         sign of result as needed afterwards.
39615         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39616         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39617         result for underflowing pow the same as for overflow.
39618         (__kernel_standard_l): Handle powl overflow and underflow here
39619         rather than calling __kernel_standard.
39620         * math/libm-test.inc (pow_test): Add more tests.
39621
39622         [BZ #3868]
39623         [BZ #13879]
39624         [BZ #13910]
39625         [BZ #13911]
39626         [BZ #13912]
39627         [BZ #13913]
39628         [BZ #13915]
39629         [BZ #13916]
39630         [BZ #13917]
39631         [BZ #13918]
39632         [BZ #13919]
39633         [BZ #13920]
39634         [BZ #13921]
39635         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39636         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39637         (__kernel_standard_l): New function.
39638         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39639         __kernel_standard.
39640         * math/w_acosl.c (__acosl): Likewise.
39641         * math/w_asinl.c (__asinl): Likewise.
39642         * math/w_atan2l.c (__atan2l): Likewise.
39643         * math/w_atanhl.c (__atanhl): Likewise.
39644         * math/w_coshl.c (__coshl): Likewise.
39645         * math/w_exp10l.c (__exp10l): Likewise.
39646         * math/w_exp2l.c (__exp2l): Likewise.
39647         * math/w_fmodl.c (__fmodl): Likewise.
39648         * math/w_hypotl.c (__hypotl): Likewise.
39649         * math/w_j0l.c (__j0l, __y0l): Likewise.
39650         * math/w_j1l.c (__j1l, __y1l): Likewise.
39651         * math/w_jnl.c (__jnl, __ynl): Likewise.
39652         * math/w_lgammal.c (__lgammal): Likewise.
39653         * math/w_log10l.c (__log10l): Likewise.
39654         * math/w_log2l.c (__log2l): Likewise.
39655         * math/w_logl.c (__logl): Likewise.
39656         * math/w_powl.c (__powl): Likewise.
39657         * math/w_remainderl.c (__remainderl): Likewise.
39658         * math/w_scalbl.c (sysv_scalbl): Likewise.
39659         * math/w_sinhl.c (__sinhl): Likewise.
39660         * math/w_sqrtl.c (__sqrtl): Likewise.
39661         * math/w_tgammal.c (__tgammal): Likewise.
39662         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39663         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39664         * math/libm-test.inc (acos_test): Add more tests.
39665         (acosh_test): Likewise.
39666         (asin_test): Likewise.
39667         (atanh_test): Likewise.
39668         (exp_test): Likewise.
39669         (exp10_test): Likewise.
39670         (exp2_test): Likewise.
39671         (expm1_test): Likewise.
39672         (lgamma_test): Likewise.
39673         (log_test): Likewise.
39674         (log10_test): Likewise.
39675         (log1p_test): Likewise.
39676         (log2_test): Likewise.
39677         (pow_test): Do not allow some spurious overflow exceptions.
39678         (sqrt_test): Add more tests.
39679         (tgamma_test): Likewise.
39680         (y0_test): Likewise.
39681         (y1_test): Likewise.
39682         (yn_test): Likewise.
39683
39684 2012-03-27  Anton Blanchard  <anton@samba.org>
39685
39686         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39687         MAP_HUGETLB.
39688         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39689         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39691
39692 2012-03-27  David S. Miller  <davem@davemloft.net>
39693
39694         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39695
39696         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39697         have-as-vis3 check.
39698
39699 2012-03-27  Andreas Jaeger  <aj@suse.de>
39700
39701         * sysdeps/x86_64/elf/configure.in: Moved to ...
39702         * sysdeps/x86_64/configure.in: ... here.
39703         * sysdeps/x86_64/elf/start.S: Moved to ...
39704         * sysdeps/x86_64/start.S: ... here.
39705         * sysdeps/x86_64/elf/configure: Delete.
39706
39707         * sysdeps/x86_64/configure.in: Merge contents from
39708         sysdeps/i386/configure.in (without i686 check).
39709
39710         * sysdeps/i386/elf/Versions: Merge into ...
39711         * sysdeps/i386/Versions: ... this.
39712         * sysdeps/i386/elf/Versions: Delete file.
39713         * sysdeps/i386/elf/start.S: Moved to ...
39714         * sysdeps/i386/start.S: ...here.
39715         * sysdeps/i386/elf/configure.in: Merge into...
39716         * sysdeps/i386/configure.in: ...here.
39717         * sysdeps/i386/elf/configure.in: Delete file.
39718         * sysdeps/i386/elf/configure: Delete file.
39719
39720         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39721         * debug/backtracesyms.c: ... here.
39722         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39723         * debug/backtracesymsfd.c: ... here.
39724         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39725         * sysdeps/generic/ifunc-sel.h: ... here.
39726
39727         * sysdeps/unix/i386/start.c: Delete file.
39728         * sysdeps/unix/sparc/start.c: Delete file.
39729         * sysdeps/unix/start.c: Delete file.
39730
39731         * sysdeps/sh/elf/configure.in: Moved to ...
39732         * sysdeps/sh/configure.in: ... here.
39733         * sysdeps/sh/elf/start.S: Moved to ...
39734         * sysdeps/sh/start.S: ... here.
39735         * sysdeps/sh/elf/configure: Delete file.
39736
39737         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39738         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39739         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39740         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39741         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39742         * sysdeps/powerpc/powerpc64/start.S: here.
39743         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39744         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39745         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39746         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39747         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39748
39749         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39750         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39751         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39752         * sysdeps/powerpc/powerpc32/start.S: ... here.
39753         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39754         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39755         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39756
39757         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39758         * sysdeps/powerpc/ifunc-sel.h: ... here.
39759         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39760         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39761
39762         * sysdeps/sparc/elf/configure.in: Moved to ...
39763         * sysdeps/sparc/configure.in: ... here.
39764         * sysdeps/sparc/elf/configure: Delete file.
39765         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39766         * sysdeps/sparc/sparc32/start.S: ... here.
39767         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39768         * sysdeps/sparc/sparc64/start.S: ... here.
39769         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39770         * sysdeps/sparc/sparc32/Makefile: ... this.
39771         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39772         * sysdeps/sparc/sparc64/Makefile: ... this.
39773
39774         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39775         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39776         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39777         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39778         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39779         * sysdeps/s390/s390-32/setjmp.S: ... here.
39780         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39781         * sysdeps/s390/s390-32/configure.in: ... here.
39782         * sysdeps/s390/s390-32/elf/configure: Delete file.
39783         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39784         * sysdeps/s390/s390-32/start.S: ... here.
39785
39786         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39787         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39788         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39789         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39790         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39791         * sysdeps/s390/s390-64/setjmp.S: ... here.
39792         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39793         * sysdeps/s390/s390-64/configure.in: ... here
39794         * sysdeps/s390/s390-64/elf/configure: Delete file.
39795         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39796         * sysdeps/s390/s390-64/start.S: ... here.
39797         * sysdeps/s390/s390-64/elf/configure: Delete.
39798
39799         * configure.in: Remove support for elf directories in sysdeps.
39800
39801         * configure: Regenerated.
39802         * sysdeps/i386/configure: Regenerated.
39803         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39804         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39805         * sysdeps/s390/s390-32/configure: Regenerated.
39806         * sysdeps/s390/s390-64/configure: Regenerated.
39807         * sysdeps/sh/configure: Regenerated.
39808         * sysdeps/sparc/configure: Regenerated.
39809         * sysdeps/x86_64/configure: Regenerated.
39810
39811 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39812
39813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39814
39815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39816         denormal result into account.
39817
39818 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39819
39820         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39821         Reported by Allan McRae <allan@archlinux.org>.
39822
39823 2012-03-23  Jeff Law  <law@redhat.com>
39824
39825         * nss/getnssent.c (__nss_getent): Fix typo.
39826
39827 2012-03-23  David S. Miller  <davem@davemloft.net>
39828
39829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39830
39831 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39832
39833         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39834         to pad to uint64_t for each field.
39835         (dl_tls_index): Replace unsigned long with uint64_t.
39836
39837 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39838         Paul Pluzhnikov  <ppluzhnikov@google.com>
39839
39840         [BZ #6528]
39841         * grp/Makefile (otherlibs): Don't set it.
39842         * inet/Makefile (otherlibs): Likewise.
39843         * login/Makefile (otherlibs): Likewise.
39844         * nscd/Makefile (otherlibs): Likewise.
39845         * posix/Makefile (otherlibs): Likewise.
39846         * pwd/Makefile (otherlibs): Likewise.
39847         * rt/Makefile (otherlibs): Likewise.
39848         * sunrpc/Makefile (otherlibs): Likewise.
39849         * nss/Makefile (otherlibs): Likewise.
39850         Add libnss_files to routines and static-only-routines.
39851         ($(objpfx)getent): Remove rule.
39852         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39853         static-only-routines.
39854
39855 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39856
39857         [BZ #13892]
39858         * math/s_cexp.c: Include <float.h>.
39859         (__cexp): Handle exp result overflowing not necessarily
39860         overflowing both real and imaginary parts of result.
39861         * math/s_cexpf.c: Likewise.
39862         * math/s_cexpl.c: Likewise.
39863         * math/libm-test.inc (cexp_test): Add more tests.
39864         * sysdeps/i386/fpu/libm-test-ulps: Update.
39865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39866
39867 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39868
39869         * include/link.h (ELFW): New macro.
39870         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39871         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39872
39873 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39874
39875         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39876         with uint64_t.
39877
39878 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39879
39880         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39881         declaration.
39882         (struct La_x32_retval): Likewise.
39883
39884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39885
39886         * sysdeps/x86_64/preconfigure.in: New file.
39887         * sysdeps/x86_64/preconfigure: New generated file.
39888
39889 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39890
39891         [BZ #13824]
39892         * math/e_exp2l.c: Include <float.h>.
39893         (__ieee754_exp2l): Handle overflow and underflow cases
39894         separately.  Only pass fractional part of argument to
39895         __ieee754_expl.
39896         * math/libm-test.inc (exp2_test): Add more tests.
39897
39898         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39899         negating x to take absolute value.
39900         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39901         Likewise.
39902         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39903         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39904         Likewise.
39905         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39906         computing low part if x was negated.
39907         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39908
39909 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39910
39911         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39912         la_x32_gnu_pltexit.
39913         (pltexit): Cast int_retval to ptrdiff_t.
39914         * elf/tst-auditmod3b.c: Likewise.
39915         * elf/tst-auditmod4b.c: Likewise.
39916         * elf/tst-auditmod5b.c: Likewise.
39917         * elf/tst-auditmod6b.c: Likewise.
39918         * elf/tst-auditmod6c.c: Likewise.
39919         * elf/tst-auditmod7b.c: Likewise.
39920
39921         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39922         and x32_gnu_pltexit.
39923
39924         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39925         __ELF_NATIVE_CLASS.
39926         (La_x32_regs): New macro.
39927         (La_x32_retval): Likewise.
39928         (la_x32_gnu_pltenter): New function prototype.
39929         (la_x32_gnu_pltexit): Likewise.
39930
39931 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39932
39933         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39934         exponent.
39935
39936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39937
39938         * configure.in (libc_cv_cc_nofma): Check for option to disable
39939         generation of FMA instructions.
39940         * configure: Regenerate.
39941         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39942         * sysdeps/ieee754/dbl-64/Makefile: New file.
39943         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39944         Remove brandred-fma4.
39945         (CFLAGS-brandred-fma4.c): Remove.
39946         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39947         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39948         define.
39949         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39950         define.
39951
39952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39953
39954         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39955         LLONG_MAX != LONG_MAX.
39956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39957         (_fitoa_word): Likewise.
39958         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39959         LLONG_MAX != LONG_MAX.
39960         * stdio-common/_itowa.h: Include <_itoa.h>.
39961         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39962         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39963         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39964         only if not defined.
39965         (_ITOA_WORD_TYPE): Likewise.
39966         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39967         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39968
39969 2012-03-21  David S. Miller  <davem@davemloft.net>
39970
39971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39972
39973 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39974
39975         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39976         of x86_64 when setting libc_cv_slibdir, libdir and
39977         libc_cv_localedir.
39978         * sysdeps/unix/sysv/linux/configure: Regenerated.
39979
39980 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39981
39982         * manual/lang.texi (Old Varargs): Remove section.
39983         (How Variadic): Update menu.
39984         (va_start): Do not mention varargs.h.
39985
39986 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39987             Joseph Myers  <joseph@codesourcery.com>
39988
39989         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39990         link test.
39991         * configure: Regenerated.
39992
39993 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39994
39995         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39996         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39997         conformtest.pl
39998
39999 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40000
40001         * NOTES: Remove.
40002         * Makefile (files-for-dist): Remove NOTES.
40003         (NOTES): Remove rule.
40004         * README: Don't refer to NOTES.
40005         * manual/creature.texi: Don't include macros.texi.
40006         * manual/intro.texi (creature.texi): Remove comment referring to
40007         NOTES.
40008
40009         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40010         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40011         * configure: Regenerated.
40012         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40013         LIBC_TRY_CC_OPTION.
40014         (libc_cv_as_i686): Likewise.
40015         (libc_cv_cc_avx): Likewise.
40016         (libc_cv_cc_sse2avx): Likewise.
40017         (libc_cv_cc_fma4): Likewise.
40018         (libc_cv_cc_novzeroupper): Likewise.
40019         * sysdeps/i386/configure: Regenerated.
40020
40021         [BZ #13883]
40022         * sysdeps/i386/fpu/s_cexp.S: Remove.
40023         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40024         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40025         * math/libm-test.inc (cexp_test): Add more tests.
40026         * sysdeps/i386/fpu/libm-test-ulps: Update.
40027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40028
40029 2012-03-21  Allan McRae  <allan@archlinux.org>
40030
40031         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40032
40033 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40034
40035         [BZ #13871]
40036         * math/w_exp2.c: Do not include <float.h>.
40037         (o_threshold, u_threshold): Remove.
40038         (__exp2): Calculate result before checking finiteness and calling
40039         __kernel_standard.
40040         * math/w_exp2f.c: Likewise.
40041         * math/w_exp2l.c: Likewise.
40042         * math/libm-test.inc (exp2_test): Require overflow exception for
40043         1e6 input.
40044
40045         [BZ #3866]
40046         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40047         range of signed 64-bit integers before using fistpll.  Remove
40048         checks for whether integers fit in mantissa bits.
40049         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40050         the range of signed 32-bit integers before using fistpl.  Remove
40051         checks for whether integers fit in mantissa bits.
40052         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40053         (__ieee754_powl): Test for y outside the range of signed 64-bit
40054         integers before using fistpll.  Reduce 64-bit values to 63-bit
40055         ones as needed.
40056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40057         divide-by-zero is raised for zero to large negative powers.
40058         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40059         (__ieee754_powl): Test for y outside the range of signed 64-bit
40060         integers before using fistpll.  Reduce 64-bit values to 63-bit
40061         ones as needed.
40062         * math/libm-test.inc (pow_test): Add more tests.
40063
40064 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40065
40066         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40067         <stdio-common/_itoa.h>.
40068         * debug/segfault.c: Likewise.
40069         * elf/dl-cache.c: Likewise.
40070         * elf/dl-minimal.c: Likewise.
40071         * elf/dl-misc.c: Likewise.
40072         * elf/dl-sysdep.c: Likewise.
40073         * elf/dl-version.c: Likewise.
40074         * elf/rtld.c: Likewise.
40075         * hurd/hurdsock.c: Likewise.
40076         * hurd/lookup-retry.c: Likewise.
40077         * malloc/malloc.c: Likewise.
40078         * malloc/mtrace.c: Likewise.
40079         * nscd/nscd_getgr_r.c: Likewise.
40080         * nscd/nscd_getpw_r.c: Likewise.
40081         * nscd/nscd_getserv_r.c: Likewise.
40082         * posix/getopt_init.c: Likewise.
40083         * posix/wordexp.c: Likewise.
40084         * stdio-common/_itoa.c: Likewise.
40085         * stdio-common/printf_fphex.c: Likewise.
40086         * stdio-common/vfprintf.c: Likewise.
40087         * string/_strerror.c: Likewise.
40088         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40089         * sysdeps/i386/i686/hp-timing.h: Likewise.
40090         * sysdeps/mach/_strerror.c: Likewise.
40091         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40092         * sysdeps/mach/hurd/sethostid.c: Likewise.
40093         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40094         * sysdeps/mach/xpg-strerror.c: Likewise.
40095         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40097         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40098         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40099         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40100         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40102         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40103         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40104         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40105         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40106         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40107         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40108         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40109         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40110         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40111         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40112         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40113         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40114         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40115         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40116
40117         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40118
40119         * stdio-common/_itoa.h: Moved to ...
40120         * sysdeps/generic/_itoa.h: Here.
40121
40122         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40123
40124         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40125         instead of "_itoa.h" and "_itowa.h".
40126         * stdio-common/vfprintf.: Likewise.
40127
40128 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40129
40130         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40131         <bits/wordsize.h>.
40132         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40133         (__signbit): Likwise.
40134         (llrintf): Likwise.
40135         (llrint): Likwise.
40136
40137 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40138
40139         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40140         __WORDSIZE != 64.
40141
40142 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40143
40144         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40145         OVERFLOW_EXCEPTION_OK.
40146         * math/libm-test.inc ("Philosophy"): Update comment about
40147         exception testing.
40148         (OVERFLOW_EXCEPTION): Define.
40149         (OVERFLOW_EXCEPTION_OK): Likewise.
40150         (INVALID_EXCEPTION_OK): Renumber.
40151         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40152         (IGNORE_ZERO_INF_SIGN): Likewise.
40153         (test_exceptions): Handle FE_OVERFLOW.
40154         (exp10_test): Expect overflow exceptions.
40155         (exp2_test): Likewise.
40156         (expm1_test): Likewise.
40157         (nextafter_test): Likewise.
40158         (pow_test): Likewise.
40159         (scalbn_test): Likewise.
40160         (scalbln_test): Likewise.
40161
40162 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40163
40164         * sysdeps/x86_64/bits/atomic.h
40165         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40166         64bit integer.
40167         (atomic_exchange_acq): Likewise.
40168         (__arch_exchange_and_add_body): Likewise.
40169         (__arch_add_body): Likewise.
40170         (atomic_add_negative): Likewise.
40171         (atomic_add_zero): Likewise.
40172
40173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40174
40175         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40176         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40177
40178 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40179
40180         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40181         Check __x86_64__ instead of __WORDSIZE.
40182
40183 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40184
40185         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40186
40187 2012-03-19  David S. Miller  <davem@davemloft.net>
40188
40189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40190
40191         * sysdeps/sparc/fpu/fenv_private.h: New file.
40192         * sysdeps/sparc/fpu/math_private.h: Use it.
40193         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40194         Remove.
40195         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40196         (libc_feholdexcept_setroundl): Remove.
40197         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40198         Remove.
40199         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40200         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40201
40202 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40203
40204         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40205         int64_t instead of long int.
40206         (INSERT_WORDS64): Likwise.
40207
40208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40209
40210         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40211         _Unwind_GetCFA return to _Unwind_Ptr first.
40212
40213 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40214
40215         [BZ #13629]
40216         * math/s_clog.c: Include <float.h>.
40217         (__clog): Scale large or subnormal inputs.
40218         * math/s_clogf.c: Likewise.
40219         * math/s_clogl.c: Likewise.
40220         * math/s_clog10.c: Include <float.h>.
40221         (M_LOG10_2): Define.
40222         (__clog10): Scale large or subnormal inputs.
40223         * math/s_clog10f.c: Likewise.
40224         * math/s_clog10l.c: Likewise.
40225         * math/libm-test.inc (clog_test): Add more tests.
40226         (clog10_test): Likewise.
40227         * sysdeps/i386/fpu/libm-test-ulps: Update.
40228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40229
40230         [BZ #11451]
40231         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40232         x and y.
40233         * math/libm-test.inc (atan2_test): Add another test.
40234
40235         * Makerules (common-objdir-compile): Remove.
40236         * sysdeps/unix/Makefile (config-generated): Do not add
40237         $(unix-generated) to variable.
40238         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40239         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40240         Remove rule.
40241         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40242         Likewise.
40243         [generic bits/local_lim.h] (before-compile): Do not append to
40244         variable.
40245         [generic bits/local_lim.h] (common-generated): Likewise.
40246         [generic sys/param.h] (before-compile): Do not append to variable.
40247         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40248         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40249         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40250         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40251         include.
40252         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40253         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40254         [generic sys/param.h] ($(addprefix
40255         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40256         [generic sys/param.h] (common-generated): Do not append to
40257         variable.
40258         [generic sys/param.h] (sysdep_headers): Likewise.
40259         [generic bits/errno.h] (before-compile): Do not append to
40260         variable.
40261         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40262         rule.
40263         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40264         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40265         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40266         [generic bits/errno.h] (common-generated): Do not append to
40267         variable.
40268         [generic bits/ioctls.h] (before-compile): Do not append to
40269         variable.
40270         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40271         rule.
40272         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40273         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40274         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40275         rule.
40276         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40277         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40278         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40279         [generic bits/ioctls.h] (common-generated): Do not append to
40280         variable.
40281         [generic sys/syscall.h] (syscall.h): Remove variable.
40282         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40283         rule.
40284         [generic sys/syscall.h] (before-compile): Do not append to
40285         variable.
40286         [generic sys/syscall.h] (common-generated): Likewise.
40287         * sysdeps/unix/errnos-tmpl.c: Remove file.
40288         * sysdeps/unix/errnos.awk: Likewise.
40289         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40290         * sysdeps/unix/ioctls.awk: Likewise.
40291         * sysdeps/unix/mk-local_lim.c: Likewise.
40292         * sysdeps/unix/snarf-ioctls: Likewise.
40293
40294 2012-03-19  Richard Henderson  <rth@twiddle.net>
40295
40296         * sysdeps/i386/fpu/fenv_private.h: New file.
40297         * sysdeps/i386/fpu/math_private.h: Use it.
40298         (math_opt_barrier, math_force_eval): Remove.
40299         (libc_feholdexcept_setround_53bit): Remove.
40300         (libc_feupdateenv_53bit): Remove.
40301         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40302         (math_opt_barrier, math_force_eval): Remove.
40303         (libc_feholdexcept): Remove.
40304         (libc_feholdexcept_setround): Remove.
40305         (libc_fetestexcept, libc_fesetenv): Remove.
40306         (libc_feupdateenv_test): Remove.
40307         (libc_feupdateenv, libc_feholdsetround): Remove.
40308         (libc_feresetround): Remove.
40309
40310         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40311         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40312
40313         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40314         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40315         (libc_feupdateenv_testl): New.
40316         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40317         (libc_feupdateenv_testf): New.
40318         (libc_feupdateenv): Use libc_feupdateenv_test.
40319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40320         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40321
40322         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40323         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40324         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40325         (libc_feresetround_noex): New.
40326         (libc_feresetround_noexf): New.
40327         (libc_feresetround_noexl): New.
40328         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40329         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40330         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40331         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40332         SET_RESTORE_ROUND.
40333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40334         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40335         (__cos): Likewise.
40336         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40337         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40338         SET_RESTORE_ROUND_NOEX.
40339         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40340         SET_RESTORE_ROUND_NOEXF.
40341         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40342         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40343         (libc_feholdsetroundf): New.
40344         (libc_feresetround, libc_feresetroundf): New.
40345
40346         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40347         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40348         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40349
40350         * sysdeps/generic/math_private.h: Include <fenv.h>.
40351         (default_libc_feholdexcept): New.
40352         (default_libc_feholdexcept_setround): New.
40353         (default_libc_fesetenv, default_libc_feupdateenv): New.
40354         (libc_feholdexcept): Only define if undefined.
40355         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40356         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40357         (libc_feholdexcept_setroundl): Likewise.
40358         (libc_feholdexcept_setround_53bit): Likewise.
40359         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40360         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40361         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40362         (libc_feupdateenv_53bit): Likewise.
40363         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40364         (libc_feholdexcept): Convert from macro to inline function.
40365         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40366         (libc_fesetenv, libc_feupdateenv): Likewise.
40367
40368         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40369         not previously defined.
40370         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40371         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40372         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40373         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40374         * sysdeps/ieee754/flt-32/math_private.h: New file.
40375         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40376         math_private.h below SET_FLOAT_WORD.
40377         (__isnan, __isinf_ns, __finite): Remove.
40378         (__isnanf, __isinf_nsf, __finitef): Remove.
40379
40380 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40381
40382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40383
40384 2012-03-17  David S. Miller  <davem@davemloft.net>
40385
40386         [BZ #6471]
40387         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40388         for 2.16.
40389
40390 2012-03-16  David S. Miller  <davem@davemloft.net>
40391
40392         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40393         warnings.
40394
40395         [BZ #6471]
40396         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40397         properly.
40398         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40399         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40400         sysdep_routines when subdir is sysvipc.
40401         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40402         __getshmlba helper.
40403
40404         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40405
40406 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40407
40408         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40409         [__LP64__].
40410
40411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40412
40413         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40414         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40415         (__lround): Renamed to ...
40416         (__llround): This.  Replace long int with long long int.
40417         Define lround functions as aliases of llround functions.
40418         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40419
40420 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40421
40422         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40423         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40424         adresses to uintptr_t.  Replace "long int" and "unsigned long
40425         int" with "greg_t" on va_arg.
40426
40427 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40428
40429         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40430         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40431
40432         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40433         Move e_machine check before EI_CLASS check.  Handle x32
40434         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40435         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40436         SKIP_EM_IA_64 and include
40437         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40438
40439         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40440         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40441         (add_system_dir): New macro.
40442
40443         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40444         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40445
40446 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40447
40448         [BZ #2551]
40449         [BZ #2552]
40450         [BZ #2553]
40451         [BZ #2554]
40452         [BZ #2562]
40453         [BZ #2563]
40454         [BZ #2565]
40455         [BZ #2566]
40456         [BZ #2576]
40457         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40458         (y0): Likewise.
40459         * math/w_j0f.c (j0f): Likewise.
40460         (y0f): Likewise.
40461         * math/w_j0l.c (__j0l): Likewise.
40462         (__y0l): Likewise.
40463         * math/w_j1.c (j1): Likewise.
40464         (y1): Likewise.
40465         * math/w_j1f.c (j1f): Likewise.
40466         (y1f): Likewise.
40467         * math/w_j1l.c (__j1l): Likewise.
40468         (__y1l): Likewise.
40469         * math/w_jn.c (jn): Likewise.
40470         (yn): Likewise.
40471         * math/w_jnf.c (jnf): Likewise.
40472         (ynf): Likewise.
40473         * math/w_jnl.c (__jnl): Likewise.
40474         (__ynl): Likewise.
40475         * math/libm-test.inc (j0_test): Add more tests.
40476         (j1_test): Likewise.
40477         (jn_test): Likewise.  Add trailing semicolon to existing test.
40478         (y0_test): Likewise.
40479         (y1_test): Likewise.
40480         * sysdeps/i386/fpu/libm-test-ulps: Update.
40481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40482
40483         [BZ #13851]
40484         [BZ #13854]
40485         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40486         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40487         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40488         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40489         (__tanl): Set errno for infinite argument.
40490         * sysdeps/i386/fpu/mptan.c: Remove.
40491         * sysdeps/i386/fpu/s_tan.S: Likewise.
40492         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40493         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40494         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40495         * math/libm-test.inc (tan_test): Add more tests and enable more
40496         tests for double and long double.
40497         * sysdeps/i386/fpu/libm-test-ulps: Update.
40498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40499
40500 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40501
40502         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40503         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40504
40505 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40506
40507         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40508         * configure.in: Use it for both main tree and add-ons.
40509         * configure: Regenerated.
40510
40511 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40512
40513         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40514
40515 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40516
40517         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40518         in comment.
40519
40520         [BZ #13851]
40521         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40522         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40526         infinite argument.
40527         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40528         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40529         != 0 for prec == 2.
40530         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40531         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40532         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40533         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40534         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40535         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40536         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40537         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40538         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40539         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40540         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40541         * math/libm-test.inc (cos_test): Add more tests and enable more
40542         tests for long double.
40543         (sin_test): Likewise.
40544         (sincos_test): Likewise.
40545         * sysdeps/i386/fpu/libm-test-ulps: Update.
40546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40547
40548 2012-03-16  David S. Miller  <davem@davemloft.net>
40549
40550         * sysdeps/sparc/fpu/math_private.h: New file.
40551
40552 2012-03-15  David S. Miller  <davem@davemloft.net>
40553
40554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40555         file.
40556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40558         file.
40559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40565         sysdep routines.
40566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40567
40568         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40569         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40570
40571         * sysdeps/sparc/sparc-ifunc.h: New file.
40572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40573         sparc-ifunc.h
40574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40576         Likewise.
40577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40578         Likewise.
40579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40583         Likewise.
40584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40589         Likewise.
40590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40591         Likewise.
40592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40610         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40611         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40614         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40615         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40616
40617 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40618
40619         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40620         scaling.
40621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40622
40623 2012-03-15  Andreas Jaeger  <aj@suse.de>
40624
40625         [BZ #13852]
40626         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40627         ieee754/flt-32 implementation for sin, cos and sincos.
40628         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40629         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40630         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40631         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40632         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40633         ieee754/flt-32 implementation for tan.
40634
40635         * math/libm-test.inc (cos_test): Enable some large input tests for
40636         float as well
40637         (sin_test): Likewise.
40638         (sincos_test): Likewise.
40639         (tan_test): Add tests for large input.
40640
40641         * sysdeps/i386/fpu/libm-test-ulps: Update.
40642
40643 2012-03-15  Andreas Jaeger  <aj@suse.de>
40644
40645         [BZ #13658]
40646         * math/libm-test.inc (cos_test): Add more test cases.
40647         (sin_test): Likewise.
40648         (sincos_test): Likewise.
40649
40650 2012-03-15  Andreas Jaeger  <aj@suse.de>
40651
40652         [BZ #13837]
40653         * math/libm-test.inc (cos_test): Add a test case for large input
40654         value.
40655         (sin_test): Likewise.
40656         (sincos_test): Likewise.
40657
40658 2012-03-15  Andreas Jaeger  <aj@suse.de>
40659             Joseph Myers  <joseph@codesourcery.com>
40660
40661         [BZ #13658]
40662         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40663         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40664         * sysdeps/i386/fpu/branred.c: Likewise.
40665         * sysdeps/i386/fpu/dosincos.c: Likewise.
40666         * sysdeps/i386/fpu/mpa.c: Likewise.
40667         * sysdeps/i386/fpu/s_cos.S: Likewise.
40668         * sysdeps/i386/fpu/s_sin.S: Likewise.
40669         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40670         * sysdeps/i386/fpu/sincos32.c: Likewise.
40671
40672         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40673         Define.
40674         (libc_feupdateenv_53bit): Define.
40675         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40676         Define.
40677         (libc_feupdateenv_53bit): Define.
40678
40679         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40680         53 bit (without extend i386 double precision).
40681
40682         * math/libm-test.inc (sincos_test): Add tests for large input.
40683         (sin): Likewise.
40684         (cos): Likewise.
40685
40686         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40687
40688 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40689
40690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40691
40692 2012-03-15  David S. Miller  <davem@davemloft.net>
40693
40694         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40695         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40696         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40697         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40710         file.
40711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40713         file.
40714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40716         file.
40717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40719         file.
40720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40721         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40722         fmin/fmax sysdep routines.
40723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40724
40725 2012-03-14  David S. Miller  <davem@davemloft.net>
40726
40727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40731         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40732         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40733         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40740         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40748         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40749         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40750         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40752         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40753         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40756         routines.
40757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40758         file.
40759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40761         file.
40762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40764         file.
40765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40767         file.
40768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40770         file.
40771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40773         file.
40774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40775         file.
40776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40777         file.
40778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40779         file.
40780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40781         New file.
40782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40783         file.
40784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40785         file.
40786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40788         file.
40789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40791         file.
40792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40794         file.
40795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40797         VIS3 routines.
40798
40799         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40800         New file.
40801
40802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40803
40804         * sysdeps/sparc/configure.in: New file.
40805         * sysdeps/sparc/configure: Generate.
40806         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40807         * configure: Regenerate.
40808         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40809         * config.make.in (have-as-vis3): New.
40810         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40811         available use -Av9d instead of -Av9a.
40812         * sysdeps/sparc/sparc64/Makefile: Likewise.
40813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40815         New file.
40816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40817         file.
40818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40819         New file.
40820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40821         file.
40822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40823         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40824         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40825         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40826         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40827
40828         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40829         fzeros/fnegs to load 0x80000000 into a float register instead of
40830         using the stack.
40831         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40832
40833 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40834
40835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40836         bits/syscall.h.
40837         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40838         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40839         ($(inst_includedir)/bits/syscall.h): Remove rule.
40840         ($(objpfx)bits/syscall.d): Include instead of
40841         $(objpfx)syscall-list.d.
40842         (generated): Change syscall-list.h and syscall-list.d to
40843         bits/syscall.h and bits/syscall.d.
40844
40845 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40846
40847         [BZ #13846]
40848         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40849
40850 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40851
40852         [BZ #13841]
40853         * math/s_csqrt.c: Include <float.h>.
40854         (__csqrt): Scale large or subnormal inputs.
40855         * math/s_csqrtf.c: Likewise.
40856         * math/s_csqrtl.c: Likewise.
40857         * math/libm-test.inc (csqrt_test): Add more tests.
40858         * sysdeps/i386/fpu/libm-test-ulps: Update.
40859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40860
40861         [BZ #13840]
40862         * math/libm-test.inc (hypot_test): Add more tests.
40863
40864 2012-03-13  David S. Miller  <davem@davemloft.net>
40865
40866         [BZ #13840]
40867         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40868         double-precision for the calculation instead of scaling.
40869
40870 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40871
40872         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40873         manipulate bits before adding and subtracting TWO52[sx].
40874         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40876         Likewise.
40877         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40878
40879 2012-03-13  David S. Miller  <davem@davemloft.net>
40880
40881         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40882         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40884         rtld-global-offsets.h
40885         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40886
40887         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40888         large parameters.
40889
40890         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40891
40892         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40893         'err' in the ifdef scope in which it is actually used.
40894
40895         * nss/nss_db/db-init.c: Include string.h
40896
40897 2012-03-12  David S. Miller  <davem@davemloft.net>
40898
40899         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40900         masking out of the most significant byte of random value used.
40901         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40902         Fix coding style in previous change.
40903
40904         * sysdeps/unix/sysv/linux/kernel-features.h
40905         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40906         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40907         expression.
40908         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40909         later.
40910
40911 2012-03-11  David S. Miller  <davem@davemloft.net>
40912
40913         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40914         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40915         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40916         for 'resultvar' otherwise things get truncated on 64-bit.
40917
40918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40919         Fix masking out of the most significant byte of random value used.
40920
40921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40922
40923 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40924
40925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40926
40927 2012-03-09  David S. Miller  <davem@davemloft.net>
40928
40929         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40930         variables with appropriate CPP guards.
40931         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40932         from the frame pointer, not the stack pointer.  Correct layout
40933         comments.  Fix test on resulting framesize and the management of
40934         the outregs buffer for pltexit.  Preserve floating point return
40935         values across _dl_call_pltexit call.
40936         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40937         framesize and the management of the outregs buffer for pltexit.
40938         Preserve floating point return values across _dl_call_pltexit
40939         call.
40940         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40941         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40942         (la_sparc64_gnu_pltexit): New functions.
40943         (print_exit): Fix format string for return register value.
40944
40945 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40946
40947         * sunrpc/Makefile (others): Add rpcgen.
40948         ($(objpfx)rpcgen): Remove special build rule and dependency on
40949         libc.
40950         * sunrpc/rpcgen.c: New file.
40951
40952 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40953
40954         [BZ #13673]
40955         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40956         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40957         * sysdeps/i386/crti.S: Likewise.
40958         * sysdeps/i386/crtn.S: Likewise.
40959         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40960         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40961         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40962         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40963         * sysdeps/sh/crti.S: Likewise.
40964         * sysdeps/sh/crtn.S: Likewise.
40965         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40966
40967         [BZ #13673]
40968         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40969         with URL.
40970         * locale/programs/locfile-kw.gperf: Likewise.
40971         * locale/programs/charmap-kw.h: Regenerated.
40972         * locale/programs/locfile-kw.h: Likewise.
40973
40974         [BZ #13673]
40975         * intl/plural.y: Replace FSF snail mail address with URL.
40976         * intl/plural.c: Regenerated.
40977
40978 2012-03-09  Richard Henderson  <rth@twiddle.net>
40979
40980         * include/math_private.h: Remove file.
40981         * math/math_private.h: Move file ...
40982         * sysdeps/generic/math_private.h: ... here.
40983
40984         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40985         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40986         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40987
40988         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40989         and <math_private.h>.
40990         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40991         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40992         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40993         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40994         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40998         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41001         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41002         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41004         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41005         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41006         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41009         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41011         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41014         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41015         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41016         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41017         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41018         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41019         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41022         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41023         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41024         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41025         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41026         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41027         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41028         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41030         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41031         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41044         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41045         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41046         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41047         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41048         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41049         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41050         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41051         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41053         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41054         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41055         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41056         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41057         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41058         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41060         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41061         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41062         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41063         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41064         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41065         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41066         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41068         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41069         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41074         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41078         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41079         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41080         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41081         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41083         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41084         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41085         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41086         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41087         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41088         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41089         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41090         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41091         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41092         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41093         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41094         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41095         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41096         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41097         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41098         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41100         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41101         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41102         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41103         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41104         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41105         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41106         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41107         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41108         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41109         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41110         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41111         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41112         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41113         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41114         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41115         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41117         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41118         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41119         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41120         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41121         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41122         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41123         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41124         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41125         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41126         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41127         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41128         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41129         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41130         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41131         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41132         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41133         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41134         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41135         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41136         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41137         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41138         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41139         * sysdeps/ieee754/k_standard.c: Likewise.
41140         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41144         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41152         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41153         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41154         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41156         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41157         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41163         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41165         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41166         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41167         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41175         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41176         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41177         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41244         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41245         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41248         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41252         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41253         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41255         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41256         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41257         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41258         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41259         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41260         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41262         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41263         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41266         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41267         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41268         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41269         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41270         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41271         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41272         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41273         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41274         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41275         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41276         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41277         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41278         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41279         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41280         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41281         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41282         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41286         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41288         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41289         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41290         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41300         * sysdeps/ieee754/s_lib_version.c: Likewise.
41301         * sysdeps/ieee754/s_matherr.c: Likewise.
41302         * sysdeps/ieee754/s_signgam.c: Likewise.
41303         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41304         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41305         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41306         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41307         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41308         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41309         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41310         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41311         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41312         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41313         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41314         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41315         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41316         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41317         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41318         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41319         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41320         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41321         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41324
41325 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41326
41327         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41328         * sunrpc/rpc_main.c: Likewise.
41329         * sunrpc/rpc_svcout.c: Likewise.
41330
41331 2012-03-09  David S. Miller  <davem@davemloft.net>
41332
41333         * include/math_private.h: New file.
41334
41335 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41336
41337         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41338         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41339         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41340         from <bits/socket_type.h>.
41341         (enum __socket_type): Don't define here.
41342         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41344         bits/socket_type.h.
41345
41346         [BZ #13566]
41347         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41348         checking __USE_GNU.
41349
41350         * Makerules ($(inst_includedir)/%.h): New rule.
41351         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41352         (install-others): Remove variable setting.
41353         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41354
41355 2012-03-08  Richard Henderson  <rth@twiddle.net>
41356
41357         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41358         from macro to inline function; merge with the
41359         !__LIBC_INTERNAL_MATH_INLINES version.
41360         (__ieee754_sqrtf): Likewise.
41361
41362         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41363         to inline function.
41364         (__rintf, __floor, __floorf): Likewise.
41365
41366         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41367         macro to inline function.
41368         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41369
41370         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41371         not <math/math_private.h>.
41372
41373 2012-03-08  David S. Miller  <davem@davemloft.net>
41374
41375         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41376         copyright year.
41377         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41378
41379 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41380
41381         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41382         normalization.
41383         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41384         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41385
41386 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41387
41388         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41389         be defined individually, they must be defined as a block.  Define
41390         S for printing a string instead of hidint the different by using a
41391         macro for adding the 'l'.
41392         * stdio-common/tst-fphex-wide.c: Adjust.
41393
41394 2012-03-07  Marek Polacek  <polacek@redhat.com>
41395
41396         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41397
41398 2012-03-08  Marek Polacek  <polacek@redhat.com>
41399
41400         [BZ #13806]
41401         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41402         * stdio-common/tst-fphex.c: Define a few macros to make the
41403         test reusable.  Use them.
41404         * stdio-common/tst-fphex-wide.c: New file.
41405
41406 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41407
41408         [BZ #6911]
41409         * manual/macros.texi (gnusystems): New macro.
41410         (nongnusystems): Likewise.
41411         (gnulinuxhurdsystems): Likewise.
41412         (gnuhurdsystems): Likewise..
41413         (gnulinuxsystems): Likewise.
41414         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41415         variants of the GNU system, not "GNU system".
41416         * manual/conf.texi: Likewise.
41417         * manual/errno.texi: Likewise.  Update example of errno macro
41418         expansion.
41419         * manual/filesys.texi: Likewise.
41420         (getumask): Document as specific to GNU/Hurd.
41421         * manual/install.texi: Likewise.  Reword some references to
41422         GNU/Linux.
41423         * manual/intro.texi: Likewise.
41424         * manual/io.texi: Likewise.
41425         (File Name Portability): Detail which constraints are inapplicable
41426         to all GNU systems and which are only inapplicable to GNU/Hurd.
41427         * manual/job.texi: Likewise.
41428         * manual/llio.texi: Likewise.
41429         (O_NOCTTY): Document as present on GNU/Linux.
41430         * manual/maint.texi: Likewise.
41431         * manual/memory.texi: Likewise.
41432         * manual/pattern.texi: Likewise.
41433         * manual/pipe.texi: Likewise.
41434         * manual/process.texi: Likewise.
41435         * manual/resource.texi: Likewise.
41436         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41437         child on GNU/Hurd.
41438         * manual/setjmp.texi: Likewise.
41439         * manual/signal.texi: Likewise.
41440         * manual/startup.texi: Likewise.
41441         * manual/stdio.texi: Likewise.
41442         * manual/terminal.texi: Likewise.
41443         (ONLCR): Document as POSIX.
41444         (OXTABS): Document availability on GNU/Linux as XTABS.
41445         (ONOEOT): Document availability separately from other bits.
41446         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41447         * manual/time.texi: Likewise.
41448         * manual/users.texi: Likewise.
41449         * INSTALL: Regenerated.
41450         * sysdeps/gnu/errlist.c: Regenerated.
41451
41452         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41453         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41454         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41455         puts.
41456         * configure: Regenerated.
41457
41458 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41459
41460         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41461         default includes instead of AC_HEADER_CHECK.
41462         * sysdeps/i386/configure: Regenerated.
41463
41464         [BZ #10716]
41465         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41466         * math/s_cacoshf.c (__cacoshf): Likewise.
41467         * math/s_cacoshl.c (__cacoshl): Likewise.
41468         * math/s_casinh.c (__casinh): Set signs of result from argument.
41469         * math/s_casinhf.c (__casinhf): Likewise.
41470         * math/s_casinhl.c (__casinhl): Likewise.
41471         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41472         (casinh_test): Add more tests.
41473         * sysdeps/i386/fpu/libm-test-ulps: Update.
41474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41475
41476 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41477
41478         * po/zh_TW.po: Update from translation team.
41479
41480         * login/Makefile (distribute): Remove variable.
41481         * catgets/Makefile: Likewise.
41482         * mach/Makefile: Likewise.
41483         * malloc/Makefile: Likewise.
41484         * misc/Makefile: Likewise.
41485         * iconv/Makefile: Likewise.
41486         * nscd/Makefile: Likewise.
41487         * hurd/Makefile: Likewise.
41488         * manual/Makefile: Likewise.
41489         * locale/Makefile: Likewise.
41490         * intl/Makefile: Likewise.
41491         * conform/Makefile: Likewise.
41492         * nss/Makefile: Likewise.
41493         * time/Makefile: Likewise.
41494         * soft-fp/Makefile: Likewise.
41495         * dirent/Makefile: Likewise.
41496         * gmon/Makefile: Likewise.
41497         * po/Makefile: Likewise.
41498         * rt/Makefile: Likewise.
41499         * socket/Makefile: Likewise.
41500         * math/Makefile: Likewise.
41501         * signal/Makefile: Likewise.
41502         * debug/Makefile: Likewise.
41503         * elf/Makefile: Likewise.
41504         * timezone/Makefile: Likewise.
41505         * stdlib/Makefile: Likewise.
41506         * iconvdata/Makefile: Likewise.
41507         * sunrpc/Makefile: Likewise.
41508         * io/Makefile: Likewise.
41509         * argp/Makefile: Likewise.
41510         * inet/Makefile: Likewise.
41511         * hesiod/Makefile: Likewise.
41512         * grp/Makefile: Likewise.
41513         * csu/Makefile: Likewise.
41514         * wctype/Makefile: Likewise.
41515         * crypt/Makefile: Likewise.
41516         * libio/Makefile: Likewise.
41517         * string/Makefile: Likewise.
41518         * nis/Makefile: Likewise.
41519         * resolv/Makefile: Likewise.
41520         * stdio-common/Makefile: Likewise.
41521         * wcsmbs/Makefile: Likewise.
41522         * dlfcn/Makefile: Likewise.
41523         * posix/Makefile: Likewise.
41524
41525         [BZ #6959]
41526         * timezone/Makefile: Don't install timezone files, just the programs
41527         and scripts.
41528
41529 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41530
41531         * nss/databases.def: Add missing gshadow entry.
41532
41533         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41534
41535 2012-03-06  Marek Polacek  <polacek@redhat.com>
41536
41537         [BZ #13726]
41538         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41539         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41540         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41541         * stdio-common/tst-long-dbl-fphex.c: New file.
41542
41543 2012-03-06  David S. Miller  <davem@davemloft.net>
41544
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41546         (set_obp_int): New function.
41547         (get_obp_int): New function.
41548         (__get_clockfreq_via_dev_openprom): Likewise.
41549         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41550         Avoid unused variable warnings on 'val' and use builtin_expect.
41551         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41552         __builtin_expect.
41553         (INLINE_CLONE_SYSCALL): Likewise.
41554
41555 2012-03-05  David S. Miller  <davem@davemloft.net>
41556
41557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41558
41559 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41560
41561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41562
41563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41564         only for |x| >= 40.
41565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41566
41567 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41568
41569         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41570         Replace gettimeofday with __vdso_gettimeofday.
41571
41572         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41573         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41574         __vdso_clock_gettime and __vdso_getcpu.
41575
41576         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41577         time with __vdso_time.
41578
41579 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41580
41581         * manual/lang.texi (size_t): Note types to which size_t may be
41582         equivalent with the GNU C Library, but do not describe when
41583         differences between them are significant.
41584
41585 2012-03-05  Andreas Jaeger  <aj@suse.de>
41586
41587         * sysdeps/i386/fpu/libm-test-ulps: Update.
41588
41589 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41590
41591         [BZ #3976]
41592         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41593         (__ieee754_pow): Save and restore rounding mode and use
41594         round-to-nearest for main computations.
41595         * math/libm-test.inc (pow_test_tonearest): New function.
41596         (pow_test_towardzero): Likewise.
41597         (pow_test_downward): Likewise.
41598         (pow_test_upward): Likewise.
41599         (main): Call the new functions.
41600         * sysdeps/i386/fpu/libm-test-ulps: Update.
41601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41602
41603         [BZ #3976]
41604         * math/libm-test.inc (cosh_test_tonearest): New function.
41605         (cosh_test_towardzero): Likewise.
41606         (cosh_test_downward): Likewise.
41607         (cosh_test_upward): Likewise.
41608         (sinh_test_tonearest): Likewise.
41609         (sinh_test_towardzero): Likewise.
41610         (sinh_test_downward): Likewise.
41611         (sinh_test_upward): Likewise.
41612         (main): Call the new functions.
41613         * sysdeps/i386/fpu/libm-test-ulps: Update.
41614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41615
41616 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41617
41618         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41619         default stack guard is set in last bytes.
41620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41621
41622 2012-03-05  Kees Cook  <keescook@chromium.org>
41623
41624         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41625
41626         [BZ #13656]
41627         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41628         possibly allocate from heap instead of stack.
41629         * stdio-common/bug-vfprintf-nargs.c: New file.
41630         * stdio-common/Makefile (tests): Add nargs overflow test.
41631
41632 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41633
41634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41635
41636 2012-03-03  Marek Polacek  <polacek@redhat.com>
41637
41638         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41639         * math/math_private.h: Likewise.
41640         * stdlib/tst-strtod.c: Likewise.
41641         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41642         * sysdeps/x86_64/bits/atomic.h: Likewise.
41643
41644 2012-03-02  David S. Miller  <davem@davemloft.net>
41645
41646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41650         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41651         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41652         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41653         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41654
41655 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41656
41657         [BZ #13792]
41658         * manual/examples/README: New file, says the example source files
41659         can be used under GPL>=2.
41660         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41661         line containing just "*/".
41662         * manual/examples/add.c: Add copyright header (GPL>=2).
41663         * manual/examples/argp-ex1.c: Likewise.
41664         * manual/examples/argp-ex2.c: Likewise.
41665         * manual/examples/argp-ex3.c: Likewise.
41666         * manual/examples/argp-ex4.c: Likewise.
41667         * manual/examples/atexit.c: Likewise.
41668         * manual/examples/db.c: Likewise.
41669         * manual/examples/dir.c: Likewise.
41670         * manual/examples/dir2.c: Likewise.
41671         * manual/examples/execinfo.c: Likewise.
41672         * manual/examples/filecli.c: Likewise.
41673         * manual/examples/filesrv.c: Likewise.
41674         * manual/examples/fmtmsgexpl.c: Likewise.
41675         * manual/examples/genpass.c: Likewise.
41676         * manual/examples/inetcli.c: Likewise.
41677         * manual/examples/inetsrv.c: Likewise.
41678         * manual/examples/isockad.c: Likewise.
41679         * manual/examples/longopt.c: Likewise.
41680         * manual/examples/memopen.c: Likewise.
41681         * manual/examples/memstrm.c: Likewise.
41682         * manual/examples/mkfsock.c: Likewise.
41683         * manual/examples/mkisock.c: Likewise.
41684         * manual/examples/mygetpass.c: Likewise.
41685         * manual/examples/pipe.c: Likewise.
41686         * manual/examples/popen.c: Likewise.
41687         * manual/examples/rprintf.c: Likewise.
41688         * manual/examples/search.c: Likewise.
41689         * manual/examples/select.c: Likewise.
41690         * manual/examples/setjmp.c: Likewise.
41691         * manual/examples/sigh1.c: Likewise.
41692         * manual/examples/sigusr.c: Likewise.
41693         * manual/examples/stpcpy.c: Likewise.
41694         * manual/examples/strdupa.c: Likewise.
41695         * manual/examples/strftim.c: Likewise.
41696         * manual/examples/strncat.c: Likewise.
41697         * manual/examples/subopt.c: Likewise.
41698         * manual/examples/swapcontext.c: Likewise.
41699         * manual/examples/termios.c: Likewise.
41700         * manual/examples/testopt.c: Likewise.
41701         * manual/examples/testpass.c: Likewise.
41702         * manual/examples/timeval_subtract.c: Likewise.
41703
41704         [BZ #13792]
41705         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41706         function to ...
41707         * manual/timeval_subtract.c.texi: ... here, new file.
41708
41709 2012-03-02  David S. Miller  <davem@davemloft.net>
41710
41711         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41712
41713 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41714
41715         [BZ #3976]
41716         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41717         (__sin): Save and restore rounding mode and use round-to-nearest
41718         for all computations.
41719         (__cos): Save and restore rounding mode and use round-to-nearest
41720         for all computations.
41721         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41722         <fenv.h>.
41723         (tan): Save and restore rounding mode and use round-to-nearest for
41724         all computations.
41725         * math/libm-test.inc (cos_test_tonearest): New function.
41726         (cos_test_towardzero): Likewise.
41727         (cos_test_downward): Likewise.
41728         (cos_test_upward): Likewise.
41729         (sin_test_tonearest): Likewise.
41730         (sin_test_towardzero): Likewise.
41731         (sin_test_downward): Likewise.
41732         (sin_test_upward): Likewise.
41733         (tan_test_tonearest): Likewise.
41734         (tan_test_towardzero): Likewise.
41735         (tan_test_downward): Likewise.
41736         (tan_test_upward): Likewise.
41737         (main): Call the new functions.
41738         * sysdeps/i386/fpu/libm-test-ulps: Update.
41739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41740
41741         [BZ #10135]
41742         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41743         small n, then large n, before computing and testing k+n.
41744         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41746         Likewise.
41747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41748         Likewise.
41749         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41750         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41751         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41752         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41753         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41756         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41757         * math/libm-test.inc (scalbn_test): Add more tests.
41758         (scalbln_test): Likewise.
41759
41760         * manual/filesys.texi (mode_t): Describe constraints on size and
41761         signedness, not exact equivalence to a particular type.
41762         (ino_t): Likewise.
41763         (ino64_t): Likewise.
41764         (dev_t): Likewise.
41765         (nlink_t): Likewise.
41766         (blkcnt_t): Likewise.
41767         (blkcnt64_t): Likewise.
41768         * manual/llio.texi (off_t): Likewise.
41769
41770         [BZ #3976]
41771         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41772         (__ieee754_exp): Save and restore rounding mode and use
41773         round-to-nearest for all computations.
41774         * math/libm-test.inc (exp_test_tonearest): New function.
41775         (exp_test_towardzero): Likewise.
41776         (exp_test_downward): Likewise.
41777         (exp_test_upward): Likewise.
41778         (main): Call the new functions.
41779         * sysdeps/i386/fpu/libm-test-ulps: Update.
41780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41781
41782 2012-03-01  Chris Demetriou  <cgd@google.com>
41783
41784         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41785         have predictable order.
41786
41787 2012-03-01  David S. Miller  <davem@davemloft.net>
41788
41789         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41790
41791         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41792         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41793         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41794         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41795
41796         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41797         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41798         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41800         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41801         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41802         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41803         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41804         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41805
41806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41807
41808         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41809         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41810         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41811
41812         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41813         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41814         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41815         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41816         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41817         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41818         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41819         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41820         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41821         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41822         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41825         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41826         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41828         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41829         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41830         * sysdeps/sparc/elf/configure: Regenerated.
41831
41832 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41833
41834         * configure.in (AS, LD): Require binutils 2.20 or later.
41835         * configure: Regenerated.
41836         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41837         as required minimum version.
41838         * INSTALL: Regenerated.
41839
41840         [BZ #2541]
41841         [BZ #4108]
41842         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41843         before squaring exponent.
41844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41845         bottom long double and 27 bits of top long double before squaring
41846         exponent.
41847         * math/libm-test.inc (erfc_test): Add more tests.
41848         * sysdeps/i386/fpu/libm-test-ulps: Update.
41849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41851
41852 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41853
41854         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41855         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41856         containing bit-fields.
41857         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41858         * soft-fp/single.h (_FP_UNION_S): Likewise.
41859         * soft-fp/double.h (_FP_UNION_D): Likewise.
41860
41861 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41862
41863         [BZ #13786]
41864         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41865         not include ../strcmp.S.
41866         [USE_AS_STRNCASECMP_L]: Likewise.
41867         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41868         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41869         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41870         (__strncasecmp_l_ia32): Define as alias to
41871         __strncasecmp_l_nonascii.
41872
41873         [BZ #5794]
41874         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41875         * sysdeps/i386/fpu/libm-test-ulps: Update.
41876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41877
41878         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41880
41881 2012-02-29  Jeff Law  <law@redhat.com>
41882
41883         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41884         out of bounds read.
41885
41886 2012-02-29  Marek Polacek  <polacek@redhat.com>
41887
41888         [BZ #13706]
41889         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41890         * elf/Makefile: Add rules to run tst-unused-dep.out.
41891
41892 2012-02-28  David S. Miller  <davem@davemloft.net>
41893
41894         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41895         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41896         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41897         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41898         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41899         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41900
41901 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41902
41903         * math/libm-test.inc (llround_test): Move one test from
41904         lround_test.  Use TEST_f_L in moved test.
41905         (lround_test): Move misplaced test to llround_test.  Add testcase
41906         from bug 2561.
41907
41908 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41909
41910         * sysdeps/x86_64/fpu/e_expf.S: New file.
41911         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41912
41913 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41914
41915         [BZ #13637]
41916         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41917         of remain_len that may cause incomplete multi-byte character and
41918         false match.
41919         * posix/bug-regex33.c: New file.
41920         * posix/Makefile (tests): Add bug-regex33.
41921
41922 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41923
41924         * manual/macros.texi: New file.
41925         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41926         * manual/libc.texinfo: Include macros.texi.
41927         * manual/creatute.texi: Likewise.
41928         * manual/install.texi: Likewise.
41929         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41930         @glibcadj{} in references to the GNU C Library.
41931         * manual/charset.texi: Likewise.
41932         * manual/conf.texi: Likewise.
41933         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41934         when not using those macros.
41935         * manual/creature.texi: Likewise.
41936         * manual/crypt.texi: Likewise.
41937         * manual/errno.texi: Likewise.
41938         * manual/filesys.texi: Likewise.
41939         * manual/header.texi: Likewise.
41940         * manual/install.texi: Likewise.
41941         * manual/intro.texi: Likewise.
41942         * manual/io.texi: Likewise.
41943         * manual/job.texi: Likewise.
41944         * manual/lang.texi: Likewise.
41945         * manual/libc.texiinfo: Likewise.
41946         * manual/llio.texi: Likewise.
41947         * manual/locale.texi: Likewise.
41948         * manual/maint.texi: Likewise.
41949         * manual/math.texi: Likewise.
41950         * manual/memory.texi: Likewise.
41951         * manual/message.texi: Likewise.
41952         * manual/nss.texi: Likewise.
41953         * manual/pattern.texi: Likewise.
41954         * manual/process.texi: Likewise.
41955         * manual/resource.texi: Likewise.
41956         * manual/search.texi: Likewise.
41957         * manual/setjmp.texi: Likewise.
41958         * manual/signal.texi: Likewise.
41959         * manual/socket.texi: Likewise.
41960         * manual/startup.texi: Likewise.
41961         * manual/stdio.texi: Likewise.
41962         * manual/string.texi: Likewise.
41963         * manual/sysinfo.texi: Likewise.
41964         * manual/syslog.texi: Likewise.
41965         * manual/terminal.texi: Likewise.
41966         * manual/time.texi: Likewise.
41967         * manual/users.texi: Likewise.
41968         * INSTALL: Regenerated.
41969         * NOTES: Regenerated.
41970         * sysdeps/gnu/errlist.c: Regenerated.
41971
41972 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41973
41974         * include/dirent.h: Include <dirstream.h> before
41975         <dirent/dirent.h>.
41976
41977 2012-02-28  David S. Miller  <davem@davemloft.net>
41978
41979         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41980         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41981         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41982         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41983
41984 2012-02-27  David S. Miller  <davem@davemloft.net>
41985
41986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41988         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41989         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41990
41991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41992         frame pointer instead of stack pointer relative arg slot.
41993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41994         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41995         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41996
41997 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41998
41999         [BZ #3992]
42000         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42001
42002 2012-02-27  David S. Miller  <davem@davemloft.net>
42003
42004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42008         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42009         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42010         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42011         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42012
42013 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42014
42015         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42016         later.  Allow versions 5-9.
42017         * configure: Regenerated.
42018         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42019         required minimum version and 4.6 as recommended version.  Do not
42020         mention bugs in GCC 2.7 and 2.8.
42021         * INSTALL: Regenerated.
42022
42023 2012-02-27  David S. Miller  <davem@davemloft.net>
42024
42025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42029         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42030         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42031         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42032         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42033
42034         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42035         manipulate bits before adding and subtracting TWO112[sx].
42036         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42037
42038 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42039
42040         [BZ #13775]
42041         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42042         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42043         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42044         being in POSIX, because they are in 1003.1-2008.
42045
42046         * rt/tst-aio.c: Include <fcntl.h>.
42047         * rt/tst-aio7.c: Likewise.
42048         * rt/tst-aio64.c: Likewise.
42049
42050         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42051
42052 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42053
42054         * manual/install.texi (--with-headers): Describe headers as
42055         interface headers, not private headers.
42056         (Specific advice for GNU/Linux systems): Describe use of headers
42057         from "make headers_install", not private headers from older
42058         kernels.
42059         * INSTALL: Regenerated.
42060         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42061         Change to 2.6.19.
42062         * sysdeps/unix/sysv/linux/configure: Regenerated.
42063
42064         * manual/llio.texi (fclean): Remove documentation.
42065
42066         * manual/Makefile (libc-texi-generated): New variable.  Include
42067         version.texi.
42068         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42069         $(libc-texi-generated), not duplicated list of files.
42070         (version.texi, stamp-version): New rules.
42071         (realclean): Remove $(libc-texi-generated), not individual files
42072         from that list.  Do not remove dir-add.texinfo.
42073         * manual/libc.texinfo: Comment out uses of edition numbers and
42074         references to printed manual.  Remove last-updated dates.
42075         (EDITION): Comment out.
42076         (ISBN): Likewise.
42077         (VERSION, UPDATED): Remove.
42078         (version.texi): Include.
42079
42080 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42081
42082         * sysdeps/posix/spawni.c: Include <signal.h>.
42083         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42084         * sysdeps/pthread/aio_fsync.c: Likewise.
42085
42086 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42087
42088         * conform/Makefile (tests): Run only when not cross-compiling and
42089         when fast-check is not defined.
42090
42091         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42092         * conform/data/limits.h-data: Fixes for POSIX2008.
42093         * conform/run-conformtest.sh: Run all tests.
42094         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42095         headers.
42096         * include/bits/dlfcn.h: Likewise.
42097         * include/langinfo.h: Likewise.
42098         * include/monetary.h: Likewise.
42099         * include/sys/poll.h: Likewise.
42100
42101         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42102         for __USE_GNU.
42103         * posix/spawn.h: Define __need_sigset_t.
42104         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42105         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42106         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42107         to get sigevent_t only.
42108         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42109         only for __USE_GNU.
42110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42111         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42112         process_vm_writev only for __USE_GNU.
42113         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42114
42115         * conform/Makefile: For now ignore errors from run-conformtest.
42116         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42117         POSIX to avoid namespace pollution.  Don't prepend headers.
42118         * conform/data/aio.h-data: Fixes for POSIX testing.
42119         * conform/data/fcntl.h-data: Likewise.
42120         * conform/data/glob.h-data: Likewise.
42121         * conform/data/grp.h-data: Likewise.
42122         * conform/data/pthread.h-data: Likewise.
42123         * conform/data/pwd.h-data: Likewise.
42124         * conform/data/signal.h-data: Likewise.
42125         * conform/data/spawn.h-data: Likewise.
42126         * conform/data/stdio.h-data: Likewise.
42127         * conform/data/stdlib.h-data: Likewise.
42128         * conform/data/stropts.h-data: Likewise.
42129         * conform/data/sys/mman.h-data: Likewise.
42130         * conform/data/sys/stat.h-data: Likewise.
42131         * conform/data/sys/types.h-data: Likewise.
42132         * conform/data/sys/wait.h-data: Likewise.
42133         * conform/data/time.h-data: Likewise.
42134         * conform/data/unistd.h-data: Likewise.
42135         * conform/data/utime.h-data: Likewise.
42136
42137         * io/sys/stat.h: fchmod was always in POSIX.
42138         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42139         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42140         * rt/aio.h: Define __need_timespec before including <time.h>.
42141         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42142         struct.  Add forward declaration of pthread_attr_t and use it in
42143         sigevent.
42144         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42145         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42146         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42147         always remove CLK_TCK definition.
42148
42149 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42150
42151         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42152
42153 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42154
42155         * conform/run-conformtest.sh: New file.
42156         * conform/Makefile: Run run-conformtest for tests.
42157         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42158         support.
42159
42160         * conform/data/uchar.h-data: New file.
42161         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42162         * conform/data/arpa/inet.h-data: Likewise.
42163         * conform/data/assert.h-data: Likewise.
42164         * conform/data/complex.h-data: Likewise.
42165         * conform/data/cpio.h-data: Likewise.
42166         * conform/data/ctype.h-data: Likewise.
42167         * conform/data/dirent.h-data: Likewise.
42168         * conform/data/dlfcn.h-data: Likewise.
42169         * conform/data/errno.h-data: Likewise.
42170         * conform/data/fcntl.h-data: Likewise.
42171         * conform/data/float.h-data: Likewise.
42172         * conform/data/fmtmsg.h-data: Likewise.
42173         * conform/data/fnmatch.h-data: Likewise.
42174         * conform/data/ftw.h-data: Likewise.
42175         * conform/data/glob.h-data: Likewise.
42176         * conform/data/grp.h-data: Likewise.
42177         * conform/data/iconv.h-data: Likewise.
42178         * conform/data/inttypes.h-data: Likewise.
42179         * conform/data/langinfo.h-data: Likewise.
42180         * conform/data/libgen.h-data: Likewise.
42181         * conform/data/limits.h-data: Likewise.
42182         * conform/data/locale.h-data: Likewise.
42183         * conform/data/math.h-data: Likewise.
42184         * conform/data/monetary.h-data: Likewise.
42185         * conform/data/mqueue.h-data: Likewise.
42186         * conform/data/ndbm.h-data: Likewise.
42187         * conform/data/net/if.h-data: Likewise.
42188         * conform/data/netdb.h-data: Likewise.
42189         * conform/data/netinet/in.h-data: Likewise.
42190         * conform/data/nl_types.h-data: Likewise.
42191         * conform/data/poll.h-data: Likewise.
42192         * conform/data/pthread.h-data: Likewise.
42193         * conform/data/pwd.h-data: Likewise.
42194         * conform/data/regex.h-data: Likewise.
42195         * conform/data/sched.h-data: Likewise.
42196         * conform/data/search.h-data: Likewise.
42197         * conform/data/semaphore.h-data: Likewise.
42198         * conform/data/setjmp.h-data: Likewise.
42199         * conform/data/signal.h-data: Likewise.
42200         * conform/data/spawn.h-data: Likewise.
42201         * conform/data/stdarg.h-data: Likewise.
42202         * conform/data/stdio.h-data: Likewise.
42203         * conform/data/stdlib.h-data: Likewise.
42204         * conform/data/string.h-data: Likewise.
42205         * conform/data/strings.h-data: Likewise.
42206         * conform/data/stropts.h-data: Likewise.
42207         * conform/data/sys/ipc.h-data: Likewise.
42208         * conform/data/sys/mman.h-data: Likewise.
42209         * conform/data/sys/msg.h-data: Likewise.
42210         * conform/data/sys/resource.h-data: Likewise.
42211         * conform/data/sys/select.h-data: Likewise.
42212         * conform/data/sys/sem.h-data: Likewise.
42213         * conform/data/sys/shm.h-data: Likewise.
42214         * conform/data/sys/socket.h-data: Likewise.
42215         * conform/data/sys/stat.h-data: Likewise.
42216         * conform/data/sys/statvfs.h-data: Likewise.
42217         * conform/data/sys/time.h-data: Likewise.
42218         * conform/data/sys/timeb.h-data: Likewise.
42219         * conform/data/sys/times.h-data: Likewise.
42220         * conform/data/sys/types.h-data: Likewise.
42221         * conform/data/sys/uio.h-data: Likewise.
42222         * conform/data/sys/un.h-data: Likewise.
42223         * conform/data/sys/utsname.h-data: Likewise.
42224         * conform/data/sys/wait.h-data: Likewise.
42225         * conform/data/syslog.h-data: Likewise.
42226         * conform/data/tar.h-data: Likewise.
42227         * conform/data/termios.h-data: Likewise.
42228         * conform/data/utime.h-data: Likewise.
42229         * conform/data/utmpx.h-data: Likewise.
42230         * conform/data/varargs.h-data: Likewise.
42231         * conform/data/wchar.h-data: Likewise.
42232         * conform/data/wctype.h-data: Likewise.
42233         * conform/data/wordexp.h-data: Likewise.
42234
42235         * include/stropts.h: New file.
42236         * include/uchar.h: New file.
42237         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42238         * include/assert.h: Likewise.
42239         * include/ctype.h: Likewise.
42240         * include/dirent.h: Likewise.
42241         * include/dlfcn.h: Likewise.
42242         * include/fcntl.h: Likewise.
42243         * include/fnmatch.h: Likewise.
42244         * include/glob.h: Likewise.
42245         * include/grp.h: Likewise.
42246         * include/libio.h: Likewise.
42247         * include/locale.h: Likewise.
42248         * include/math.h: Likewise.
42249         * include/net/if.h: Likewise.
42250         * include/netdb.h: Likewise.
42251         * include/netinet/in.h: Likewise.
42252         * include/pthread.h: Likewise.
42253         * include/pwd.h: Likewise.
42254         * include/regex.h: Likewise.
42255         * include/sched.h: Likewise.
42256         * include/search.h: Likewise.
42257         * include/setjmp.h: Likewise.
42258         * include/signal.h: Likewise.
42259         * include/stdio.h: Likewise.
42260         * include/stdlib.h: Likewise.
42261         * include/string.h: Likewise.
42262         * include/sys/cdefs.h: Likewise.
42263         * include/sys/mman.h: Likewise.
42264         * include/sys/msg.h: Likewise.
42265         * include/sys/resource.h: Likewise.
42266         * include/sys/select.h: Likewise.
42267         * include/sys/socket.h: Likewise.
42268         * include/sys/stat.h: Likewise.
42269         * include/sys/statvfs.h: Likewise.
42270         * include/sys/time.h: Likewise.
42271         * include/sys/times.h: Likewise.
42272         * include/sys/uio.h: Likewise.
42273         * include/sys/utsname.h: Likewise.
42274         * include/sys/wait.h: Likewise.
42275         * include/termios.h: Likewise.
42276         * include/time.h: Likewise.
42277         * include/ulimit.h: Likewise.
42278         * include/unistd.h: Likewise.
42279         * include/utime.h: Likewise.
42280         * include/wchar.h: Likewise.
42281         * include/wctype.h: Likewise.
42282         * include/wordexp.h: Likewise.
42283
42284         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42285
42286         * time/time.h: TIME_UTC must be a macro.
42287         Make timespec_get available for ISO C11 only as well.
42288
42289 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42290
42291         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42292         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42293
42294 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42295
42296         * configure.in: Use -o not -a in test for unsupported multi-arch.
42297
42298 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42299
42300         * manual/texinfo.tex: Update to version 2012-01-19.16.
42301
42302 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42303
42304         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42305
42306 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42307
42308         [BZ #13738]
42309         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42310         * manual/fdl-1.3.texi: New file.
42311         * manual/fdl-1.1.texi: File removed.
42312
42313         [BZ #13738]
42314         * manual/libc.texinfo (FDL_VERSION): New @set.
42315         Use it for mention of FDL in cover text.
42316         (Documentation License): Use it in @include file name.
42317
42318 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42319             Roland McGrath  <roland@hack.frob.com>
42320
42321         [BZ #5461]
42322         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42323         (not LONG_LONG_MAX and LONG_LONG_MIN.
42324         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42325         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42326         name.
42327         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42328
42329 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42330
42331         [BZ #2547]
42332         [BZ #11365]
42333         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42334         manipulate bits before adding and subtracting TWO23[sx].
42335         * math/libm-test.inc (nearbyint_test): Add more tests.
42336
42337 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42338
42339         [BZ #2548]
42340         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42341         bits before adding and subtracting TWO23[sx].
42342         * math/libm-test.inc (rint_test): Add more tests.
42343         (rint_test_tonearest): Likewise.
42344         (rint_test_towardzero): Likewise.
42345         (rint_test_downward): Likewise.
42346         (rint_test_upward: Likewise.
42347
42348 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42349
42350         [BZ #10110]
42351         * include/stdc-predef.h: New file.  Extracted from features.h.
42352         * include/features.h: Include stdc-predef.h.
42353         * Makefile (headers): Add stdc-predef.h.
42354         * CONFORMANCE (Compiler limitations): Update.
42355
42356 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42357
42358         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42359
42360 2012-02-21  David S. Miller  <davem@davemloft.net>
42361
42362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42363         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42364
42365 2012-02-20  David S. Miller  <davem@davemloft.net>
42366
42367         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42368         using a normal save/restore sequence, rather than allocating a
42369         dummy stack frame just to store a frame pointer and restore.
42370         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42371
42372 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42373
42374         * manual/install.texi: Fix stray word in line-wrapped comment.
42375
42376 2012-02-20  David S. Miller  <davem@davemloft.net>
42377
42378         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42379         both binutils and gcc support GOTDATA.
42380
42381         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42382         "rd %pc" in the PIC register setup sequences.
42383
42384         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42385         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42386         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42387         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42388         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42390         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42393         (SYSCALL_ERROR_HANDLER): Likewise.
42394         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42395         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42397         (SYSCALL_ERROR_HANDLER): Likewise.
42398
42399         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42400         (HAVE_GCC_GOTDATA): New.
42401         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42402         relocation support in both binutils and gcc.
42403         * sysdeps/sparc/elf/configure: Regenerate.
42404
42405         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42406         * sysdeps/sparc/sparc32/elf/configure: Delete.
42407         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42408         * sysdeps/sparc/sparc64/elf/configure: Delete.
42409         * sysdeps/sparc/elf/configure.in: New file.
42410         * sysdeps/sparc/elf/configure: Generate.
42411
42412         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42413         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42414         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42415         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42416         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42417
42418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42419
42420         * manual/install.texi: Do not mention specific glibc version
42421         numbers.
42422         * manual/libc.texinfo (VERSION, UPDATED): Update.
42423         (@copying): Use @copyright{} and range of years.
42424
42425 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42426
42427         [BZ #13695]
42428         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42429         [crti.S not in sysdirs] (generated): Do not append.
42430         [crti.S not in sysdirs] (omit-deps): Likewise.
42431         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42432         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42433         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42434         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42435         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42436         Likewise.
42437         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42438         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42439         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42440         * csu/defs.awk: Remove file.
42441         * sysdeps/generic/initfini.c: Likewise.
42442         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42443         variable.
42444         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42445         Likewise.
42446
42447 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42448
42449         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42450         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42451         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42452         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42453         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42454         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42455         <bits/epoll.h>.
42456         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42457         (__EPOLL_PACKED): Define to empty if not defined by
42458         <bits/epoll.h>.
42459         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42461         bits/epoll.h.
42462
42463 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42464
42465         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42466         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42467         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42468         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42469         <bits/timerfd.h>.
42470         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42472         bits/timerfd.h.
42473
42474 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42475
42476         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42477         in C locale.
42478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42479         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42480         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42482
42483 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42484
42485         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42486         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42487
42488 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42489
42490         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42491         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42492         defined.
42493         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42494         Likewise.
42495         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42496         entry for 2.16.
42497
42498 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42499
42500         * math/w_acos.c: Use non-signaling floating-point comparisons.
42501         * math/w_acosf.c: Likewise.
42502         * math/w_acosh.c: Likewise.
42503         * math/w_acoshf.c: Likewise.
42504         * math/w_acoshl.c: Likewise.
42505         * math/w_acosl.c: Likewise.
42506         * math/w_asin.c: Likewise.
42507         * math/w_asinf.c: Likewise.
42508         * math/w_asinl.c: Likewise.
42509         * math/w_atanh.c: Likewise.
42510         * math/w_atanhf.c: Likewise.
42511         * math/w_atanhl.c: Likewise.
42512         * math/w_exp2.c: Likewise.
42513         * math/w_exp2f.c: Likewise.
42514         * math/w_exp2l.c: Likewise.
42515         * math/w_j0.c: Likewise.
42516         * math/w_j0f.c: Likewise.
42517         * math/w_j0l.c: Likewise.
42518         * math/w_j1.c: Likewise.
42519         * math/w_j1f.c: Likewise.
42520         * math/w_j1l.c: Likewise.
42521         * math/w_jn.c: Likewise.
42522         * math/w_jnf.c: Likewise.
42523         * math/w_log.c: Likewise.
42524         * math/w_log10.c: Likewise.
42525         * math/w_log10f.c: Likewise.
42526         * math/w_log10l.c: Likewise.
42527         * math/w_log2.c: Likewise.
42528         * math/w_log2f.c: Likewise.
42529         * math/w_log2l.c: Likewise.
42530         * math/w_logf.c: Likewise.
42531         * math/w_logl.c: Likewise.
42532         * math/w_sqrt.c: Likewise.
42533         * math/w_sqrtf.c: Likewise.
42534         * math/w_sqrtl.c: Likewise.
42535         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42536         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42538         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42539         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42540
42541 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42542
42543         [BZ #9739]
42544         * manual/string.texi (strnlen): Use correct parameter name in
42545         equivalent expression.
42546
42547 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42548
42549         [BZ #11174]
42550         * manual/users.texi (seteuid): Consistently use neweuid for
42551         argument name.
42552
42553 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42554
42555         [BZ #13704]
42556         * manual/nss.texi (Services in the NSS configuration): Correct
42557         list of services in example configuration file.
42558
42559 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42560
42561         [BZ #11322]
42562         * manual/arith.texi: Remove statements about negative zero
42563         behaving identically to zero.
42564
42565 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42566
42567         [BZ #5993]
42568         * manual/install.texi: Do not document upgrading from libc5.
42569
42570 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42571
42572         [BZ #4596]
42573         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42574
42575 2012-02-18  David S. Miller  <davem@davemloft.net>
42576
42577         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42578         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42579         %o7 across the call.
42580         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42581         instead.
42582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42583         SETUP_PIC_REG_LEAF.
42584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42585         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42586         * sysdeps/sparc/crtn.S: Likewise.
42587
42588 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42589
42590         * aout/Makefile: Remove.
42591
42592 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42593
42594         [BZ #13058]
42595         * manual/examples/argp-ex1.c (main): Format definition in GNU
42596         style.
42597         * manual/examples/argp-ex2.c (main): Likewise.
42598         * manual/examples/argp-ex3.c (main): Likewise.
42599         * manual/examples/argp-ex4.c (main): Likewise.
42600         * manual/examples/longopt.c (main): Use new-style prototype
42601         definition.
42602         * manual/examples/strncat.c (main): Specify return type and use
42603         (void) for arguments.
42604         * manual/examples/subopt.c (main): Use char **argv argument.
42605
42606 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42607
42608         [BZ #5077]
42609         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42610         rounding modes.
42611
42612 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42613
42614         [BZ #6907]
42615         * manual/string.texi (strchr): Change when strchrnul is
42616         recommended.
42617
42618 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42619
42620         [BZ #174]
42621         * manual/locale.texi (setlocale): Document LOCPATH.
42622
42623 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42624
42625         [BZ #10210]
42626         * manual/process.texi (execle): Move @dots{} before last argument.
42627
42628 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42629
42630         [BZ #12047]
42631         * manual/charset.texi (Generic Charset Conversion): Fix typo
42632         (LC_TYPE -> LC_CTYPE).
42633
42634 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42635
42636         [BZ #5805]
42637         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42638         (scalbnf): Likewise.
42639         (scalbnl): Likewise.
42640         (scalbln): Likewise.
42641         (scalblnf): Likewise.
42642         (scalblnl): Likewise.
42643         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42644         (vwarnx): Likewise.
42645         (verr): Likewise.
42646         (verrx): Likewise.
42647         * manual/filesys.texi (telldir): Use braces around return type.
42648         * manual/llio.texi (mmap): Add space after comma.
42649         (mmap64): Likewise.
42650         * manual/math.texi (jn): Use @var{} on parameter names.
42651         (jnf): Likewise.
42652         (jnl): Likewise.
42653         (yn): Likewise.
42654         (ynf): Likewise.
42655         (ynl): Likewise.
42656         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42657         line.
42658         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42659         "...".
42660         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42661         (sched_get_priority_max): Likewise.
42662         * manual/signal.texi (sigvec): Add space after comma.
42663         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42664         names.
42665         (if_indextoname): Likewise.
42666         (if_freenameindex): Likewise.
42667         (sendto): Use ',' instead of '.' in prototype.
42668         * manual/startup.texi (syscall): Use @dots{} instead of literal
42669         "...".
42670         * manual/stdio.texi (__fpending): Separate initial words of
42671         paragraph from @deftypefun line.
42672         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42673         "...".
42674         (vsyslog): Use @var{} on parameter names.
42675         * manual/terminal.texi (stty): Use @var{} on parameter names.
42676         * manual/users.texi (getutmp): Use @var{} on parameter names.
42677         (getutmpx): Likewise.
42678
42679 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42680
42681         [BZ #6884]
42682         * manual/stdio.texi (fopen): Fix typos in description of
42683         ",ccs=STRING".
42684
42685 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42686
42687         [BZ #4026]
42688         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42689         get clock_id definition.
42690
42691 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42692
42693         [BZ #4822]
42694         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42695         (madvise): Cast every argument to void on its own.
42696
42697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42698
42699         [BZ #9902]
42700         * manual/startup.texi (Exit Status): Fix typo.
42701
42702 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42703
42704         [BZ #10140]
42705         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42706         * manual/examples/argp-ex2.c: Likewise.
42707         * manual/examples/argp-ex3.c: Likewise.
42708
42709 2012-02-16  Richard Henderson  <rth@redhat.com>
42710
42711         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42712         * sysdeps/s390/s390-32/initfini.c: Remove.
42713         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42714         * sysdeps/s390/s390-64/initfini.c: Remove.
42715
42716 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42717
42718         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42719         compiler output for sysdeps/generic/initfini.c.
42720         * sysdeps/sh/elf/initfini.c: Remove file.
42721
42722 2012-02-16  David S. Miller  <davem@davemloft.net>
42723
42724         [BZ #11494]
42725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42726
42727         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42728         * sysdeps/sparc/crti.S: New file.
42729         * sysdeps/sparc/crtn.S: New file.
42730         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42731         * sysdeps/sparc/sparc64/Makefile: Likewise.
42732
42733 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42734
42735         [BZ #3335]
42736         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42737
42738 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42739
42740         [BZ #4822]
42741         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42742
42743         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42744         (write, read, close): Likewise.
42745         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42746
42747 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42748
42749         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42750         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42751         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42752         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42753         <bits/signalfd.h>.
42754         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42756         bits/signalfd.h.
42757
42758 2012-02-14  Marek Polacek  <polacek@redhat.com>
42759
42760         * sysdeps/x86_64/crti.S: New file.
42761         * sysdeps/x86_64/crtn.S: New file.
42762         * sysdeps/x86_64/elf/initfini.c: Remove file.
42763
42764 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42765
42766         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42767         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42768         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42769         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42770         <bits/inotify.h>.
42771         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42773         bits/inotify.h.
42774
42775 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42776
42777         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42778         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42779         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42780         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42781         <bits/eventfd.h>.
42782         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42784         bits/eventfd.h.
42785
42786 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42787
42788         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42789         __feraiseexcept instead of feraiseexcept.
42790
42791         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42792         nanosleep invocations.
42793         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42794         strings, and add error checking for a nanosleep invocations.
42795
42796 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42797
42798         Replace FSF snail mail address with URLs, as per GNU coding standards.
42799         Most of the snail mail addresses were wrong anyway, and omitting
42800         them makes the source code easier to maintain.  Almost all of the
42801         changes are to license notices and to locale LC_IDENTIFICATION
42802         addresses, except for this one:
42803         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42804         not its snail mail address.
42805
42806 2012-02-09  Richard Henderson  <rth@twiddle.net>
42807
42808         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42809         of kernel-features.h.
42810
42811         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42812
42813 2012-02-08  Marek Polacek  <polacek@redhat.com>
42814
42815         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42816         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42817         * sysdeps/gnu/_G_config.h: Likewise.
42818         * sysdeps/generic/_G_config.h: Likewise.
42819
42820 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42821
42822         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42823         tests.
42824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42825
42826         * sysdeps/powerpc/powerpc32/crti.S: New file.
42827         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42828         * sysdeps/powerpc/powerpc64/crti.S: New file.
42829         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42830
42831         * Makeconfig (have-initfini): Don't set.
42832         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42833         * configure.in (nopic_initfini): Don't substitute.
42834         * config.h.in (HAVE_INITFINI): Don't #undef.
42835         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42836         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42837
42838 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42839
42840         Support crti.S and crtn.S provided directly by architectures.
42841         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42842         [crti.S in sysdirs] (omit-deps): Likewise.
42843         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42844         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42845         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42846         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42847         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42848         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42849         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42850         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42851         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42852         compiler output for sysdeps/generic/initfini.c.
42853         * sysdeps/i386/elf/Makefile: Remove file.
42854         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42855
42856 2012-02-07  Marek Polacek  <polacek@redhat.com>
42857
42858         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42859         * sysdeps/gnu/_G_config.h: Likewise.
42860         * sysdeps/mach/hurd/_G_config.h: Likewise.
42861
42862 2012-02-07  Marek Polacek  <polacek@redhat.com>
42863
42864         * math/Makefile (tests): Add tst-CMPLX2.
42865         * math/tst-CMPLX2.c: New file.
42866
42867 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42868
42869         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42870
42871         * math/libm-test.inc (jn_test): Add missing L suffix.
42872
42873 2012-02-06  Marek Polacek  <polacek@redhat.com>
42874
42875         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42876         * sysdeps/i386/fpu/e_powf.S: Likewise.
42877         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42878         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42879         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42880         * sysdeps/i386/fpu/e_pow.S: Likewise.
42881         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42882         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42883         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42884         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42885         * sysdeps/i386/fpu/e_log2.S: Likewise.
42886         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42887         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42888         * sysdeps/i386/fpu/e_powl.S: Likewise.
42889         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42890         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42891         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42892         * sysdeps/i386/fpu/e_logl.S: Likewise.
42893         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42894         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42895         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42896         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42897         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42898         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42899         * sysdeps/i386/fpu/e_log.S: Likewise.
42900         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42901         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42902         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42903         * sysdeps/i386/fpu/e_logf.S: Likewise.
42904         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42905         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42906         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42907         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42908         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42909         * sysdeps/i386/fpu/e_log10.S: Likewise.
42910         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42911         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42912         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42913         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42914         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42915         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42916         * sysdeps/i386/asm-syntax.h: Likewise.
42917         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42918         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42919         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42920         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42921         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42922         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42923         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42924         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42926         * sysdeps/powerpc/sysdep.h: Likewise.
42927         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42928         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42929
42930 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42931
42932         [BZ #411]
42933         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42934
42935 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42936
42937         * sysdeps/i386/sysdep.h: Include <features.h>.
42938         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42939         version.
42940
42941 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42942
42943         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42944         Define.
42945         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42946         LOAD_PIC_REG_STR.
42947
42948 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42949
42950         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42951         (SETUP_PIC_REG): Use GET_PC_THUNK.
42952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42953         macro.
42954
42955 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42956
42957         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42958         for non-PIC compilation.
42959         (SETUP_PIC_REG): Add .p2align directive.
42960         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42961         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42962         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42963         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42964         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42965         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42966         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42967         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42968         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42969         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42970         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42971         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42972         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42973         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42974         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42975         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42976         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42977         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42978         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42979         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42981         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42984         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42986         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42988         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42989         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42990         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42992         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42993         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42994         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42995         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42996         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42997         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42999         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43000         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43001
43002 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43003
43004         * math/tst-CMPLX.c: Include <stdio.h>.
43005
43006 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43007
43008         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43009         float.
43010         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43011         * sysdeps/sparc/bits/mathdef.h: Likewise.
43012
43013 2012-01-31  Marek Polacek  <polacek@redhat.com>
43014
43015         * libio/libio.h: Don't define _PARAMS.
43016         * locale/programs/config.h: Don't define PARAMS.
43017         * stdlib/strtol_l.c: Likewise.
43018         (__strtol_l): Remove PARAMS from the prototype.
43019
43020 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43021
43022         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43023         names.  Just use the correct names.  Remove unnecessary wrapper
43024         functions.
43025         * malloc/arena.c: Likewise.
43026         * malloc/hooks.c: Likewise.
43027
43028         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43029         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43030         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43031
43032 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43033
43034         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43035         into tail calls.
43036         (update_get_addr): New function.
43037         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43038         GET_ADDR_MODULE parameter.
43039
43040 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43041
43042         * crypt/cert.c: Remove __STDC__ conditionals.
43043         * crypt/crypt-entry.c: Likewise.
43044         * crypt/crypt_util.c: Likewise.
43045         * libio/filedoalloc.c: Likewise.
43046         * libio/fileops.c: Likewise.
43047         * libio/genops.c: Likewise.
43048         * libio/iofclose.c: Likewise.
43049         * libio/iofdopen.c: Likewise.
43050         * libio/iofopen.c: Likewise.
43051         * libio/iofopen64.c: Likewise.
43052         * libio/iogetdelim.c: Likewise.
43053         * libio/iopopen.c: Likewise.
43054         * libio/obprintf.c: Likewise.
43055         * libio/oldfileops.c: Likewise.
43056         * libio/oldiofclose.c: Likewise.
43057         * libio/oldiofdopen.c: Likewise.
43058         * libio/oldiofopen.c: Likewise.
43059         * libio/oldiopopen.c: Likewise.
43060         * libio/wfiledoalloc.c: Likewise.
43061         * libio/wgenops.c: Likewise.
43062         * locale/programs/xmalloc.c: Likewise.
43063         * misc/syslog.c: Likewise.
43064         * stdio-common/xbug.c: Likewise.
43065         * string/memchr.c: Likewise.
43066         * string/memcmp.c: Likewise.
43067         * string/memrchr.c: Likewise.
43068         * string/rawmemchr.c: Likewise.
43069         * sysdeps/posix/getcwd.c: Likewise.
43070         * time/strftime_l.c: Likewise.
43071
43072 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43073
43074         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43075         * config.make.in (config-cflags-sse2avx): Define.
43076         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43077         Fix typo.
43078
43079 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43080
43081         * scripts/config.guess: Update from upstream config git repository.
43082         * scripts/config.sub: Likewise.
43083
43084 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43085
43086         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43087         (EM_NUM): Update.
43088         (R_TILEPRO_*, R_TILEGX_*): New macros.
43089
43090         * scripts/firstversions.awk: Fix bug in version range handling.
43091
43092         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43093
43094         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43095
43096         * include/sys/epoll.h: New file.
43097         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43098         libc_hidden_def.
43099
43100 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43101
43102         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43103         Avoid unnecessary __WORDSIZE == 64 test.
43104         (fmaxf): Use VEX format if possible.
43105         (fmax): Likewise.
43106         (fminf): Likewise.
43107         (fmin): Likewise.
43108
43109         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43110         * math/math_private.h: Remove libc_fegetround* and
43111         libc_fesetround*.
43112         * sysdeps/i386/configure.in: Check for -msse2avx.
43113         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43114         also if SSE2AVX is defined.
43115         Remove libc_fegetround* and libc_fesetround*.
43116         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43117         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43119         of HAS_YMM_USABLE.
43120         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43121         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43122         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43123         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43125
43126         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43127
43128 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43129
43130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43131         size is not set.
43132         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43133
43134 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43135
43136         [BZ #13618]
43137         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43138         relocation.
43139         * Makeconfig (libm): Define.
43140         * elf/Makefile: Add rules to build and run tst-relsort1.
43141         * elf/tst-relsort1.c: New file.
43142         * elf/tst-relsort1mod1.c: New file.
43143         * elf/tst-relsort1mod2.c: New file.
43144
43145 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43146
43147         * math/s_ldexp.c: Remove __STDC__ conditionals.
43148         * math/s_ldexpf.c: Likewise.
43149         * math/s_ldexpl.c: Likewise.
43150         * math/s_nextafter.c: Likewise.
43151         * math/s_nexttowardf.c: Likewise.
43152         * math/s_significand.c: Likewise.
43153         * math/s_significandf.c: Likewise.
43154         * math/s_significandl.c: Likewise.
43155         * math/w_jnl.c: Likewise.
43156         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43157         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43158         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43159         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43160         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43161         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43162         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43163         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43164         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43165         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43166         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43167         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43168         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43169         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43170         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43171         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43172         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43173         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43175         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43176         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43177         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43178         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43180         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43181         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43182         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43183         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43184         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43185         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43186         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43187         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43188         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43190         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43191         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43192         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43193         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43194         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43195         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43196         * sysdeps/ieee754/k_standard.c: Likewise.
43197         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43201         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43202         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43204         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43205         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43206         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43207         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43208         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43209         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43210         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43211         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43212         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43213         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43214         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43215         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43216         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43219         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43220         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43221         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43222         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43227         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43228         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43229         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43230         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43232         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43233         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43235         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43236         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43237         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43239         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43241         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43242         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43244         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43245         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43246         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43247         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43250         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43253         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43254         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43255         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43258         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43262         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43263         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43265         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43266         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43271         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43272         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43274         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43275         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43276         * sysdeps/ieee754/s_matherr.c: Likewise.
43277         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43278         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43279         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43281
43282 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43283
43284         * crypt/md5.h: Remove __STDC__ conditionals.
43285         * libio/libioP.h: Likewise.
43286         * locale/programs/config.h: Likewise.
43287         * sysdeps/generic/sysdep.h: Likewise.
43288         * sysdeps/i386/asm-syntax.h: Likewise.
43289         * sysdeps/s390/asm-syntax.h: Likewise.
43290         * sysdeps/unix/sysdep.h: Likewise.
43291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43293
43294 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43295
43296         * libio/libio.h: Remove __STDC__ conditionals.
43297         * malloc/obstack.h: Likewise.
43298         * math/complex.h: Likewise.
43299         * math/math.h: Likewise.
43300         * sysdeps/generic/_G_config.h: Likewise.
43301         * sysdeps/gnu/_G_config.h: Likewise.
43302         * sysdeps/mach/hurd/_G_config.h: Likewise.
43303         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43304         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43305         * sysdeps/sparc/bits/mathdef.h: Likewise.
43306
43307 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43308
43309         [BZ #13583]
43310         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43311         Clean up HAS_* macros.
43312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43313         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43314         possible.
43315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43316         HAS_AVX.
43317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43318         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43319         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43320         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43321         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43322
43323 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43324
43325         * elf/tst-unique3.cc (gets): Remove declaration.
43326         * elf/tst-unique3lib.cc (gets): Likewise.
43327         * elf/tst-unique3lib2.cc (gets): Likewise.
43328         * elf/tst-unique4.cc (gets): Likewise.
43329
43330 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43331
43332         * include/stdio.h: Add C++ protection.  Add gets declarations and
43333         definitions.
43334         * debug/tst-chk1.c: Don't declare gets here.
43335         * stdio-common/tst-gets.c: Likewise.
43336
43337 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43338
43339         * posix/glob: Remove directory.
43340
43341 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43342
43343         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43344
43345 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43346
43347         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43348         of the non-standard EPFNOSUPPORT.
43349
43350 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43351
43352         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43353         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43354         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43355
43356 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43357
43358         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43359
43360 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43361
43362         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43363         transient errors.
43364         * nscd/grpcache.c (cache_addgr): Likewise.
43365         * nscd/hstcache.c (cache_addhst): Likewise.
43366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43367         * nscd/pwdcache.c (cache_addpw): Likewise.
43368         * nscd/servicescache.c (cache_addserv): Likewise.
43369
43370 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * malloc/malloc.c: Various cleanups.
43373         * malloc/hooks.c: Likewise.
43374
43375         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43376         * stdlib/bug-fmtmsg1.c: New file.
43377
43378         * stdlib/fmtmsg.c (init): Add missing unlock.
43379         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43380
43381 2012-01-12  Marek Polacek  <polacek@redhat.com>
43382
43383         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43384         and _GNU_SOURCE.
43385
43386 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43387
43388         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43389         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43390         macro to ensure uniqueness of label name.
43391         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43392         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43393
43394 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43395
43396         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43397
43398         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43399         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43400         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43402
43403 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43404
43405         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43406
43407         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43408         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43409         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43410
43411         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43412
43413         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43414         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43415         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43417
43418         * math/bits/math-finite.h: Add ldexp support.
43419
43420 2012-01-10  Marek Polacek  <polacek@redhat.com>
43421
43422         * locale/programs/localedef.h (show_archive_content): Add noreturn
43423         attribute.
43424
43425 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43426
43427         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43428
43429 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43430
43431         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43432
43433         * io/Makefile (headers): Add bits/poll2.h.
43434
43435 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43436
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43438         typo #include statement.
43439
43440 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43441
43442         * include/sys/cdefs.h: Define __attribute_alloc_size.
43443         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43444         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43445         * elf/pldd.c: Likewise.
43446         * iconv/iconv_charmap.c: Likewise.
43447         * iconv/iconvconfig.c: Likewise.
43448         * iconv/strtab.c: Likewise.
43449         * locale/programs/locale.c: Likewise.
43450         * locale/programs/localedef.h: Likewise.
43451         * locale/programs/simple-hash.c: Likewise.
43452         * nscd/nscd.h: Likewise.
43453         * nss/makedb.c: Likewise.
43454         * sysdeps/generic/ldconfig.h: Likewise.
43455         * locale/programs/localedef.c: Remove xmalloc prototype.
43456         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43457
43458 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43459
43460         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43461         appropriate.
43462
43463 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43464
43465         * math/Makefile (tests): Add tst-CMPLX.
43466         * math/tst-CMPLX.c: New file.
43467
43468         * math/complex.h (CMPLXL): Fix typo.
43469
43470         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43471         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43472         GLIBC_2.16.
43473         * debug/tst-chk1.c: Add poll and ppoll tests.
43474         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43475         * include/sys/poll.h: Add hidden proto for ppoll.
43476         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43477         * sysdeps/mach/hurd/ppoll.c: Likewise.
43478         * io/ppoll.c: Likewise.
43479         * debug/poll_chk.c: New file.
43480         * debug/ppoll_chk.c: New file.
43481         * include/bits/poll2.h: New file.
43482         * io/bits/poll2.h: New file.
43483
43484         [BZ #1350]
43485         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43486
43487         * configure.in: static is always set to yes.  Remove.
43488         * config.make.in: Don't set build-static.
43489         * Makeconfig: Remove use of build-static.
43490         * dlfcn/Makefile: Likewise.
43491         * elf/Makefile: Likewise.
43492         * math/Makefile: Likewise.
43493         * misc/Makefile: Likewise.
43494         * nptl/Makefile: Likewise.
43495         * sysdeps/mach/hurd/Makefile: Likewise.
43496
43497         * configure.in: PWD_P is not used anymore.
43498         * config.make.in: Remove PWD_P entry.
43499
43500         * configure.in: Remove last remnants of RANLIB.
43501         No need to check for signed size_t anymore.
43502         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43503         and IA-64.
43504         Remove __builtin_expect test because we require at least gcc 3.4.
43505         * aclocal.m4: Likewise.
43506
43507         * wcsmbs/mbrtoc16.c: Implement using towc function.
43508         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43509         * wcsmbs/wcsmbsload.c: Likewise.
43510         * iconv/gconv_simple.c: Likewise.
43511         * iconv/gconv_int.h: Likewise.
43512         * iconv/gconv_builtin.h: Likewise.
43513         * iconv/iconv_prog.c: Remove CHAR16 handling.
43514
43515         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43516
43517         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43518
43519         * configure.in: Remove --with-elf and --enable-bounded options.
43520         Dont set base_machine for ia64.  More non-ELF conditions removed.
43521         Remove testing and setting of leading underscore information.
43522         * config.make.in (build-bounded): Set to no.
43523         * config.h.in: Remove NO_UNDERSCORES entry.
43524         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43525         them.
43526         * csu/start.c: Remove !NO_UNDERSCORE code.
43527         * locale/localeinfo.h: Likewise.
43528         * sysdeps/generic/machine-gmon.h: Likewise.
43529         * sysdeps/generic/sysdep.h: Likewise.
43530         * sysdeps/i386/sysdep.h: Likewise.
43531         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43532         * sysdeps/mach/sysdep.h: Likewise.
43533         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43534         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43535         * sysdeps/sh/sysdep.h: Likewise.
43536         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43537         * sysdeps/unix/i386/sysdep.S: Likewise.
43538         * sysdeps/unix/sparc/start.c: Likewise.
43539         * sysdeps/unix/sparc/sysdep.S: Likewise.
43540         * sysdeps/unix/sparc/sysdep.h: Likewise.
43541         * sysdeps/unix/start.c: Likewise.
43542         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43543         * sysdeps/x86_64/sysdep.h: Likewise.
43544
43545 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43546
43547         [BZ #13553]
43548         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43549         for non-gcc.
43550         * argp/argp-fmtstream.h: Use const instead __const.
43551         * argp/argp.h: Likewise.
43552         * assert/assert.h: Likewise.
43553         * bits/fenv.h: Likewise.
43554         * bits/sched.h: Likewise.
43555         * bits/sigset.h: Likewise.
43556         * bits/sigthread.h: Likewise.
43557         * catgets/nl_types.h: Likewise.
43558         * conform/data/pthread.h-data: Likewise.
43559         * crypt/crypt-private.h: Likewise.
43560         * crypt/crypt.h: Likewise.
43561         * crypt/crypt_util.c: Likewise.
43562         * ctype/ctype.h: Likewise.
43563         * debug/execinfo.h: Likewise.
43564         * debug/mbsnrtowcs_chk.c: Likewise.
43565         * debug/mbsrtowcs_chk.c: Likewise.
43566         * debug/wcsnrtombs_chk.c: Likewise.
43567         * debug/wcsrtombs_chk.c: Likewise.
43568         * debug/wcstombs_chk.c: Likewise.
43569         * dirent/dirent.h: Likewise.
43570         * dlfcn/dlfcn.h: Likewise.
43571         * elf/neededtest4.c: Likewise.
43572         * grp/grp.h: Likewise.
43573         * gshadow/gshadow.h: Likewise.
43574         * iconv/gconv.h: Likewise.
43575         * iconv/gconv_int.h: Likewise.
43576         * iconv/gconv_simple.c: Likewise.
43577         * iconv/iconv.h: Likewise.
43578         * iconv/loop.c: Likewise.
43579         * iconv/skeleton.c: Likewise.
43580         * include/aio.h: Likewise.
43581         * include/aliases.h: Likewise.
43582         * include/argz.h: Likewise.
43583         * include/arpa/inet.h: Likewise.
43584         * include/assert.h: Likewise.
43585         * include/dirent.h: Likewise.
43586         * include/dlfcn.h: Likewise.
43587         * include/execinfo.h: Likewise.
43588         * include/fcntl.h: Likewise.
43589         * include/fenv.h: Likewise.
43590         * include/glob.h: Likewise.
43591         * include/grp.h: Likewise.
43592         * include/libintl.h: Likewise.
43593         * include/mntent.h: Likewise.
43594         * include/netdb.h: Likewise.
43595         * include/pwd.h: Likewise.
43596         * include/rpc/netdb.h: Likewise.
43597         * include/sched.h: Likewise.
43598         * include/search.h: Likewise.
43599         * include/shadow.h: Likewise.
43600         * include/signal.h: Likewise.
43601         * include/stdio.h: Likewise.
43602         * include/stdlib.h: Likewise.
43603         * include/string.h: Likewise.
43604         * include/sys/socket.h: Likewise.
43605         * include/sys/stat.h: Likewise.
43606         * include/sys/statfs.h: Likewise.
43607         * include/sys/statvfs.h: Likewise.
43608         * include/sys/syslog.h: Likewise.
43609         * include/sys/time.h: Likewise.
43610         * include/sys/uio.h: Likewise.
43611         * include/time.h: Likewise.
43612         * include/unistd.h: Likewise.
43613         * include/utmp.h: Likewise.
43614         * include/wchar.h: Likewise.
43615         * include/wctype.h: Likewise.
43616         * inet/aliases.h: Likewise.
43617         * inet/arpa/inet.h: Likewise.
43618         * inet/netinet/ether.h: Likewise.
43619         * inet/netinet/in.h: Likewise.
43620         * intl/libintl.h: Likewise.
43621         * io/bits/fcntl2.h: Likewise.
43622         * io/fcntl.h: Likewise.
43623         * io/ftw.h: Likewise.
43624         * io/sys/poll.h: Likewise.
43625         * io/sys/stat.h: Likewise.
43626         * io/sys/statfs.h: Likewise.
43627         * io/sys/statvfs.h: Likewise.
43628         * io/utime.h: Likewise.
43629         * libio/bits/stdio.h: Likewise.
43630         * libio/bits/stdio2.h: Likewise.
43631         * libio/libio.h: Likewise.
43632         * libio/libioP.h: Likewise.
43633         * libio/stdio.h: Likewise.
43634         * locale/lc-ctype.c: Likewise.
43635         * locale/locale.h: Likewise.
43636         * login/utmp.h: Likewise.
43637         * malloc/arena.c: Likewise.
43638         * malloc/malloc.c: Likewise.
43639         * malloc/malloc.h: Likewise.
43640         * malloc/mcheck.c: Likewise.
43641         * malloc/mtrace.c: Likewise.
43642         * math/bits/mathcalls.h: Likewise.
43643         * math/fenv.h: Likewise.
43644         * math/math_private.h: Likewise.
43645         * misc/bits/error.h: Likewise.
43646         * misc/bits/syslog.h: Likewise.
43647         * misc/err.h: Likewise.
43648         * misc/error.h: Likewise.
43649         * misc/fstab.h: Likewise.
43650         * misc/mntent.h: Likewise.
43651         * misc/regexp.h: Likewise.
43652         * misc/search.h: Likewise.
43653         * misc/sgtty.h: Likewise.
43654         * misc/sys/mman.h: Likewise.
43655         * misc/sys/syslog.h: Likewise.
43656         * misc/sys/uio.h: Likewise.
43657         * misc/sys/xattr.h: Likewise.
43658         * misc/ttyent.h: Likewise.
43659         * nis/rpcsvc/ypclnt.h: Likewise.
43660         * nss/nss.h: Likewise.
43661         * posix/bits/unistd.h: Likewise.
43662         * posix/fnmatch.h: Likewise.
43663         * posix/glob.h: Likewise.
43664         * posix/sched.h: Likewise.
43665         * posix/spawn.h: Likewise.
43666         * posix/sys/wait.h: Likewise.
43667         * posix/unistd.h: Likewise.
43668         * posix/wordexp.h: Likewise.
43669         * pwd/pwd.h: Likewise.
43670         * resolv/netdb.h: Likewise.
43671         * resource/sys/resource.h: Likewise.
43672         * rt/aio.h: Likewise.
43673         * rt/bits/mqueue2.h: Likewise.
43674         * rt/mqueue.h: Likewise.
43675         * shadow/shadow.h: Likewise.
43676         * signal/signal.h: Likewise.
43677         * socket/send.c: Likewise.
43678         * socket/sendto.c: Likewise.
43679         * socket/sys/socket.h: Likewise.
43680         * stdio-common/printf.h: Likewise.
43681         * stdlib/bits/stdlib.h: Likewise.
43682         * stdlib/fmtmsg.h: Likewise.
43683         * stdlib/monetary.h: Likewise.
43684         * stdlib/stdlib.h: Likewise.
43685         * stdlib/ucontext.h: Likewise.
43686         * streams/stropts.h: Likewise.
43687         * string/argz.h: Likewise.
43688         * string/bits/string2.h: Likewise.
43689         * string/string.h: Likewise.
43690         * string/strings.h: Likewise.
43691         * sunrpc/rpc/auth.h: Likewise.
43692         * sunrpc/rpc/auth_des.h: Likewise.
43693         * sunrpc/rpc/clnt.h: Likewise.
43694         * sunrpc/rpc/netdb.h: Likewise.
43695         * sunrpc/rpc/pmap_clnt.h: Likewise.
43696         * sunrpc/rpc/xdr.h: Likewise.
43697         * sysdeps/generic/inttypes.h: Likewise.
43698         * sysdeps/generic/net/if.h: Likewise.
43699         * sysdeps/generic/sys/swap.h: Likewise.
43700         * sysdeps/gnu/net/if.h: Likewise.
43701         * sysdeps/gnu/utmpx.h: Likewise.
43702         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43703         * sysdeps/i386/i486/bits/string.h: Likewise.
43704         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43705         * sysdeps/s390/bits/string.h: Likewise.
43706         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43707         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43708         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43709         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43710         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43711         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43712         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43713         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43714         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43715         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43716         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43717         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43718         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43719         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43720         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43721         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43722         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43724         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43726         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43727         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43728         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43729         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43730         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43731         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43732         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43733         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43734         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43735         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43736         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43737         * sysvipc/sys/ipc.h: Likewise.
43738         * sysvipc/sys/msg.h: Likewise.
43739         * sysvipc/sys/sem.h: Likewise.
43740         * sysvipc/sys/shm.h: Likewise.
43741         * termios/termios.h: Likewise.
43742         * time/sys/time.h: Likewise.
43743         * time/time.h: Likewise.
43744         * wcsmbs/bits/wchar2.h: Likewise.
43745         * wcsmbs/uchar.h: Likewise.
43746         * wcsmbs/wchar.h: Likewise.
43747         * wctype/wctype.h: Likewise.
43748
43749         [BZ #13551]
43750         * Makeconfig: Remove all but ELF support including AIX support.
43751         * Makerules: Likewise.
43752         * config.h.in: Likewise.
43753         * config.make.in: Likewise.
43754         * configure: Likewise.
43755         * configure.in: Likewise.
43756         * csu/Makefile: Likewise.
43757         * csu/version.c: Likewise.
43758         * debug/Makefile: Likewise.
43759         * dlfcn/Makefile: Likewise.
43760         * elf/Makefile: Likewise.
43761         * extra-lib.mk: Likewise.
43762         * iconv/Makefile: Likewise.
43763         * include/libc-symbols.h: Likewise.
43764         * include/shlib-compat.h: Likewise.
43765         * resolv/Makefile: Likewise.
43766         * resolv/res_libc.c: Likewise.
43767         * rt/Makefile: Likewise.
43768         * sysdeps/i386/asm-syntax.h: Likewise.
43769         * sysdeps/i386/sysdep.h: Likewise.
43770         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43771         * sysdeps/mach/sysdep.h: Likewise.
43772         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43773         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43774         * sysdeps/s390/asm-syntax.h: Likewise.
43775         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43777         * sysdeps/sh/sysdep.h: Likewise.
43778         * sysdeps/unix/sparc/sysdep.h: Likewise.
43779         * sysdeps/wordsize-32/divdi3.c: Likewise.
43780         * sysdeps/x86_64/sysdep.h: Likewise.
43781
43782         * argp/Versions: Remove _argp_unlock_xxx.
43783
43784         [BZ #13559]
43785         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43786         * abilist/libBrokenLocale.abilist: Likewise.
43787         * abilist/libanl.abilist: Likewise.
43788         * abilist/libc.abilist: Likewise.
43789         * abilist/libcrypt.abilist: Likewise.
43790         * abilist/libdl.abilist: Likewise.
43791         * abilist/libm.abilist: Likewise.
43792         * abilist/libnsl.abilist: Likewise.
43793         * abilist/libpthread.abilist: Likewise.
43794         * abilist/libresolv.abilist: Likewise.
43795         * abilist/librt.abilist: Likewise.
43796         * abilist/libthread_db.abilist: Likewise.
43797         * abilist/libutil.abilist: Likewise.
43798         * abilist/libnss_db.abilist: New file.
43799
43800         * scripts/abilist.awk: Add support for indirect functions.
43801
43802         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43803
43804         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43805
43806         * shlib-versions: Remove entries for ports architectures.
43807
43808         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43809         files in ports.
43810         * elf/stackguard-macros.h: Remove support for IA-64.
43811         * elf/tst-auditmod1.c: Likewise.
43812         * sysdeps/generic/ldsodefs.h: Likewise.
43813
43814         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43815         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43816         configure files.
43817
43818         [BZ #13552]
43819         * configure.in: Remove --enable-omitfp support.
43820         * FAQ.in: Adjust.
43821         * config.make.in: Likewise.
43822         * Makeconfig: Likewise.
43823         * manual/install.texi: Likewise.
43824
43825         In case anyone cares, the IA-64 architecture could move to ports.
43826         * sysdeps/ia64/*: Removed.
43827         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43828         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43829
43830         [BZ #13555]
43831         * configure.in: Remove entries for unsupported architectures.
43832
43833         [BZ #13533]
43834         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43835         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43836         routines.
43837         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43838         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43839         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43840         fall back to using wcrtomb.
43841         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43842         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43843         renaming.
43844         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43845         * wcsmbs/tst-c16c32-1.c: New file.
43846
43847         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43848         local variable.
43849
43850         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43851
43852         * elf/tst-unique3.cc: Add explicit declaration of gets.
43853         * elf/tst-unique3lib.cc: Likewise.
43854         * elf/tst-unique3lib2.cc: Likewise.
43855         * elf/tst-unique4.cc: Likewise.
43856
43857         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43858
43859 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43860
43861         [BZ #13566]
43862         * assert/assert.h (static_assert): Don't define for C++.
43863         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43864         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43865
43866 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43867
43868         * iconv/loop.c (single loop): Fix assertion in storing of
43869         remaining bytes.
43870
43871         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43872
43873 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43874
43875         * posix/getconf.c: Update copyright year.
43876         * nss/getent.c: Likewise.
43877         * nss/makedb.c: Likewise.
43878         * iconv/iconvconfig.c: Likewise.
43879         * iconv/iconv_prog.c: Likewise.
43880         * elf/ldconfig.c: Likewise.
43881         * elf/pldd.c: Likewise.
43882         * elf/sotruss.ksh: Likewise.
43883         * catgets/gencat.c: Likewise.
43884         * csu/version.c: Likewise.
43885         * elf/ldd.bash.in: Likewise.
43886         * elf/sprof.c (print_version): Likewise.
43887         * locale/programs/locale.c: Likewise.
43888         * locale/programs/localedef.c: Likewise.
43889         * login/programs/pt_chown.c: Likewise.
43890         * nscd/nscd.c (print_version): Likewise.
43891         * debug/xtrace.sh: Likewise.
43892         * malloc/memusage.sh: Likewise.
43893         * malloc/mtrace.pl: Likewise.
43894         * debug/catchsegv.sh: Likewise.
43895
43896 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43897
43898         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43899         pure attribute.
43900
43901 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43902
43903         [BZ #13533]
43904         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43905         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43906         transformations.
43907         * iconv/gconv_int.h: Likewise.
43908         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43909         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43910         from libc for GLIBC_2.16.
43911         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43912         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43913         * wcsmbs/uchar.h: Really define mbstate_t.
43914         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43915         * wcsmbs/c16rtomb.c: New file.
43916         * wcsmbs/mbrtoc16.c: New file.
43917         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43918         for C/POSIX locale.
43919         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43920         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43921
43922         * wcsmbs/wchar.h: Add missing __restrict.
43923
43924 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43925
43926         [BZ #13532]
43927         * time/Makefile (routines): Add timespec_get.
43928         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43929         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43930         timespec for ISO C11.
43931         * time/timespec_get.c: New file.
43932         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43933         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43934
43935         [BZ #13531]
43936         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43937         * stdlib/stdlib.h: Declare aligned_alloc.
43938         * Versions.def: Add GLIBC_2.16 for libc.
43939         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43940
43941         [BZ 13527]
43942         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43943         ISO C11.
43944
43945         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43946         code.
43947
43948         [BZ #13528]
43949         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43950
43951         [BZ #13529]
43952         * assert/assert.h (static_assert): Define.
43953
43954         * version.h: Update for 2.16 development version.
43955
43956         [BZ #13526]
43957         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43958         _ISOC11_SOURCE.
43959
43960         * version.h (RELEASE): Bump for 2.15 release.
43961         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43962
43963         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43964         Patch by Marek Polacek <mpolacek@redhat.com>.
43965
43966         * bits/byteswap.h: Protect long long constants with __extension__.
43967         * sysdeps/i386/bits/byteswap.h: Likewise.
43968         * sysdeps/ia64/bits/byteswap.h: Likewise.
43969         * sysdeps/s390/bits/byteswap.h: Likewise.
43970         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43971
43972 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43973
43974         [BZ #13540]
43975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43976         destination buffer.
43977         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43978
43979 2011-12-23  Marek Polacek  <polacek@redhat.com>
43980
43981         * elf/dl-addr.c (determine_info): Add inline keyword.
43982         * elf/tst-auditmod4b.c (check_avx): Likewise.
43983         * elf/tst-auditmod6b.c (check_avx): Likewise.
43984         * elf/tst-auditmod6c.c (check_avx): Likewise.
43985         * elf/tst-auditmod7b.c (check_avx): Likewise.
43986
43987 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43988
43989         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43990         !__SSE_MATH__.
43991
43992 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43993
43994         [BZ #13540]
43995         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43996         processing for last bytes.
43997
43998 2011-08-06  Bruno Haible  <bruno@clisp.org>
43999
44000         [BZ #13061]
44001         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44002         U+0385, not to U+1FEE.
44003
44004         [BZ #13062]
44005         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44006         entry for U+00A5 U+0301.
44007
44008 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44009
44010         [BZ #13166]
44011         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44012         buffer for the output is too small.
44013
44014         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44015         optimization.
44016
44017         [BZ #13185]
44018         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44019         SSE flags if possible.
44020
44021 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44022
44023         [BZ #13540]
44024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44025         processing for last bytes.
44026
44027 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44028
44029         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44030         (syscall-list-default-options, syscall-list-default-condition)
44031         (syscall-list-includes): Define.
44032         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44033         list of ABIs and options and #if conditions for each ABI.  Do not
44034         handle common syscalls between ABIs specially.
44035         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44036         Remove.
44037         (syscall-list-variants, syscall-list-32bit-options)
44038         (syscall-list-32bit-condition, syscall-list-64bit-options)
44039         (syscall-list-64bit-condition): Define.
44040         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44041         (syscall-list-variants, syscall-list-32bit-options)
44042         (syscall-list-32bit-condition, syscall-list-64bit-options)
44043         (syscall-list-64bit-condition): Define.
44044         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44045         Remove.
44046         (syscall-list-variants, syscall-list-32bit-options)
44047         (syscall-list-32bit-condition, syscall-list-64bit-options)
44048         (syscall-list-64bit-condition): Define.
44049         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44050         Remove.
44051         (syscall-list-variants, syscall-list-32bit-options)
44052         (syscall-list-32bit-condition, syscall-list-64bit-options)
44053         (syscall-list-64bit-condition): Define.
44054
44055 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44056
44057         * locale/iso-639.def: Add brx entry.
44058
44059         [BZ #13328]
44060         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44061         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44062
44063         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44064         __feraiseexcept_renamed.
44065
44066 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44067
44068         [BZ #13538]
44069         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44070         EPOLLET with unsigned values.
44071         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44072         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44073
44074         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44075         to large cancellation.
44076         * math/s_cacoshf.c: Likewise.
44077         * math/s_cacoshl.c: Likewise.
44078
44079 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44080
44081         [BZ #13305]
44082         [BZ #12786]
44083         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44084         * math/s_cacoshf.c: Likewise.
44085         * math/s_cacoshl.c: Likewise.
44086
44087 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44088
44089         [BZ #13439]
44090         * iconv/gconv.h: Define __GCONV_SWAP.
44091         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44092         * iconvdata/utf-16.c: Likewise.
44093         * iconvdata/utf-32.c: Likewise.
44094
44095 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44096
44097         [BZ #13524]
44098         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44099         numerator after shifting it by one limb.
44100
44101 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44102
44103         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44104         under [__USE_EXTERN_INLINES].
44105
44106 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44107
44108         [BZ #13446]
44109         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44110
44111 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44112
44113         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44114         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44115         optimized code.
44116         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44117         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44118         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44119         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44120         for strncasecmp/strncasecmp_l compilation.
44121         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44122         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44123
44124 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44125
44126         [BZ #13484]
44127         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44128         of __asm__.
44129
44130 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44131
44132         [BZ #13506]
44133         * time/tzfile.c (__tzfile_read): Check values from file header.
44134
44135 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44136
44137         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44138         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44139         * powerpc/powerpc32/dl-start.S: Likewise.
44140         * powerpc/powerpc32/elf/start.S: Likewise.
44141         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44142         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44143         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44144         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44145         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44146         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44147         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44148         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44149         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44150         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44151         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44152         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44153         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44154         * powerpc/powerpc32/memset.S: Likewise.
44155         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44156         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44157         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44158         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44159         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44160         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44161         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44162         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44163         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44164         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44165         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44166         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44167         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44168
44169 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44170
44171         * math/libm-test.inc: Added more nearbyint tests.
44172         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44175         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44176
44177 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44178
44179         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44180         FD_CLOEXEC.
44181
44182 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44183
44184         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44185         Add wcscpy-ssse3 wcscpy-c.
44186         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44187         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44188         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44189         * sysdeps/x86_64/wcschr.S: New file.
44190         * sysdeps/x86_64/wcsrchr.S: New file.
44191         * string/test-strcmp.c: Remove checking of wcscmp function for
44192         wrong alignments.
44193         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44194         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44195         wcsrchr-sse2 wcsrchr-c.
44196         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44197         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44198         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44199         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44200         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44201         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44202         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44203         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44204         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44205         * wcsmbc/wcschr.c (WCSCHR): New macro.
44206
44207 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44208
44209         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44210         * wcsmbs/test-wcsrchr.c: New file.
44211         * string/test-strrchr.c: Add wcsrchr support.
44212         (WIDE): New macro.
44213         * wcsmbs/test-wcscpy.c: New file.
44214         * string/test-strcpy.c: Add wcscpy support.
44215         (WIDE): New macro.
44216
44217 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44218
44219         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44220         the inner loop.
44221
44222 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44223
44224         [BZ #13472]
44225         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44226
44227 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44228
44229         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44230         Minor optimizations.
44231
44232         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44233         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44234         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44235
44236 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44237
44238         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44239         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44240         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44241         for gcc to avoid warnings.
44242         * inet/Makefile (tests): Add tst-checks.
44243         * inet/tst-checks.c: New file.
44244
44245         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44246         warning.
44247
44248         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44249         __wmemcmp_sse2.
44250
44251         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44252         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44253
44254         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44255
44256 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44257
44258         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44259         problem.
44260
44261         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44262
44263 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44264
44265         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44266         conditional on GCC version.
44267         (__arch_compare_and_exchange_val_8_acq)
44268         (__arch_compare_and_exchange_val_16_acq)
44269         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44270         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44271         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44272
44273 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44274
44275         * sysdeps/sh/backtrace.c: New file.
44276
44277 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44278
44279         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44280         parenthesis.
44281
44282 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44283
44284         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44285         falling back to utime.
44286
44287 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44288
44289         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44290         expectations for float.
44291
44292 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44293
44294         * locale/weight.h (findidx): Add parameter len.
44295         * locale/weightwc.h (findidx): Likewise.
44296         * posix/fnmatch_loop.c (FCT): Adjust caller.
44297         * posix/regcomp.c (build_equiv_class): Likewise.
44298         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44299         * posix/regexec.c (check_node_accept_bytes): Likewise.
44300         * string/strcoll_l.c (STRCOLL): Likewise.
44301         * string/strxfrm_l.c (STRXFRM): Likewise.
44302
44303 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44304
44305         * Makefile.in: Remove CVSOPT handling.
44306         * configure.in: Remove use of AC_REVISION.
44307         * iconvdata/Makefile (distribute): No need to filter out CVS.
44308         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44309         handling.
44310
44311 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44312
44313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44314         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44315         [USE_AS_STRNCASECMP_L]: Likewise.
44316         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44317         NO_TLS_DIRECT_SEG_REFS.
44318         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44319         Fix argument offsets for non-PIC.
44320         [USE_AS_STRNCASECMP_L]: Likewise.
44321         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44322         NO_TLS_DIRECT_SEG_REFS.
44323
44324 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44325
44326         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44327         O_CLOEXEC.
44328         * locale/loadlocale.c (_nl_load_locale): Likewise.
44329
44330 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44331
44332         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44333         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44335         (SYSCALL_GETTIME): Set errno on error.
44336
44337         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44338         count references to noai6ai_cached.
44339
44340 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44341
44342         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44343
44344         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44345         FD_CLOEXEC for /proc/self/maps.
44346
44347         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44348         FD_CLOEXEC for /proc/meminfo.
44349
44350         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44351         gai.conf.
44352
44353         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44354         FD_CLOEXEC for given file.
44355
44356         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44357
44358         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44359         FD_CLOEXEC for /etc/hosts.
44360         (_gethtent): Likewise.
44361
44362         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44363
44364         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44365         cancellation and set FD_CLOEXEC for /etc/netgroup.
44366
44367         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44368         reading /etc/publickey.
44369
44370         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44371         allow cancellation when reading /etc/group.
44372
44373         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44374         cancellation.
44375         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44376
44377         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44378         when using data file.
44379
44380         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44381
44382         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44383         (write_nis_obj): Use "c" and "e" in fopen.
44384
44385         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44386
44387         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44388
44389         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44390
44391         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44392
44393         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44394         locale.alias.
44395
44396         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44397
44398         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44399
44400         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44401
44402         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44403         file parsing and set FD_CLOEXEC.
44404
44405 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44408
44409 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44410
44411         * malloc/arena.c (arena_get2): Don't call reused_arena when
44412         _int_new_arena failed.
44413
44414 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44415
44416         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44417         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44418         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44422         to compile strcasecmp and strncasecmp.
44423         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44424         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44425
44426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44427
44428 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44429
44430         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44431         locale-defines.sym to gen-as-const-headers.
44432         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44433         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44435         to compile strcasecmp and strncasecmp.
44436         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44437         strcasecmp_l and strncasecmp_l.
44438         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44439         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44440         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44441         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44442         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44443         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44444         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44445         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44446         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44447         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44448         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44449
44450 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44451
44452         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44453         result of SYSDEP_GETTIME_CPU to retval.
44454         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44455         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44456
44457         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44458         variable.
44459
44460         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44461         mantissa words.
44462         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44463
44464         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44465         from unused variable.
44466
44467         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44468         DWARF definitions.
44469         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44470         for assembling.
44471
44472         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44473         over namespaces.
44474
44475         * sunrpc/rpc_prot.c (rejected): Fix case value.
44476
44477         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44478         unsigned long long int to avoid warnings in shift.
44479
44480         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44481         of use of trans.
44482         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44483         variable tmp.
44484
44485         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44486         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44487         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44488
44489         * nis/nis_table.c (nis_list): Use variable of correct type for
44490         result of __follow_path call.
44491
44492 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44493
44494         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44495         of math functions ceil, trunc, floor, round, and sqrt, when
44496         avaliable on the platform.
44497         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44498         name clash.
44499         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44500         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44501         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44502
44503 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44504
44505         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44507
44508 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44509
44510         * include/unistd.h: Fix __readlink return type.
44511         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44512
44513 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44514
44515         * stdlib/ucontext.h: Undo last change for makecontext.
44516
44517 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44518
44519         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44520
44521         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44522         * setjmp/setjmp.h: Mark functions as non-leaf.
44523         * setjmp/bits/setjmp2.h: Likewise.
44524         * stdlib/ucontext.h: Likewise.
44525
44526 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44527
44528         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44529         (reused_arena): Don't check arena limit.
44530         (arena_get2): Atomically check arena limit.
44531
44532 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44535         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44536
44537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44538         instructions.
44539
44540 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44541
44542         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44543         handler when locking.
44544
44545         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44546         Fix size of allocated buffer.
44547
44548 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44549
44550         [BZ #10103]
44551         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44552         declarations for long double functions.
44553         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44554
44555         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44556
44557 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44558
44559         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44560         installed.
44561
44562         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44563         is disabled.
44564
44565 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44566
44567         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44568
44569 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44570
44571         * include/alloca.h (stackinfo_alloca_round): Define.
44572         (extend_alloca): Use it.
44573         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44574         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44575         here.
44576
44577         * scripts/check-local-headers.sh: Ignore libaudit.h.
44578
44579         * nscd/Makefile (extra-objs): Make recursively expanded.
44580
44581 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44582
44583         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44584         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44585
44586         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44587         * posix/tst-rfc3484-2.c: Likewise.
44588         * posix/tst-rfc3484-3.c: Likewise.
44589
44590         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44591         process_vm_writev.
44592         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44593         process_vm_writev.
44594         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44595         process_vm_writev from libc using GLIBC_2.15 version.
44596
44597         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44598
44599 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44600
44601         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44602         stack usage.
44603
44604 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44605
44606         [BZ #13367]
44607         * nss/getent.c (initgroups_keys): Show error message in case no group
44608         names are given.
44609
44610         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44611         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44612         __bump_nl_timestamp.
44613         * nscd/connections (nscd_init): When host database is served open
44614         netlink socket and request notification about configuration changes.
44615         (main_loop_poll): Track netlink file descriptor and bump timestamp
44616         in case data becomes available.
44617         (main_loop_epoll): Likewise.
44618         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44619         (database_pers_head): Add extra_data fileds.
44620         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44621         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44622         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44623         Adjust caller.
44624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44625         in6ai data, call __free_in6ai.
44626         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44627         Add -DHAVE_NETLINK.
44628         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44629         interface information.  Reuse previous data if netlink timestamp
44630         is not changed.
44631         (__bump_nl_timestamp): New function.
44632         (__free_in6ai): New function.
44633
44634 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44635
44636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44637         close_not_cancel_no_status here.
44638         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44639
44640 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44641
44642         [BZ #13276]
44643         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44644         return value.
44645
44646         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44647         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44648         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44649
44650 2011-07-03  Andreas Jaeger  <aj@suse.de>
44651
44652         [BZ #10709]
44653         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44654         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44655         * math/libm-test.inc (sin_test): Add test case.
44656
44657 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44658
44659         [BZ #13337]
44660         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44661         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44662
44663         * elf/chroot_canon.c (chroot_canon): Cleanups.
44664
44665         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44666
44667         [BZ #13335]
44668         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44669         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44670
44671         * string/test-strchr.c: Make usable for strchrnul testing.
44672         * string/test-strchrnul.c: New file.
44673         * string/Makefile (strop-tests): Add strchrnul.
44674
44675         * po/it.po: Update from translation team.
44676         * po/es.po: Likewise.
44677
44678 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44679
44680         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44681         the three constants needed as parameters.  Drop the others.
44682         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44683         __m128i_strloadu_tolower.
44684         Create and initialize variable zero and use it in all the places
44685         where _mm_setzero_si128 was used.
44686
44687         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44688         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44689         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44690         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44691         anymore.
44692         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44693         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44694         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44695         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44696         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44697         __mpranred, __mptan.
44698         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44699         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44700         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44701         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44702         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44703         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44704         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44705         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44706         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44707
44708 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44709
44710         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44711         redefine if SHARED.
44712         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44713
44714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44715         wide char related routines to wcsmbs subdir.
44716
44717 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44718
44719         [BZ #13344]
44720         * misc/sys/cdefs.h (__THROWNL): Define.
44721         * posix/unistd.h: Use __THREADNL instead of __THREAD
44722         for memory synchronization functions.
44723
44724 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44725
44726         [BZ #13349]
44727         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44728         doesn't exist.
44729         * manual/stdio.texi (Obstack Streams): Node removed.
44730
44731 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44732
44733         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44734         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44735         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44736
44737         * math/math_private.h (math_force_eval): Allow non-addressable
44738         arguments.
44739         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44740
44741 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44742
44743         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44744         file is not needed.
44745
44746         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44748         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44749         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44750         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44751         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44752         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44753         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44754         Add AVX variants.
44755         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44756         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44757         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44758         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44759         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44760         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44761         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44762         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44763         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44764         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44765         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44766         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44767         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44768         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44769         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44770         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44771         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44772         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44773         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44774
44775         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44776         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44777
44778         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44779         place.  Use VEX encoding when compiling for AVX.
44780
44781 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44782
44783         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44784         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44785
44786         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44787
44788 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44789
44790         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44791         useless if() expression.
44792         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44793         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44794         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44796         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44797         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44798         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44801         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44802         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44804         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44805         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44806         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44807         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44808         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44809         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44810         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44811
44812         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44813
44814 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44815
44816         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44817         condition.
44818         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44819
44820 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44821
44822         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44823         .text section.  Avoid duplicate constants.
44824         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44834         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44836         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44841         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44847         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44848         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44849         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44850         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44851         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44852         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44853         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44854         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44855         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44856         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44857         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44858         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44859         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44860         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44861         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44862         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44863         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44864         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44865         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44866         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44867         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44868         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44869
44870 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44871
44872         * sysdeps/x86_64/dla.h: Move to ...
44873         * sysdeps/x86_64/fpu/dla.h: ...here.
44874         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44875         situations.  Use __builtin_fma only for gcc 4.6 and up.
44876
44877         * config.make.in: Add have-mfma4 entry.
44878         * configure.in: Substitute libc_cv_cc_fma4.
44879         * math/Makefile (dbl-only-routines): Add sincostab.
44880         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44881         Use __sincostab not sincos.
44882         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44883         name is a macro.
44884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44888         using __copysign.
44889         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44890         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44891         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44892         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44893         and __inv.
44894         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44895         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44896         __copysign.
44897         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44898         define aliases when function name is a macro.
44899         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44900         sysdeps/ieee754/dbl-64/sincos.tbl.
44901         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44902         fma4-enabled routines.
44903         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44904         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44905         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44906         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44907         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44908         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44910         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44911         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44912         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44913         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44914         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44915         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44916         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44917         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44918         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44919         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44920         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44921         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44922         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44923         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44924         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44925         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44926         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44928         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44929         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44930         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44931         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44932         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44933
44934         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44935         rename.
44936         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44941         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44944
44945 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44946
44947         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44948
44949 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44950
44951         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44952
44953         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44954         prediction.
44955         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44956
44957         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44958         Remove unused variable magic_bits.
44959         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44960
44961         * string/strnlen.c: Define and use STRNLEN macro.
44962         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44963         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44964         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44965         * wcsmbs/wcslen.c: Define and use WCSLEN.
44966         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44967         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44968         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44969         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44970         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44971         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44972         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44973
44974 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44975
44976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44977         strnlen-sse2-no-bsf.
44978         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44979         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44980         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44981         Add strnlen support.
44982         (USE_AS_STRNLEN): New macro.
44983         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44984         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44985         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44986         * sysdeps/x86_64/wcslen.S: New file.
44987
44988 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44989
44990         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44991         XMM-moves are used for copying on small sizes.
44992
44993 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44994
44995         * wcsmbs/Makefile (strop-tests): Add wcschr.
44996         * wcsmbs/test-wcschr.c: New file.
44997         * string/test-strchr.c: Update.
44998         Add wcschr support.
44999         (WIDE): New macro.
45000
45001 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45002
45003         * wcsmbs/Makefile (strop-tests): Add wcslen.
45004         * wcsmbs/test-wcslen.c: New file.
45005         * string/test-strlen.c: Update.
45006         Add wcslen support.
45007         (WIDE): New macro.
45008
45009 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45010
45011         * po/it.po: Update from translation team.
45012
45013 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45014
45015         * sysdeps/x86_64/wcscmp.S: Update.
45016         Fix wrong comparison semantics.
45017         wcscmp shall use signed comparison not unsigned.
45018         Don't use substraction to avoid overflow bug.
45019         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45020         * wcsmbc/wcscmp.c: Likewise.
45021         * string/test-strcmp.c: Likewise.
45022         Add new tests to check cases with negative values.
45023
45024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45025
45026         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45027         * sysdeps/x86_64/dla.h: ...here.  New file.
45028         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45029         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45033         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45034         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45035         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45036         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45037
45038 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45039
45040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45041         __ynl_finite aliases.
45042
45043 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45044
45045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45046
45047         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45048         define DLA_FMA.
45049         [DLA_FMA] (EMULV): Use DLA_FMA.
45050         [DLA_FMA] (MUL12): Use EMULV.
45051         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45052         that are not needed.
45053         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45060
45061 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45062
45063         * math/s_nan.c: Undef __nan.
45064         * math/s_nanf.c: Undef __nanf.
45065         * math/s_nanl.c: Undef __nanl.
45066         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45067         "math_private.h".
45068
45069 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45070
45071         * math/s_catan.c: Add branch predictions.
45072         * math/s_catanf.c: Likewise.
45073         * math/s_catanh.c: Likewise.
45074         * math/s_catanhf.c: Likewise.
45075         * math/s_catanhl.c: Likewise.
45076         * math/s_catanl.c: Likewise.
45077         * math/s_cexp.c: Likewise.
45078         * math/s_cexpf.c: Likewise.
45079         * math/s_cexpl.c: Likewise.
45080         * math/s_clog.c: Likewise.
45081         * math/s_clog10.c: Likewise.
45082         * math/s_clog10f.c: Likewise.
45083         * math/s_clog10l.c: Likewise.
45084         * math/s_clogf.c: Likewise.
45085         * math/s_clogl.c: Likewise.
45086         * math/s_csqrt.c: Likewise.
45087         * math/s_csqrtf.c: Likewise.
45088         * math/s_csqrtl.c: Likewise.
45089         * math/s_ctanf.c: Likewise.
45090         * math/s_ctanh.c: Likewise.
45091         * math/s_ctanhf.c: Likewise.
45092         * math/s_ctanhl.c: Likewise.
45093         * math/s_ctanl.c: Likewise.
45094
45095         * math/math_private.h: Define __nan, __nanf, __nanl.
45096         * math/s_cacosh.c: Include <math_private.h>.
45097         * math/s_cacoshl.c: Likewise.
45098         * math/s_casinh.c: Likewise.
45099         * math/s_casinhf.c: Likewise.
45100         * math/s_casinhl.c: Likewise.
45101         * math/s_ccos.c: Rely entire on ccosh.
45102         * math/s_ccosf.c: Rely entire on ccoshf.
45103         * math/s_ccosl.c: Rely entirely on ccoshl.
45104         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45105         Remove tests for FE_INVALID.
45106         * math/s_ccoshf.c: Likewise.
45107         * math/s_ccoshl.c: Likewise.
45108         * math/s_csin.c: Likewise.
45109         * math/s_csinf.c: Likewise.
45110         * math/s_csinh.c Likewise.
45111         * math/s_csinhf.c: Likewise.
45112         * math/s_csinhl.c: Likewise.
45113         * math/s_csinl.c: Likewise.
45114         * math/s_ctan.c: Likewise.
45115         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45116         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45117         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45118
45119 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45120
45121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45122         compilation problems.
45123
45124         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45125         __builtin_expect.
45126
45127 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45128
45129         * sysdeps/i386/configure.in: Test for -mfma4 option.
45130         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45131         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45132         COMMON_CPUID_INDEX_80000001.
45133         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45134         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45135         use it if FMA3 is not supported.
45136         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45137
45138         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45139         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45140
45141 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45142
45143         [BZ #12892]
45144         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45145         it would create a cycle with a link time dependency.
45146
45147 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45148
45149         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45150         instruction.
45151         * string/Makefile (strop-tests): Add rawmemchr.
45152         * string/test-rawmemchr.c: New file.
45153
45154         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45156         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45157         when compiling str{,n}casecmp and when AVX is available.  Hook up
45158         new optimized code in initializers.
45159
45160 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45161
45162         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45163         __feraiseexcept instead of feraiseexcept.
45164
45165 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45166
45167         * math/math_private.h: Define defaults for libc_fetestexcept and
45168         libc_feupdateenv.
45169         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45170         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45171         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45172         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45173         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45174         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45175         libc_fetestexcept and libc_feupdateenv.
45176
45177         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45178         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45179         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45180         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45181         libc_feholdexcept_setround.
45182
45183         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45184         Add s_nearbyint-c and s_nearbyintf-c.
45185         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45186         nearbyintf inlines.
45187         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45189         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45190         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45191
45192         * math/math_private.h: Define defaults for libc_fegetround,
45193         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45194         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45195         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45196         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45197         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45198         standard functions.
45199         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45200         Remove comments and hacks for old compiler versions.
45201         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45202         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45203         libc_feholdexceptl.
45204
45205 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45206
45207         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45208         (__feraiseexcept_renamed): Add __NTH.
45209         (feraiseexcept): Add __NTH.  Rename local variables to fix
45210         namespace violations.
45211
45212 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45213
45214         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45215
45216         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45217
45218         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45219         recently added interfaces.
45220         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45221
45222         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45223         about macro parameter expansion.
45224
45225         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45226         __NO_MATH_INLINES is defined.  Cleanups.
45227
45228         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45229         and __floorf is target has SSE4.1.
45230         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45231         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45232         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45233         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45234
45235         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45236         name.
45237         (floorf): Likewise.
45238
45239         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45240
45241 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45242
45243         * misc/sys/cdefs.h: Fix last change.
45244
45245         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45246         database lookup.
45247
45248 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45249
45250         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45251
45252         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45255         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45256         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45257         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45258         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45259         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45260         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45261         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45262         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45263         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45264         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45265         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45266         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45267         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45269         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45270         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45271         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45272         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45273         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45274
45275         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45276         ceil, ceilf, floor, floorf.
45277
45278         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45279         Perform IRELATIVE relocations last.
45280
45281         * elf/do-rel.h: Add another parameter nrelative, replacing the
45282         local variable with the same name.  Change name of the function
45283         to end in Rel or Rela (uppercase).
45284         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45285         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45286         elf_dynamic_do_##reloc function.
45287
45288 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45289
45290         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45291         is sufficient, at least on modern CPUs.
45292
45293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45294
45295         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45296         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45297
45298         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45299         __expl_finite.
45300         * math/bits/math-finite.h: Add entries for exp.
45301         * math/e_expl.c: Add __*_finite alias.
45302         * sysdeps/i386/fpu/e_exp.S: Likewise.
45303         * sysdeps/i386/fpu/e_expf.S: Likewise.
45304         * sysdeps/i386/fpu/e_expl.c: Likewise.
45305         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45306         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45307         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45308         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45309         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45310         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45311         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45312
45313         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45314         is sufficient, at least on modern CPUs.
45315
45316         * ctype/ctype-info.c (__ctype_init): Define.
45317         * include/ctype.h (__ctype_init): Declare.
45318         (__ctype_b_loc): The variable is always initialized.
45319         (__ctype_toupper_loc): Likewise.
45320         (__ctype_tolower_loc): Likewise.
45321         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45322         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45323
45324 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45325
45326         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45327
45328         * configure.in: Also look in $cxxmachine/include for C++ system
45329         headers.
45330
45331 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45332
45333         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45334         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45335         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45336         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45337         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45338         (USE_AS_WMEMCMP): New macro.
45339         Fixing indents.
45340         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45341         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45342         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45343         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45344         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45345         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45346         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45347         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45348         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45349         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45350         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45351         (USE_AS_WMEMCMP): New macro.
45352         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45353         * sysdeps/string/test-memcmp.c: Update.
45354         Fix simple_wmemcmp.
45355         Add new tests.
45356         * wcsmbs/wmemcmp.c: Update.
45357         (WMEMCMP): New macro.
45358         Fix overflow bug.
45359
45360 2011-10-12  Andreas Jaeger  <aj@suse.de>
45361
45362         [BZ #13268]
45363         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45364
45365 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45366
45367         * libio/iofwide.c (do_length): Avoid warning.
45368
45369         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45370
45371 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45372
45373         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45374
45375         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45376         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45377         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45378         * sysdeps/i386/i686/fpu/e_log.S: New file.
45379         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45380         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45381
45382         * ctype/ctype.h: Add support for inlined isXXX functions when
45383         compiling C++ code.
45384
45385 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45386
45387         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45388
45389         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45390
45391 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45392
45393         [BZ #13291]
45394         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45395
45396 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45397
45398         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45399         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45400         feraiseexcept.
45401
45402         * sysdeps/x86_64/memrchr.S: Check for zero size.
45403
45404         * string/stratcliff.c: Add memrchr tests.
45405
45406 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45407
45408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45409         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45410         rawmemchr-sse2 rawmemchr-sse2-bsf.
45411         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45412         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45413         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45414         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45415         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45416         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45417         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45418         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45419         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45420         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45421         * string/memrchr.c (MEMRCHR): New macro.
45422
45423 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45424
45425         Add integration with gcc's -ffinite-math-only and optimize wrapper
45426         functions in libm.
45427         * Versions.def: Define GLIBC_2.15 version for libm.
45428         * math/Makefile (headers): Add bits/math-finite.h.
45429         * math/bits/math-finite.h: New file.
45430         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45431         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45432         * math/e_acoshl.c: Add __*_finite alias.
45433         * math/e_acosl.c: Likewise.
45434         * math/e_asinl.c: Likewise.
45435         * math/e_atan2l.c: Likewise.
45436         * math/e_atanhl.c: Likewise.
45437         * math/e_coshl.c: Likewise.
45438         * math/e_exp10.c: Likewise.
45439         * math/e_exp10f.c: Likewise.
45440         * math/e_exp10l.c: Likewise.
45441         * math/e_exp2l.c: Likewise.
45442         * math/e_fmodl.c: Likewise.
45443         * math/e_gammal_r.c: Likewise.
45444         * math/e_hypotl.c: Likewise.
45445         * math/e_j0l.c: Likewise.
45446         * math/e_j1l.c: Likewise.
45447         * math/e_jnl.c: Likewise.
45448         * math/e_lgammal_r.c: Likewise.
45449         * math/e_log10l.c: Likewise.
45450         * math/e_log2l.c: Likewise.
45451         * math/e_logl.c: Likewise.
45452         * math/e_powl.c: Likewise.
45453         * math/e_sinhl.c: Likewise.
45454         * math/e_sqrtl.c: Likewise.
45455         * math/e_scalb.c: Completely rewritten and optimized.
45456         * math/e_scalbf.c: Likewise.
45457         * math/e_scalbl.c: Likewise.
45458         * math/w_acos.c: Likewise.
45459         * math/w_acosf.c: Likewise.
45460         * math/w_acosl.c: Likewise.
45461         * math/w_acosh.c: Likewise.
45462         * math/w_acoshf.c: Likewise.
45463         * math/w_acoshl.c: Likewise.
45464         * math/w_asin.c: Likewise.
45465         * math/w_asinf.c: Likewise.
45466         * math/w_asinl.c: Likewise.
45467         * math/w_atan2.c: Likewise.
45468         * math/w_atan2f.c: Likewise.
45469         * math/w_atan2l.c: Likewise.
45470         * math/w_atanh.c: Likewise.
45471         * math/w_atanhf.c: Likewise.
45472         * math/w_atanhl.c: Likewise.
45473         * math/w_exp10.c: Likewise.
45474         * math/w_exp10f.c: Likewise.
45475         * math/w_exp10l.c: Likewise.
45476         * math/w_fmod.c: Likewise.
45477         * math/w_fmodf.c: Likewise.
45478         * math/w_fmodl.c: Likewise.
45479         * math/w_j0.c: Likewise.
45480         * math/w_j0f.c: Likewise.
45481         * math/w_j0l.c: Likewise.
45482         * math/w_j1.c: Likewise.
45483         * math/w_j1f.c: Likewise.
45484         * math/w_j1l.c: Likewise.
45485         * math/w_jn.c: Likewise.
45486         * math/w_jnf.c: Likewise.
45487         * math/w_log.c: Likewise.
45488         * math/w_logf.c: Likewise.
45489         * math/w_logl.c: Likewise.
45490         * math/w_log10.c: Likewise.
45491         * math/w_log10f.c: Likewise.
45492         * math/w_log10l.c: Likewise.
45493         * math/w_log2.c: Likewise.
45494         * math/w_log2f.c: Likewise.
45495         * math/w_log2l.c: Likewise.
45496         * math/w_pow.c: Likewise.
45497         * math/w_powf.c: Likewise.
45498         * math/w_powl.c: Likewise.
45499         * math/w_remainder.c: Likewise.
45500         * math/w_remainderf.c: Likewise.
45501         * math/w_remainderl.c: Likewise.
45502         * math/w_scalb.c: Likewise.
45503         * math/w_scalbf.c: Likewise.
45504         * math/w_scalbl.c: Likewise.
45505         * math/w_sqrt.c: Likewise.
45506         * math/w_sqrtf.c: Likewise.
45507         * math/w_sqrtl.c: Likewise.
45508         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45509         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45510         used.
45511         * math/math_private.h: Declare __kernel_standard_f.
45512         * math/w_cosh.c: Remove cruft and optimize a bit.
45513         * math/w_coshf.c: Likewise.
45514         * math/w_coshl.c: Likewise.
45515         * math/w_exp2.c: Likewise.
45516         * math/w_exp2f.c: Likewise.
45517         * math/w_exp2l.c: Likewise.
45518         * math/w_hypot.c: Likewise.
45519         * math/w_hypotf.c: Likewise.
45520         * math/w_hypotl.c: Likewise.
45521         * math/w_lgamma.c: Likewise.
45522         * math/w_lgamma_r.c: Likewise.
45523         * math/w_lgammaf.c: Likewise.
45524         * math/w_lgammaf_r.c: Likewise.
45525         * math/w_lgammal.c: Likewise.
45526         * math/w_lgammal_r.c: Likewise.
45527         * math/w_sinh.c: Likewise.
45528         * math/w_sinhf.c: Likewise.
45529         * math/w_sinhl.c: Likewise.
45530         * math/w_tgamma.c: Likewise.
45531         * math/w_tgammaf.c: Likewise.
45532         * math/w_tgammal.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45534         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45535         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45536         Minor optimizations.  Pretty printing.  Remove cruft.
45537         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45538         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45539         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45540         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45541         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45542         * sysdeps/i386/fpu/e_asin.S: Likewise.
45543         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45544         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45545         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45546         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45547         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45548         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45549         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45550         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45551         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45552         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45553         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45554         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45555         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45556         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45557         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45558         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45559         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45560         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45561         * sysdeps/i386/fpu/e_log.S: Likewise.
45562         * sysdeps/i386/fpu/e_log10.S: Likewise.
45563         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45564         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45565         * sysdeps/i386/fpu/e_log2.S: Likewise.
45566         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45567         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45568         * sysdeps/i386/fpu/e_logf.S: Likewise.
45569         * sysdeps/i386/fpu/e_logl.S: Likewise.
45570         * sysdeps/i386/fpu/e_pow.S: Likewise.
45571         * sysdeps/i386/fpu/e_powf.S: Likewise.
45572         * sysdeps/i386/fpu/e_powl.S: Likewise.
45573         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45574         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45575         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45576         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45578         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45579         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45580         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45581         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45582         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45585         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45586         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45587         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45588         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45589         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45592         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45593         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45596         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45599         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45602         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45603         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45604         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45605         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45606         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45607         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45608         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45609         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45610         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45611         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45612         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45613         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45614         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45616         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45617         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45618         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45619         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45620         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45621         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45622         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45623         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45624         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45625         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45627         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45628         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45630         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45631         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45632         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45634         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45637         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45638         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45639         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45643         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45656         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45657         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45658         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45659         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45661         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45663         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45664         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45665         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45667         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45668         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45670         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45672         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45673         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45674         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45675         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45676         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45677         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45678         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45679         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45680         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45681         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45682         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45683         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45684         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45685         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45686         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45687         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45688         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45690         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45691         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45692         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45693         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45694         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45695         (__isnanf): Likewise.
45696         (__isinf_ns): Likewise.
45697         (__isinf_nsf): Likewise.
45698         (__finite): Likewise.
45699         (__finitef): Likewise.
45700         (__ieee754_sqrt): Define as macro.
45701         (__ieee754_sqrtf): Define as macro.
45702         (__ieee754_sqrtl): Define as macro.
45703         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45704         inlined copy.
45705         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45706         __FINITE_MATH_ONLY__ consistent.
45707         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45708
45709 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45710
45711         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45712         of rawmemchr.
45713
45714         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45715
45716 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45717
45718         * po/ja.po: Update from translation team.
45719
45720 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45721
45722         * locale/programs/locarchive.c (prepare_address_space): New function.
45723         (create_archive, enlarge_archive, open_archive): Use it.
45724
45725         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45726         inside [SHARED], where it is used.
45727
45728         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45729
45730         * nss/getent.c (netgroup_keys): Remove unused variable.
45731         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45732
45733 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45734
45735         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45740         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45741         * math/Makefile (libm-calls): Add s_isinf_ns.
45742         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45743         * math/multc3.c: Likewise.
45744         * math/s_casin.c: Likewise.
45745         * math/s_casinf.c: Likewise.
45746         * math/s_casinl.c: Likewise.
45747         * math/s_ccos.c: Likewise.
45748         * math/s_ccosf.c: Likewise.
45749         * math/s_ccosl.c: Likewise.
45750         * math/s_ctan.c: Likewise.
45751         * math/s_ctanf.c: Likewise.
45752         * math/s_ctanh.c: Likewise.
45753         * math/s_ctanhf.c: Likewise.
45754         * math/s_ctanhl.c: Likewise.
45755         * math/s_ctanl.c: Likewise.
45756         * math/w_fmod.c: Likewise.
45757         * math/w_fmodf.c: Likewise.
45758         * math/w_fmodl.c: Likewise.
45759         * math/w_remainder.c: Likewise.
45760         * math/w_remainderf.c: Likewise.
45761         * math/w_remainderl.c: Likewise.
45762         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45763         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45766         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45767         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45768         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45769         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45770
45771         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45772         of the number.
45773         * stdio-common/printf_fphex.c: Likewise.
45774         * stdio-common/printf_size.c: Likewise.
45775
45776         * math/e_exp10.c: Include math_private.h using <...> not "...".
45777         * math/e_exp10f.c: Likewise.
45778         * math/e_exp10l.c: Likewise.
45779         * math/e_exp2l.c: Likewise.
45780         * math/e_j0l.c: Likewise.
45781         * math/e_j1l.c: Likewise.
45782         * math/e_jnl.c: Likewise.
45783         * math/e_lgammal_r.c: Likewise.
45784         * math/e_rem_pio2l.c: Likewise.
45785         * math/e_scalb.c: Likewise.
45786         * math/e_scalbf.c: Likewise.
45787         * math/e_scalbl.c: Likewise.
45788         * math/k_cosl.c: Likewise.
45789         * math/k_sinl.c: Likewise.
45790         * math/k_tanl.c: Likewise.
45791         * math/s_cacoshf.c: Likewise.
45792         * math/s_catan.c: Likewise.
45793         * math/s_catanf.c: Likewise.
45794         * math/s_catanh.c: Likewise.
45795         * math/s_catanhf.c: Likewise.
45796         * math/s_catanhl.c: Likewise.
45797         * math/s_catanl.c: Likewise.
45798         * math/s_ccosh.c: Likewise.
45799         * math/s_ccoshf.c: Likewise.
45800         * math/s_ccoshl.c: Likewise.
45801         * math/s_cexp.c: Likewise.
45802         * math/s_cexpf.c: Likewise.
45803         * math/s_cexpl.c: Likewise.
45804         * math/s_clog.c: Likewise.
45805         * math/s_clog10.c: Likewise.
45806         * math/s_clog10f.c: Likewise.
45807         * math/s_clog10l.c: Likewise.
45808         * math/s_clogf.c: Likewise.
45809         * math/s_clogl.c: Likewise.
45810         * math/s_csin.c: Likewise.
45811         * math/s_csinf.c: Likewise.
45812         * math/s_csinh.c: Likewise.
45813         * math/s_csinhf.c: Likewise.
45814         * math/s_csinhl.c: Likewise.
45815         * math/s_csinl.c: Likewise.
45816         * math/s_csqrt.c: Likewise.
45817         * math/s_csqrtf.c: Likewise.
45818         * math/s_csqrtl.c: Likewise.
45819         * math/s_ctan.c: Likewise.
45820         * math/s_ctanf.c: Likewise.
45821         * math/s_ctanh.c: Likewise.
45822         * math/s_ctanhf.c: Likewise.
45823         * math/s_ctanhl.c: Likewise.
45824         * math/s_ctanl.c: Likewise.
45825         * math/s_ldexp.c: Likewise.
45826         * math/s_ldexpf.c: Likewise.
45827         * math/s_ldexpl.c: Likewise.
45828         * math/s_significand.c: Likewise.
45829         * math/s_significandf.c: Likewise.
45830         * math/s_significandl.c: Likewise.
45831         * math/w_acos.c: Likewise.
45832         * math/w_acosf.c: Likewise.
45833         * math/w_acosh.c: Likewise.
45834         * math/w_acoshf.c: Likewise.
45835         * math/w_acoshl.c: Likewise.
45836         * math/w_acosl.c: Likewise.
45837         * math/w_asin.c: Likewise.
45838         * math/w_asinf.c: Likewise.
45839         * math/w_asinl.c: Likewise.
45840         * math/w_atan2.c: Likewise.
45841         * math/w_atan2f.c: Likewise.
45842         * math/w_atan2l.c: Likewise.
45843         * math/w_atanh.c: Likewise.
45844         * math/w_atanhf.c: Likewise.
45845         * math/w_atanhl.c: Likewise.
45846         * math/w_cosh.c: Likewise.
45847         * math/w_coshf.c: Likewise.
45848         * math/w_coshl.c: Likewise.
45849         * math/w_dremf.c: Likewise.
45850         * math/w_exp10.c: Likewise.
45851         * math/w_exp10f.c: Likewise.
45852         * math/w_exp10l.c: Likewise.
45853         * math/w_exp2.c: Likewise.
45854         * math/w_exp2f.c: Likewise.
45855         * math/w_fmod.c: Likewise.
45856         * math/w_fmodf.c: Likewise.
45857         * math/w_fmodl.c: Likewise.
45858         * math/w_hypot.c: Likewise.
45859         * math/w_hypotf.c: Likewise.
45860         * math/w_hypotl.c: Likewise.
45861         * math/w_j0.c: Likewise.
45862         * math/w_j0f.c: Likewise.
45863         * math/w_j0l.c: Likewise.
45864         * math/w_j1.c: Likewise.
45865         * math/w_j1f.c: Likewise.
45866         * math/w_j1l.c: Likewise.
45867         * math/w_jn.c: Likewise.
45868         * math/w_jnf.c: Likewise.
45869         * math/w_jnl.c: Likewise.
45870         * math/w_lgamma.c: Likewise.
45871         * math/w_lgamma_r.c: Likewise.
45872         * math/w_lgammaf.c: Likewise.
45873         * math/w_lgammaf_r.c: Likewise.
45874         * math/w_lgammal.c: Likewise.
45875         * math/w_lgammal_r.c: Likewise.
45876         * math/w_log.c: Likewise.
45877         * math/w_log10.c: Likewise.
45878         * math/w_log10f.c: Likewise.
45879         * math/w_log10l.c: Likewise.
45880         * math/w_log2.c: Likewise.
45881         * math/w_log2f.c: Likewise.
45882         * math/w_log2l.c: Likewise.
45883         * math/w_logf.c: Likewise.
45884         * math/w_logl.c: Likewise.
45885         * math/w_pow.c: Likewise.
45886         * math/w_powf.c: Likewise.
45887         * math/w_powl.c: Likewise.
45888         * math/w_remainder.c: Likewise.
45889         * math/w_remainderf.c: Likewise.
45890         * math/w_remainderl.c: Likewise.
45891         * math/w_scalb.c: Likewise.
45892         * math/w_scalbf.c: Likewise.
45893         * math/w_scalbl.c: Likewise.
45894         * math/w_sinh.c: Likewise.
45895         * math/w_sinhf.c: Likewise.
45896         * math/w_sinhl.c: Likewise.
45897         * math/w_sqrt.c: Likewise.
45898         * math/w_sqrtf.c: Likewise.
45899         * math/w_sqrtl.c: Likewise.
45900         * math/w_tgamma.c: Likewise.
45901         * math/w_tgammaf.c: Likewise.
45902         * math/w_tgammal.c: Likewise.
45903
45904         * po/ja.po: Update from translation team.
45905
45906 2011-09-29  Andreas Jaeger  <aj@suse.de>
45907
45908         [BZ #13179]
45909         * sunrpc/netname.c (netname2host): Fix logic.
45910
45911         [BZ #6779]
45912         [BZ #6783]
45913         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45914         correctly.
45915         * math/w_remainder.c (__remainder): Likewise.
45916         * math/w_remainderf.c (__remainderf): Likewise.
45917         * math/libm-test.inc (remainder_test): Add test cases.
45918
45919 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45920
45921         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45922         sdiv_qrnnd.
45923
45924 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45925
45926         * string/test-memcmp.c: Avoid unncessary #defines.
45927         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45928
45929 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45930
45931         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45932         Use new sse2 version for core i3 - i7 as it's faster
45933         than sse42 version.
45934         (bit_Prefer_PMINUB_for_stringop): New.
45935         * sysdeps/x86_64/rawmemchr.S: Update.
45936         Replace with faster SSE2 version.
45937         * sysdeps/x86_64/memrchr.S: New file.
45938         * sysdeps/x86_64/memchr.S: Update.
45939         Replace with faster SSE2 version.
45940
45941 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45942
45943         * elf/dl-load.c (lose): Add cast to avoid warning.
45944
45945 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45946
45947         * po/ca.po: Update from translation team.
45948
45949         * inet/getnetgrent_r.c: Hook up nscd.
45950         * nscd/Makefile (routines): Add nscd_netgroup.
45951         (nscd-modules): Add netgroupcache.
45952         (CFLAGS-netgroupcache.c): Define.
45953         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45954         (cache_search): Add const to second parameter.
45955         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45956         INNETGR.
45957         (dbs): Add netgrdb entry.
45958         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45959         (verify_persistent_db): Handle netgrdb.
45960         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45961         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45962         GETFDNETGR.
45963         (netgroup_response_header): Define.
45964         (innetgroup_response_header): Define.
45965         (datahead): Add netgroup_response_header and innetgroup_response_header
45966         elements.
45967         * nscd/nscd.conf: Add entries for netgroup cache.
45968         * nscd/nscd.h (dbtype): Add netgrdb.
45969         (_PATH_NSCD_NETGROUP_DB): Define.
45970         (netgroup_iov_disabled): Declare.
45971         (xmalloc, xcalloc, xrealloc): Move declarations here.
45972         (cache_search): Adjust prototype.
45973         Add netgroup-related prototypes.
45974         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45975         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45976         (__nscd_innetgr): Declare.
45977         * nscd/selinux.c (perms): Use access_vector_t as element type and
45978         add netgroup-related initializers.
45979         * nscd/netgroupcache.c: New file.
45980         * nscd/nscd_netgroup.c: New file.
45981         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45982         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45983         For four parameters use innetgr.
45984         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45985         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45986         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45987         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45988
45989         * nscd/connections.c (register_traced_file): Don't register file
45990         for disabled databases.
45991
45992 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45993
45994         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45995
45996         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45997         from tree and freeing node.
45998
45999 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46000
46001         * nss/nsswitch.c (__nss_database_lookup): Handle
46002         nss_parse_service_list out of memory case.
46003
46004 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46005
46006         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46007         out of memory case.
46008
46009 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46010
46011         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46012         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46013         pass it down.
46014         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46015         elf_machine_rela, elf_machine_lazy_rel.
46016         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46017         (ELF_DYNAMIC_DO_REL): Likewise.
46018         (ELF_DYNAMIC_DO_RELA): Likewise.
46019         (ELF_DYNAMIC_RELOCATE): Likewise.
46020         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46021         to ELF_DYNAMIC_DO_REL.
46022         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46023         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46024         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46025         elf_machine_rela.
46026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46027         skip_ifunc, don't call ifunc function if non-zero.
46028         (elf_machine_rela): Likewise.
46029         (elf_machine_lazy_rel): Likewise.
46030         (elf_machine_lazy_rela): Likewise.
46031         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46032         (elf_machine_lazy_rel): Likewise.
46033         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46034         Likewise.
46035         (elf_machine_lazy_rel): Likewise.
46036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46037         Likewise.
46038         (elf_machine_lazy_rel): Likewise.
46039         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46040         (elf_machine_lazy_rel): Likewise.
46041         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46042         (elf_machine_lazy_rel): Likewise.
46043         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46044         (elf_machine_lazy_rel): Likewise.
46045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46046         (elf_machine_lazy_rel): Likewise.
46047         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46048         (elf_machine_lazy_rel): Likewise.
46049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46050         (elf_machine_lazy_rel): Likewise.
46051
46052 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46053
46054         * nss/nss_files/files-init.c (_nss_files_init): Use static
46055         initialization for all the *_traced_file variables.
46056
46057 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46058
46059         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46060
46061 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46062
46063         [BZ #13226]
46064         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46065
46066 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46067
46068         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46069         Reread the line before reparsing it.
46070
46071 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46072
46073         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46074
46075 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46076             Maxim Kuvyrkov  <maxim@codesourcery.com>
46077             Joseph Myers  <joseph@codesourcery.com>
46078
46079         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46080         if needed for __stack_chk_guard.
46081
46082 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46083
46084         * sysdeps/posix/spawni.c (script_execute): Always define it.
46085         It will be optimized away if unused.
46086         (maybe_script_execute): New function.
46087         (__spawni): Call it.
46088
46089         * Makerules: Don't include tls.make.
46090         (config-tls): Always set to thread.
46091         * tls.make.c: File removed.
46092
46093 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46094
46095         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46096         * config.make.in (CPPFLAGS-config): New substituted variable.
46097
46098 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46099
46100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46101
46102         [BZ #13192]
46103         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46104         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46105
46106 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46107
46108         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46109         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46111         (CALL_FAIL): Likewise.
46112         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46113         (CALL_FAIL): Macro removed.
46114         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46115
46116 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46117
46118         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46119         for __FINITE_MATH_ONLY__ == 1.
46120
46121 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46122
46123         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46124         __ieee754_sqrt instead of sqrt.
46125         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46126         __ieee754_sqrtf instead of sqrtf.
46127         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46128         __floorf instead of floorf.
46129         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46130         __floorf, __truncf instead of floorf, truncf.
46131
46132 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46133
46134         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46135
46136         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46137         __extern_always_inline.
46138         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46139         32-bit.
46140
46141 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46142
46143         * elf/rtld.c (dl_main): Also relocate in dependency order when
46144         doing symbol dependency testing.
46145
46146 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46147
46148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46149         Always define `refsym'.
46150
46151 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46152
46153         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46154         (__FD_ELT): Renamed from __FDELT.
46155         * misc/bits/select2.h (__FD_ELT): Likewise.
46156         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46157         __FD_MASK instead of __FDELT, __FDMASK.
46158         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46159         Likewise.
46160         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46161         Likewise.
46162
46163         * elf/Makefile (gen-ldd): Fix pattern.
46164
46165         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46166         (init_tls): Likewise.
46167
46168 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46169
46170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46171
46172 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46173
46174         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46175         `struct cmsghdr *' instead of `void *'.
46176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46177         Likewise.
46178
46179 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46180
46181         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46182         if non-absolute.
46183         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46184         ldd_rewrite_script.
46185
46186 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46187
46188         * configure.in: Remove --with-tls option.
46189         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46190         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46191         out in case it is missing.
46192         * sysdeps/ia64/elf/configure.in: Likewise.
46193         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46194         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46195         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46196         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46197         * sysdeps/sh/elf/configure.in: Likewise.
46198         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46199         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46200         * sysdeps/x86_64/elf/configure.in: Likewise.
46201         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46202         * sysdeps/mach/hurd/tls.h: Likewise.
46203
46204         [BZ #13067]
46205         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46206
46207         [BZ #13090]
46208         * configure.in: Fix use of AC_INIT.
46209
46210         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46211
46212 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46213
46214         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46215         __set_errno.
46216         * malloc/hooks.c: Likewise.
46217
46218         [BZ #11929]
46219         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46220         variables statically.
46221         (narenas): Initialize.
46222         (list_lock): Initialize.
46223         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46224         initializtion of main_arena and list_lock.  Small cleanups.
46225         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46226         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46227         Add initializers to main_arena and mp_.
46228         (malloc_state): Remove pagesize member.  Change all users to use
46229         GLRO(dl_pagesize).
46230
46231         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46232         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46233         is always initialized.
46234
46235         * malloc/malloc.c: Removed unused configurations and dead code.
46236         * malloc/arena.c: Likewise.
46237         * malloc/hooks.c: Likewise.
46238         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46239
46240         * include/tls.h: Removed.  USE___THREAD must always be defined.
46241         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46242         * elf/dl-libc.c: Likewise.
46243         * elf/dl-tsd.c: Likewise.
46244         * include/errno.h: Likewise.
46245         * include/netdb.h: Likewise.
46246         * include/resolv.h: Likewise.
46247         * inet/herrno-loc.c: Likewise.
46248         * inet/herrno.c: Likewise.
46249         * malloc/arena.c: Likewise.
46250         * malloc/hooks.c: Likewise.
46251         * malloc/malloc.c: Likewise.
46252         * resolv/res-state.c: Likewise.
46253         * resolv/res_libc.c: Likewise.
46254         * sysdeps/i386/dl-machine.h: Likewise.
46255         * sysdeps/ia64/dl-machine.h: Likewise.
46256         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46257         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46258         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46259         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46260         * sysdeps/sh/dl-machine.h: Likewise.
46261         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46262         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46263         * sysdeps/unix/i386/sysdep.S: Likewise.
46264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46265         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46266         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46270         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46274         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46275         * sysdeps/x86_64/dl-machine.h: Likewise.
46276         * tls.make.c: Likewise.
46277
46278         * configure.in: Remove --with-__thread option.  Make tests for
46279         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46280         tls_model attribute fail if no support is available.  Remove
46281         USE_IN_LIBIO.
46282         * Makeconfig: Adjust for dropped configure option.  All features are
46283         now mandatory.
46284         * Makerules: Likewise.
46285         * Versions.def: Likewise.
46286         * argp/argp-fmtstream.c: Likewise.
46287         * argp/argp-fmtstream.h: Likewise.
46288         * argp/argp-help.c: Likewise.
46289         * assert/assert.c: Likewise.
46290         * config.h.in: Likewise.
46291         * config.make.in: Likewise.
46292         * configure: Likewise.
46293         * configure.in: Likewise.
46294         * csu/Versions: Likewise.
46295         * csu/init.c: Likewise.
46296         * elf/tst-audit2.c: Likewise.
46297         * elf/tst-tls10.c: Likewise.
46298         * elf/tst-tls10.h: Likewise.
46299         * elf/tst-tls11.c: Likewise.
46300         * elf/tst-tls12.c: Likewise.
46301         * elf/tst-tls14.c: Likewise.
46302         * elf/tst-tlsmod11.c: Likewise.
46303         * elf/tst-tlsmod12.c: Likewise.
46304         * elf/tst-tlsmod13.c: Likewise.
46305         * elf/tst-tlsmod13a.c: Likewise.
46306         * elf/tst-tlsmod14a.c: Likewise.
46307         * elf/tst-tlsmod15b.c: Likewise.
46308         * elf/tst-tlsmod16a.c: Likewise.
46309         * elf/tst-tlsmod16b.c: Likewise.
46310         * elf/tst-tlsmod7.c: Likewise.
46311         * elf/tst-tlsmod8.c: Likewise.
46312         * elf/tst-tlsmod9.c: Likewise.
46313         * gmon/gmon.c: Likewise.
46314         * grp/fgetgrent_r.c: Likewise.
46315         * grp/putgrent.c: Likewise.
46316         * hurd/fopenport.c: Likewise.
46317         * include/libc-symbols.h: Likewise.
46318         * include/tls.h: Likewise.
46319         * intl/gettextP.h: Likewise.
46320         * intl/loadinfo.h: Likewise.
46321         * locale/global-locale.c: Likewise.
46322         * locale/localeinfo.h: Likewise.
46323         * mach/devstream.c: Likewise.
46324         * malloc/arena.c: Likewise.
46325         * malloc/set-freeres.c: Likewise.
46326         * misc/err.c: Likewise.
46327         * misc/getttyent.c: Likewise.
46328         * misc/mntent_r.c: Likewise.
46329         * posix/getopt.c: Likewise.
46330         * posix/wordexp.c: Likewise.
46331         * pwd/fgetpwent_r.c: Likewise.
46332         * resolv/Versions: Likewise.
46333         * resolv/res_hconf.c: Likewise.
46334         * shadow/fgetspent_r.c: Likewise.
46335         * shadow/putspent.c: Likewise.
46336         * stdio-common/printf_fphex.c: Likewise.
46337         * stdio-common/tmpfile.c: Likewise.
46338         * stdlib/abort.c: Likewise.
46339         * stdlib/fmtmsg.c: Likewise.
46340         * sunrpc/auth_unix.c: Likewise.
46341         * sunrpc/clnt_perr.c: Likewise.
46342         * sunrpc/clnt_tcp.c: Likewise.
46343         * sunrpc/clnt_udp.c: Likewise.
46344         * sunrpc/clnt_unix.c: Likewise.
46345         * sunrpc/openchild.c: Likewise.
46346         * sunrpc/svc_simple.c: Likewise.
46347         * sunrpc/svc_tcp.c: Likewise.
46348         * sunrpc/svc_udp.c: Likewise.
46349         * sunrpc/svc_unix.c: Likewise.
46350         * sunrpc/xdr.c: Likewise.
46351         * sunrpc/xdr_array.c: Likewise.
46352         * sunrpc/xdr_rec.c: Likewise.
46353         * sunrpc/xdr_ref.c: Likewise.
46354         * sunrpc/xdr_stdio.c: Likewise.
46355
46356 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46357
46358         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46359
46360 2011-07-03  Andreas Jaeger  <aj@suse.de>
46361
46362         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46363         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46364         regenerate with gen-libm-tests.pl.
46365
46366 2010-05-12  Petr Baudis  <pasky@suse.cz>
46367
46368         [BZ #11589]
46369         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46370         around j0() zero points by switching to j1().
46371         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46372         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46374         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46375
46376 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46377
46378         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46379         instead of 0.
46380         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46381         instead of 0.
46382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46383         Patch in part by Pavel Roskin <proski@gnu.org>.
46384
46385         [BZ #13138]
46386         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46387         realloc.
46388         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46389         Free memory block if necessary.
46390
46391         [BZ #12847]
46392         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46393         be NULL.  Don't lock in this case.
46394
46395 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46396
46397         * elf/elf.h (ELFOSABI_GNU): New macro.
46398         (ELFOSABI_LINUX): Define to that.
46399
46400 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46401
46402         * string/strncat.c (strncat): Undef the symbol in case it has been
46403         defined in bits/string.h.
46404
46405 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46406
46407         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46408
46409         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46410         link map.
46411
46412 2011-08-17  Andreas Jaeger  <aj@suse.de>
46413
46414         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46415
46416 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46417             Ian Lance Taylor  <iant@google.com>
46418
46419         * math/libm-test.inc (lround_test): New testcase.
46420         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46421
46422 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46423
46424         * Makefile: Remove support for automatic cvs check-ins.
46425         * Makerules: Likewise.
46426         * config.make.in: Likewise.
46427         * configure.in: Likewise.
46428         * intl/Makefile: Likewise.
46429         * locale/Makefile: Likewise.
46430         * po/Makefile: Likewise.
46431         * posix/Makefile: Likewise.
46432         * sysdeps/gnu/Makefile: Likewise.
46433         * sysdeps/mach/hurd/Makefile: Likewise.
46434         * sysdeps/sparc/sparc32/Makefile: Likewise.
46435
46436         [BZ #13118]
46437         * posix/Makefile (bug-regex32-ENV): Define.
46438         Patch by John Stanley <jpsinthemix@verizon.net>.
46439
46440         * misc/Makefile (headers): Add bits/select2.h.
46441         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46442         * misc/bits/select2.h: New file.
46443         * include/bits/select2.h: New file.
46444         * debug/Makefile (routines): Add fdelt_chk.
46445         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46446         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46447         FD_ISSET.
46448         * debug/fdelt_chk.c: New file.
46449
46450         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46451         * wcsmbs/test-wmemcmp.c: Likewise.
46452         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46453         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46454
46455 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46456
46457         * string/Makefile (strop-tests): Add memcmp.
46458         * string/test-wmemcmp.c: New file.
46459         * string/test-memcmp.c: Add wmemcmp support.
46460
46461 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46462
46463         [BZ #13153]
46464         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46465         2011-07-19 change.
46466
46467         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46468         garbage value in a __mach_port_mod_refs call in the cases of the
46469         task-self and thread-self ports.
46470
46471 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46472
46473         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46474
46475 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46476
46477         * elf/dl-load.c (lose): Check for non-null L.
46478
46479 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46480
46481         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46482
46483         * elf/dl-libc.c (dlerror_run): Pass back error code from
46484         dl_catch_error.
46485
46486         [BZ #13123]
46487         * elf/dl-load.c (lose): Free l_origin if it is valid.
46488
46489         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46490         names.
46491         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46492         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46493         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46494         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46495         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46496         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46497
46498 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46499
46500         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46501         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46502         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46503         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46504         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46505         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46506         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46507         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46508         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46509         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46510
46511 2011-08-15  Alan Modra  <amodra@gmail.com>
46512
46513         [BZ #13092]
46514         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46515         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46516         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46517         ppc_mcount to static-only-routines.
46518         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46519         __mcount_internal.
46520         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46521         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46522
46523 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46524
46525         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46526         for finite and infinity parameters.
46527
46528 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46529
46530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46531         and add nop instructions for throughput optimization.
46532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46533
46534 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46535
46536         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46537         aligned copy for power7 with vector-scalar instructions.
46538         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46539
46540 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46541
46542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46543         AVX check.
46544
46545 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46546
46547         [BZ #13144]
46548         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46549         last change.
46550
46551 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46552
46553         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46554         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46555         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46556         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46557         clock_gettime.
46558
46559 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46560
46561         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46562         Forgot to demangle the pointer.
46563
46564         * sysdeps/i386/sysdep.h: Define atom_text_section.
46565         * sysdeps/x86_64/sysdep.h: Likewise.
46566         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46567         section with atom_text_section.
46568         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46570         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46572         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46573
46574         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46576         already be defined.  Change to take two parameters and don't assign
46577         result to variable.  Adjust all users.
46578         Define INTERNAL_GETTIME if not already defined.
46579         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46580         call.
46581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46582         HAVE_CLOCK_GETTIME_VSYSCALL.
46583         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46584
46585         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46586         gettimeofday vsyscall, just use time.
46587
46588 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46589
46590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46591         <errno.h>.
46592
46593 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46594
46595         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46596         syscall on x86-64.
46597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46598         syscall.
46599         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46600         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46601         syscall if possible.
46602
46603 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46604
46605         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46606         e_ident.  Don't pass to find_mapsXX.
46607         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46608
46609 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46610
46611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46612         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46613         * sysdeps/x86_64/multiarch/strchr.S: Update.
46614         Check bit_slow_BSF bit.
46615         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46616         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46617         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46618
46619 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46620
46621         [BZ #13134]
46622         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46623         before glibc 2.15.
46624         (tryshell): Define.
46625         (__spawni): Change last parameter to be flag.  Test
46626         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46627         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46628         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46629         * posix/spawni.c: Likewise.
46630         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46631         * posix/spawnp.c: Likewise.  Change normal version to use
46632         SPAWN_XFLAGS_USE_PATH.
46633         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46634         SPAWN_XFLAGS_TRY_SHELL.
46635
46636         [BZ #13150]
46637         * posix/glob.h: Remove gcc 1.x support.
46638
46639         [BZ #13068]
46640         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46641
46642 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46643
46644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46645         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46646         strrchr-sse2-bsf
46647         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46648         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46649         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46650         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46651         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46652         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46653
46654 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46655
46656         * sysdeps/x86_64/wcscmp.S: New file.
46657
46658         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46659         wcscmp-c wcscmp-sse2
46660         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46661         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46662         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46663         * wcsmbs/wcscmp.c: Allow renaming.
46664
46665 2011-09-05  David S. Miller  <davem@davemloft.net>
46666
46667         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46668         stack slot, rather than the struct return pointer slot.
46669         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46670         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46672         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46673
46674 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46675
46676         * po/ja.po: Update from translation team.
46677
46678         [BZ #13144]
46679         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46680         kernel in 64-bit binaries.
46681
46682 2011-09-01  David S. Miller  <davem@davemloft.net>
46683
46684         * elf/elf.h (HWCAP_SPARC_*): Move to..
46685         * sysdeps/sparc/sysdep.h: this new file and add new values.
46686         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46687         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46688         _DL_HWCAP_COUNT to 24.
46689         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46690         entries.
46691         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46692         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46693         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46694         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46695         instead of magic constants.
46696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46697
46698 2011-08-31  David S. Miller  <davem@davemloft.net>
46699
46700         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46702         Reimplement to do errno handling inline.
46703         (SYSCALL_ERROR_HANDLER): New macro.
46704         (__SYSCALL_STRING): Do not do errno handling in asm.
46705         (__CLONE_SYSCALL_STRING): Delete.
46706         (__INTERNAL_SYSCALL_STRING): Delete.
46707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46708         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46709         (PSEUDO): Reimplement to do errno handling inline.
46710         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46711         (SYSCALL_ERROR_HANDLER): New macro.
46712         (__SYSCALL_STRING): Do not do errno handling in asm.
46713         (__CLONE_SYSCALL_STRING): Delete.
46714         (__INTERNAL_SYSCALL_STRING): Delete.
46715         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46716         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46717         i386.
46718         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46719         (inline_syscall*): Add 'err' argument.
46720         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46721         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46722         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46723         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46724
46725         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46726         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46727
46728 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46729
46730         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46731
46732 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46733
46734         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46735         directive.
46736
46737 2011-08-24  David S. Miller  <davem@davemloft.net>
46738
46739         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46740
46741 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46742
46743         * elf/Makefile: Add rules to build and run unload8 test.
46744         * elf/unload8.c: New file.
46745         * elf/unload8mod1.c: New file.
46746         * elf/unload8mod1x.c: New file.
46747         * elf/unload8mod2.c: New file.
46748         * elf/unload8mod3.c: New file.
46749
46750         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46751         it wasn't used.
46752
46753 2011-08-23  David S. Miller  <davem@davemloft.net>
46754
46755         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46756         subtract stack bias.
46757         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46758         %sp not %fp in calculations.
46759         (_JMPBUF_UNWINDS_ADJ): Likewise.
46760
46761         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46762         (aio_suspend): Call it to force an exception region around the
46763         AIO_MISC_WAIT() invocation.
46764
46765 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46766
46767         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46768         backslash.
46769
46770 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46771
46772         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46773         protection macro.
46774         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46775         and <dl-machine.h>.
46776         (Elf64_FuncDesc): Remove.
46777
46778 2011-08-22  David S. Miller  <davem@davemloft.net>
46779
46780         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46781         sigaltstack check, add missing cfi directives.
46782         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46783         missing cfi directives, and sigaltstack handling.
46784
46785 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46786
46787         [BZ #11724]
46788         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46789         object is seen twice.
46790         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46791
46792         * elf/Makefile (distribute): Add tst-initorder2.c.
46793         (tests): Add tst-initorder2.
46794         (modules-names): Add tst-initorder2a tst-initorder2b
46795         tst-initorder2c tst-initorder2d.  Add rules to build them.
46796         ($(objpfx)tst-initorder2.out): New rule.
46797         * elf/tst-initorder2.c: New file.
46798         * elf/tst-initorder2.exp: New file.
46799
46800 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46801
46802         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46803
46804         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46805         dependencies back to end of function.
46806
46807         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46808         $(elfobjdir)/ld.so.
46809
46810 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46811
46812         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46813         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46814         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46815         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46816         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46817         of __vdso_gettimeofday.
46818         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46819         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46820         attribute_hidden.
46821         (_libc_vdso_platform_setup): Remove initialization of
46822         __vdso_gettimeofday and __vdso_time.
46823
46824 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46825
46826         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46827         and fgetc_unlocked.
46828         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46829         getc_unlocked.
46830
46831         * elf/dl-open.c (add_to_global): Report additions to the global scope
46832         for LD_DEBUG=scopes.
46833         (dl_open_worker): Also print scope of newly loaded dependencies.
46834         (_dl_show_scope): Indicate if there is no scope.
46835
46836         [BZ #13114]
46837         * stdio-common/Makefile (tests): Add bug24.
46838         * stdio-common/bug24.c: New file.
46839
46840 2011-08-19  Andreas Jaeger  <aj@suse.de>
46841
46842         [BZ #13114]
46843         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46844         non-existant file when using close-on-exec mode.
46845
46846 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46847
46848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46849         the very first instruction.
46850
46851         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46852         the CFI state in the end.
46853         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46854         inclusion of dl-trampoline.h.
46855         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46856
46857 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46858
46859         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46860         expectations for long double.
46861
46862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46863         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46864
46865 2011-08-14  David S. Miller  <davem@davemloft.net>
46866
46867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46868         artificual limit depends upon the system page size.
46869
46870 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46871
46872         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46873         * resolv/Makefile: Define CFLAGS-libresolv.
46874
46875 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46876
46877         * nss/makedb.c (compute_tables): Make variables used in nested
46878         function static.
46879
46880 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46881
46882         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46883         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46884         if buffer was too small.
46885
46886         * elf/pldd.c (main): Attach to all threads in the process.
46887         Rewrite /proc handling to use *at functions.
46888
46889 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46890
46891         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46892         specifies first scope to show.
46893         (dl_open_worker): Update callers.  Move printing scope of new
46894         object to before the relocation.
46895         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46896         * sysdeps/generic/ldsodefs.h: Update declaration.
46897
46898         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46899         string for the scope number.
46900
46901 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46902
46903         * nscd/servicescache.c (cache_addserv): Make sure written is always
46904         initialized.
46905
46906 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46907
46908         * sysdeps/i386/i486/bits/atomic.h
46909         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46910         statement expression, so as to suppress "set but not used" warning.
46911         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46912
46913         * string/strncat.c (STRNCAT): Use prototype definition.
46914
46915         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46916         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46917         -Iprograms here.
46918         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46919         (localedef-modules): Add localedef.
46920         (locale-modules): Add locale.
46921
46922         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46923         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46924         to avoid a warning.
46925
46926 2011-08-14  David S. Miller  <davem@davemloft.net>
46927
46928         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46929         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46930
46931 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46932
46933         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46934         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46935         * elf/rtld.c (dl_main): Set l_name of vDSO.
46936         Call _dl_show_scope when DL_DEBUG_SCOPES.
46937         (process_dl_debug): Recognize scopes flag and also set it for all.
46938         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46939         Declare _dl_show_scope.
46940
46941         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46942         (do_dlopen): Pass caller_dlopen to dl_open.
46943         (__libc_dlopen_mode): Initialize caller_dlopen.
46944
46945         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46946         of libc.  Make tolower call locale-independent.  Optimize a bit by
46947         using isdigit instead of isalnum.
46948         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46949
46950 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46951
46952         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46953         was a dependency or dynamically loaded.
46954
46955 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46956
46957         * intl/l10nflist.c: Allow architecture-specific pop function.
46958         * sysdeps/x86_64/l10nflist.c: New file.
46959
46960         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46961         classification.
46962
46963 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46964
46965         * include/dirent.h: Add libc_hidden_proto for scandirat and
46966         scandirat64.  Don't declare __scandirat64.
46967         * dirent/scandirat.c: Add libc_hidden_def.
46968         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46969         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46970
46971 2011-08-10  David S. Miller  <davem@davemloft.net>
46972
46973         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46974         enum.
46975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46976         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46978
46979 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46980
46981         * Versions.def [libc]: Add GLIBC_2.15.
46982         * dirent/Makefile (routines): Add scandirat and scandirat64.
46983         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46984         GLIBC_2.15.
46985         * dirent/dirent.h: Declare scandirat and scandirat64.
46986         * dirent/scandirat.c: New file.
46987         * dirent/scandirat64.c: New file.
46988         * sysdeps/wordsize-64/scandirat.c: New file.
46989         * sysdeps/wordsize-64/scandirat64.c: New file.
46990         * dirent/opendir.c: Define opendirat.
46991         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46992         using scandirat.
46993         * dirent/scandir64.c: Adjust for scandir.c change.
46994         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46995         __scandirat64, and __scandir_cancel_handler.
46996         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46997         additional parameter and use openat instead of open (outside of ld.so).
46998         Add new __opendir as wrapper around __opendirat.
46999         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47000         here without requiring old scandirat implementation.
47001
47002 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47003
47004         * dirent/scandir.c (cancel_handler): Renamed to
47005         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47006         defined.  Adjust users.
47007         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47008         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47009
47010 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47011
47012         * string/test-string.h (IMPL): Use __STRING to expand name and then
47013         stringify it.
47014
47015         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47016         of cleanups.
47017
47018 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47019
47020         * string/Makefile: Update.
47021         (strop-tests): Append strncat.
47022         * string/test-wcscmp.c: New file.
47023         New comprehensive test for wcscmp.
47024         * string/test-strcmp.c: Update.
47025         (WIDE): New define.
47026
47027 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47028
47029         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47030         line.
47031
47032 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47033
47034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47035         encoding to ACE if AI_IDN.
47036
47037 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47038
47039         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47040         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47041
47042 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47043
47044         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47045         Fix overflow bug in strncat.
47046         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47047
47048         * string/test-strncat.c: Update.
47049         Add new tests for checking overflow bugs.
47050
47051 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47052
47053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47054         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47055         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47056         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47058         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47059         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47060         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47061         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47062
47063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47064         (USE_AS_STRCAT): Define.
47065         Add strcat and strncat support.
47066         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47067
47068 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47069
47070         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47071         __n bigger than INT_MAX+1.
47072         (__strncmp_g): Likewise.
47073
47074 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47075
47076         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47077         * libio/stido.h: Likewise.
47078
47079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47080         (AF_NFC): Define.
47081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47082         (AF_NFC): Define.
47083
47084         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47085         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47086         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47087         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47088         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47089
47090         [BZ #13021]
47091         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47092         installed.
47093
47094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47095         typo.
47096         (_dl_x86_64_save_sse): Likewise.
47097
47098 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47101         OSXSAVE.
47102         (_dl_x86_64_save_sse): Likewise.
47103
47104         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47105
47106         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47107
47108 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47109
47110         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47111         change.
47112         (_dl_x86_64_save_sse): Use correct AVX check.
47113
47114 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47115
47116         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47117         bug in strncpy/strncat.
47118         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47119
47120 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47121
47122         * string/tester.c (test_strcat): Add tests for different alignments
47123         of source and destination.
47124         (test_strncat): Likewise.
47125
47126 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47127
47128         [BZ #12852]
47129         * posix/glob.c (glob): Check passed in values before using them in
47130         expressions to avoid some overflows.
47131         (glob_in_dir): Likewise.
47132
47133         [BZ #13007]
47134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47135         check for AVX enablement so that we don't crash with old kernels and
47136         new hardware.
47137         * elf/tst-audit4.c: Add same checks here.
47138         * elf/tst-audit6.c: Likewise.
47139
47140         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47141
47142 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47143
47144         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47145
47146 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47147
47148         * po/cs.po: Update from translation team.
47149         * po/bg.po: Likewise.
47150
47151 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47152
47153         * misc/sys/cdefs.h: Add support for const attribute.
47154         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47155         to gnu_dev_{major,minor,makedev} functions.
47156
47157 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47158
47159         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47160
47161 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47162
47163         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47164         strlen results.
47165
47166 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47167
47168         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47169         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47170         register in order to avoid conflicts with the soft frame pointer
47171         being held in r11 when necessary.
47172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47173         (INTERNAL_VSYSCALL_NCS): Likewise.
47174
47175 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47176
47177         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47178         * elf/dl-fini.c (_dl_fini): Adjust caller.
47179         * elf/dl-close.c (_dl_close_worker): Likewise.
47180         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47181
47182 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47183
47184         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47185         "aux_cache->nlibs < 0".
47186
47187         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47188         in the reload-count case.
47189
47190 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47191
47192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47193         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47194         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47195         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47196         * sysdeps/x86_64/multiarch/strcat.S: New file.
47197         * sysdeps/x86_64/multiarch/strncat.S: New file.
47198         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47199         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47200         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47201         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47202         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47203         (USE_AS_STRCAT): Define.
47204         Add strcat and strncat support.
47205         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47207         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47208         * string/strncat.c: Update.
47209         (USE_AS_STRNCAT): Define.
47210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47211         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47212         and i7.
47213         * sysdeps/x86_64/multiarch/init-arch.h
47214         (bit_Prefer_PMINUB_for_stringop): New.
47215         (index_Prefer_PMINUB_for_stringop): Likewise.
47216         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47217         bit_Prefer_PMINUB_for_stringop.
47218
47219 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47220
47221         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47222         buffer64.
47223         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47224         of casting of buffer.
47225         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47226         buffer32 and buffer64.
47227         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47228         writes instead of casting of buffer.
47229         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47230         buffer32.
47231         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47232         casting of buffer.
47233
47234 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47235
47236         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47237
47238 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47239
47240         * nscd/nscd.c (termination_handler): Don't do anything for a database
47241         if it has not yet been initialized.
47242
47243 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47244
47245         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47246
47247 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47248
47249         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47250
47251 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47252
47253         * po/nl.po: Update from translation team.
47254         * po/sv.po: Likewise.
47255
47256 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47257
47258         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47259         now disallowed by GCC.
47260
47261         * configure.in (use-default-link): Default to yes if a test -shared
47262         link meets our qualifications.
47263         * configure: Regenerated.
47264
47265         * config.make.in (output-format): New variable.
47266         * configure.in: Check for ld --print-output-format support.
47267         * configure: Regenerated.
47268         * Makerules ($(common-objpfx)format.lds)
47269         [$(output-format) != unknown]: Just use $(output-format),
47270         instead of the linker-script munging.
47271
47272 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47273
47274         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47275         of $(common-objpfx)shlib.lds.
47276         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47277
47278         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47279         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47280
47281         * configure.in (-z relro check): Adjust test code to add a large
47282         writable data section after it.
47283         * configure: Regenerated.
47284
47285 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47286
47287         * configure.in (-z relro check): Fix test code to make the variable
47288         truly const.
47289         * configure: Regenerated.
47290
47291 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47292
47293         * nscd/nscd.h (struct traced_file): Define.
47294         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47295         elements.  Add traced_files.
47296         (inotify_fd): Declare.
47297         (register_traced_file): Declare.
47298         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47299         (inotify_fd): Export.
47300         (resolv_conf_descr): Remove.
47301         (nscd_init): Move inotify descriptor creation to main.
47302         Don't register files for notification here.
47303         (register_traced_file): New function.
47304         (invalidate_cache): Don't use reset_res to determine whether to call
47305         res_init, go through the list of registered files.
47306         (main_loop_poll): The inotify descriptors are now stored in the
47307         structures for the traced files.
47308         (main_loop_epoll): Likewise
47309         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47310         to __nss_disable_nscd.
47311         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47312         for a database anymore.  Check the records for all the registered
47313         files instead.
47314         * nss/Makefile (libnss_files-routines): Add files-init.
47315         (libnss_db-routines): Add db-init.
47316         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47317         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47318         * nss/nss_db/db-init.c: New file.
47319         * nss/nss_files/files-init.c: New file.
47320         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47321         __nss_lookup_function.
47322         (__nss_lookup_function): Call nss_load_library.
47323         (nss_load_all_libraries): New function.
47324         (__nss_disable_nscd): Take parameter with callback function for files
47325         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47326         used for the cached services.
47327         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47328         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47329         options for features to all the files in nscd.
47330
47331         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47332
47333 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47334
47335         * csu/elf-init.c (__libc_csu_init): Comment typo.
47336
47337 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47338
47339         * po/pl.po: Update from translation team.
47340         * po/ja.po: Likewise.
47341         * po/ru.po: Likewise.
47342         * po/ko.po: Likewise.
47343         * po/fr.po: Likewise.
47344
47345 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47346
47347         * configure.in (.ctors/.dtors header and trailer check):
47348         Use an empirical test on a built program.
47349         * configure: Regenerated.
47350
47351         * configure.in (-z relro check): Use an empirical test on a built DSO.
47352         Detect, but do not require, on ia64.
47353         * configure: Regenerated.
47354
47355         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47356         Update tests that use readelf to use $READELF instead.
47357         * configure: Regenerated.
47358
47359 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47360
47361         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47362         if the result is not used.
47363
47364 2011-07-05  Andreas Jaeger  <aj@suse.de>
47365
47366         [BZ#9696]
47367         * stdlib/tst-strtod.c: Add testcase.
47368
47369 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47370
47371         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47372         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47373         The latter has a higher limit.  Take additional parameter to pass to
47374         the new function.
47375         (__pathconf): Pass file to __statfs_link_max.
47376         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47377         __statfs_link_max.
47378         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47379         __statfs_link_max.
47380
47381         [BZ #12868]
47382         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47383         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47384         Handle Lustre.
47385         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47386         (__statfs_filesize_max): Likewise.
47387         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47388
47389 2011-07-05  Andreas Jaeger  <aj@suse.de>
47390
47391         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47392
47393 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47394
47395         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47396         `status' variable.
47397         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47398         Likewise.
47399
47400 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47401
47402         * Makefile (strop-tests): Add strncat.
47403         * string/test-strncat.c: New file.
47404
47405 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47406
47407         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47408
47409 2011-06-21  Andreas Jaeger  <aj@suse.de>
47410
47411         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47412         Copy rule from iconvdata/Makefile.
47413
47414 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47415
47416         [BZ #12922]
47417         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47418         but no long options are defined, just return 'W'.
47419
47420 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47421
47422         [BZ #9696]
47423         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47424
47425 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47426
47427         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47428         netgroups to read.
47429         (innetgr): Likewise.
47430
47431 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47432
47433         * config.make.in (install_root): Default to $(DESTDIR).
47434
47435 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47436
47437         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47438
47439 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47440
47441         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47442
47443         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47444         containing directory rather than embedding absolute directory names.
47445
47446         * scripts/check-local-headers.sh: Rewritten using awk.
47447         Match by word, not by line.  Print error messages for matches.
47448         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47449
47450         * Makerules [shlib-lds-flags empty]:
47451         ($(common-objpfx)libc_pic.opts): New target.
47452         ($(common-objpfx)libc_pic.os.clean): New target.
47453         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47454
47455         * config.make.in (OBJCOPY): New variable.
47456         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47457         * configure: Regenerated.
47458
47459         * config.make.in (use-default-link): New variable.
47460         * configure.in (use_default_link): Grok --with-default-link to set it.
47461         * configure: Regenerated.
47462         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47463         (shlib-lds, shlib-lds-flags): Define to empty.
47464
47465         * Makerules (shlib-lds): New variable.
47466         (shlib-lds-flags): New variable.
47467         (build-shlib, build-moduile, build-module-asneeded): Use it.
47468         ($(common-objpfx)libc.so): Use $(shlib-lds).
47469         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47470         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47471
47472         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47473         DT_FLAGS/DT_FLAGS_1 with zero flags.
47474
47475         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47476         linker script munging.
47477
47478 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47479
47480         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47481         as 128-bit value.
47482         * crypt/sha512.c (sha512_process_block): Perform total addition using
47483         128-bit if possible.
47484         (__sha512_finish_ctx): Likewise.
47485         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47486         as 64-bit value.
47487         * crypt/sha256.c (SWAP64): Define.
47488         (sha256_process_block): Perform total addition using 64-bit if
47489         possible.
47490         (__sha256_finish_ctx): Likewise.
47491
47492 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47493
47494         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47496         * nscd/hstcache.c (cache_addhst): Likewise.
47497         * nscd/grpcache.c (cache_addgr): Likewise.
47498         * nscd/aicache.c (addhstaiX): Likewise
47499         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47500
47501 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47502
47503         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47505         * nscd/hstcache.c (cache_addhst): Likewise.
47506         * nscd/grpcache.c (cache_addgr): Likewise.
47507         * nscd/aicache.c (addhstaiX): Likewise
47508
47509 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47510
47511         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47512         domain only when needed.
47513
47514 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47515
47516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47517         is always restored.
47518
47519 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47520
47521         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47522         are re-adding the entry.
47523         * nscd/servicescache.c (cache_addserv): Likewise.
47524
47525 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47526
47527         * sysdeps/generic/dl-irel.h: fix protection against multiple
47528         inclusions.
47529         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47530
47531 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47532
47533         [BZ #12935]
47534         * malloc/memusage.sh: Fix quoting in message.
47535         * debug/xtrace.sh: Likewise.
47536
47537         * configure.in: Remove support for --experimental-malloc option, make
47538         it the default.
47539         * config.make.in: Likewise.
47540         * malloc/Makefile: Likewise.
47541
47542 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47543
47544         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47545         two-byte characters.
47546
47547 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47548
47549         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47550         AC_CACHE_CHECK invocation.
47551         * configure: Regenerated.
47552
47553         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47554
47555 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47556
47557         [BZ #12350]
47558         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47559         bit from old_res_options.
47560
47561         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47562
47563         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47564         value type for setfct.
47565
47566 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47567
47568         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47569         __gettimeofday instead of gettimeofday.
47570
47571 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47572
47573         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47574
47575 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47576
47577         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47578
47579         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47580         info.
47581
47582 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47583
47584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47585         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47586         strcpy-sse2-unaligned strncpy-sse2-unaligned
47587         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47588         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47589         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47590         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47591         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47592         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47593         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47594         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47595         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47596         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47597         (STRCPY): Support SSE2 and SSSE3 versions.
47598
47599 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47600
47601         [BZ #12874]
47602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47603         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47604         kernels which artificially limit size of requests.
47605
47606 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47607
47608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47609         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47610         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47611         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47612         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47613         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47614         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47615         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47616         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47618         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47619         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47620         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47621         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47622         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47624         Enable unaligned load optimization for Intel Core i3, i5 and i7
47625         processors.
47626         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47627         Define.
47628         (index_Fast_Unaligned_Load): Define.
47629         (HAS_FAST_UNALIGNED_LOAD): Define.
47630
47631 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47632
47633         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47634
47635 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47636
47637         [BZ #12907]
47638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47639         until it is clear that the information is realy needed.
47640         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47641
47642 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47643
47644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47645
47646 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47649         /sys/devices/system/cpu/online if it is usable.
47650
47651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47652         reading the information from the /proc filesystem to once a second.
47653
47654 2011-06-21  Andreas Jaeger  <aj@suse.de>
47655
47656         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47657         NULL after inclusion of kernel headers.
47658
47659 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47660
47661         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47662         calls to internal_setent.
47663
47664         [BZ #12885]
47665         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47666         addresses using gethostbyname4_r ignore IPv4 addresses.
47667
47668         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47669         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47670
47671         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47672
47673 2011-06-20  David S. Miller  <davem@davemloft.net>
47674
47675         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47676         inclusions.
47677         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47678
47679         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47680         (elf_irel): Use it.
47681         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47682         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47683         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47684         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47685         * sysdeps/x86_64/dl-irel.h: Likewise.
47686
47687         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47688         * elf/dl-sym.c: Likewise.
47689
47690 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47691
47692         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47693         need to dereference resplen2.
47694
47695 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47696
47697         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47698
47699 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47700
47701         * Makeconfig: Define vardbdir and inst_vardbdir.
47702         * nss/Makefile: Add rules to install db-Makefile.
47703
47704         * nss/nss_db/db-XXX.c: Cleanup.
47705
47706         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47707         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47708         GLIBC_PRIVATE.
47709         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47710         * nss/makedb.c: Implement -g option to specify that value strings
47711         are generated and should not be added to table iterated over for
47712         get*ent calls.
47713         * nss/nss_db/db-initgroups.c: New file.
47714
47715         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47716         interface.
47717
47718         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47719         (internal_getgrouplist): Adjust to name change.
47720         Update use_initgroups_entry if this is not the first call.
47721         * nss/databases.def: Add initgroups entry.
47722
47723         * nss/makedb.c (compute_tables): Check result of multiple hash table
47724         sizes to minimize maximum chain length.
47725
47726 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47727
47728         * Versions.def: Add entry for libnss_db.
47729         * shlib-versions: Likewise.
47730         * nss/Makefile: Add rules to build libnss_db.
47731         * nss/Versions: Add libnss_db information.  Organize libnss_files
47732         entries better.
47733         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47734         makedb progra.  Some minor improvements to generate smaller files.
47735         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47736         here from...
47737         * nss/makedb.c: ...here.
47738         Improve database format to be smaller and require less memory at
47739         runtime.
47740         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47741         db anymore.
47742         * nss/nss_db/db-netgrp.c: Likewise.
47743         * nss/nss_db/db-open.c: Likewise.
47744         * nss/nss_files/flies-XXX.x: Adjust comments.
47745         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47746         * nss/nss_files/files-grp.c: Likewise.
47747         * nss/nss_files/files-hosts.c: Likewise.
47748         * nss/nss_files/files-network.c: Likewise.
47749         * nss/nss_files/files-proto.c: Likewise.
47750         * nss/nss_files/files-pwd.c: Likewise.
47751         * nss/nss_files/files-rpc.c: Likewise.
47752         * nss/nss_files/files-service.c: Likewise.
47753         * nss/nss_files/files-sgrp.c: Likewise.
47754         * nss/nss_files/files-spwd.c: Likewise.
47755         * nss/nss_db/db-alias.c: Removed.
47756         * nss/nss_db/dummy-db.h: Removed.
47757
47758 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47759
47760         * nss/makedb.c: Rewritten to not use database library.
47761         * nss/Makefile: Update to build new makedb program.
47762
47763 2011-06-14  Andreas Jaeger  <aj@suse.de>
47764
47765         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47766         memset declaration.
47767
47768 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47769
47770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47771         tmpbuf.
47772
47773 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47774
47775         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47776         * elf/Makefile ($(objpfx)ld.so): Likewise.
47777
47778         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47779         Don't list ld.so twice in dependencies.
47780
47781         * posix/bug-regex31.c: Include <stdlib.h>.
47782
47783         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47784
47785         * nis/nss_compat/compat-spwd.c
47786         (getspent_next_nss_netgr): Remove unused variable.
47787         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47788
47789         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47790         nonmembers" output to use the right array.
47791
47792         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47793
47794         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47795
47796         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47797         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47798         * catgets/gencat.c (read_input_file): Likewise.
47799         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47800
47801         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47802         variable definition inside #if's controlling its use.
47803
47804         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47805
47806         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47807
47808         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47809
47810         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47811         unreachable code.
47812
47813         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47814
47815         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47816         * configure: Regenerated.
47817
47818         * Makerules: Revert last change.
47819         * elf/Makefile: Likewise.
47820
47821 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47822
47823         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47824         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47825         (reloc-link): Likewise.
47826
47827 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47828
47829         * elf/Makefile: Add rules to build pldd.
47830         * elf/pldd.c: New file.
47831         * elf/pldd-xx.c: New file.
47832
47833 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47834
47835         * version.h: Update for 2.15 development version.
47836
47837 2011-06-07  David S. Miller  <davem@davemloft.net>
47838
47839         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47840         ifuncs.
47841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47842         elf_machine_lazy_rel): Likewise.
47843         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47844         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47845         elf_machine_lazy_rel): Likewise.
47846         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47847         dl_hwcap via passed in argument.
47848         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47849         Likewise.
47850
47851 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47852
47853         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47854
47855 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47856
47857         [BZ #12849]
47858         * manual/fdl-1.1.texi: New file, verbatim from:
47859         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47860         * manual/lgpl-2.1.texi: New file, verbatim from:
47861         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47862         * manual/Makefile (licenses): New variable, list those new file names.
47863         (texis): Use it.
47864         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47865
47866         * manual/fdl.texi: File removed.
47867         * manual/lesser.texi: File removed.
47868         * manual/libc.texinfo (Copying, Documentation License):
47869         Use new @include file names, put @appendix directive before @include.
47870
47871 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47872
47873         [BZ #12841]
47874         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47875         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47876         (mq_open): Add __NTH.
47877
47878 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47879
47880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47881         Assume Intel Core i3/i5/i7 processor if AVX is available.
47882
47883 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47884
47885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47886         typo.
47887
47888 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47889
47890         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47891         memory.  Use alloca_account.  Fix memory leak when retrying.
47892
47893 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47894
47895         * version.h (RELEASE): Bump for 2.14 release.
47896         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47897
47898         * config.make.in (RANLIB): Remove entry.
47899
47900 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47901
47902         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47903         (libc.pot): Work around missing support for .ksh extension in xgettext.
47904
47905         [BZ #12684]
47906         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47907         if both request failed.
47908         (send_dg): In case of server errors clear resplen or *resplen2.
47909
47910         [BZ #12454]
47911         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47912         when there are multiple maps.
47913         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47914         (_dl_fini): Remove test here.
47915
47916         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47917
47918 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47919
47920         [BZ #12350]
47921         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47922         bit from old_res_options.
47923         (gaih_inet): Likewise.
47924
47925         [BZ #11099]
47926         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47927         as signed.
47928
47929         * resolv/res_init.c (res_setoptions): Make the code more compact.
47930
47931         [BZ #11558]
47932         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47933         set RES_USEVC.
47934
47935         [BZ #11634]
47936         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47937
47938         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47939
47940         [BZ #11781]
47941         * malloc/malloc.h: Declare malloc hook variables as volatile.
47942
47943         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47944         in last patch.
47945
47946         [BZ #11799]
47947         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47948         raise in the comment.
47949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47951         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47952
47953 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47954
47955         [BZ #12811]
47956         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47957         grow the buffers more if it already has to be sufficient.
47958         (build_wcs_upper_buffer): Likewise.
47959         * posix/regexec.c (check_matching): Likewise.
47960         (clean_state_log_if_needed): Likewise.
47961         (extend_buffers): Don't enlarge buffers beyond size of the input
47962         buffer.
47963         Patches mostly by Emil Wojak <emil@wojak.eu>.
47964         * posix/bug-regex32.c: New file.
47965         * posix/Makefile (tests): Add bug-regex32.
47966
47967         * locale/findlocale.c (_nl_find_locale): Return right away if
47968         _nl_explode_name failed.
47969         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47970
47971         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47972
47973         * debug/xtrace.sh: Unify messages.
47974         * malloc/memusage.sh: Likewise.
47975
47976         [BZ #12813]
47977         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47978         time symbol from vDSO.  Substitute with vsyscall if not available.
47979         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47980         __vdso_time.
47981
47982         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47983         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47984         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47985         Add sendmmsg and internal_sendmmsg.
47986         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47987         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47988         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47989
47990         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47991         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47992         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47993
47994 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47995
47996         [BZ #12813]
47997         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47998         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47999         available.
48000         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48001         __vdso_getcpu.
48002
48003         [BZ #12814]
48004         * iconvdata/Makefile (tests): Add bug-iconv9.
48005         * iconvdata/bug-iconv9.c: New file.
48006
48007 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48008
48009         [BZ #12814]
48010         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48011
48012 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48013
48014         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48015         (struct user_regs_struct): Change intcs field back to cs.
48016
48017 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48018
48019         * po/ja.po: Update from translation team.
48020
48021 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48022
48023         [BZ #12795]
48024         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48025         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48026
48027 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48028
48029         * stdlib/longlong.h: Update from GCC.
48030
48031 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48032
48033         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48034         parameter name.
48035         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48036         Add parameter name.
48037         (__sysconf): Pass it down.
48038
48039 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48040
48041         [BZ #12671]
48042         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48043         some situations.
48044         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48045         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48046         add in in __libc_use_alloca calls.  Adjust callers.
48047         (glob): Use malloc in some situations.
48048
48049         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48050         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48051         pltexit.
48052
48053 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48054
48055         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48056         and CLOCK_BOOTTIME_ALARM.
48057
48058         [BZ #12782]
48059         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48060         is returned.
48061
48062         * string/_strerror.c (__strerror_r): Print negative errors as signed
48063         numbers.
48064
48065         [BZ #12777]
48066         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48067         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48068         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48069
48070         * configure.in: Fix typo in redirection and correct removal of test
48071         files in two cases.
48072
48073         [BZ #12788]
48074         * locale/setlocale.c (new_composite_name): Fix test to check for
48075         identical name of all categories.
48076
48077         [BZ #12792]
48078         * libio/filedoalloc.c (local_isatty): New function.
48079         (_IO_file_doallocate): Use local_isatty.
48080         * stdio-common/perror.c (perror): In case a new stream is used
48081         forward the stream error.
48082         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48083         error flag.
48084
48085 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48086
48087         [BZ #11869]
48088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48089         alloca.
48090         * include/alloca.h (extend_alloca_account): Define.
48091
48092         [BZ #11857]
48093         * posix/regex.h: Fix comments with documentation of user-accessible
48094         fields after compilation and describe correct free'ing of pattern
48095         after re_compile_pattern.
48096         Patch by Reuben Thomas <rrt@sc3d.org>.
48097
48098 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48099
48100         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48101         and -mno-altivec to prevent the compiler from using Altivec and/or
48102         VSX instructions when the corresponding registers are not available.
48103
48104 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48105
48106         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48107
48108 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48109
48110         * libio/freopen.c (freopen): Use __dup2, not dup2.
48111         * libio/freopen64.c (freopen64): Likewise.
48112
48113 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48114
48115         [BZ #12775]
48116         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48117         * math/Makefile (tests): Add test-powl.
48118         (CFLAGS-test-powl.c): Define.
48119         * math/test-powl.c: New file.
48120
48121 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48122
48123         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48124
48125 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48126
48127         [BZ #11837]
48128         * iconvdata/gb18030.c: Update to GB18020-2005.
48129
48130 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48131
48132         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48133         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48134         Patch by Aharon Robbins <arnold@skeeve.com>.
48135
48136         [BZ #11892]
48137         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48138         on the stack.
48139
48140         [BZ #11895]
48141         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48142         through underflows.
48143
48144         [BZ #12766]
48145         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48146         point to strings before performing equality test for error_one_per_line
48147         mode.
48148
48149         [BZ #11697]
48150         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48151
48152         [BZ #11820]
48153         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48154         (struct user_fpregs_struct): Avoid __uint*_t types.
48155
48156         [BZ #6420]
48157         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48158         symbol info.  Use it instead of calling _dl_addr locally.
48159         (lock_and_info): New function.
48160         (tr_freehook): Call lock_and_info and pass symbol info as additional
48161         parameter to tr_where.
48162         (tr_mallochook): Likewise.
48163         (tr_reallochook): Likewise.
48164         (tr_memalignhook): Likewise.
48165
48166         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48167         used and couldn't be at all thread-safe.
48168
48169 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48170
48171         * libio/freopen.c (freopen): Don't close old file descriptor
48172         before the new one is opened.  Instead dup the new file descriptor
48173         to the old one after the new stream is created.
48174         * libio/freopen64.c (freopen64): Likewise.
48175         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48176         * libio/fileops.c (_IO_new_file_close_it): Handle new
48177         _IO_FLAGS2_NOCLOSE flag.
48178         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48179         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48180         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48181         _IO_FLAGS2_NOCLOSE flag.
48182         * include/unistd.h: Add hidden_proto for dup3.
48183         Define __have_dup3.
48184         * io/dup3.c: Define hidden symbol.
48185         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48186
48187         [BZ #7101]
48188         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48189         when an incomplete long option is used.
48190         * posix/tst-getopt_long1.c: New file.
48191         * posix/Makefile (tests): Add tst-getopt_long1.
48192
48193         [BZ #10138]
48194         * scripts/config.guess: Update from autoconf-2.68.
48195         * scripts/config.sub: Likewise.
48196
48197         [BZ #10157]
48198         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48199         tests into ...
48200         (has_cpuclock): ...this.  New function.
48201         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48202         macro here based on has_cpuclock code.
48203
48204         [BZ #10149]
48205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48206         First byte (not low byte) is now always NUL.
48207         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48208
48209         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48210         Use non-cancelable interfaces.
48211
48212         [BZ #9809]
48213         * locale/iso-639.def: Add entry for Sorani.
48214
48215         [BZ #11901]
48216         * include/stdlib.h: Move include protection to the right place.
48217         Define abort_msg_s.  Declare __abort_msg with it.
48218         * stdlib/abort.c (__abort_msg): Adjust type.
48219         * assert/assert.c (__assert_fail_base): New function.  Majority
48220         of code from __assert_fail.  Allocate memory for __abort_msg with
48221         mmap.
48222         (__assert_fail): Now call __assert_fail_base.
48223         * assert/assert-perr.c: Remove bulk of implementation.  Use
48224         __assert_fail_base.
48225         * include/assert.hL Declare __assert_fail_base.
48226         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48227         mmap.
48228         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48229
48230 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48231
48232         [BZ #11952]
48233         [BZ #12453]
48234         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48235         until all modules are registered in the DTV.
48236         * elf/Makefile: Add rules to build and run tst-tls19.
48237         * elf/tst-tls19.c: New file.
48238         * elf/tst-tls19mod1.c: New file.
48239         * elf/tst-tls19mod2.c: New file.
48240         * elf/tst-tls19mod3.c: New file.
48241         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48242
48243         [BZ #12083]
48244         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48245         correctly.
48246
48247         [BZ #12601]
48248         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48249         two-byte sequence errors.
48250         * iconvdata/Makefile (tests): Add bug-iconv8.
48251         * iconvdata/bug-iconv8.c: New file.
48252
48253         [BZ #12626]
48254         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48255         buf2 definition.
48256
48257         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48258
48259         [BZ #12432]
48260         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48261         (dummy_getcfa): New function.
48262         (init): Get _Unwind_GetCFA address, use dummy if not found.
48263         (backtrace_helper): In recursion check, also check whether CFA changes.
48264         (__backtrace): Completely initialize arg.
48265
48266         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48267         storing incomplete byte sequence in state object.  Avoid testing for
48268         guaranteed too small input if we know there is enough data available.
48269
48270 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48271
48272         * Makeconfig (+link-pie): Indent.
48273         * Rules (binaries-pie): Define if $(have-fpie) and
48274         $(build-shared).
48275         (binaries-shared): Also filter out $(binaries-pie).
48276         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48277         * nscd/Makefile (others-pie): Add nscd.
48278         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48279         ($(objpfx)nscd): Remove command override.
48280         * login/Makefile (others-pie): Add pt_chown.
48281         ($(objpfx)pt_chown): Remove command override.
48282         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48283         remove command overrides.
48284
48285 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48286
48287         * libio/tst_putwc.c: Fix error messages.
48288
48289         [BZ #12724]
48290         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48291         currently writing and seek to current position when not.
48292         * libio/Makefile (tests): Add bug-fclose1.
48293         * libio/bug-fclose1.c: New file.
48294
48295 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48296
48297         [BZ #12511]
48298         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48299         don't set DF_1_NODELETE here.
48300         (do_lookup_x): When entering new entry test for copy relocation
48301         and if necessary set DF_1_NODELETE flag.
48302         * elf/tst-unique4.cc: New file.
48303         * elf/tst-unique4.h: New file.
48304         * elf/tst-unique4lib.cc: New file.
48305         * elf/Makefile: Add rules to build and run tst-unique4.
48306         Patch by Piotr Bury <pbury@goahead.com>.
48307
48308 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48309
48310         [BZ #12052]
48311         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48312
48313         [BZ #12625]
48314         * misc/mntent_r.c (addmntent): Flush the stream after the output
48315
48316         [BZ #12393]
48317         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48318         (is_trusted_path_normalize): Skip initial colon.  Append slash
48319         to empty buffer.  Duplicate is_trusted_path code but allow
48320         constructed patch to be prefix.
48321         (is_dst): Allow $ORIGIN followed by /.
48322         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48323         Correct testing of result of is_trusted_path_normalize
48324         (decompose_rpath): Fix warning.
48325
48326 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48327
48328         [BZ #11257]
48329         * grp/initgroups.c (internal_getgrouplist): When we found the service
48330         list through the initgroups entry in nsswitch.conf do not always
48331         continue on a successful lookup.  Don't always use the
48332         __nss_group_database value if it is set.
48333         * nss/nsswitch.conf (initgroups): Change action for successful db
48334         lookup to continue for compatibility.
48335
48336 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48337
48338         [BZ #11532]
48339         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48340         and CP774 modules.
48341         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48342         and CP774 modules.
48343         * iconvdata/tst-tables.sh: Likewise.
48344         * iconvdata/cp770.c: New file.
48345         * iconvdata/cp771.c: New file.
48346         * iconvdata/cp772.c: New file.
48347         * iconvdata/cp773.c: New file.
48348         * iconvdata/cp774.c: New file.
48349         * iconvdata/testdata/CP770: New file.
48350         * iconvdata/testdata/CP770..UTF8: New file.
48351         * iconvdata/testdata/CP771: New file.
48352         * iconvdata/testdata/CP771..UTF8: New file.
48353         * iconvdata/testdata/CP772: New file.
48354         * iconvdata/testdata/CP772..UTF8: New file.
48355         * iconvdata/testdata/CP773: New file.
48356         * iconvdata/testdata/CP773..UTF8: New file.
48357         * iconvdata/testdata/CP774: New file.
48358         * iconvdata/testdata/CP774..UTF8: New file.
48359
48360         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48361         END CHARMAP line.
48362         * iconvdata/gen-8bit-gap.sh: Likewise.
48363         * iconvdata/gen-8bit.sh: Likewise.
48364
48365         * locale/iso-639.def: Add ary entry.
48366
48367         [BZ #11258]
48368         * locale/C-translit.h.in: Add U20A1 transliteration.
48369
48370         [BZ #12178]
48371         * locale/iso-639.def: Add wae entry.
48372         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48373
48374         [BZ #12545]
48375         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48376         for n.
48377
48378         [BZ #12711]
48379         * locale/C-translit.h.in: Add entry for U20B9.
48380         Patch by pravin.d.s@gmail.com.
48381
48382 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48383
48384         [BZ #12713]
48385         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48386         ENAMETOOLONG use generic getcwd.
48387         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48388         in rtld.  Use *stat64.
48389         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48390         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48391         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48392         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48393         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48394         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48395         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48396         __fstatat64 macros.
48397         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48398         * dirent/rewinddir.c: Add libc_hidden_def.
48399         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48400         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48401
48402         * include/dirent.h (__alloc_dir): Add flags parameter.
48403         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48404         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48405         __alloc_dir.
48406         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48407         from fdopendir if O_CLOEXEC is already set.
48408
48409 2011-03-15  Alan Modra  <amodra@gmail.com>
48410
48411         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48412         l_tls_firstbyte_offset non-zero.  Save padding offset in
48413         l_tls_firstbyte_offset for later use.
48414         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48415         freeing static tls block.
48416
48417 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48418
48419         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48420         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48421         being defined by the kernel headers.
48422
48423 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48424
48425         [BZ #12734]
48426         * resolv/resolv.h: Define RES_NOTLDQUERY.
48427         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48428         no-tld-query and set RES_NOTLDQUERY.
48429         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48430         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48431         modern BIND to search name as TLD unless forbidden.
48432
48433 2011-05-07  Petr Baudis  <pasky@suse.cz>
48434             Ulrich Drepper  <drepper@gmail.com>
48435
48436         [BZ #12393]
48437         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48438         (is_trusted_path): ...to here.
48439         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48440         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48441         using is_trusted_path_normalize() in setuid scripts.
48442
48443 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48444
48445         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48446         __BEGIN/__END_DECLS.
48447
48448 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48449
48450         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48451         NSS_STATUS_NOTFOUND if no record was found.
48452
48453 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48454
48455         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48456         (headers-not-in-tirpc): Remove rpc/netdb.h
48457         * resolv/netdb.h: Revert last change.
48458
48459 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48460
48461         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48462         circular dependency between libgcc.a and libc.a.
48463
48464 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48465
48466         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48467         * nis/Makefile: Don't install rpcsvc/*.
48468         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48469         instead of <rpc/types.h>.
48470         (MAXHOSTNAMELEN): Define.
48471
48472 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48473
48474         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48475
48476 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48477
48478         [BZ #12714]
48479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48480         gethostbyname4_r when IPv6 results are possible.
48481
48482 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48483
48484         [BZ #12723]
48485         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48486         _PC_PIPE_BUF handling.
48487
48488 2011-04-30  Bruno Haible  <bruno@clisp.org>
48489
48490         [BZ #12717]
48491         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48492         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48493         to 'int'.
48494         * inet/getnameinfo.c (getnameinfo): Likewise.
48495
48496 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48497
48498         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48499         to groups setting in database lookup.
48500         * nss/nsswitch.conf: Add initgroups entry.
48501
48502 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48503
48504         [BZ #12685]
48505         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48506         mode string.
48507         Patch by Eric Blake <eblake@redhat.com>.
48508
48509 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48510
48511         * sunrpc/Makefile (need-export-routines): Add svc_run.
48512         (routines): Remove svc_run.
48513         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48514         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48515         * sunrpc/svc_run.c (svc_run): Likewise.
48516         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48517
48518 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48519
48520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48521         problem in reallocation in last patch.
48522
48523 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48524
48525         * sunrpc/Makefile: Move inclusion of Rules.
48526
48527 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48528
48529         * nss/nss_files/files-initgroups.c: New file.
48530         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48531         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48532         _nss_files_initgroups_dyn.
48533
48534 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48535
48536         * elf/elf.h (R_ARM_IRELATIVE): Define.
48537
48538 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * po/ru.po: Update from translation team.
48541
48542 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48543
48544         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48545         dependencies.
48546
48547 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48548
48549         [BZ #12653]
48550         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48551         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48553         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48554         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48555
48556 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48557
48558         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48559         differing bytes.
48560         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48561         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48562         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48563
48564 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48565
48566         [BZ #12420]
48567         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48568         storing it.
48569         * stdlib/bug-getcontext.c: New file.
48570         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48571
48572 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48573
48574         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48575         instructions into .machine "z9-109".
48576         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48577         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48578
48579 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48580
48581         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48582         between environment variables and auxiliary vector.
48583
48584 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48585
48586         * Makefile: Add rules to build linkobj/libc.so.
48587         * include/libc-symbols.h: Define libc_hidden_nolink.
48588         * include/rpc/auth.h: Mark functions which are to be hidden.
48589         * include/rpc/auth_des.h: Likewise.
48590         * include/rpc/auth_unix.h: Likewise.
48591         * include/rpc/clnt.h: Likewise.
48592         * include/rpc/des_crypt.h: Likewise.
48593         * include/rpc/key_prot.h: Likewise.
48594         * include/rpc/pmap_clnt.h: Likewise.
48595         * include/rpc/pmap_prot.h: Likewise.
48596         * include/rpc/pmap_rmt.h: Likewise.
48597         * include/rpc/rpc_msg.h: Likewise.
48598         * include/rpc/svc.h: Likewise.
48599         * include/rpc/svc_auth.h: Likewise.
48600         * include/rpc/xdr.h: Likewise.
48601         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48602         * nss/Makefile: Likewise.
48603         * sunrpc/Makefile: Don't install headers.  Build library with normal
48604         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48605         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48606         for the compat linking library.  Remove use of INTDEF/INTUSE.
48607         * sunrpc/auth_none.c: Likewise.
48608         * sunrpc/auth_unix.c: Likewise.
48609         * sunrpc/authdes_prot.c: Likewise.
48610         * sunrpc/authuxprot.c: Likewise.
48611         * sunrpc/clnt_gen.c: Likewise.
48612         * sunrpc/clnt_perr.c: Likewise.
48613         * sunrpc/clnt_raw.c: Likewise.
48614         * sunrpc/clnt_simp.c: Likewise.
48615         * sunrpc/clnt_tcp.c: Likewise.
48616         * sunrpc/clnt_udp.c: Likewise.
48617         * sunrpc/clnt_unix.c: Likewise.
48618         * sunrpc/des_crypt.c: Likewise.
48619         * sunrpc/des_soft.c: Likewise.
48620         * sunrpc/get_myaddr.c: Likewise.
48621         * sunrpc/key_call.c: Likewise.
48622         * sunrpc/key_prot.c: Likewise.
48623         * sunrpc/netname.c: Likewise.
48624         * sunrpc/pm_getmaps.c: Likewise.
48625         * sunrpc/pm_getport.c: Likewise.
48626         * sunrpc/pmap_clnt.c: Likewise.
48627         * sunrpc/pmap_prot.c: Likewise.
48628         * sunrpc/pmap_prot2.c: Likewise.
48629         * sunrpc/pmap_rmt.c: Likewise.
48630         * sunrpc/publickey.c: Likewise.
48631         * sunrpc/rpc_cmsg.c: Likewise.
48632         * sunrpc/rpc_common.c: Likewise.
48633         * sunrpc/rpc_dtable.c: Likewise.
48634         * sunrpc/rpc_prot.c: Likewise.
48635         * sunrpc/rpc_thread.c: Likewise.
48636         * sunrpc/rtime.c: Likewise.
48637         * sunrpc/svc.c: Likewise.
48638         * sunrpc/svc_auth.c: Likewise.
48639         * sunrpc/svc_authux.c: Likewise.
48640         * sunrpc/svc_raw.c: Likewise.
48641         * sunrpc/svc_run.c: Likewise.
48642         * sunrpc/svc_simple.c: Likewise.
48643         * sunrpc/svc_tcp.c: Likewise.
48644         * sunrpc/svc_udp.c: Likewise.
48645         * sunrpc/svc_unix.c: Likewise.
48646         * sunrpc/svcauth_des.c: Likewise.
48647         * sunrpc/xcrypt.c: Likewise.
48648         * sunrpc/xdr.c: Likewise.
48649         * sunrpc/xdr_array.c: Likewise.
48650         * sunrpc/xdr_float.c: Likewise.
48651         * sunrpc/xdr_intXX_t.c: Likewise.
48652         * sunrpc/xdr_mem.c: Likewise.
48653         * sunrpc/xdr_rec.c: Likewise.
48654         * sunrpc/xdr_ref.c: Likewise.
48655         * sunrpc/xdr_sizeof.c: Likewise.
48656         * sunrpc/xdr_stdio.c: Likewise.
48657
48658 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48659
48660         [BZ #12650]
48661         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48662         * sysdeps/ia64/dl-tls.h: Likewise.
48663         * sysdeps/powerpc/dl-tls.h: Likewise.
48664         * sysdeps/s390/dl-tls.h: Likewise.
48665         * sysdeps/sh/dl-tls.h: Likewise.
48666         * sysdeps/sparc/dl-tls.h: Likewise.
48667         * sysdeps/x86_64/dl-tls.h: Likewise.
48668         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48669
48670 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48671
48672         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48673         rpath element also skip the following colon.
48674         (expand_dynamic_string_token): Add is_path parameter and pass
48675         down to DL_DST_REQUIRED and _dl_dst_substitute.
48676         (decompose_rpath): Call expand_dynamic_string_token with
48677         non-zero is_path.  Ignore empty rpaths.
48678         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48679         with zero is_path.
48680
48681 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48682
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48684         Make cancelable.
48685
48686 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48687
48688         [BZ #12655]
48689         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48690         Patch by Filipe David Manana <fdmanana@apache.org>.
48691
48692 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48693
48694         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48695         Maintain aligned stack.
48696         (CHECK_RSP): Remove unused macro.
48697
48698 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48699
48700         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48701         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48702
48703 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48704
48705         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48706
48707         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48708
48709 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48710
48711         [BZ #12518]
48712         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48713         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48714         * sysdeps/x86_64/memmove.c: New file.
48715         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48716         (memcpy): Renamed to ...
48717         (__new_memcpy): This.
48718         (memcpy): Provide GLIBC_2_14 memcpy.
48719         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48720         (memcpy): Provide GLIBC_2_2_5 memcpy.
48721
48722 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48723
48724         [BZ #12631]
48725         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48726
48727 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48728
48729         * misc/syncfs.c: New file.
48730         * misc/Makefile (routines): Add syncfs.
48731         * posix/unistd.h: Declare syncfs.
48732         * sysdeps/unix/syscalls.list: Add syncfs.
48733
48734 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48735
48736         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48737         open_by_handle_at.
48738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48741         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48743         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48745
48746 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48747
48748         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48749         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48750         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48752         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48755
48756         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48757         sync_file_range.c with -fexceptions.
48758         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48759         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48760         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48761         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48762         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48763         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48765         sync_file_range as cancellation point
48766         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48767         now a wrapper around __call_sync_file_range with cancellation handling.
48768         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48769         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48770         function name to __call_sync_file_range.
48771         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48772         Add call_sync_file_range.
48773
48774 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48775
48776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48777         bits/timex.h.
48778
48779 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48780
48781         * iconv/iconv.h: Fix typo in comment.
48782         * io/fcntl.h: Likewise.
48783         * libio/stdio.h: Likewise.
48784         * posix/spawn.h: Likewise.
48785         * posix/unistd.h: Likewise.
48786         * stdlib/stdlib.h: Likewise.
48787         * time/time.h: Likewise.
48788         * wcsmbs/wchar.h: Likewise.
48789
48790         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48791         open_by_handle): Add.
48792         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48793         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48794         Augment a few comments.
48795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48796         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48797         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48799         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48800         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48801         open_by_handle.
48802
48803         * io/fcntl.h (AT_EMPTY_PATH): Define.
48804
48805 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48806
48807         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48808         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48809         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48810         to...
48811         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48812         * Versions.def: Add GLIBC_2.14.
48813         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48814         Export.
48815
48816 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48817
48818         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48819         round counter.
48820         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48821
48822 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48823
48824         [BZ #12597]
48825         * string/test-strncmp.c (do_page_test): New function.
48826         (check2): Likewise.
48827         (test_main): Call check2.
48828         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48829
48830 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48831
48832         [BZ #12587]
48833         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48834         Handle cache information in CPU leaf 4.
48835         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48836
48837 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48838
48839         [BZ #12583]
48840         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48841         character representation.
48842         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48843
48844 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48845
48846         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48847         END(__isnan) to END(__isnanf) to match function entry point/label
48848         EALIGN(__isnanf,...).
48849
48850 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48851
48852         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48853
48854 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48855
48856         [BZ #12510]
48857         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48858         copy from the symbol referenced in the relocation to initialize the
48859         used variable.
48860         Patch by Piotr Bury <pbury@goahead.com>.
48861         * elf/Makefile: Add rules to build and tst-unique3.
48862         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48863         * elf/tst-unique3.cc: New file.
48864         * elf/tst-unique3.h: New file.
48865         * elf/tst-unique3lib.cc: New file.
48866         * elf/tst-unique3lib2.cc: New file.
48867
48868         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48869
48870 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48871
48872         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48873         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48874         to _start.
48875
48876 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48877
48878         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48879         to-be-loaded object along a path to loader is ld.so.
48880
48881 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48882             Ulrich Drepper  <drepper@gmail.com>
48883
48884         * sysdeps/x86_64/memset.S: After aligning destination, code
48885         branches to different locations depending on the value of
48886         misalignment, when multiarch is enabled. Fix this.
48887
48888 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48889
48890         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48891         Set _x86_64_preferred_memory_instruction for AMD processsors.
48892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48893         Set bit_Prefer_SSE_for_memop for AMD processors.
48894
48895 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48896
48897         * libio/fmemopen.c (fmemopen): Optimize a bit.
48898
48899 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48900
48901         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48902
48903 2011-03-03  Roland McGrath  <roland@redhat.com>
48904
48905         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48906
48907 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48908
48909         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48910         __bzero_ultra1 instead of __memset_ultra1.
48911
48912 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48913             Ulrich Drepper  <drepper@gmail.com>
48914
48915         [BZ #12509]
48916         * include/link.h (struct link_map): Add l_orig_initfini.
48917         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48918         returning unsuccessfully.
48919         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48920         close of a file loaded at startup, restore the original l_initfini
48921         list.
48922         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48923         list, store the pointer.
48924         * elf/Makefile ($(objpfx)noload-mem): New rule.
48925         (noload-ENV): Define.
48926         (tests): Add $(objpfx)noload-mem.
48927         * elf/noload.c: Include <memcheck.h>.
48928         (main): Call mtrace.  Close all opened handles.
48929
48930 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48931
48932         [BZ #12454]
48933         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48934         dependencies are missing.
48935
48936 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48937
48938         Fix __if_freereq crash: Unlike the generic version which uses free,
48939         Hurd needs munmap.
48940         * sysdeps/mach/hurd/ifreq.h: New file.
48941
48942 2011-01-27  Petr Baudis  <pasky@suse.cz>
48943             Ulrich Drepper  <drepper@gmail.com>
48944
48945         [BZ 12445]#
48946         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48947         to extend_alloca().
48948         * stdio-common/bug23.c: New file.
48949         * stdio-common/Makefile (tests): Add bug23.
48950
48951 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48952             Ulrich Drepper  <drepper@gmail.com>
48953
48954         [BZ #12489]
48955         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48956         before performing relro protection.  At old place add assertion
48957         to make sure nothing changed.
48958
48959 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48960             Glauber de Oliveira Costa  <glommer@gmail.com>
48961
48962         * elf/elf.h: Add new ARM TLS relocs.
48963
48964 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48965
48966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48967         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48968         cast from r3.
48969         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48970         'tests' variable.
48971         * sysdeps/wordsize-64/tst-writev.c: New file.
48972
48973 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48974
48975         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48976         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48977         insns in _dl_start to prevent a TOC reference before relocs are
48978         resolved.
48979
48980 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48981
48982         [BZ #12469]
48983         * Makeconfig: Remove RANLIB definition.
48984         * Makerules: Don't use RANLIB.
48985         * aclocal.m4: Remove ranlib test.
48986         * configure.in: No need to check for ranlib.
48987         * elf/rtld-Rules: Don't use RANLIB.
48988
48989 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48990
48991         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48992         protection macro.
48993         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48994         inclusion protection macro.
48995
48996         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48997         SIGRTMIN and SIGRTMAX and print information in that case only when
48998         SIGRTMIN is defined.
48999
49000 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49001
49002         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49003         arginfo fn returning -1.
49004
49005         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49006         and thousands string is zero terminated.
49007
49008 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49009
49010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49011         sysdeps/unix/sysv/linux/bits/socket.h.
49012
49013 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49014
49015         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49016         (__CPU_COUNT): Remove old macros.
49017         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49018         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49019         (__CPU_ALLOC, __CPU_FREE): Add macros.
49020         (__sched_cpualloc, __sched_cpufree): Add declarations.
49021
49022 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49023
49024         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49025         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49026         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49027         (readdhstai): Return value of addhstaiX call.
49028         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49029         (addgrbyX): Return value returned by cache_addgr.
49030         (readdgrbyname): Return value returned by addgrbyX.
49031         (readdgrbygid): Likewise.
49032         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49033         (addpwbyX): Return value returned by cache_addpw.
49034         (readdpwbyname): Return value returned by addhstbyX.
49035         (readdpwbyuid): Likewise.
49036         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49037         (addservbyX): Return value returned by cache_addserv.
49038         (readdservbyname): Return value returned by addservbyX:
49039         (readdservbyport): Likewise.
49040         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49041         (addhstbyX): Return value returned by cache_addhst.
49042         (readdhstbyname): Return value returned by addhstbyX.
49043         (readdhstbyaddr): Likewise.
49044         (readdhstbynamev6): Likewise.
49045         (readdhstbyaddrv6): Likewise.
49046         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49047         (readdinitgroups): Return value returned by addinitgroupsX.
49048         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49049         (prune_cache): Keep track of timeout value of re-added entries.
49050         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49051         * nscd/nscd.h: Adjust prototypes of readd* functions.
49052
49053 2011-02-04  Roland McGrath  <roland@redhat.com>
49054
49055         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49056         (nis_stats): Likewise.
49057         * nis/nis_modify.c (nis_modify): Likewise.
49058         * nis/nis_remove.c (nis_remove): Likewise.
49059         * nis/nis_add.c (nis_add): Likewise.
49060
49061         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49062
49063         * posix/fnmatch_loop.c: Add some consts.
49064
49065         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49066
49067 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49068
49069         [BZ #12460]
49070         * config.make.in (config-cflags-novzeroupper): Define.
49071         * configure.in: Substitute libc_cv_cc_novzeroupper.
49072         * elf/Makefile (AVX-CFLAGS): Define.
49073         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49074         (CFLAGS-tst-auditmod4a.c): Likewise.
49075         (CFLAGS-tst-auditmod4b.c): Likewise.
49076         (CFLAGS-tst-auditmod6b.c): Likewise.
49077         (CFLAGS-tst-auditmod6c.c): Likewise.
49078         (CFLAGS-tst-auditmod7b.c): Likewise.
49079         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49080
49081 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49082
49083         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49084         function to the callback.
49085         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49086
49087 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49088
49089         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49090         of errno.
49091
49092 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49093
49094         [BZ #11724]
49095         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49096         of constructors.
49097         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49098         of destructors.
49099         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49100
49101         [BZ #11724]
49102         * elf/Makefile: Add rules to build and run new test.
49103         * elf/tst-initorder.c: New file.
49104         * elf/tst-initorder.exp: New file.
49105         * elf/tst-initordera1.c: New file.
49106         * elf/tst-initordera2.c: New file.
49107         * elf/tst-initordera3.c: New file.
49108         * elf/tst-initordera4.c: New file.
49109         * elf/tst-initorderb1.c: New file.
49110         * elf/tst-initorderb2.c: New file.
49111         * elf/tst-order-a1.c: New file.
49112         * elf/tst-order-a2.c: New file.
49113         * elf/tst-order-a3.c: New file.
49114         * elf/tst-order-a4.c: New file.
49115         * elf/tst-order-b1.c: New file.
49116         * elf/tst-order-b2.c: New file.
49117         * elf/tst-order-main.c: New file.
49118         New test case by George Gensure <werkt0@gmail.com>.
49119
49120 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49121
49122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49123         decoding ACE if AI_CANONIDN.
49124
49125 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49126
49127         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49128
49129 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49130
49131         * version.h (RELEASE): Bump for 2.13 release.
49132         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49133
49134         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49135
49136         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49137         MADV_NOHUGEPAGE.
49138         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49140         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49141         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49142         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49143         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49144
49145         * posix/getconf.c: Update copyright year.
49146         * catgets/gencat.c: Likewise.
49147         * csu/version.c: Likewise.
49148         * debug/catchsegv.sh: Likewise.
49149         * debug/xtrace.sh: Likewise.
49150         * elf/ldconfig.c: Likewise.
49151         * elf/ldd.bash.in: Likewise.
49152         * elf/sprof.c (print_version): Likewise.
49153         * iconv/iconv_prog.c: Likewise.
49154         * iconv/iconvconfig.c: Likewise.
49155         * locale/programs/locale.c: Likewise.
49156         * locale/programs/localedef.c: Likewise.
49157         * malloc/memusage.sh: Likewise.
49158         * malloc/mtrace.pl: Likewise.
49159         * nscd/nscd.c (print_version): Likewise.
49160         * nss/getent.c: Likewise.
49161
49162         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49163         PF_CAIF, and PF_ALG.
49164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49165
49166 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49167
49168         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49169         (modules-names): Use them.
49170         (ifunc-test-modules, ifunc-pie-tests): Define.
49171         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49172         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49173         (test-extras): Likewise.
49174         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49175         $(compile-command.c).
49176         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49177         (all-built-dso): Define.
49178         (check-textrel.out, check-execstack.out): Depend on it.
49179
49180         * configure.in: Don't override --enable-multi-arch.
49181
49182 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49183
49184         [BZ #6812]
49185         * nscd/hstcache.c (tryagain): Define.
49186         (cache_addhst): Return tryagain not notfound for temporary errors.
49187         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49188         failed.
49189
49190 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49191
49192         [BZ #10563]
49193         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49194         to make the syscall.
49195         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49196
49197         [BZ #12378]
49198         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49199         and fall back to matching as normal character if the string ends before
49200         the matching ']' is found.  This is what POSIX requires.
49201         * posix/testfnm.c: Adjust test result.
49202         * posix/globtest.sh: Adjust test result.  Add new test.
49203         * posix/tst-fnmatch.input: Likewise.
49204         * posix/tst-fnmatch2.c: Add new test.
49205
49206 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49207
49208         * elf/Makefile (check-execstack): Revert last change.  Depend on
49209         check-execstack.h.
49210         (check-execstack.h): New target.
49211         (generated): Add check-execstack.h.
49212         * elf/check-execstack.c: Include "check-execstack.h".
49213         (main): Revert last change.
49214         (handle_file): Return zero if GNU_STACK is absent and
49215         DEFAULT_STACK_PERMS doesn't include PF_X.
49216
49217 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49218
49219         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49220         in child fails because the descriptor is already closed.
49221         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49222         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49223         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49224
49225         [BZ #12397]
49226         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49227         syscall.
49228
49229         [BZ #10484]
49230         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49231         temporary buffer used to handle multi lookups locally.
49232         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49233
49234 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49235
49236         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49237         loader is ld.so.
49238
49239 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49240
49241         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49242         alignment for SSE2.
49243
49244 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49245
49246         [BZ #12394]
49247         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49248         characters.  When rounding increased number of integer digits recompute
49249         number of groups.
49250         * stdio-common/tst-grouping.c: New file.
49251         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49252
49253 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49254
49255         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49256         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49257
49258         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49259         void.
49260         * bits/select.h: Likewise.
49261
49262 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49263
49264         * po/ja.po: Update from translation team.
49265
49266 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49267
49268         [BZ #11155]
49269         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49270         implementation just like for lxstat, fxstatat, et al.
49271
49272 2010-12-27  Jim Meyering  <meyering@redhat.com>
49273
49274         [BZ #12348]
49275         * posix/regexec.c (build_trtable): Return failure indication upon
49276         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49277
49278 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49279
49280         [BZ #12201]
49281         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49282         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49283         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49284         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49285
49286         [BZ #12207]
49287         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49288
49289         [BZ #12204]
49290         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49291         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49292
49293 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49294
49295         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49296         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49297         script has SORT_BY_INIT_PRIORITY.
49298         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49299         NO_CTORS_DTORS_SECTIONS is defined.
49300         * elf/soinit.c: Likewise.
49301         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49302         NO_CTORS_DTORS_SECTIONS is defined.
49303         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49304         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49305         * sysdeps/sh/init-first.c: Likewise.
49306         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49307
49308 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49309
49310         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49311         always use the slow path.
49312
49313 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49314
49315         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49316         similar rule which adds the sysdep directories to the header search in
49317         order to pick up the correct platform stackinfo.h.
49318         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49319         perform test if it is, otherwise return successfully without testing.
49320         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49321         DEFAULT_STACK_PERMS define in stackinfo.h.
49322         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49323         defined in stackinfo.h.
49324         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49325         DEFAULT_STACK_PERMS defined in stackinfo.h.
49326         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49327         * sysdeps/ia64/stackinfo.h: Likewise.
49328         * sysdeps/s390/stackinfo.h: Likewise.
49329         * sysdeps/sh/stackinfo.h: Likewise.
49330         * sysdeps/sparc/stackinfo.h: Likewise.
49331         * sysdeps/x86_64/stackinfo.h: Likewise.
49332         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49333         PF_X for powerpc64.  Retain PF_X for powerpc32.
49334
49335 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49336
49337         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49338         accurately.
49339         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49340         GETDENTS_64BIT_ALIGNED.
49341
49342 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49343
49344         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49345
49346 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49347
49348         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49349         _GNU_SOURCE.
49350
49351         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49352         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49353         Remove __restrict.
49354         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49355         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49356
49357 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49358
49359         [BZ #11655]
49360         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49361         are initialized.
49362
49363 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49364
49365         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49366
49367 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49368
49369         * po/it.po: Update from translation team.
49370
49371 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49372
49373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49374         unused codes.
49375
49376 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49377
49378         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49379
49380 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49381
49382         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49383         specially.
49384         (gaih_getanswer_slice): Likewise.
49385
49386 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49387
49388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49389
49390 2010-05-31  Petr Baudis  <pasky@suse.cz>
49391
49392         [BZ #11149]
49393         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49394         silently even in the chroot mode.
49395
49396 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49397
49398         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49399         last patch a bit.  Pretty printing
49400
49401 2010-05-31  Petr Baudis <pasky@suse.cz>
49402
49403         [BZ #10085]
49404         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49405         initialization of skip_initgroups_dyn.
49406
49407 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49408
49409         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49411
49412 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49413
49414         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49415
49416 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49417
49418         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49419         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49420         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49421         ($(objpfx)tst-fnmatch-mem): New rule.
49422         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49423         * posix/tst-fnmatch.c (main): Call mtrace.
49424
49425 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49426
49427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49428         Support Intel processor model 6 and model 0x2c.
49429
49430 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49431
49432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49433           signed comparison.
49434
49435 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49436
49437         [BZ #12205]
49438         * string/test-strncasecmp.c (check_result): New function.
49439         (do_one_test): Use it.
49440         (check1): New function.
49441         (test_main): Use it.
49442         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49443         Support strcasecmp and strncasecmp.
49444
49445 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49446
49447         [BZ #12194]
49448         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49449         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49450
49451 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49452
49453         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49454         IFUNC support.
49455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49456         memset-x86-64.
49457         * sysdeps/x86_64/multiarch/bzero.S: New file.
49458         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49459         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49460         * sysdeps/x86_64/multiarch/memset.S: New file.
49461         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49463         Set bit_Prefer_SSE_for_memop for Intel processors.
49464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49465         Define.
49466         (index_Prefer_SSE_for_memop): Define.
49467         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49468
49469 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49470
49471         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49472         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49473
49474 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49475
49476         [BZ #12191]
49477         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49478         (__x86_64_raw_data_cache_size_half): Likewise.
49479         (__x86_64_raw_shared_cache_size): Likewise.
49480         (__x86_64_raw_shared_cache_size_half): Likewise.
49481
49482         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49483         (__x86_64_raw_data_cache_size_half): Likewise.
49484         (__x86_64_raw_shared_cache_size): Likewise.
49485         (__x86_64_raw_shared_cache_size_half): Likewise.
49486         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49487         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49488         and __x86_64_raw_shared_cache_size_half.  Round
49489         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49490         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49491         to multiple of 256 bytes.
49492
49493 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49494
49495         [BZ #12167]
49496         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49497         of inacessible symlinks.  Verify result of symlink before returning it.
49498         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49499         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49500
49501 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49502
49503         * math/math.h (isinf): Fix typo in comment.
49504
49505 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49506
49507         * po/da.po: Update from translation team.
49508
49509 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49510
49511         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49512         is added to the list.
49513
49514 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49515             Ulrich Drepper  <drepper@gmail.com>
49516
49517         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49518         the global list here.  Move code to...
49519         (_dl_add_to_namespace_list): ...here.  New function.
49520         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49521         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49522         * elf/dl-load.c (lose): Don't remove the element from the list.
49523         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49524         (_dl_map_object): Likewise.
49525
49526 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49527
49528         [BZ #12159]
49529         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49530         into all bytes of SSE register.
49531         Patch by Richard Li <richardpku@gmail.com>.
49532
49533 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49534
49535         [BZ #12140]
49536         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49537         perturbing.
49538
49539 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49540
49541         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49542         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49543         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49544         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49546         submachine.
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49548
49549 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49550
49551         * include/dlfcn.h (__RTLD_SECURE): Define.
49552         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49553         mode & __RTLD_SECURE instead.
49554         (open_path): Rename preloaded parameter to secure.
49555         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49556         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49557         * elf/dl-deps.c (openaux): Likewise.
49558         * elf/rtld.c (struct map_args): Remove is_preloaded.
49559         (map_doit): Don't use it.
49560         (dl_main): Likewise.
49561         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49562         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49563
49564 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49565
49566         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49567         (sysd-rules-targets): Remove duplicates.
49568         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49569         rtld-%.$o dependency.
49570
49571 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49572
49573         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49574         _dl_map_object do it.
49575
49576 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49577
49578         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49579         fast fma builtins, define the macros in the C99 standard.
49580         (FP_FAST_FMAF): Likewise.
49581         (FP_FAST_FMAL): Likewise.
49582         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49583
49584         * bits/mathdef.h: Update copyright year.
49585         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49586
49587 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49588
49589         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49590         builtins, define the macros in the C99 standard.
49591         (FP_FAST_FMAF): Likewise.
49592         (FP_FAST_FMAL): Likewise.
49593         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49594         multiply/add.
49595         (FP_FAST_FMAF): Likewise.
49596
49597 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49598
49599         [BZ #3268]
49600         * math/libm-test.inc (fma_test): Some new testcases.
49601         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49602         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49603         y and infinite z.  Do multiplication by C already in long double.
49604         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49606         y and infinite z.  Do bitwise or of inexact bit into u.d.
49607         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49608         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49609         * sysdeps/i386/fpu/s_fma.S: Removed.
49610         * sysdeps/i386/fpu/s_fmal.S: Removed.
49611
49612 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49613
49614         [BZ #3268]
49615         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49616         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49617         computation is not scheduled after fetestexcept.  Fix value
49618         of minimum denormal long double.
49619
49620 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49621
49622         [BZ #3268]
49623         * math/libm-test.inc (fma_test): Add some more tests.
49624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49625         correctly.
49626
49627 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49628
49629         * scripts/data/localplt-s390-linux-gnu.data: New file.
49630         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49631
49632 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49633
49634         [BZ #3268]
49635         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49636         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49637         instead of dbl-64.
49638         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49639         inlines.
49640         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49642         if one of x and y is very large and the other is subnormal.
49643         * sysdeps/s390/fpu/s_fmaf.c: New file.
49644         * sysdeps/s390/fpu/s_fma.c: New file.
49645         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49646         * sysdeps/powerpc/fpu/s_fma.S: New file.
49647         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49648         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49649         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49650
49651 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49652
49653         [BZ #3268]
49654         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49655         fma tests.
49656         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49657         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49658         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49659         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49660         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49661         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49663
49664 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49665
49666         [BZ #12078]
49667         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49668         * posix/bug-regex31.input: Add test case.
49669
49670 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49671
49672         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49673         * posix/bug-regex31.input: New file.
49674
49675         [BZ #12078]
49676         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49677         (parse_sub_exp): Fix last change, use postorder.
49678
49679         * posix/bug-regex31.c: New file.
49680         * posix/Makefile: Add rules to build and run bug-regex31.
49681
49682         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49683
49684         [BZ #12078]
49685         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49686
49687         [BZ #12108]
49688         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49689         to have entries in sys_siglist.
49690
49691         [BZ #12093]
49692         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49693         be NULL.
49694
49695 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49696
49697         [BZ #3268]
49698         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49699         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49700         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49701         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49702         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49703         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49704         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49705         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49706         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49707         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49708         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49709         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49710         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49711         * math/ftestexcept.c (fetestexcept): Likewise.
49712         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49713         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49714         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49716         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49717         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49718         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49719
49720 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49721
49722         [BZ #12107]
49723         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49724         newline.
49725
49726 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49727
49728         * string/bug-strstr1.c: New file.
49729         * string/Makefile: Add rules to build and run bug-strstr1.
49730
49731 2010-10-05  Eric Blake  <eblake@redhat.com>
49732
49733         [BZ #12092]
49734         * string/str-two-way.h (two_way_long_needle): Always clear memory
49735         when skipping input due to the shift table.
49736
49737 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49738
49739         [BZ #12005]
49740         * malloc/mcheck.c: Handle large requests.
49741
49742         [BZ #12077]
49743         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49744         for strncmp and strncasecmp.
49745         * string/stratcliff.c: Add tests for strcmp and strncmp.
49746         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49747
49748 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49749
49750         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49751         __set_fpscr.
49752
49753 2010-09-30  Andreas Jaeger  <aj@suse.de>
49754
49755         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49756         (CGROUP_SUPER_MAGIC): Define.
49757         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49758         Handle btrfs and cgroup file systems.
49759         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49760         Likewise.
49761
49762 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49763
49764         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49765         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49766
49767 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49768
49769         [BZ #12067]
49770         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49771         trying to locate the ELF header.
49772
49773 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49774
49775         [BZ #11611]
49776         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49777         Mask out sign-bit copies when constructing f_fsid.
49778
49779 2010-09-24  Petr Baudis <pasky@suse.cz>
49780
49781         * debug/stack_chk_fail_local.c: Add missing licence exception.
49782         * debug/warning-nop.c: Likewise.
49783
49784 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49785
49786         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49787         implementing getdents64 using getdents syscall, set d_type if
49788         __ASSUME_GETDENTS32_D_TYPE.
49789
49790 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49791
49792         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49793         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49794
49795 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49796
49797         [BZ #12037]
49798         * posix/unistd.h: Undo change of feature selection for ftruncate from
49799         2010-01-11.
49800
49801 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49802
49803         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49804         detection.
49805
49806 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49807
49808         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49809         fanotify_mark.
49810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49811
49812 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49813
49814         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49815         variables after CHECK_SP call.
49816         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49817
49818 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49819             Ulrich Drepper  <drepper@redhat.com>
49820
49821         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49822         re-relocationg ld.so.
49823         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49824         _dl_init_paths call.
49825         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49826         here anymore.
49827
49828 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49829
49830         * resolv/res_init.c (__res_vinit): Count the default server we added.
49831
49832 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49833             Ulrich Drepper  <drepper@redhat.com>
49834
49835         [BZ #11968]
49836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49837         (____longjmp_chk): Use %ebx for saving value across system call.
49838         Add unwind info.
49839
49840 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49841
49842         * manual/Makefile: Don't mix pattern rules with normal rules.
49843
49844 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49845
49846         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49847         operation.
49848         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49849         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49850         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49851         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49853         Likewise.
49854
49855 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49856
49857         [BZ #11979]
49858         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49859         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49860
49861 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49862
49863         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49864         * sysdeps/x86_64/addmul_1.S: Likewise.
49865         * sysdeps/x86_64/lshift.S: Likewise.
49866         * sysdeps/x86_64/mul_1.S: Likewise.
49867         * sysdeps/x86_64/rshift.S: Likewise.
49868         * sysdeps/x86_64/sub_n.S: Likewise.
49869         * sysdeps/x86_64/submul_1.S: Likewise.
49870
49871 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49872
49873         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49874         Define __sched_param instead of SCHED_* and sched_param when
49875         <bits/sched.h> is included with __need_schedparam defined.
49876         * bits/sched.h [__need_schedparam]
49877         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49878         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49879         (__defined_schedparam): Define to 1.
49880         (__sched_param): New structure, identical to sched_param.
49881         (__need_schedparam): Undefine.
49882
49883 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49884
49885         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49886         (epoll_create1): Declare.
49887
49888         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49889
49890 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49891
49892         [BZ #7066]
49893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49894         shifting retval into place.
49895
49896 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49897
49898         * nis/rpcsvc/nis.h: Update copyright notice.
49899         * nis/rpcsvc/nis.x: Likewise.
49900         * nis/rpcsvc/nis_callback.h: Likewise.
49901         * nis/rpcsvc/nis_callback.x: Likewise.
49902         * nis/rpcsvc/nis_object.x: Likewise.
49903         * nis/rpcsvc/nis_tags.h: Likewise.
49904         * nis/rpcsvc/yp.h: Likewise.
49905         * nis/rpcsvc/yp.x: Likewise.
49906         * nis/rpcsvc/ypupd.h: Likewise.
49907         * nis/yp_xdr.c: Likewise.
49908         * nis/ypupdate_xdr.c: Likewise.
49909
49910         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49911         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49912         (pmap_getport): Use __libc_rpc_getport.
49913         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49914         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49915         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49916
49917 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49918
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49920         fanotify_mark.
49921
49922 2010-08-27  Roland McGrath  <roland@redhat.com>
49923
49924         * sysdeps/i386/i686/multiarch/Makefile
49925         (CFLAGS-varshift.c): New variable.
49926
49927 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49928
49929         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49930         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49931
49932         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49933
49934         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49935
49936 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49937
49938         * sysdeps/x86_64/strlen.S: Unroll the loop.
49939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49940         strlen-sse2 strlen-sse2-bsf.
49941         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49942         __strlen_no_bsf if bit_Slow_BSF is set.
49943         (__strlen_sse42): Removed.
49944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49945         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49946
49947 2010-08-25  Roland McGrath  <roland@redhat.com>
49948
49949         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49950         * sysdeps/x86_64/multiarch/varshift.c: New file.
49951         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49952         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49953         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49954         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49955
49956 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49957
49958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49959         strlen-sse2 strlen-sse2-bsf.
49960         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49961         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49962         (__strlen_sse2): Removed.
49963         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49964         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49966         bit_Slow_BSF for Atom.
49967         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49968         (index_Slow_BSF): Define.
49969         (HAS_SLOW_BSF): Define.
49970
49971 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49972
49973         [BZ #10851]
49974         * resolv/res_init.c (__res_vinit): When no server address at all
49975         is given default to loopback.
49976
49977 2010-08-24  Roland McGrath  <roland@redhat.com>
49978
49979         * configure.in: Remove config-name.h generation.
49980         * configure: Regenerated.
49981         * config-name.in: File removed.
49982         * scripts/config-uname.sh: New file.
49983         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49984         ($(objdir)config-name.h): New target.
49985
49986         * sunrpc/rpc_parse.h: Avoid nested comment.
49987
49988 2010-08-24  Richard Henderson  <rth@redhat.com>
49989             Ulrich Drepper  <drepper@redhat.com>
49990             H.J. Lu  <hongjiu.lu@intel.com>
49991
49992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49994         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49995         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49996         _mm_alignr_epi8 with _mm_loadu_si128.
49997         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49998         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49999         (__m128i_shift_right): Removed.
50000         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50001         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50002         * sysdeps/x86_64/multiarch/varshift.h: New file.
50003         * sysdeps/x86_64/multiarch/varshift.S: New file.
50004
50005 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50006
50007         * configure.in: Move assembler checks to before sysdep dir checking.
50008
50009 2010-08-20  Petr Baudis  <pasky@suse.cz>
50010
50011         * LICENSES: Sync the sunrpc license.
50012
50013 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50014
50015         * sunrpc/auth_des.c: Update copyright notice once again.
50016         * sunrpc/auth_none.c: Likewise.
50017         * sunrpc/auth_unix.c: Likewise.
50018         * sunrpc/authdes_prot.c: Likewise.
50019         * sunrpc/authuxprot.c: Likewise.
50020         * sunrpc/bindrsvprt.c: Likewise.
50021         * sunrpc/clnt_gen.c: Likewise.
50022         * sunrpc/clnt_perr.c: Likewise.
50023         * sunrpc/clnt_raw.c: Likewise.
50024         * sunrpc/clnt_simp.c: Likewise.
50025         * sunrpc/clnt_tcp.c: Likewise.
50026         * sunrpc/clnt_udp.c: Likewise.
50027         * sunrpc/clnt_unix.c: Likewise.
50028         * sunrpc/des_crypt.c: Likewise.
50029         * sunrpc/des_soft.c: Likewise.
50030         * sunrpc/get_myaddr.c: Likewise.
50031         * sunrpc/getrpcport.c: Likewise.
50032         * sunrpc/key_call.c: Likewise.
50033         * sunrpc/key_prot.c: Likewise.
50034         * sunrpc/openchild.c: Likewise.
50035         * sunrpc/pm_getmaps.c: Likewise.
50036         * sunrpc/pm_getport.c: Likewise.
50037         * sunrpc/pmap_clnt.c: Likewise.
50038         * sunrpc/pmap_prot.c: Likewise.
50039         * sunrpc/pmap_prot2.c: Likewise.
50040         * sunrpc/pmap_rmt.c: Likewise.
50041         * sunrpc/rpc/auth.h: Likewise.
50042         * sunrpc/rpc/auth_unix.h: Likewise.
50043         * sunrpc/rpc/clnt.h: Likewise.
50044         * sunrpc/rpc/des_crypt.h: Likewise.
50045         * sunrpc/rpc/key_prot.h: Likewise.
50046         * sunrpc/rpc/netdb.h: Likewise.
50047         * sunrpc/rpc/pmap_clnt.h: Likewise.
50048         * sunrpc/rpc/pmap_prot.h: Likewise.
50049         * sunrpc/rpc/pmap_rmt.h: Likewise.
50050         * sunrpc/rpc/rpc.h: Likewise.
50051         * sunrpc/rpc/rpc_des.h: Likewise.
50052         * sunrpc/rpc/rpc_msg.h: Likewise.
50053         * sunrpc/rpc/svc.h: Likewise.
50054         * sunrpc/rpc/svc_auth.h: Likewise.
50055         * sunrpc/rpc/types.h: Likewise.
50056         * sunrpc/rpc/xdr.h: Likewise.
50057         * sunrpc/rpc_clntout.c: Likewise.
50058         * sunrpc/rpc_cmsg.c: Likewise.
50059         * sunrpc/rpc_common.c: Likewise.
50060         * sunrpc/rpc_cout.c: Likewise.
50061         * sunrpc/rpc_dtable.c: Likewise.
50062         * sunrpc/rpc_hout.c: Likewise.
50063         * sunrpc/rpc_main.c: Likewise.
50064         * sunrpc/rpc_parse.c: Likewise.
50065         * sunrpc/rpc_parse.h: Likewise.
50066         * sunrpc/rpc_prot.c: Likewise.
50067         * sunrpc/rpc_sample.c: Likewise.
50068         * sunrpc/rpc_scan.c: Likewise.
50069         * sunrpc/rpc_scan.h: Likewise.
50070         * sunrpc/rpc_svcout.c: Likewise.
50071         * sunrpc/rpc_tblout.c: Likewise.
50072         * sunrpc/rpc_util.c: Likewise.
50073         * sunrpc/rpc_util.h: Likewise.
50074         * sunrpc/rpcinfo.c: Likewise.
50075         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50076         * sunrpc/rpcsvc/key_prot.x: Likewise.
50077         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50078         * sunrpc/rpcsvc/mount.x: Likewise.
50079         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50080         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50081         * sunrpc/rpcsvc/rex.x: Likewise.
50082         * sunrpc/rpcsvc/rstat.x: Likewise.
50083         * sunrpc/rpcsvc/rusers.x: Likewise.
50084         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50085         * sunrpc/rpcsvc/spray.x: Likewise.
50086         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50087         * sunrpc/rtime.c: Likewise.
50088         * sunrpc/svc.c: Likewise.
50089         * sunrpc/svc_auth.c: Likewise.
50090         * sunrpc/svc_authux.c: Likewise.
50091         * sunrpc/svc_raw.c: Likewise.
50092         * sunrpc/svc_run.c: Likewise.
50093         * sunrpc/svc_simple.c: Likewise.
50094         * sunrpc/svc_tcp.c: Likewise.
50095         * sunrpc/svc_udp.c: Likewise.
50096         * sunrpc/svc_unix.c: Likewise.
50097         * sunrpc/svcauth_des.c: Likewise.
50098         * sunrpc/xcrypt.c: Likewise.
50099         * sunrpc/xdr.c: Likewise.
50100         * sunrpc/xdr_array.c: Likewise.
50101         * sunrpc/xdr_float.c: Likewise.
50102         * sunrpc/xdr_mem.c: Likewise.
50103         * sunrpc/xdr_rec.c: Likewise.
50104         * sunrpc/xdr_ref.c: Likewise.
50105         * sunrpc/xdr_sizeof.c: Likewise.
50106         * sunrpc/xdr_stdio.c: Likewise.
50107
50108         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50109         handling.
50110
50111 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50112
50113         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50114
50115 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50116
50117         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50118         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50119         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50120         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50121         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50122         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50123         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50124         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50126         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50127         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50128         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50129         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50130         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50131
50132 2010-07-26  Anton Blanchard  <anton@samba.org>
50133
50134         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50135         * malloc/arena.c (heap_trim): Likewise.
50136
50137 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50138
50139         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50140         here.  Not...
50141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50142         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50143
50144 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50145
50146         * sysdeps/i386/elf/Makefile: New file.
50147
50148 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50149
50150         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50151         from fanotify_init.
50152         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50154
50155 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50156
50157         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50158         of strncasecmp_l.
50159         * sysdeps/multiarch/strcmp.S: Likewise.
50160
50161 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50162
50163         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50164         strncase_l-nonascii.
50165         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50166         Add strncase_l-ssse3.
50167         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50168         * sysdeps/x86_64/strcmp.S: Likewise.
50169         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50170         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50171         * sysdeps/x86_64/strncase.S: New file.
50172         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50173         * sysdeps/x86_64/strncase_l.S: New file.
50174         * string/Makefile (strop-tests): Add strncasecmp.
50175         * string/test-strncasecmp.c: New file.
50176
50177         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50178         warning.
50179
50180         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50181         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50182
50183 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50184
50185         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50186
50187 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50188
50189         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50190         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50191         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50192
50193 2010-05-01  Alan Modra  <amodra@gmail.com>
50194
50195         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50196         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50197         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50198         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50199         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50200         tidying.  Don't tail-call __sigjmp_save for static lib.
50201         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50202         save location.
50203         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50204         (CALL_MCOUNT): Add eh info, and nop after bl.
50205         (TAIL_CALL_SYSCALL_ERROR): New macro.
50206         (PSEUDO_RET): Use it.
50207         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50208         Correct save location of integer regs and cr.
50209         (_dl_profile_resolve): Correct cr save location.  Delete nops
50210         after bl when SHARED.  Reduce cfi size a little by better
50211         placement of cfi directives.
50212         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50213         make a stack frame.  Instead use parm save area as a temp.
50214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50215         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50217         Don't make a stack frame for parent, use parm save area.
50218         Increase child stack frame to 112 bytes.  Don't save unused reg,
50219         and adjust reg usage.  Set up cfi on error recovery and
50220         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50222         (__makecontext): Add dummy nop after jump to exit.
50223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50224         Use correct parm save area and cr save, reduce stack frame.
50225         Correct cfi for possible PSEUDO_RET frame setup.
50226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50227         Branch to local label emitted by PSEUDO_RET rather than
50228         __syscall_error.
50229
50230 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50231
50232         [BZ #11904]
50233         * locale/programs/locale.c (print_assignment): New function.
50234         (show_locale_vars): Use it.
50235
50236 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50237
50238         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50239         field.
50240         (struct statfs64): Likewise.
50241         (_STATFS_F_FLAGS): Define.
50242         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50243         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50244         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50245         (ST_VALID): Define locally.
50246         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50247         __statvfs_getflags, use the provided value.
50248         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50249         __ASSUME_STATFS_F_FLAGS.
50250
50251         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50252
50253         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50254         Add sys/fanotify.h.
50255         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50256         fanotify_mask for GLIBC_2.13.
50257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50258         fanotify_init and fanotify_mark.
50259         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50260         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50261
50262         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50263         Add prlimit.
50264         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50265         prlimit64 for GLIBC_2.13.
50266         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50267         prlimit64.
50268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50269         syscall.
50270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50272         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50273         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50275         add prlimit alias.
50276         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50277
50278         [BZ #11903]
50279         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50280         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50281
50282         * nss/Makefile: Add rules to build and run tst-nss-test1.
50283         * shlib-versions: Add entry for libnss_test1.
50284         * nss/nss_test1.c: New file.
50285         * nss/tst-nss-test1.c: New file.
50286
50287         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50288         (__nss_configure_lookup): Set appropriate entry in
50289         __nss_configure_lookup to true.
50290         * nss/nsswitch.h: Define enum with indeces of databases in
50291         databases and __nss_database_custom arrays.  Declare
50292         __nss_database_custom.
50293         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50294         to avoid using nscd when custom rules are installed.
50295         * nss/getXXbyYY_r.c: Likewise.
50296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50297
50298         * nss/nss_files/files-parse.c: Whitespace fixes.
50299
50300 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50301
50302         [BZ #11883]
50303         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50304         * posix/fnmatch_loop.c: Likewise.
50305
50306 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50307
50308         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50309         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50310         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50311         * Versions.def [GLIBC_2.13]: Add.
50312
50313 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50314
50315         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50316         Also fail if tpwd after pwuid call is NULL.
50317
50318 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50319
50320         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50321         when converting to ms.
50322
50323 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50324
50325         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50326         EOPNOTSUPP errors with ENOTTY.
50327         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50328         EOPNOTSUPP errors with ENOTTY.
50329
50330 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50331
50332         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50333         Add strcasecmp_l-ssse3.
50334         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50335         strcasecmp.
50336         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50337         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50338         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50339
50340 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50341
50342         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50343
50344         * string/Makefile (strop-tests): Add strcasecmp.
50345         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50346         strcasecmp_l-nonascii.
50347         (gen-as-const-headers): Add locale-defines.sym.
50348         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50349         * sysdeps/x86_64/strcasecmp.S: New file.
50350         * sysdeps/x86_64/strcasecmp_l.S: New file.
50351         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50352         * sysdeps/x86_64/locale-defines.sym: New file.
50353         * string/test-strcasecmp.c: New file.
50354
50355         * string/test-strcasestr.c: Test both ends of the range of characters.
50356         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50357
50358 2010-07-29  Roland McGrath  <roland@redhat.com>
50359
50360         [BZ #11856]
50361         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50362
50363 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50364
50365         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50366         for ld.so.
50367
50368 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50369
50370         * manual/memory.texi (Malloc Tunable Parameters): Document
50371         M_PERTURB.
50372
50373 2010-07-26  Roland McGrath  <roland@redhat.com>
50374
50375         [BZ #11840]
50376         * configure.in (-fgnu89-inline check): Set and substitute
50377         gnu89_inline, not libc_cv_gnu89_inline.
50378         * configure: Regenerated.
50379         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50380
50381 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50382
50383         * string/test-strnlen.c: New file.
50384         * string/Makefile (strop-tests): Add strnlen.
50385         * string/tester.c (test_strnlen): Add a few more test cases.
50386         * string/tst-strlen.c: Better error reporting.
50387
50388         * sysdeps/x86_64/strnlen.S: New file.
50389
50390 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50391
50392         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50393         lower-latency instructions.
50394
50395 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50396
50397         * string/test-strcasestr.c: New file.
50398         * string/test-strstr.c: New file.
50399         * string/Makefile (strop-tests): Add strstr and strcasestr.
50400         * string/str-two-way.h: Don't undefine MAX.
50401         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50402
50403 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50404
50405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50406         strcasestr-nonascii.
50407         (CFLAGS-strcasestr-nonascii.c): Define.
50408         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50409         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50410         Remove unused attribute.
50411
50412 2010-07-20  Roland McGrath  <roland@redhat.com>
50413
50414         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50415         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50416         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50417         like LD_HWCAP_MASK can disable hwcaps.
50418
50419 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50420
50421         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50422
50423 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50424
50425         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50426         call in strcasestr.
50427         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50428         __strcasestr_sse42_nonascii.
50429         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50430         strcasestr-nonascii.c.
50431         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50432
50433 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50434
50435         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50436         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50437         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50438         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50439
50440 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50441
50442         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50443         fcntl.
50444
50445 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50446
50447         [BZ #11577]
50448         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50449         dl_signal_cerror.
50450
50451 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50452
50453         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50454         _PC_PIPE_BUF using F_GETPIPE_SZ.
50455
50456 2010-07-05  Roland McGrath  <roland@redhat.com>
50457
50458         * manual/arith.texi (Rounding Functions): Fix rint description
50459         implicit in round description.
50460
50461 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50462
50463         * elf/Makefile: Fix linking for a few tests to make recent linker
50464         happy.
50465
50466 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50467
50468         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50469         $(common-objpfx)libc_nonshared.a.
50470
50471 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50472
50473         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50474         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50475         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50476         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50477         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50478         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50479         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50480         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50495         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50496         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50497         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50498         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50499         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50500         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50501         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50502         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50503         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50504         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50505         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50506         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50521
50522 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50523
50524         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50525         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50526         * string/memmove.c (memmove): Renamed to ...
50527         (MEMMOVE): ...this.  Default to memmove.
50528         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50529         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50530         (END_CHK): Define.
50531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50532         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50533         mempcpy-ssse3-back memmove-ssse3-back.
50534         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50537         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50538         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50539         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50540         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50541         * sysdeps/x86_64/multiarch/memmove.c: New file.
50542         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50543         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50544         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50545         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50546         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50547         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50548         Define.
50549         (index_Fast_Copy_Backward): Define.
50550         (HAS_ARCH_FEATURE): Define.
50551         (HAS_FAST_REP_STRING): Define.
50552         (HAS_FAST_COPY_BACKWARD): Define.
50553
50554 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50555
50556         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50557         Restore proper fallback handling.
50558
50559 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50560
50561         [BZ #11701]
50562         * posix/group_member.c (__group_member): Correct checking loop.
50563
50564         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50565         OOM in getpwuid_r correctly.  Return error number when the caller
50566         should return, otherwise -1.
50567         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50568         call returning > 0 value.
50569         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50570
50571 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50572
50573         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50574         libc_nonshared.a from targets in modules-names.
50575
50576 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50577
50578         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50579         requires it.
50580
50581 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50582
50583         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50584         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50585         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50587
50588 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50589
50590         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50591
50592 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50593
50594         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50595         and F_GETPIPE_SZ.
50596         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50598         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50601         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50602
50603 2010-06-14  Roland McGrath  <roland@redhat.com>
50604
50605         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50606
50607 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50608
50609         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50610         __REDIRECT followed by __THROW.
50611         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50612         * posix/getopt.h (getopt): Likewise.
50613
50614 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50615
50616         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50617         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50618         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50619         in AT_FLAGS.
50620         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50621         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50622
50623 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50624
50625         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50626
50627 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50628
50629         [BZ #11640]
50630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50631         Properly check family and model.
50632
50633 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50634
50635         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50636
50637 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50638
50639         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50640
50641 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50642
50643         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50644         symbol reference.
50645
50646 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50647
50648         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50649         symbol reference.
50650
50651 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50652
50653         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50654         and internal_recvmmsg.
50655         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50656         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50657         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50658         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50659
50660         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50661         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50662         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50663
50664 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50665
50666         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50667
50668 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50669
50670         POWER7 optimizations.
50671         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50672         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50673
50674 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50675
50676         * version.h: Update for 2.13 development version.
50677
50678 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50679
50680         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50681         exceptions.  Return 0.
50682
50683 2010-05-07  Roland McGrath  <roland@redhat.com>
50684
50685         * elf/ldconfig.c (main): Add a const.
50686
50687 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50688
50689         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50690         (args_options): Add no-idn option.
50691         (ahosts_keys_int): Add idn_flags to ai_flags.
50692         (parse_option): Handle 'i' option to clear idn_flags.
50693
50694         * malloc/malloc.c (_int_free): Possible race in the most recently
50695         added check.  Only act on the data if no current modification
50696         happened.
50697
50698 See ChangeLog.17 for earlier changes.