Update for glibc 2.24 release.
[platform/upstream/glibc.git] / ChangeLog
1 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2
3         * version.h (RELEASE): Set to "stable"
4         (VERSION): Set to 2.24.
5         * include/features.h (__GLIBC_MINOR__): Set to 24.
6
7         * NEWS: Add 2.24 fixed bugs.
8         * po/libc.pot: Regenerate.
9
10 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11
12         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13         [$(subdir) = math] (libm-sysdep_routines): Remove.
14         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16         s_truncf-vis3, s_trunc-vis3.
17         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19         file.
20         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
21         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
22         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
23         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
26         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
27         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
29         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
30         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
31         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
32         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
33         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
34         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
35         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
39         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
40         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
41         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
42         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
43         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
45         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
48         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
51         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
54         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
55         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
56         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
57         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
60         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
61         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
62         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
63
64 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
65
66         [BZ #20384]
67         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
68         test-double-libmvec-sincos-avx-main.o,
69         test-double-libmvec-sincos-avx2-main.o,
70         test-double-libmvec-sincos-main.o,
71         test-float-libmvec-sincosf-avx-main.o,
72         test-float-libmvec-sincosf-avx2-main.o and
73         test-float-libmvec-sincosf-main.o.
74         test-float-libmvec-sincosf-avx512-main.o.
75         ($(objpfx)test-double-libmvec-sincos): Also link with
76         $(objpfx)test-double-libmvec-sincos-main.o.
77         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
78         $(objpfx)test-double-libmvec-sincos-avx-main.o.
79         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
80         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
81         ($(objpfx)test-float-libmvec-sincosf): Also link with
82         $(objpfx)test-float-libmvec-sincosf-main.o.
83         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
84         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
85         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
86         test-double-libmvec-sincos-avx512-main.o and
87         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
88         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
89         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
90         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
91         (CFLAGS-test-double-libmvec-sincos.c): Removed.
92         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
93         (CFLAGS-test-double-libmvec-sincos-main.c): New.
94         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
95         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
96         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
97         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
98         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
99         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
100         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
101         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
102         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
103         -DREQUIRE_AVX2.
104         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
105         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
106         -DREQUIRE_AVX512F.
107         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
108         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
109         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
110         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
111         file.
112         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
113         Likewise.
114         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
115         Likewise.
116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
117         Likewise.
118         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
119         Likewise.
120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
121         Likewise.
122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
123         Likewise.
124         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
125         Likewise.
126
127 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
128
129         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
130
131 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
132
133         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
134         and typo in a comment about AT_HWCAP entry.
135
136 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
137
138         * sysdeps/aarch64/libm-test-ulps: Updated.
139
140 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
141
142         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
143         of r13 as it is not restored in mvcle case.
144
145 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
146
147         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
148         Rename "ret" to "__ret".
149         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
150         inline_syscall5, inline_syscall6): Likewise.
151
152 2016-07-19   Will Newton  <will.newton@gmail.com>
153
154         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
155         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
156         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
157         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
158         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
159
160 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
161
162         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
163         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
164         -mfpmath=387 with $(rtld-CFLAGS).
165         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
166         $(rtld-CFLAGS).
167
168 2016-07-18   Ross Burton  <ross.burton@intel.com>
169              Khem Raj  <raj.khem@gmail.com>
170
171         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
172         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
173         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
174         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
175         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
176         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
177         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
178         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
179         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
180         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
181         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
182         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
183         R_METAG_TLS_DTPOFF): New.
184
185 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
186             Matt Clay  <mclay@lycos.com>
187
188         [BZ #20357]
189         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
190         to call __mpsin/__mpcos and to negate values.
191         * math/auto-libm-test-in: Add test.
192         * math/auto-libm-test-out: Regenerate.
193
194 2016-07-18  Zack Weinberg  <zackw@panix.com>
195
196         * grp/Makefile: Don't install the internal header grp-merge.h.
197
198 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
199
200         * sysdeps/aarch64/libm-test-ulps: Regenerated.
201
202 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
203
204         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
205
206 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
207
208         [BZ #15368]
209         * sysdeps/unix/sysv/linux/nptl-signals.h
210         (__nptl_clear_internal_signals): New function.
211         (__libc_signal_block_all): Likewise.
212         (__libc_signal_block_app): Likewise.
213         (__libc_signal_restore_set): Likewise.
214         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
215         implementation.
216         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
217         the cached pid/tid value in pthread structure.
218
219 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
220
221         [BZ #20347]
222         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
223
224 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
225
226         [BZ #20348]
227         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
228         preadv64, pwrite64 and pwritev64.
229
230 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
231
232         [BZ #20350]
233         * posix/tst-preadwrite.c: Renamed to ...
234         * posix/tst-preadwrite-common.c: This.
235         (PREAD): Removed.
236         (PWRITE): Likewise.
237         (STRINGIFY): Likewise.
238         (STRINGIFY2): Likewise.
239         (do_prepare): Make it static and remove function arguments.
240         (do_test): Likewise.
241         (PREPARE): Updated.
242         (TEST_FUNCTION): New.
243         (name): Make it static.
244         (fd): Likewise.
245         (do_prepare): Use create_temp_file.
246         (do_test): Renamed to ...
247         (do_test_with_offset): This.  Make it static and accept offset.
248         Properly check return value of PWRITE and PREAD.  Return bytes
249         read.  Don't close fd nor unlink name.
250         * posix/tst-preadwrite.c: Rewrite.
251         * posix/tst-preadwrite64.c: Likewise.
252
253 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
254
255         [BZ #20309]
256         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
257         -mtls-dialect=gnu2 works.
258         * configure: Regenerated.
259         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
260         (tests): Add tst-gnu2-tls1.
261         (modules-names): Add tst-gnu2-tls1mod.
262         ($(objpfx)tst-gnu2-tls1): New.
263         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
264         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
265         * elf/tst-gnu2-tls1.c: New file.
266         * elf/tst-gnu2-tls1mod.c: Likewise.
267         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
268         bytes for push in the PLT entry to align the stack.
269
270 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
271
272         [BZ #20349]
273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
274
275 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
276
277         [BZ #18707]
278         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
279         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
280
281 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
282
283         * sysdeps/unix/sysv/linux/sysdep.h
284         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
285         guards.
286         * misc/tst-preadvwritev-common.c: New file.
287         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
288         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
289         a check for files larger than 2GB.
290
291         * sysdeps/unix/sysv/linux/mips/kernel-features.h
292         (__ASSUME_OFF_DIFF_OFF64): Remove define.
293         * sysdeps/unix/sysv/linux/pread.c
294         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
295         __OFF_T_MATCHES_OFF64_T.
296         * sysdeps/unix/sysv/linux/pread64.c
297         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
298         * sysdeps/unix/sysv/linux/preadv.c
299         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
300         * sysdeps/unix/sysv/linux/preadv64.c
301         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
302         * sysdeps/unix/sysv/linux/pwrite.c
303         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
304         * sysdeps/unix/sysv/linux/pwrite64.c
305         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
306         * sysdeps/unix/sysv/linux/pwritev.c
307         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
308         * sysdeps/unix/sysv/linux/pwritev64.c
309         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
310
311 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
312
313         * sysdeps/unix/sysv/linux/tile/kernel-features.h
314         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
315
316 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
317
318         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
319
320 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
321
322         [BZ #20240]
323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
324         (CFLAGS-s_modf-ppc32.c): New variable.
325         (CFLAGS-s_modff-ppc32.c): Likewise.
326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
327         (CFLAGS-s_modf-ppc64.c): Likewise.
328         (CFLAGS-s_modff-ppc64.c): Likewise.
329
330 2016-07-07  Andreas Schwab  <schwab@suse.de>
331
332         [BZ #20263]
333         * nptl/tst-robust10.c: New test.
334         * nptl/Makefile (tests): Add tst-robust10.
335
336 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
337
338         [BZ #20263]
339         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
340
341 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
342
343         * sysdeps/s390/linkmap.h (struct link_map_machine):
344         Remove member gotplt and add member jmprel.
345         * sysdeps/s390/s390-32/dl-machine.h
346         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
347         instead of gotplt with &got[3].
348         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
349         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
350
351 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
352
353         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
354
355 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
356
357         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
358         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
359         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
360         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
361         * libio/vtables.c (_IO_vtable_check)
362         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
363         * libio/libioP.h (IO_set_accept_foreign_vtables)
364         [!PTR_MANGLE]: Do not call PTR_MANGLE.
365
366 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
367
368         [BZ #20314]
369         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
370         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
371         $(common-objpfx)cmath.
372         ($(common-objpfx)cstdlib): New target.
373         ($(common-objpfx)cmath): Likewise.
374
375 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
376
377         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
378
379 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
380
381         [BZ #20327]
382         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
383         are not part of the string.
384
385 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
386
387         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
388         * nptl/tst-cancel4-common.h (fifoname): New variable.
389         (fifofd): Likewise.
390         (cl_fifo): New function.
391         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
392         SIGINT.
393         (tf_open): Add early cancel test.
394
395 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
396
397         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
398
399 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
400
401         * sysdeps/generic/ldsodefs.h
402         (dl_symbol_visibility_binds_local_p): New inline function.
403         * elf/dl-addr.c (determine_info): Treat hidden and internal
404         symbols as local.
405         * elf/dl-lookup.c (do_lookup_x): Likewise.
406         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
407
408 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
409
410         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
411         invalid exception for a sNaN input.
412         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
413         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
414         (__nearbyint_vis3): Likewise
415         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
416         (__nearbyintf_vis3): Likewise
417         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
418         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
419         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
420         Likewise.
421         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
422         Likewise.
423
424 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
425
426         [BZ #20139]
427         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
428         (HAVE_AVX512DQ_ASM_SUPPORT): This.
429         * sysdeps/x86_64/configure.ac: Require assembler from binutils
430         2.24 or above.
431         (HAVE_AVX512_ASM_SUPPORT): Removed.
432         (HAVE_AVX512DQ_ASM_SUPPORT): New.
433         * sysdeps/x86_64/configure: Regenerated.
434         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
435         check unconditional.
436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
437         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
438         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
439         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
440         Likewise.
441         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
442         Likewise.
443         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
444         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
445         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
446         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
447         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
448         Likewise.
449         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
450         Likewise.
451         * sysdeps/x86_64/multiarch/memset.S: Likewise.
452         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
454         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
456         Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
458         Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
460         Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
462         Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
464         Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
466         Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
468         Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
470         Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
472         Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
474         Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
476         Likewise.
477
478 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
479
480         [BZ #20024]
481         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
483         of this implementation of vector function.
484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
487         Likewise.
488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
490         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
491         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
492         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
493         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
494         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
495         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
496         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
497         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
498         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
499         for testing vector sincos with fixed ABI.
500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
501         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
502         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
503         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
504         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
506         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
507         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
508         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
509         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
510         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
511         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
512         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
513         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
514         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
515         * sysdeps/x86_64/fpu/Makefile: Added new tests.
516
517 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
518
519         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
520
521 2016-06-30  Anton Blanchard  <anton@samba.org>
522
523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
524         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
525         s_sinf-ppc64.
526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
529         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
530
531 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
532
533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
535         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
536         e_expf-ppc64.
537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
538         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
540         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
541
542 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
543
544         [BZ #20277]
545         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
546         when SHARED is defined.
547
548 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
549
550         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
551         (index_arch_Prefer_ERMS): Likewise.
552         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
553         __memcpy_erms for Prefer_ERMS.
554         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
555         (__memmove_erms): Enabled for libc.a.
556         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
557         __memmove_erms or Prefer_ERMS.
558         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
559         __mempcpy_erms for Prefer_ERMS.
560         * sysdeps/x86_64/multiarch/memset.S (memset): Return
561         __memset_erms for Prefer_ERMS.
562
563 2016-06-30  Andreas Schwab  <schwab@suse.de>
564
565         [BZ #20262]
566         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
567         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
568         of memory.
569
570 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
571
572         [BZ #18645]
573         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
574         (test-extras): Add tst-cleanupx4aux.
575         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
576         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
577         tst-cleanupx4aux.o.
578         * nptl/tst-cleanupx4aux.c: New file.
579
580 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
581
582         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
583
584 2016-06-29  Andreas Schwab  <schwab@suse.de>
585
586         [BZ #20260]
587         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
588         address before the beginning of the string as an integer to avoid
589         array-bounds warning.
590
591 2016-06-28  Richard Henderson  <rth@redhat.com>
592
593         * elf/elf.h (EM_BPF): New.
594         (EM_NUM): Update.
595         (R_BPF_NONE, R_BPF_MAP_FD): New.
596
597         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
598         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
599         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
600         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
601         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
602         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
603         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
604         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
605         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
606         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
607         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
608         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
609         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
610         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
611         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
612         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
613         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
614         (EM_NUM): Update.
615
616 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
617
618         [BZ #18960]
619         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
620         Set _nl_current_LC_CATEGORY_used to two instead of one.
621
622 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
623
624         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
625         (do_test): ... this.
626         (TEST_FUNCTION): New macro.
627          Include test-skeleton.c.
628         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
629         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
630
631 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
632
633         [BZ #15479]
634         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
635         floating-point environment rather than just control word.
636         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
637         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
638         floating-point environment, with "invalid" exceptions merged in,
639         rather than just control word.
640         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
641         * math/libm-test.inc (trunc_test_data): Do not allow spurious
642         "inexact" exceptions.
643
644         [BZ #15479]
645         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
646         floating-point environment rather than just control word.
647         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
648         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
649         floating-point environment, with "invalid" exceptions merged in,
650         rather than just control word.
651         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
652         * math/libm-test.inc (floor_test_data): Do not allow spurious
653         "inexact" exceptions.
654
655         [BZ #15479]
656         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
657         floating-point environment rather than just control word.
658         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
659         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
660         floating-point environment, with "invalid" exceptions merged in,
661         rather than just control word.
662         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
663         * math/libm-test.inc (ceil_test_data): Do not allow spurious
664         "inexact" exceptions.
665
666 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
667
668         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
669         __libc_vfork.
670         (__vfork) [IS_IN (libc)]: Remove alias.
671         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
672         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
673         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
674
675 2016-06-24  Torvald Riegel  <triegel@redhat.com>
676
677         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
678         of atomic_compare_and_exchange_bool_rel.
679         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
680         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
681         catomic_compare_and_exchange_bool_rel): Remove.
682         * sysdeps/aarch64/atomic-machine.h
683         (atomic_compare_and_exchange_bool_rel): Likewise.
684         * sysdeps/alpha/atomic-machine.h
685         (atomic_compare_and_exchange_bool_rel): Likewise.
686         * sysdeps/arm/atomic-machine.h
687         (atomic_compare_and_exchange_bool_rel): Likewise.
688         * sysdeps/mips/atomic-machine.h
689         (atomic_compare_and_exchange_bool_rel): Likewise.
690         * sysdeps/microblaze/atomic-machine.h
691         ( __arch_compare_and_exchange_bool_8_rel,
692         __arch_compare_and_exchange_bool_16_rel): Likewise.
693         * sysdeps/powerpc/atomic-machine.h
694         ( __arch_compare_and_exchange_bool_8_rel,
695         __arch_compare_and_exchange_bool_16_rel): Likewise.
696         * sysdeps/powerpc/powerpc32/atomic-machine.h
697         ( __arch_compare_and_exchange_bool_32_rel,
698         __arch_compare_and_exchange_bool_64_rel): Likewise.
699         * sysdeps/powerpc/powerpc64/atomic-machine.h
700         ( __arch_compare_and_exchange_bool_32_rel,
701         __arch_compare_and_exchange_bool_64_rel): Likewise.
702         * sysdeps/tile/atomic-machine.h
703         (atomic_compare_and_exchange_bool_rel): Likewise.
704
705 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
706
707         [BZ #20296]
708         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
709         when either argument is a NaN.
710         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
711         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
712
713         * math/libm-test.inc (snan_value_ld): New macro.
714         (isgreater_test_data): Add sNaN tests.
715         (isgreaterequal_test_data): Likewise.
716         (isless_test_data): Likewise.
717         (islessequal_test_data): Likewise.
718         (islessgreater_test_data): Likewise.
719         (isunordered_test_data): Likewise.
720         (nextafter_test_data): Likewise.
721         (nexttoward_test_data): Likewise.
722         (remainder_test_data): Likewise.
723         (remquo_test_data): Likewise.
724         (significand_test_data): Likewise.
725         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
726
727 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
728
729         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
730         environment macros are defined.
731         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
732
733 2016-06-23  Florian Weimer  <fweimer@redhat.com>
734
735         [BZ #20191]
736         Implement vtable verification in libio.
737         * Makerules (shlib.lds): Place __libc_IO_vtables section.
738         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
739         * debug/vdprintf_chk.c (__vdprintf_chk): Call
740         _IO_new_file_init_internal instead of _IO_file_init.
741         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
742         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
743         * libio/Makefile (routines): Add vtables.
744         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
745         (_IO_init): Remove, not for internal use.
746         (_IO_init_internal): Declare, internal replacement for _IO_init.
747         (_IO_file_init): Remove, not for internal use.
748         (_IO_new_file_init): Remove, not for internal use.
749         (_IO_new_file_init_internal): Declare, internal replacement for
750         _IO_new_file_init.
751         (_IO_old_file_init): Remove, not for internal use.
752         (_IO_old_file_init_internal): Declare, internal replacement for
753         _IO_old_file_init.
754         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
755         internal use.
756         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
757         Declare.
758         (libio_vtable): New macro.
759         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
760         functions.
761         * libio/fileops.c (_IO_new_file_init_internal): Rename from
762         _IO_new_file_init.
763         (_IO_new_file_init): New externally visible wrapper which disables
764         vtable verification.
765         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
766         Define as vtables.
767         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
768         (_IO_init): New externally visible wrapper which disables
769         vtable verification.
770         * libio/iofdopen.c (_IO_new_fdopen): Call
771         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
772         comment.
773         * libio/iofopen.c (__fopen_internal): Call
774         _IO_new_file_init_internal instead of _IO_file_init.
775         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
776         Define as vtables.
777         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
778         _IO_new_file_init_internal instead of _IO_file_init.
779         * libio/iopopen.c (_IO_new_popen): Likewise.
780         (_IO_proc_jumps): Define as vtable.
781         * libio/iovdprintf.c (_IO_vdprintf): Call
782         _IO_new_file_init_internal instead of _IO_file_init.
783         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
784         (__open_memstream): Call _IO_init_internal instead of _IO_init.
785         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
786         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
787         _IO_old_file_init.
788         (_IO_old_file_init): New externally visible wrapper which disables
789         vtable verification.
790         (_IO_old_file_jumps): Define as vtable.
791         * libio/oldiofdopen.c (_IO_old_fdopen): Call
792         _IO_old_file_init_internal instead of _IO_old_file_init.
793         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
794         * libio/oldiopopen.c (_IO_old_popen): Likewise.
795         (_IO_old_proc_jumps): Define as vtable.
796         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
797         Define as vtables.
798         * libio/vtables.c: New file.
799         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
800         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
801         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
802         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
803         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
804         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
805         instead of _IO_init.
806
807 2016-06-23  Florian Weimer  <fweimer@redhat.com>
808
809         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
810
811 2016-06-23  Florian Weimer  <fweimer@redhat.com>
812
813         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
814         potentially unused.
815
816 2016-06-22  Florian Weimer  <fweimer@redhat.com>
817
818         * test-skeleton.c (write_message): New function.
819         * malloc/tst-mallocfork2.c (write_message): Remove.
820         * debug/tst-longjmp_chk2.c (write_indented): New function.
821         (write_message): Remove.
822         (stackoverflow_handler): Call write_indented.
823
824 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
825
826         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
827         "inexact" exceptions after fnstenv.
828         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
829         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
830         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
831
832 2015-06-22  Zack Weinberg  <zackw@panix.com>
833
834         * sysdeps/generic/bits/hwcap.h: Moved to ...
835         * bits/hwcap.h: Here.
836
837 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
838
839         * sysdeps/aarch64/memcpy.S (memcpy):
840         Further tuning for performance.
841
842 2016-06-21  Florian Weimer  <fweimer@redhat.com>
843
844         [BZ #20284]
845         * malloc/arena.c (reused_arena): Do not return NULL if we start
846         out with a non-corrupted arena.
847
848 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
849
850         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
851         * misc/tst-preadvwritev.c: New file.
852         * misc/tst-preadvwritev64.c: Likewise.
853         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
854         usage.
855         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
856         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
857         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
858         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
859
860 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
861
862         [BZ #19654]
863         * sysdeps/x86_64/fpu/Makefile: Added new tests.
864         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
865         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
866         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
867         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
868         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
869         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
870         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
871         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
872         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
873         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
874         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
875         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
876         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
877         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
878         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
879         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
880         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
881         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
882         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
883         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
884         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
885         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
886         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
887         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
888         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
889
890 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
891
892         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
893         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
894
895 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
896
897         * sysdeps/aarch64/memcpy.S (memcpy):
898         Rewrite of optimized memcpy and memmove.
899         * sysdeps/aarch64/memmove.S (memmove): Remove
900         memmove code (merged into memcpy.S).
901
902 2016-06-20  Florian Weimer  <fweimer@redhat.com>
903
904         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
905         * sysdeps/generic/dl-dtv.h: New file.
906         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
907         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
908         (dtv_t): Remove.
909         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
910         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
911         (dtv_t): Remove.
912         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
913         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
914         (dtv_t): Remove.
915         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
916         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
917         (dtv_t): Remove.
918         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
919         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
920         (dtv_t): Remove.
921         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
922         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
923         (dtv_t): Remove.
924         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
925         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
926         (dtv_t): Remove.
927         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
928         (dtv_t): Remove.
929         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
930         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
931         (dtv_t): Remove.
932         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
933         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
934         (dtv_t): Remove.
935         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
936         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
937         (dtv_t): Remove.
938         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
939         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
940         (dtv_t): Remove.
941         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
942         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
943         (dtv_t): Remove.
944         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
945         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
946         (dtv_t): Remove.
947         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
948         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
949         (dtv_t): Remove.
950         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
951         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
952         (dtv_t): Remove.
953
954 2016-06-20  Florian Weimer  <fweimer@redhat.com>
955
956         Revert symbol poisoning of  __malloc_initialize_hook.
957         * include/stdc-predef.h (__malloc_initialize_hook): Remove
958         poisoning.
959         * malloc/Makefile: Remove un-poisoning.
960         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
961         instead of old__malloc_initialize_hook.
962         * malloc/malloc-hooks.h: Likewise.
963         * malloc/malloc.c: Likewise.
964         * malloc/mcheck-init.c: Likewise.
965
966 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
967
968         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
969
970 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
971
972         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
973         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
974         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
975         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
976
977 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
978
979         * NEWS: Mention addition of nextup and nextdown.
980         * manual/arith.texi: Document nextup and nextdown.
981         * manual/libm-err-tab.pl: Add nextup and nextdown.
982         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
983         * math/Versions (libm): Add GLIBC_2.24.
984         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
985         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
986         Add new test.
987         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
988         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
989         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
990         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
991         (nextup_test_data): Likewise.
992         (nextdown_test_data): Likewise.
993         * math/s_nextdown.c: New file.
994         * math/s_nextdownf.c: Likewise.
995         * math/s_nextdownl.c: Likewise.
996         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
997         F(nextup): New function.
998         F(nextdown): Likewise.
999         * math/tgmath.h: Add nextup and nextdown.
1000         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1001         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1002         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1003         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1004         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1005         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1006         Add nextup and nextdown.
1007         (CFLAGS-nldbl-nextup.c): New variable.
1008         (CFLAGS-nldbl-nextdown.c): Likewise.
1009         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1010         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1011         * sysdeps/nacl/libm.abilist: Update.
1012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1026         Likewise.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1031         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1040
1041 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1042
1043         * manual/pattern.texi: Fix typos & grammar errors.
1044
1045 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1046
1047         * manual/search.texi: Fix typos & grammar errors.
1048
1049 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1050
1051         * manual/message.texi: Fix typos & grammar errors.
1052
1053 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1054
1055         * manual/contrib.texi: Fix spelling typos.
1056         * manual/crypt.texi: Likewise.
1057         * manual/filesys.texi: Likewise.
1058         * manual/locale.texi: Likewise.
1059         * manual/message.texi: Likewise.
1060         * manual/nss.texi: Likewise.
1061         * manual/string.texi: Likewise.
1062
1063 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1064
1065         * manual/locale.texi: Fix typos & grammar errors.
1066
1067 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1068
1069         * manual/charset.texi: Fix typos & grammar errors.
1070
1071 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1072
1073         * manual/string.texi: Fix typos.
1074
1075 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1076
1077         * manual/ctype.texi: Fix typos.
1078
1079 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1080
1081         * manual/memory.texi: Fix various typos & grammar errors.
1082
1083 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1084
1085         [BZ #20255]
1086         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1087         * math/libm-test.inc (fdim_test_data): Add another test.
1088
1089         [BZ #6796]
1090         [BZ #20255]
1091         [BZ #20256]
1092         * math/s_fdim.c: Include <math_private.h>.
1093         (__fdim): Use math_narrow_eval on result.
1094         * math/s_fdimf.c: Include <math_private.h>.
1095         (__fdimf): Use math_narrow_eval on result.
1096         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1097         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1098         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1099         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1100         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1101         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1102         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1103         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1104         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1105         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1106         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1107         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1108         overflow.  Add sNaN tests.
1109
1110         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1111         fpclassify.
1112         * math/s_fdimf.c (__fdimf): Likewise.
1113         * math/s_fdiml.c (__fdiml): Likewise.
1114
1115 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1116
1117         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1118         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1120         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1121         ifunc'ed strcasecmp/strncasecmp.
1122         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1123         [EALIGN]: Removed.
1124         [END]: Likewise.
1125         [__strcasecmp]: Define instead of the above to control symbol name.
1126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1127         for __strcasecmp_power8.
1128         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1129         for __strncasecmp_power8.
1130         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1131         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1132         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1134         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1136
1137 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1138
1139         [BZ #20252]
1140         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1141         arguments when second argument is a NaN.
1142         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1143         qNaN tests.
1144
1145         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1146         (conj_test_data): Likewise.
1147         (copysign_test_data): Likewise.
1148         (creal_test_data): Likewise.
1149         (fma_test_data): Likewise.
1150         (fmod_test_data): Likewise.
1151
1152         [BZ #20250]
1153         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1154         itself.
1155         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1156         zero input to itself.
1157         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1158         Likewise.
1159         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1160         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1161         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1162         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1163         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1164
1165 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1166
1167         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1168         * nptl/tst-cancel4-common.c: New file.
1169         * nptl/tst-cancel4-common.h: Likewise.
1170         * nptl/tst-cancel4.c: Move common definitions to
1171         tst-cancel4-common.{c,h} file.
1172         * nptl/tst-cancel4_1.c: New test.
1173         * nptl/tst-cancel4_2.c: New test.
1174
1175 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1176
1177         [BZ #20248]
1178         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1179         (write_message): New function.
1180         (stackoverflow_handler): Call it instead of printf, to avoid
1181         excessive stack usage by printf.
1182         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1183
1184 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1185
1186         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1187         (prio_inherit_missing): Remove define.
1188         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1189         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1190         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1191         Likewise.
1192         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1193         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1194         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1195         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1196         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1197         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1198
1199 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1200
1201         [BZ #19670]
1202         [BZ #19672]
1203
1204         * io/test-lfs.c (do_prepare): Use xmalloc.
1205         * io/tst-fcntl.c (do_prepare): Likewise.
1206         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1207         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1208         * login/tst-utmp.c (do_prepare): Likewise.
1209         * posix/tst-exec.c (do_prepare): Likewise.
1210         * posix/tst-pathconf.c (prepare): Likewise.
1211         * posix/tst-spawn.c (do_prepare): Likewise.
1212         * posix/tst-truncate.c (do_prepare): Likewise.
1213         * rt/tst-aio.c (do_prepare): Likewise.
1214         * rt/tst-aio64.c (do_prepare): Likewise.
1215
1216 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1217
1218         [BZ #20237]
1219         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1220         (get*ent): Set entidx to NULL during initialization.  If entidx is
1221         NULL, start iteration from the beginning.
1222
1223 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1224
1225         * malloc/malloc.c (musable): Return correct size for dumped fake
1226         mmapped chunk.
1227
1228 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1229
1230         [BZ #20222]
1231         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1232         (_IO_cookie_write): Likewise.
1233         (_IO_cookie_seek): Likewise.
1234         (_IO_cookie_close): Likewise.
1235         (_IO_old_cookie_seek): Likewise.
1236         (set_callbacks): New function.
1237         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1238
1239 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1240
1241         * locale/programs/localedef.c (oldstyle_tables): Remove.
1242         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1243
1244 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1245
1246         [BZ #20240]
1247         * math/Makefile (CFLAGS-s_modf.c): New variable.
1248         (CFLAGS-s_modff.c): Likewise.
1249         (CFLAGS-s_modfl.c): Likewise.
1250         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1251
1252 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1253
1254         [BZ #20215]
1255         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1256         [!__GNUC_PREREQ (3,2)]: Likewise.
1257
1258 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1259
1260         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1261         (msghdr.msg_controllen): Likewise.
1262         (cmsghdr.cmsg_len): Likewise.
1263         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1264         ptw-oldsendmsg.
1265         (CFLAGS-oldrecvmsg.c): Remove rule.
1266         (CFLAGS-oldsendmsg.c): Likewise.
1267         (CFLAGS-recvmsg.c): Add rule.
1268         (CFLAGS-sendmsg.c): Likewise.
1269         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1270         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1271         (CFLAGS-recvmsg.c): Remove rule.
1272         (CFLAGS-sendmsg.c): Likewise.
1273         (CFLAGS-oldrecvmsg.c): Likewise.
1274         (CFLAGS-oldsendmsg.c): Likewise.
1275         (CFLAGS-recvmmsg.c): Likewise.
1276         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1277         to kernel defined interfaces.
1278         (msghdr.msg_controllen): Likewise.
1279         (cmsghdr.cmsg_len): Likewise.
1280         (msghdr.__glibc_reserved1): Remove member.
1281         (msghdr.__glibc_reserved2): Likewise.
1282         (cmsghdr.__glibc_reserved1): Likewise.
1283         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1284         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1285         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1286         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1287         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1288         version.
1289         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1290         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1291         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1292         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1293         Remove recvmsg and sendmsg.
1294         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1295         Likewise.
1296         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1297         Likewise.
1298         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1299         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1300         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1301         Likewise.
1302         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1303         Likewise.
1304         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1305         [libc] (GLIBC_2.24): Likewise.
1306         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1309         Likewise.
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1311         [libc] (GLIBC_2.24): Likewise.
1312         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1315         Likewise.
1316         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1317         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1318         Likewise.
1319         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1320         Likewise.
1321         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1322         Likewise.
1323         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1324         Likewise.
1325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1326         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1327         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1329         version for {recv,send,recm,sendm}msg.
1330         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1359
1360 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1361
1362         [BZ #19564]
1363         Remove __malloc_initialize_hook from the API.
1364         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1365         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1366         #pragma GCC poison.
1367         * malloc/malloc-hooks.h: New file.
1368         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1369         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1370         (old__malloc_initialize_hook): Rename from
1371         __malloc_initialize_hook to evade poisoning.  Turn into compat
1372         symbol.
1373         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1374         __malloc_initialize_hook.
1375         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1376         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1377         * manual/memory.texi (Hooks for Malloc): Remove
1378         __malloc_initialize_hook.  Adjust hook example.
1379
1380 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1381
1382         [BZ #20235]
1383         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1384         itself.
1385         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1386         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1387
1388         [BZ #20234]
1389         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1390         infinity or NaN input to itself.
1391
1392         [BZ #20233]
1393         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1394         to itself.
1395
1396         [BZ #20232]
1397         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1398         itself.
1399
1400 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1401
1402         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1403         __libc_start_main via GOT.
1404
1405 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1406
1407         * sysdeps/x86_64/memcopy.h: New file.
1408         * sysdeps/x86_64/wordcopy.c: Likewise.
1409
1410 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1411
1412         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1413         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1414         <cstdlib>.
1415         (optimization_barrier): New.
1416         (do_test): Use it.  Call quick_exit in the global namespace.
1417         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1418         instead of <cstdlib>, <thread>.
1419         (optimization_barrier): New.
1420         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1421         Call quick_exit in the global namespace.
1422         (do_test): Call optimization_barrier.  Use pthread_create,
1423         pthread_join instead of std::thread.
1424
1425 2016-06-09  Andreas Schwab  <schwab@suse.de>
1426
1427         [BZ #19755]
1428         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1429         new entries in auto-propagate mode.
1430         * nscd/grpcache.c (cache_addgr): Likewise.
1431
1432 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1433
1434         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1435         New functions.
1436         (add_temp_file): Use them.
1437
1438 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1439
1440         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1441
1442 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1443
1444         [BZ #20229]
1445         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1446         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1447         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1448
1449         [BZ #20228]
1450         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1451         itself.
1452         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1453         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1454
1455         [BZ #20227]
1456         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1457         itself.
1458         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1459         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1460         * math/libm-test.inc (log_test_data): Add sNaN tests.
1461
1462         [BZ #20226]
1463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1464         itself.
1465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1466         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1467         (exp10_test_data): Likewise.
1468         (expm1_test_data): Likewise.
1469
1470         [BZ #20225]
1471         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1472         itself.
1473         * math/s_ldexpf.c (__ldexpf): Likewise.
1474         * math/s_ldexpl.c (__ldexpl): Likewise.
1475         * math/w_scalbln.c (__w_scalbln): Likewise.
1476         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1477         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1478         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1479         (scalbln_test_data): Likewise.
1480
1481         [BZ #20224]
1482         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1483         argument to itself.
1484         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1485
1486 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1487
1488         [BZ #19776]
1489         * sysdeps/x86_64/memcpy.S: Make it dummy.
1490         * sysdeps/x86_64/mempcpy.S: Likewise.
1491         * sysdeps/x86_64/memmove.S: New file.
1492         * sysdeps/x86_64/memmove_chk.S: Likewise.
1493         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1494         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1495         * sysdeps/x86_64/memmove.c: Removed.
1496         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1497         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1498         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1499         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1500         Likewise.
1501         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1502         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1504         memcpy-sse2-unaligned, memmove-avx-unaligned,
1505         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1507         (__libc_ifunc_impl_list): Replace
1508         __memmove_chk_avx512_unaligned_2 with
1509         __memmove_chk_avx512_unaligned.  Remove
1510         __memmove_chk_avx_unaligned_2.  Replace
1511         __memmove_chk_sse2_unaligned_2 with
1512         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1513         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1514         with __memmove_avx512_unaligned.  Replace
1515         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1516         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1517         with __memcpy_chk_avx512_unaligned.  Remove
1518         __memcpy_chk_avx_unaligned_2.  Replace
1519         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1520         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1521         Replace __memcpy_avx512_unaligned_2 with
1522         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1523         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1524         with __mempcpy_chk_avx512_unaligned.  Remove
1525         __mempcpy_chk_avx_unaligned_2.  Replace
1526         __mempcpy_chk_sse2_unaligned_2 with
1527         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1528         Replace __mempcpy_avx512_unaligned_2 with
1529         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1530         Replace __mempcpy_sse2_unaligned_2 with
1531         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1532         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1533         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1534         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1535         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1536         (ENTRY): Removed.
1537         (END): Likewise.
1538         (ENTRY_CHK): Likewise.
1539         (libc_hidden_builtin_def): Likewise.
1540         Don't include ../memcpy.S.
1541         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1542         __memcpy_chk_avx512_unaligned_erms and
1543         __memcpy_chk_avx512_unaligned.  Use
1544         __memcpy_chk_avx_unaligned_erms and
1545         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1546         Default to __memcpy_chk_sse2_unaligned.
1547         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1548         Change function suffix from unaligned_2 to unaligned.
1549         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1550         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1551         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1552         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1553         (ENTRY): Removed.
1554         (END): Likewise.
1555         (ENTRY_CHK): Likewise.
1556         (libc_hidden_builtin_def): Likewise.
1557         Don't include ../mempcpy.S.
1558         (mempcpy): New.  Add a weak alias.
1559         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1560         __mempcpy_chk_avx512_unaligned_erms and
1561         __mempcpy_chk_avx512_unaligned.  Use
1562         __mempcpy_chk_avx_unaligned_erms and
1563         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1564         Default to __mempcpy_chk_sse2_unaligned.
1565
1566 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1567
1568         [BZ #19881]
1569         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1570         into ...
1571         * sysdeps/x86_64/memset.S: This.
1572         (__bzero): Removed.
1573         (__memset_tail): Likewise.
1574         (__memset_chk): Likewise.
1575         (memset): Likewise.
1576         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1577         defined.
1578         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1579         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1580         (__memset_zero_constant_len_parameter): Check SHARED instead of
1581         PIC.
1582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1583         memset-avx2 and memset-sse2-unaligned-erms.
1584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1585         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1586         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1587         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1588         (__bzero): Enabled.
1589         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1590         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1591         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1592         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1593         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1594         (memset): Removed.
1595         (__memset_chk): Likewise.
1596         (MEMSET_SYMBOL): New.
1597         (libc_hidden_builtin_def): Replace __memset_sse2 with
1598         __memset_sse2_unaligned.
1599         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1600         __memset_chk_sse2 and __memset_chk_avx2 with
1601         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1602         Use __memset_chk_sse2_unaligned_erms or
1603         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1604         __memset_chk_avx512_unaligned_erms and
1605         __memset_chk_avx512_unaligned.
1606
1607 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1608
1609         * math/gen-auto-libm-test.c (fp_format_desc): remove
1610         suffix member.
1611         (output_generic_value): Remove usage of suffix member,
1612         and the resulting unuse of the fp_format argument.
1613         (output_for_one_input_case): Remove unused fp_format
1614         parameter.
1615
1616         * math/auto-libm-test-out: Regenerate.
1617
1618         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1619         usage with TEST_COND_ibm128.
1620         (TEST_COND_flt_32): Remove.
1621         (TEST_COND_dbl_64): Remove.
1622         (TEST_COND_ldbl_96_intel): Remove.
1623         (TEST_COND_ldbl_96_m68k): Remove.
1624         (TEST_COND_ldbl_128): Remove.
1625
1626 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1627
1628         * auto-libm-test-in:
1629         Replace flt-32 usage with binary32.
1630         Replace dbl-64 usage with binary64.
1631         Replace ldbl-intel-96 usage with intel96.
1632         Replace ldbl-m68k-96 usage with m68k96.
1633         Replace ldbl-128ibm usage with ibm128.
1634         Replace ldbl-128 usage with binary128.
1635
1636         * auto-libm-test-out: Regenerate.
1637
1638 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1639
1640         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1641         (parse_ulps): Dynamically generate type name matching
1642         string from all_floats.
1643         (get_ulps): Generate the ulps as an array instead.
1644         (output_ulps): Dynamically compose the type based
1645         on the number of supported formats, and print
1646         the indices as type specific helper macros.
1647
1648         * math/libm-test.inc: Remove comment about CHOOSE.
1649         (ulp_data): Generate the type in libm-test-ulps.h.
1650         (ULP_IDX): New macro.
1651         (find_ulps): Update usage of max_ulp.
1652
1653         * math/test-double-vlen2.h (CHOOSE): Remove.
1654         * math/test-double-vlen4.h (CHOOSE): Likewise.
1655         * math/test-double-vlen8.h (CHOOSE): Likewise.
1656         * math/test-float.c (CHOOSE): Likewise.
1657         * math/test-float-finite.c (CHOOSE): Likewise.
1658         * math/test-double.c (CHOOSE): Likewise.
1659         * math/test-double-finite.c (CHOOSE): Likewise.
1660         * math/test-idouble.c (CHOOSE): Likewise.
1661         * math/test-ifloat.c (CHOOSE): Likewise.
1662         * math/test-ildoubl.c (CHOOSE): Likewise.
1663         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1664         * math/test-ldouble.c (CHOOSE): Likewise.
1665
1666         * math/test-float.h (TEST_FLOAT): Remove.
1667         * math/test-double.h (TEST_DOUBLE): Likewise.
1668         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1669
1670 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1671
1672         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1673         (parse_args): Strip C suffix from floating point literals
1674         typed with 'f' and wrap them with LIT().
1675
1676         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1677         (test_ff_f_data_nexttoward): Rename to
1678         (test_fj_f_data): New struct.
1679         (nexttoward_test_data): Relabel tests as
1680         TEST_fj_f instead of TEST_ff_f.
1681
1682 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1683
1684         Emacs bug 23726.
1685         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1686         (__libc_realloc): Correct size computation for dumped fake mmapped
1687         chunks.
1688
1689 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1690
1691         [BZ #20219]
1692         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1693         to itself.
1694         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1695
1696         [BZ #20218]
1697         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1698         to itself.
1699         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1700
1701 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1702
1703         [BZ #20195]
1704         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1705         check to ...
1706         (init_cpu_features): Here.
1707
1708 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1709
1710         [BZ #20214]
1711         * sysdeps/unix/sysv/linux/bits/in.h
1712         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1713          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1714         Define to 1.
1715         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1716          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1717         Define to 0.
1718         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1719         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1720
1721 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1722
1723         [BZ #20198]
1724         * stdlib/Makefile (tests): Add tst-quick_exit, and
1725         tst-thread-quick_exit.
1726         [ifeq ($(have-cxx-thread_local),yes)]
1727         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1728         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1729         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1730         (LDLIBS-tst-thread-quick_exit): Likewise.
1731         [ifneq ($(have-cxx-thread_local),yes)]
1732         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1733         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1734         If run_dtors is true call __call_tls_dtors.
1735         (exit): Call __run_exit_handlers with run_dtors set to true.
1736         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1737         definition.
1738         * stdlib/quick_exit.c (quick_exit): Remove function.
1739         (__new_quick_exit): New function.
1740         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1741         function.
1742         * stdlib/tst-quick_exit.cc: New file.
1743         * stdlib/tst-thread-quick_exit.cc: New file.
1744         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1745         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1746         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1747         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1748         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1749         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1750         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1751         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1752         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1753         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1754         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1755         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1757         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1758         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1759         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1764         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1766         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1767         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1768         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1771         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1772         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1773         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1774
1775 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1776
1777         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1778         a typo in comments.
1779
1780 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1781
1782         [BZ #20213]
1783         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1784         argument to itself.
1785         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1786
1787 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1788
1789         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1790         required flags.
1791         (CFLAGS-pwritev64.c): Likewise.
1792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1794         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1795         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1796         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1797         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1798         syscall from auto-generation.
1799         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1800         [WORDSIZE == 64] (pwritev64): Remove macro.
1801         [!PWRITEV] (PWRITEV): Likewise.
1802         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1803         [!PWRITEV] (PWRITE): Likewise.
1804         [!PWRITEV] (OFF_T): Likewise.
1805         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1806         (LO_HI_LONG): Remove macro.
1807         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1808         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1809         (PWRITEV): Remove macro.
1810         (PWRITEV_REPLACEMENTE): Likewise.
1811         (PWRITE): Likewise.
1812         (OFF_T): Likewise.
1813         (pwritev64): New function.
1814         * nptl/tst-cancel4.c (tf_writev): Add test.
1815
1816         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1817         required flags.
1818         (CFLAGS-preadv64.c): Likewise.
1819         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1820         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1821         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1822         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1823         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1824         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1825         syscall from auto-generation.
1826         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1827         [WORDSIZE == 64] (preadv64): Remove macro.
1828         [!PREADV] (PREADV): Likewise.
1829         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1830         [!PREADV] (PREAD): Likewise.
1831         [!PREADV] (OFF_T): Likewise.
1832         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1833         (LO_HI_LONG): Remove macro.
1834         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1835         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1836         (PREADV): Remove macro.
1837         (PREADV_REPLACEMENTE): Likewise.
1838         (PREAD): Likewise.
1839         (OFF_T): Likewise.
1840         (preadv64): New function.
1841         * nptl/tst-cancel4.c (tf_preadv): Add test.
1842
1843 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1844
1845         [BZ #20212]
1846         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1847         argument to itself.
1848         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1849
1850 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1851
1852         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1853         New symbol defined as libc_hidden_def.
1854         (strcasestr): Became a weak alias to __strcasestr.
1855         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1856         according to multi-arch support.  Move __stpncpy hidden
1857         definition from here to...
1858         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1859         symbol stpncpy.
1860         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1861         libc_hidden_builtin_def.
1862         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1863         memset symbol to use when multi-arch support is available.
1864
1865 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1866
1867         * dlfcn/tst-rec-dlopen.c: Include string.h.
1868
1869 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1870
1871         * manual/install.texi: Remove mention of --without-tls
1872         * INSTALL: Regenerate.
1873
1874 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1875
1876         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1877         Remove.
1878         (call_function, interposed_malloc_called): New variables.
1879         (malloc): New function.
1880         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1881         and clear call_function as needed.
1882
1883 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1884
1885         * include/wchar.h (__wmemset): Use __typeof.
1886
1887 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1888
1889         * include/wchar.h (__wmemset): Declare function without typeof.
1890
1891 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1892
1893         [BZ #20205]
1894         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1895         exponent when incrementing negative subnormal with low mantissa
1896         word zero.
1897         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1898         Add another test.
1899
1900 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1901
1902         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1903         __wmemset instead of wmemset.
1904
1905 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1906
1907         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1908         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1909         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1910         __USE_KERNEL_IPV6_DEFS to 0.
1911         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1912         Update comment.
1913
1914 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1915
1916         [BZ #19861]
1917         Do not use IFUNC resolver with potentially unrelocated symbol.
1918         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1919         (DEFINE_FORK): Remove macro and inline definition.
1920         (fork_alias): Renamed from fork_ifunc.
1921         (__fork_alias): Renamed from __fork_ifunc.
1922
1923 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1924
1925         [BZ 19653]
1926         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1927         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1928
1929 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1930
1931         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1932         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1933         i386-linux-gnu).
1934         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1935         Set to no.
1936         * sysdeps/mach/hurd/configure: Refresh.
1937
1938 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1939
1940         [BZ #20178]
1941         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1942         on failure instead of exit.
1943
1944 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1945
1946         [BZ #3629]
1947         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1948         of POSIX.1-2008.
1949
1950 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1951
1952         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1953           Use PLT entry for calling _hurd_self_sigstate.
1954
1955 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1956
1957         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1958         available logical processors with SMT level type sharing L2
1959         cache for Intel processors.
1960
1961 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1962
1963         [BZ #20160]
1964         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1965         argument to itself before returning the result.
1966         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1967         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1968         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1969         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1970         Likewise.
1971         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1972         Likewise.
1973         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1974         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1975         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1976         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1977         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1978         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1979
1980         [BZ #20160]
1981         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1982         argument to itself before returning the result.
1983         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1984         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1985         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1986         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1987         Likewise.
1988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1989         Likewise.
1990         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1991         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1992         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1993         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1994         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1995         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1996
1997 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1998
1999         * libm-test.inc: Replace usage of M_El with
2000         (lit_e): New macro.
2001
2002 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2003
2004         * libm-test.inc: Replace usage of M_PI_4l with
2005         (lit_pi_4_d): New macro.
2006
2007 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2008
2009         * libm-test.inc: Replace usage of M_PIl with
2010         (lit_pi): New macro.
2011
2012 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2013
2014         * libm-test.inc: Replace usage of M_PI2l with
2015         (lit_pi_2_d): New macro.
2016
2017         * math/test-double.h (LITM): New macro.
2018         * math/test-float.h (LITM): Likewise.
2019         * math/test-ldouble.h (LITM): Likewise.
2020
2021 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2022
2023         * libm-test.inc (M_PI_34l): Rename to
2024         (lit_pi_3_m_4_d): New Macro.
2025         (M_PI_34_LOG10El): Rename to
2026         (lit_pi_3_m_4_ln10_m_d): New Macro.
2027         (M_PI2_LOG10El): Rename to
2028         (lit_pi_2_ln10_m_d):  New Macro.
2029         (M_PI4_LOG10El): Rename to
2030         (lit_pi_4_ln10_m_d):  New Macro.
2031         (M_PI_LOG10El): Rename to
2032         (lit_pi_ln10_d):  New Macro.
2033
2034 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2035
2036         [BZ #20157]
2037         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2038         determine whether to negate low half if [_ARCH_PPCGR], and integer
2039         comparison otherwise.
2040         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2041         determine whether to negate low half.
2042
2043         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2044         (NO_TEST_INLINE_DOUBLE): Likewise.
2045         (TEST_COND_x86_64): Likewise.
2046         (TEST_COND_x86): Likewise.
2047         (M_PI_6l): Likewise.
2048
2049 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2050
2051         * math/libm-test.inc:
2052         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2053         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2054         (TEST_LDOUBLE): Update usage to evaluate as true if
2055         the guarded tests match the property being tested.
2056         (LDBL_MAX_EXP): Change to MAX_EXP.
2057         (LDBL_MIN_EXP): Change to MIN_EXP.
2058         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2059         nexttoward tests.
2060
2061 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2062
2063         * math/libm-test.inc:
2064         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2065         (TYPE_MIN): Likewise.
2066         (TYPE_TRUE_MIN): Likewise.
2067         (TYPE_MAX): Likewise.
2068         (MIN_EXP): Likewise.
2069         (MAX_EXP): Likewise.
2070         (MANT_DIG): Likewise.
2071
2072         (FSTR_MAX): New macro.
2073         (__CONCATX): Likewise.
2074         (QTYPE_STR): Likewise.
2075         (TEST_COND_binary32): Likewise.
2076         (TEST_COND_binary64): Likewise.
2077         (TEST_COND_binary128): Likewise.
2078         (TEST_COND_ibm128): Likewise.
2079         (TEST_COND_intel96): Likewise.
2080         (TEST_COND_m68k96): Likewise.
2081
2082         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2083         (TEST_COND_dbl_64): Likewise.
2084         (TEST_COND_ldbl_96_intel): Likewise.
2085         (TEST_COND_ldbl_96_m68k): Likewise.
2086         (TEST_COND_ldbl_128): Likewise.
2087         (TEST_COND_ldbl_128ibm): Likewise.
2088
2089         (plus_zero): Redefine using LIT macro.
2090         (minus_zero): Likewise.
2091         (plus_infty): Redefine as (INF).
2092         (minux_infty): Redefine as (-INF).
2093         (max_value): Redefine as TYPE_MAX.
2094         (min_value): Redefine as TYPE_MIN.
2095         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2096
2097         (print_float): Refactor to use snprintf to convert FLOAT values
2098         to string. This brings it closer to dropin replacement of strtof
2099         for the TS 18661 defined types.
2100         (update_stats): Likewise.
2101         (print_complex_function_ulps): Likewise.
2102         (print_max_error): Likewise.
2103         (print_complex_max_error): Likewise.
2104         (check_float_internal): Likewise.
2105
2106         * math/test-float.h (PREFIX): New macro.
2107         (LIT): Likewise.
2108         (TYPE_STR): Likewise.
2109         (FTOSTR): Likewise.
2110
2111         * math/test-double.h (PREFIX): New macro.
2112         (LIT): Likewise.
2113         (TYPE_STR): Likewise.
2114         (FTOSTR): Likewise.
2115
2116         * math/test-ldouble.h (PREFIX): New macro.
2117         (LIT): Likewise.
2118         (TYPE_STR): Likewise.
2119         (FTOSTR): Likewise.
2120
2121 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2122
2123         [BZ #20156]
2124         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2125         to itself when zero or not finite.
2126         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2127         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2128         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2129         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2130
2131 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2132
2133         [BZ #20153]
2134         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2135         x * x + x for infinities and NaNs.
2136
2137         [BZ #20151]
2138         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2139         argument to itself before returning result.
2140         (__ieee754_y0l): Likewise.
2141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2142         (__ieee754_y1l).
2143
2144         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2145         (atan_test_data): Likewise.
2146         (ceil_test_data): Likewise.
2147         (cos_test_data): Likewise.
2148         (cosh_test_data): Likewise.
2149         (erf_test_data): Likewise.
2150         (exp2_test_data): Likewise.
2151         (fabs_test_data): Likewise.
2152         (floor_test_data): Likewise.
2153         (ilogb_test_data): Likewise.
2154         (j0_test_data): Likewise.
2155         (j1_test_data): Likewise.
2156         (jn_test_data): Likewise.
2157         (lgamma_test_data): Likewise.
2158         (lrint_test_data): Likewise.
2159         (llrint_test_data): Likewise.
2160         (logb_test_data): Likewise.
2161         (lround_test_data): Likewise.
2162         (llround_test_data): Likewise.
2163         (nearbyint_test_data): Likewise.
2164         (rint_test_data): Likewise.
2165         (round_test_data): Likewise.
2166         (sin_test_data): Likewise.
2167         (sincos_test_data): Likewise.
2168         (sinh_test_data): Likewise.
2169         (sqrt_test_data): Likewise.
2170         (tan_test_data): Likewise.
2171         (tanh_test_data): Likewise.
2172         (tgamma_test_data): Likewise.
2173         (trunc_test_data): Likewise.
2174         (y0_test_data): Likewise.
2175         (y1_test_data): Likewise.
2176         (yn_test_data): Likewise.
2177
2178         * math/libm-test.inc: Update comment about NaN testing.
2179         (TEST_SNAN): New macro.
2180         (snan_value): Likewise.
2181         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2182         (fpclassify_test_data): Add sNaN tests.
2183         (isfinite_test_data): Likewise.
2184         (isinf_test_data): Likewise.
2185         (isnan_test_data): Likewise.
2186         (isnormal_test_data): Likewise.
2187         (issignaling_test_data): Likewise.
2188         (signbit_test_data): Likewise.
2189         * math/gen-libm-test.pl (%beautify): Add snan_value.
2190         (show_exceptions): Add argument $test_snan.
2191         (parse_args): Handle snan_value as non-finite.  Update call to
2192         show_exceptions.
2193         * math/Makefile (libm-test-no-inline-cflags): Add
2194         -fsignaling-nans.
2195
2196 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2197
2198         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2199         (CFLAGS-oldsendmsg.c): Add rule.
2200         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2201         Correct recvmsg symbol name.
2202         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2203         Likewise.
2204
2205 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2206
2207         * sysdeps/unix/sysv/linux/Makefile
2208         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2209         oldsendmmsg.
2210         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2211         sendmmsg.
2212         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2215         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2218         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2223         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2224         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2225         iovlen and controllen fields to adjust to POSIX specification.
2226         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2227
2228         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2229         and change to correct expected type.
2230         (msghdr.msg_controllen): Likewise.
2231         (cmsghdr.cmsg_len): Likewise.
2232         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2233         expected POSIX assumption about the size.
2234         (msghdr.msg_controllen): Likewise.
2235         (msghdr.__glibc_reserved1): Likewise.
2236         (msghdr.__glibc_reserved2): Likewise.
2237         (cmsghdr.cmsg_len): Likewise.
2238         (cmsghdr.__glibc_reserved1): Likewise.
2239         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2240         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2241         (CFLAGS-sendmsg.c): Remove rule.
2242         (CFLAGS-recvmsg.c): Likewise.
2243         (CFLAGS-oldsendmsg.c): Add rule.
2244         (CFLAGS-oldrecvmsg.c): Likewise.
2245         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2246         recvmsg and sendmsg.
2247         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2250         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2251         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2252         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2253         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2254         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2257         Likewise.
2258         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2259         Likewise.
2260         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2261         Likewise.
2262         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2263         Likewise.
2264         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2267         (GLIBC_2.24): Likewise.
2268         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2271         Likewise.
2272         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2273         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2274         Likewise.
2275         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2276         Likewise.
2277         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2280         (GLIBC_2.24): Likewise.
2281         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/Makefile
2286         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2287         (CFLAGS-sendmsg.c): Add rule.
2288         (CFLAGS-recvmsg.c): Likewise.
2289         (CFLAGS-oldsendmsg.c): Likewise.
2290         (CFLAGS-oldrecvmsg.c): Likewise.
2291         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2292         initialization.
2293         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2294         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2295         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2296         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2297         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2298         iovlen and controllen fields to adjust to POSIX specification.
2299         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2300         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2301         added recvmsg and sendmsg.
2302         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2303         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2304         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2305         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2306         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2307         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2308         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2309         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2310         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2311         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2312         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2313         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2315         Likewise.
2316         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2318         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2319         Likewise.
2320         Likewise.
2321         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2330         Likewise.
2331         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2333
2334         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2335         from auto-generation.
2336         (sendmsg): Likewise.
2337         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2338         (sendmsg): Likewise.
2339         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2340         (sendmsg): Likewise.
2341         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2342         (sendmsg): Likewise.
2343         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2344         (sendmsg): Likewise.
2345         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2346         (sendmsg): Likewise.
2347         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2348         Likewise.
2349         (sendmsg): Likewise.
2350         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2351         (sendmsg): Likewise.
2352         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2354         Remove.
2355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2356         Likewise.
2357         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2358         Undefine.
2359         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2360         Likewise.
2361         * sysdeps/unix/sysv/linux/kernel-features.h
2362         (__ASSUME_SENDMSG_SYSCALL): Define.
2363         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2364         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2366         Remove.
2367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2368         Likewise.
2369         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2370         Undefine.
2371         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2375         Remove.
2376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2377         Likewise.
2378         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2379         Undefine.
2380         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2381         Likewise.
2382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2383         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2384         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2386         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2387         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2388         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2389         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2390         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2391
2392 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2393
2394         * stdlib/gen-tst-strtod-round.c: Add backslash to
2395         compile command in comment.
2396         (printfp): Remove the literal suffix, and define an infinite
2397         value as INF to avoid expansion clash with INFINITY.
2398         (round_str): Remove the literal suffix.
2399         (round_for_all): Likewise, remove the now duplicate ldbl-64
2400         entry, and remove some magic constants.
2401
2402         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2403         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2404         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2405         (_CONCAT): New macro.
2406         (CONCAT): Likewise.
2407         (CHOOSE_ld): Likewise.
2408         (CHOOSE_f): Likewise.
2409         (CHOOSE_d): Likewise.
2410         (FTYPE_MEMBER): Likewise.
2411         (BOOL_MEMBER): Likewise.
2412         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2413         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2414         (_XNTRY): Likewise.
2415         (XNTRY): Likewise.
2416         (_ENTRY): Likewise.
2417         (ENTRY): Likewise.
2418         (test_exactness): Generate members via macro.
2419         (test_results): Likewise.
2420         (test): Update members.
2421         (TEST): Redefine using new macros.
2422         (INF): New macro.
2423         (fetestmodes): New structure.
2424         (do_test): Refactor to be type generic.
2425         (test_in_one_mode): Refactor duplicate code into
2426         (GEN_ONE_TEST): New macro.
2427
2428         * stdlib/tst-strtod-round-data.h: Regenerate.
2429
2430         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2431         Extend to pass additional arbitrary parameters to
2432         generators.
2433
2434 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2435
2436         [BZ #15479]
2437         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2438         floating-point state after first floating-point operation on
2439         input.  Restore full floating-point state instead of just rounding
2440         mode.
2441         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2444         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2445         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2446
2447         [BZ #15479]
2448         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2449         floating-point state after first floating-point operation on
2450         input.  Restore full floating-point state instead of just rounding
2451         mode.
2452         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2453         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2454         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2455         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2456         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2457
2458 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2459
2460         [BZ #19727]
2461         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2462         valid high surrogate.
2463         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2464         of an utf16 surrogate.
2465         * iconv/gconv_simple.c (BODY): Likewise.
2466         * iconvdata/bug-iconv12.c: New file.
2467         * iconvdata/Makefile (tests): Add bug-iconv12.
2468
2469 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2470
2471         [BZ #19726]
2472         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2473         outptrp in case of an illegal input.
2474         * iconv/tst-iconv6.c: New file.
2475         * iconv/Makefile (tests): Add tst-iconv6.
2476
2477 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2478
2479         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2480         an error in case of a value in range of an utf16 low surrogate.
2481
2482 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2483
2484         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2485         an error in case of a value in range of an utf16 low surrogate.
2486
2487 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2488
2489         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2490         Move to ...
2491         * sysdeps/s390/Makefile: ... here.
2492         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2493         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2494         (BRANCH_ON_COUNT): New define.
2495         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2496         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2497         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2498         run on s390-32, too.
2499         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2500         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2501         run on s390-32, too.
2502         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2503         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2504         run on s390-32, too.
2505
2506 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2507
2508         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2509         etf3eh or new vector loop-variant.
2510
2511 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2512
2513         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2514         etf3eh or new vector loop-variant.
2515
2516 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2517
2518         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2519         or new vector loop-variant.
2520
2521 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522
2523         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2524         Rename to TR_LOOP and usage of tr instead of troo instruction.
2525
2526 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2527
2528         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2529         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2530
2531 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2532
2533         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2534         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2535         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2536         New override define.
2537         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2538
2539 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2540
2541         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2542         * sysdeps/s390/configure.ac: Add test for S390 vector register
2543         support in gcc.
2544         * sysdeps/s390/configure: Regenerated.
2545
2546 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2547
2548         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2549         Install file from $(objpfx)gconv-modules.
2550         ($(objpfx)gconv-modules): Concatenate architecture specific file
2551         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2552         * sysdeps/s390/gconv-modules: New file.
2553         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2554         Deleted.
2555         ($(objpfx)gconv-modules-s390): Deleted.
2556         (sysdeps-gconv-modules): New variable.
2557
2558 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2559
2560         [BZ #15479]
2561         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2562         of immediate operand to rounding instruction.
2563         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2564         Likewise.
2565         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2566         Likewise.
2567         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2568         Likewise.
2569
2570 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2571
2572         * math/libm-test.inc (MIN_EXP): Directly define as
2573         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2574
2575 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2576
2577         * math/libm-test.inc (MANT_DIG): Directly define as
2578         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2579
2580 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2581
2582         * stdlib/gen-tst-strtod-round.c (main):
2583           Change usage to more closely match the generated
2584           output.  Add usage and compilation instructions.
2585           (string_to_fp): Add and use FILE* parameter as
2586           output target.
2587           (print_fp): Likewise.
2588           (round_str): Likewise.
2589           (round_for_all): Likewise.
2590         * stdlib/tst-strtod-round.c (tests): Move into
2591         * stdlib/tst-strtod-round-data.h: New file.
2592
2593 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2594
2595         [BZ #15479]
2596         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2597         (__round): Do not force "inexact" exception.
2598         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2599         variable.
2600         (__round): Do not force "inexact" exception.
2601         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2602         (__roundf): Do not force "inexact" exception.
2603         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2604         (__roundl): Do not force "inexact" exception.
2605         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2606         (__roundl): Do not force "inexact" exception.
2607         * math/libm-test.inc (round_test_data): Do not allow spurious
2608         "inexact" exceptions.
2609
2610         [BZ #15479]
2611         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2612         exception in comment.
2613         (huge): Remove variable.
2614         (__floor): Do not force "inexact" exception.
2615         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2616         "inexact" exception in comment.
2617         (huge): Remove variable.
2618         (__floor): Do not force "inexact" exception.
2619         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2620         exception in comment.
2621         (huge): Remove variable.
2622         (__floorf): Do not force "inexact" exception.
2623         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2624         exception in comment.
2625         (huge): Remove variable.
2626         (__floorl): Do not force "inexact" exception.
2627
2628         [BZ #15479]
2629         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2630         exception in comment.
2631         (huge): Remove variable.
2632         (__ceil): Do not force "inexact" exception.
2633         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2634         "inexact" exception in comment.
2635         (huge): Remove variable.
2636         (__ceil): Do not force "inexact" exception.
2637         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2638         (__ceilf): Do not force "inexact" exception.
2639         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2640         exception in comment.
2641         (huge): Remove variable.
2642         (__ceill): Do not force "inexact" exception.
2643
2644 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2645
2646         * config.h.in (BIND_NOW): New.
2647         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2648         * configure: Regenerated.
2649         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2650         indirect branch via the GOT slot.
2651
2652 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2653
2654         [BZ #19765]
2655         * sysdeps/s390/mempcpy.S: New File.
2656         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2657         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2658         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2659         Add mempcpy variants.
2660         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2661         (memcpy): Adjust to be usable from mempcpy entry point.
2662         (__memcpy_mvcle): Likewise.
2663         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2664         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2665         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2666         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2667         (__memcpy_z10): Likewise.
2668         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2669
2670 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2671
2672         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2673         Remove __GI_ symbol.
2674         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2675         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2676         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2677         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2678         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2679         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2680
2681 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2682
2683         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2684         Use cghi instead of chi to compare 64bit value.
2685
2686 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2687
2688         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2689         Jump to 1MB check before executing mvc-loop.
2690
2691 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2692
2693         [BZ #6527]
2694         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2695         unconditionally.
2696         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2697
2698 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2699
2700         * stdlib/tst-strtod6.c (do_test): Use new type generic
2701         invocation of the test function.
2702         (test): Refactor into ...
2703         (TEST_STRTOD): New macro base function.
2704
2705 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2706
2707         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2708         (TEST_STRTOD): New macro.
2709         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2710
2711 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2712
2713         * stdlib/tst-strtod6.c (do_test): Use new type generic
2714         invocation of the test function.
2715         (test): Refactor into ...
2716         (TEST_STRTOD): New macro base function.
2717
2718 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2719
2720         CVE-2016-4429
2721         [BZ #20112]
2722         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2723         payload.
2724
2725 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2726
2727         [BZ #20111]
2728         * bits/sockaddr.h (_SS_SIZE): Define.
2729         * bits/socket.h (_SS_SIZE): Remove.
2730         (_SS_PADSIZE): Adjust to account for all padding.
2731         (struct sockaddr_storage): Update comment.  Avoid implicit
2732         padding.
2733         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2734         (_SS_PADSIZE): Adjust to account for all padding.
2735         (struct sockaddr_storage): Update comment.  Avoid implicit
2736         padding.
2737         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2738         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2739         (_SS_PADSIZE): Adjust to account for all padding.
2740         (struct sockaddr_storage): Update comment.  Avoid implicit
2741         padding.
2742         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2743         __SS_SIZE is 126 in this version.
2744         * inet/tst-sockaddr.c: New file.
2745         * inet/Makefile (tests): Add tst-sockaddr.c
2746         (tst-sockaddr.c): Compile with non-strict aliasing.
2747
2748 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2749
2750         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2751         [XPG3 || XPG4].
2752         (NL_ARGMAX): Also expect for [XPG3].
2753         (NL_LANGMAX): Likewise.
2754         (NL_MSGMAX): Likewise.
2755         (NL_NMAX): Likewise.
2756         (NL_SETMAX): Likewise.
2757         (NL_TEXTMAX): Likewise.
2758         (NZERO): Likewise.
2759         (TMP_MAX): Likewise.
2760         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2761         variable.
2762
2763         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2764         (PF_MAX): Update value.
2765         (AF_KCM): New macro.
2766         (SOL_NETBEUI): Likewise.
2767         (SOL_LLC): Likewise.
2768         (SOL_DCCP): Likewise.
2769         (SOL_NETLINK): Likewise.
2770         (SOL_TIPC): Likewise.
2771         (SOL_RXRPC): Likewise.
2772         (SOL_PPPOL2TP): Likewise.
2773         (SOL_BLUETOOTH): Likewise.
2774         (SOL_PNPIPE): Likewise.
2775         (SOL_RDS): Likewise.
2776         (SOL_IUCV): Likewise.
2777         (SOL_CAIF): Likewise.
2778         (SOL_ALG): Likewise.
2779         (SOL_NFC): Likewise.
2780         (SOL_KCM): Likewise.
2781         (MSG_BATCH): New enum value and macro.
2782
2783 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2784
2785         [BZ #18185]
2786         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2787         sharing L2 cache to 2 for Knights Landing.
2788
2789 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2790
2791         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2792         (FTW_DP): Do not expect for [XPG3 || XPG4].
2793         (FTW_SL): Do not expect for [XPG3].
2794         (FTW_SLN): Likewise.
2795         (FTW_PHYS): Likewise.
2796         (FTW_MOUNT): Likewise.
2797         (FTW_DEPTH): Likewise.
2798         (FTW_CHDIR): Likewise.
2799         (nftw): Likewise.
2800         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2801         variable.
2802
2803 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2804
2805         * manual/errno.texi: Fix various typos & grammar errors.
2806
2807 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2808
2809         * manual/intro.texi: Fix duplicated typo.
2810
2811 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2812
2813         [BZ #13304]
2814         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2815         <float.h>, <math_private.h> and <stdlib.h>.
2816         (add_split): New function.
2817         (mul_split): Likewise.
2818         (ext_val): New typedef.
2819         (store_ext_val): New function.
2820         (mul_ext_val): New function.
2821         (compare): New function.
2822         (add_split_ext): New function.
2823         (__fmal): After checking for Inf, NaN and zero, compute result as
2824         an exact sum of scaled double values in round-to-nearest before
2825         adding those up and adjusting for other rounding modes.
2826         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2827         tests of fma.
2828         * math/auto-libm-test-out: Regenerated.
2829
2830 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2831
2832         [BZ #20119]
2833         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2834         processor level type mask for CPUID with EAX == 11.
2835
2836 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2837
2838         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2839         logical threads if the HTT bit is 0.
2840         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2841         (index_cpu_HTT): Likewise.
2842         (reg_HTT): Likewise.
2843
2844 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2845
2846         [BZ #20115]
2847         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2848         Remove alignments on jump targets.
2849
2850 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2851
2852         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2853         (getpwent): Likewise.
2854         (setpwent): Likewise.
2855         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2856         variable.
2857
2858         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2859         (remque): Likewise.
2860         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2861         variable.
2862
2863 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2864
2865         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2866         not being tested.
2867
2868 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2869
2870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2871         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2872         call.
2873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2874         (__condvar_cleanup1): Likewise.
2875
2876 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2877
2878         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2879         New
2880         (__pthread_unwind): Renamed to ...
2881         (PTHREAD_UNWIND): This.
2882         (__pthread_enable_asynccancel): Replace
2883         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2884
2885 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2886
2887         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2888         (CLONE_NEWCGROUP): New macro.
2889
2890         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2891         (Q_GETNEXTQUOTA): New macro.
2892
2893 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2894
2895         [BZ #19907]
2896         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2897         buffer updated by the previous run.
2898         * string/test-memcpy.c (do_one_test): Likewise.
2899         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2900         * string/test-memmove.c (do_one_test): Likewise.
2901
2902 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2903
2904         [BZ #20094]
2905         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2906         not [__USE_XOPEN].
2907         (unlockpt): Likewise.
2908         (ptsname): Likewise.
2909         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2910         variable.
2911
2912         [BZ #20076]
2913         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2914         instead of [__USE_UNIX98].
2915         (S_ISSOCK): Likewise.
2916         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2917         variable.
2918
2919         [BZ #20074]
2920         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2921         [__USE_POSIX].
2922         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2923         variable.
2924
2925         [BZ #20051]
2926         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2927         (ttyslot): Do not declare.
2928         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2929         (ttyslot): New prototype.
2930         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2931         variable.
2932         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2933
2934 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2935
2936         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2937
2938 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2939
2940         Fix race condition in tst-mallocfork2, use fewer resources.
2941         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2942         to current process group.
2943         (signal_sender): Yield in the non-sleeping case.
2944
2945 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2946
2947         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2948         (ecvt): Likewise.
2949         (fcvt): Likewise.
2950         (gcvt): Likewise.
2951         (getsubopt): Likewise.
2952         (grantpt): Likewise.
2953         (initstate): Likewise.
2954         (l64a): Likewise.
2955         (mktemp): Likewise.
2956         (mkstemp): Likewise.
2957         (ptsname): Likewise.
2958         (random): Likewise.
2959         (realpath): Likewise.
2960         (setstate): Likewise.
2961         (srandom): Likewise.
2962         (ttyslot): Likewise.
2963         (unlockpt): Likewise.
2964         (valloc): Likewise.
2965
2966         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2967         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2968         variable.
2969
2970 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2971
2972         [BZ #20072]
2973         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2974         init_cpu_features only if SHARED is defined.
2975         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2976
2977 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2978
2979         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2980         non-inclusive caches on Intel processors.
2981
2982 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2983
2984         * malloc/malloc.c (dumped_main_arena_start)
2985         (dumped_main_arena_end): New variables.
2986         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2987         (do_check_chunk): Skip dumped fake mmapped chunks.
2988         (munmap_chunk): Likewise.
2989         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2990         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2991         mmapped chunks.
2992         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2993         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2994         and dumped_main_arena_end to cover the dumped heap.
2995
2996 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2997
2998         * conform/data/time.h-data (getdate_err): Do not expect for
2999         [XPG3].
3000         (getdate): Likewise.
3001         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3002         variable.
3003
3004         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3005         (F_ULOCK): Likewise.
3006         (F_TEST): Likewise.
3007         (F_TLOCK): Likewise.
3008         (useconds_t): Likewise.
3009         (intptr_t): Do not expect for [XPG3] or [XPG4].
3010         (brk): Do not expect for [XPG3]
3011         (fchown): Likewise.
3012         (fchdir): Likewise.
3013         (ftruncate): Likewise.
3014         (getdtablesize): Likewise.
3015         (gethostid): Likewise.
3016         (getpagesize): Likewise.
3017         (getpgid): Likewise.
3018         (getsid): Likewise.
3019         (getwd): Likewise.
3020         (lchown): Likewise.
3021         (lockf): Likewise.
3022         (readlink): Likewise.
3023         (sbrk): Likewise.
3024         (setpgrp): Likewise.
3025         (setregid): Likewise.
3026         (setreuid): Likewise.
3027         (symlink): Likewise.
3028         (sync): Likewise.
3029         (truncate): Likewise.
3030         (ualarm): Likewise.
3031         (usleep): Likewise.
3032         (vfork): Likewise.
3033         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3034         variable.
3035
3036         [BZ #20054]
3037         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3038         not [__USE_UNIX98].
3039         * conform/data/unistd.h-data (gethostname): Do not expect for
3040         [XPG3].
3041
3042         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3043         [!POSIX] (S_IFBLK): Likewise.
3044         [!POSIX] (S_IFCHR): Likewise.
3045         [!POSIX] (S_IFIFO): Likewise.
3046         [!POSIX] (S_IFREG): Likewise.
3047         [!POSIX] (S_IFDIR): Likewise.
3048         [!POSIX] (S_IFLNK): Likewise.
3049         [!POSIX] (S_IFSOCK): Likewise.
3050         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3051         variable.
3052         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3053
3054 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3055
3056         * sysdeps/aarch64/memset.S (__memset):
3057         Rewrite of optimized memset.
3058
3059 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3060
3061         [BZ #19703]
3062         Partially async-signal-safe fork for single-threaded processes.
3063         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3064         variable.  Do not acquire and reset/release malloc and libio locks
3065         in single-threaded processes.
3066         * malloc/tst-mallocfork2.c: New file.
3067         * malloc/Makefile (tests): Add it.
3068
3069 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3070
3071         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3072         argument.  Use scratch buffer instead of extend_alloca.
3073         (gethosts): Use scratch buffer instead of extend_alloca.
3074         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3075         extend_alloca.
3076         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3077
3078 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3079
3080         [BZ #20055]
3081         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3082         instead of [__USE_UNIX98].
3083         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3084         [__USE_UNIX98].
3085         * conform/data/termios.h-data (tcgetsid): Do not expect for
3086         [XPG3].
3087         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3088         variable.
3089         (test-xfail-XPG4/termios.h/conform): Likewise.
3090
3091 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3092
3093         Do not use mcheck in localedef.
3094         * locale/programs/localedef.c (turn_on_mcheck)
3095         (__malloc_initialize_hook): Remove.
3096
3097 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3098
3099         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3100         * sysdeps/s390/s390-64/Makefile: Likewise.
3101
3102 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3103
3104         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3105         Remove ifunc-defines.sym.
3106         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3107         Likewise.
3108         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3109         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3110         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3111         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3112         rtld-global-offsets.sym.
3113         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3114         * sysdeps/x86/cpu-features-offsets.sym: This.
3115         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3116         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3117
3118 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3119
3120         [BZ #20073]
3121         * io/sys/stat.h (fchmod): Declare for
3122         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3123         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3124         variable.
3125
3126         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3127         [XPG3] (S_IFSOCK): Likewise.
3128         [XPG3] (S_ISVTX): Likewise.
3129         [XPG3] (S_ISLNK): Likewise.
3130         [XPG3] (S_ISSOCK): Likewise.
3131         [XPG3] (fchmod): Likewise.
3132         [XPG3] (lstat): Likewise.
3133         [XPG3] (mknod): Likewise.
3134
3135         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3136         [XPG3].  Expect type long and XFAIL for [XPG4].
3137         (st_blocks): Likewise.
3138
3139         [BZ #20044]
3140         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3141         (pthread_atfork): New prototype.
3142         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3143         variable.
3144
3145         [BZ #20043]
3146         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3147         prototype.
3148
3149 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3150
3151         [BZ #20017]
3152         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3153         gmtime.
3154
3155 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3156
3157         [BZ #19994]
3158         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3159         flag in _res.options.
3160
3161 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3162
3163         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3164         [XPG3 || XPG4].
3165         (blksize_t): Likewise.
3166         (clockid_t): Likewise.
3167         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3168         variable.
3169         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3170
3171 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3172
3173         * sysdeps/unix/sysv/linux/s390/init-first.c:
3174         Add VDSO_SYMBOL(getcpu).
3175         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3176         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3177         Add VDSO_SYMBOL(getcpu).
3178         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3179         New define HAVE_GETCPU_VSYSCALL.
3180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3181
3182 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3183
3184         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3185         instead of <sysdeps/x86_64/cacheinfo.c>.
3186         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3187         * sysdeps/x86/cacheinfo.c: Here.
3188
3189 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3190
3191         * malloc/malloc-internal.h: Adjust header file guard.
3192
3193 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3194
3195         [BZ #19787]
3196         * inet/getnameinfo.c (check_sprintf_result): New function.
3197         (CHECKED_SNPRINTF): New macro.
3198         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3199         to the host buffer.
3200         (gni_host_local): Use checked_copy to copy the host name.
3201         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3202         (gni_serv_local): Use checked_copy to copy the service name.
3203         (getnameinfo): Remove unnecessary truncation of result buffers.
3204
3205 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3206
3207         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3208         in case of inet_ntop failure.
3209
3210 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3211
3212         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3213         avoid long lines.
3214         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3215         variables.
3216         (gni_host_inet, gni_host_local): Add comment.
3217         (gni_host): Add comment.  Use temporary to avoid long lines.
3218
3219 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3220
3221         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3222         registers specifiers where general purpose registers specifiers should
3223         have been used.
3224
3225 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3226
3227         [BZ #19779]
3228         CVE-2016-1234
3229         Avoid copying names of directory entries.
3230         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3231         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3232         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3233         (struct readdir_result): New type.
3234         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3235         (GL_READDIR): New macros.
3236         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3237         (convert_dirent, convert_dirent64): New functions.
3238         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3239         convert_dirent64.  Adjust references to the readdir result.
3240         * sysdeps/unix/sysv/linux/i386/glob64.c:
3241         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3242         * posix/bug-glob2.c (LONG_NAME): Define.
3243         (filesystem): Add LONG_NAME.
3244         (my_DIR): Increase the size of room_for_dirent.
3245
3246 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3247
3248         [BZ #20041]
3249         * misc/sys/select.h (__need_timespec): Only define if
3250         [__USE_XOPEN2K].
3251         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3252         variable.
3253         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3254         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3255         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3256
3257 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3258             Segher Boessenkool  <segher@gcc.gnu.org>
3259
3260         [BZ #20004]
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3262         (__novec_swapcontext): Add missing load.
3263
3264 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3265
3266         [BZ #20023]
3267         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3268         <time.h>.
3269         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3270         variable.
3271         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3272
3273 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3274
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3276         flags CLONE_VM compare.
3277
3278 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3279
3280         [BZ #20031]
3281         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3282         completely empty.
3283
3284 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3285
3286         [BZ #19573]
3287         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3288         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3289         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3290         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3291         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3292         (hesiod_free_list): Mark as hidden.
3293         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3294         res_set, res_get.
3295         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3296         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3297         (hesiod_init): Remove obsolete res_ninit call.
3298         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3299         (hesiod_bind): Do not call init.
3300         (get_txt_records): Use res_mkquery, res_send instead of
3301         res_nmkquery, res_nsend.
3302         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3303         instead of _nss_hesiod_init.
3304         (_nss_hesiod_initgroups_dyn): Likewise.
3305         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3306         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3307         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3308
3309 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3310
3311         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3312         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3313
3314 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3315
3316         * hesiod/hesiod.h: Remove RCS keyword.
3317         * hesiod/hesiod_p.h: Likewise.
3318
3319         * hesiod/hesiod.c: Likewise.
3320
3321 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3322
3323         [BZ #12450]
3324         * locale/iso-639.def: Add Samogitian/sgs.
3325
3326 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3327
3328         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3329
3330         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3331
3332 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3333             Carlos O'Donell  <carlos@redhat.com>
3334
3335         [BZ #19072]
3336         * grp/Makefile (headers): Add grp-merge.h
3337         (routines): Add grp-merge.
3338         * grp/getgrgid_r.c: Include grp-merge.h.
3339         (DEEPCOPY_FN): Define.
3340         (MERGE_FN): Define.
3341         * grp/getgrname_r.c: Include grp-merge.h.
3342         (DEEPCOPY_FN): Define.
3343         (MERGE_FN): Define.
3344         * grp/grp-merge.c: New file.
3345         * grp/grp-merge.h: New file.
3346         * include/grp-merge.h: New file.
3347         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3348         __copy_grp@GLIBC_PRIVATE.
3349         * manual/nss.texi (Actions in the NSS configuration): Describe
3350         return, continue, and merge.
3351         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3352         (DEEPCOPY_FN): Define.
3353         (MERGE_FN): Define.
3354         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3355         (DEEPCOPY_FN): Define.
3356         (MERGE_FN): Define.
3357         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3358         [!MERGE_FN]: Define __merge_einval.
3359         (CHECK_MERGE): Define.
3360         (REENTRANT_NAME): Process merge if do_merge is true.
3361         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3362         (__nss_getent_r): Likewise.
3363         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3364         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3365
3366 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3367
3368         [BZ #20012]
3369         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3370         length to calculate the buffer to read.
3371         (fmemopen_write): Set the buffer position based on bytes written.
3372         (fmemopen_seek): Return EINVAL for invalid whence modes.
3373
3374         [BZ #19957]
3375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3376         tst-getpid2.
3377         (test): Add tst-clone2.
3378         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3379         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3380         pid/tid fields for CLONE_VM.
3381         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3382         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3383         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3384         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3385         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3386         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3387         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3388         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3390         Likewise.
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3392         Likewise.
3393         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3394         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3395         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3396         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3397         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3398         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3399         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3400         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3401
3402 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3403
3404         [BZ #19642]
3405         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3406         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3407         (gni_serv_local, gni_serv): New functions extracted from
3408         getnameinfo.
3409         (getnameinfo): Call gni_host and gni_serv to perform the
3410         processing.  Always free scratch buffer.
3411
3412 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3413
3414         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3415         remaining bytes in the dest string, with zeros.
3416
3417 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3418
3419         [BZ #20010]
3420         CVE-2016-3706
3421         * sysdeps/posix/getaddrinfo.c
3422         (convert_hostent_to_gaih_addrtuple): New function.
3423         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3424         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3425         AF_INET data.
3426
3427 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3428
3429         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3430         callback function gl_readdir.
3431         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3432         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3433         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3434         memcpy to copy the name.
3435         * manual/pattern.texi (Calling Glob): Document requirements for
3436         implementations of the gl_readdir callback function.
3437         * manual/examples/mkdirent.c: New example.
3438         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3439         per the manual guidance.
3440         * posix/tst-gnuglob.c (my_readdir): Likewise.
3441
3442 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3443
3444         [BZ #20014]
3445         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3446         not [__USE_POSIX].
3447         (getchar_unlocked): Likewise.
3448         (putc_unlocked): Likewise.
3449         (putchar_unlocked): Likewise.
3450         (flockfile): Likewise.
3451         (ftrylockfile): Likewise.
3452         (funlockfile): Likewise.
3453         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3454         variable.
3455         (test-xfail-XPG4/stdio.h/conform): Likewise.
3456
3457         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3458         Expect constant.
3459         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3460         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3461         variable.
3462         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3463         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3464
3465         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3466         [__USE_LARGEFILE64] (off64_t): Likewise.
3467         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3468         variable.
3469
3470 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3471
3472         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3473
3474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3475
3476         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3477         * resolv/res_init.c: Likewise.
3478         * resolv/res_mkquery.c: Likewise.
3479
3480 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3481
3482         * resolv/res_init.c (isascii): Do not define.  Use definition in
3483         <ctype.h>.
3484         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3485         (LOG_AUTH): Remove.
3486         (SPRINTF): Remove, adjust caller.
3487         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3488
3489 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3490
3491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3492         SUNSECURITY conditional.
3493         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3494
3495 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3496
3497         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3498         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3499         Remove BSD-related preprocessor conditionals.
3500         * conf/portability.h: Remove.
3501
3502 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3503
3504         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3505         * resolv/res_data.c: Likewise.
3506
3507 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3508
3509         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3510         * resolv/res_data.c: Remove code conditional on ultrix.
3511
3512 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3513
3514         * resolv/res_init.c (RFC1535): Do not define.  Remove
3515         RFC1535 preprocessor conditionals.
3516         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3517         because there configuration options which make the resolver
3518         behavior different.
3519
3520 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3521
3522         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3523         RESOLVSORT preprocessor conditionals.
3524         * resolv/nss_dns/dns-host.c: Likewise.
3525         * resolv/res_init.c: Likewise.
3526
3527 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3528
3529         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3530         is never defined.
3531
3532 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3533
3534         * inet/inet_lnaof.c: Remove SCSS keyword.
3535         * inet/inet_mkadr.c: Likewise.
3536         * inet/inet_net.c: Likewise.
3537         * inet/inet_netof.c: Likewise.
3538         * inet/rcmd.c: Likewise.
3539         * inet/rexec.c: Likewise.
3540         * inet/ruserpass.c: Likewise.
3541
3542 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3543
3544         * resolv/inet_addr.c: Remove _LIBC conditionals.
3545         * resolv/res_data.c: Likewise.
3546         * resolv/res_init.c: Likewise.
3547         * resolv/res_mkquery.c: Likewise.
3548         * resolv/res_libc.c: Update comment.
3549         * resolv/README: Update.
3550
3551 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3552
3553         * resolv/gethnamaddr.c: Remove SCSS keyword.
3554         * resolv/herror.c: Likewise.
3555         * resolv/inet_addr.c: Likewise.
3556         * resolv/inet_net_ntop.c: Likewise.
3557         * resolv/inet_net_pton.c: Likewise.
3558         * resolv/inet_neta.c: Likewise.
3559         * resolv/inet_ntop.c: Likewise.
3560         * resolv/inet_pton.c: Likewise.
3561         * resolv/ns_date.c: Remove RCS keyword.
3562         * resolv/ns_name.c: Likewise.
3563         * resolv/ns_netint.c: Likewise.
3564         * resolv/ns_parse.c: Likewise.
3565         * resolv/ns_print.c: Likewise.
3566         * resolv/ns_samedomain.c: Likewise.
3567         * resolv/ns_ttl.c: Likewise.
3568         * resolv/nsap_addr.c: Likewise.
3569         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3570         * resolv/res_data.c: Remove RCS keyword.
3571         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3572         * resolv/res_init.c: Likewise.
3573         * resolv/res_mkquery.c: Likewise.
3574         * resolv/res_query.c: Likewise.
3575         * resolv/res_send.c: Likewise.
3576
3577 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3578
3579         * conform/data/stdio.h-data (fdopen): Expect also for
3580         [XPG3 || XPG4].
3581
3582         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3583         (fseeko): Likewise.
3584         (ftello): Likewise.
3585         (ftrylockfile): Likewise.
3586         (funlockfile): Likewise.
3587         (getc_unlocked): Likewise.
3588         (getchar_unlocked): Likewise.
3589         (putc_unlocked): Likewise.
3590         (putchar_unlocked): Likewise.
3591
3592 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3593
3594         [BZ #19868]
3595         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3596         DNS packet syntax checks (which were not needed before).  Skip
3597         over non-PTR records.
3598
3599 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3600
3601         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3602         definition.  Include <stddef.h> instead.
3603
3604 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3605
3606         [BZ #19831]
3607         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3608         function.
3609         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3610         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3611
3612 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3613
3614         [BZ #19862]
3615         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3616         (getanswer_r): Do not call syslog.
3617         (gaih_getanswer_slice): Likewise.
3618         * resolv/gethnamaddr.c (AskedForGot): Remove.
3619         (getanswer): Do not call syslog.
3620         (gethostbyaddr): Likewise.
3621
3622 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3623
3624         * conform/data/signal.h-data (union sigval): Expect also if
3625         [XOPEN2K].
3626         (struct sigevent): Likewise.
3627         (SIGEV_NONE): Likewise.
3628         (SIGEV_SIGNAL): Likewise.
3629         (SIGEV_THREAD): Likewise.
3630         (SIGRTMIN): Likewise.
3631         (SIGRTMAX): Likewise.
3632         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3633         variable.
3634         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3635
3636 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3637
3638         [BZ #19830]
3639         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3640         (gaih_getanswer_slice): Likewise.
3641         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3642         Also check for availability of RR metadata.
3643
3644 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3645
3646         [BZ #19825]
3647         * resolv/res_send.c (send_vc): Remove early *resplen2
3648         initialization.  Set *resplen2 on socket error.  Call
3649         close_and_return_error for other errors.
3650
3651 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3652
3653         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3654         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3655         (SCM_IUCV_TRGCLS): New define.
3656
3657 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3658
3659         [BZ #20005]
3660         * libio/fmemopen.c (fmemopen_write): Update internal position after
3661         write.
3662         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3663         * stdio-common/tst-fmemopen4.c: New file..
3664
3665 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3666
3667         [BZ #19996]
3668         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3669         not [__USE_XOPEN2K].
3670         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3671         variable.
3672
3673         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3674         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3675         variable.
3676
3677         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3678         [__USE_XOPEN2K8].
3679         [__USE_LARGEFILE64] (off64_t): Likewise.
3680         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3681         variable.
3682
3683 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3684
3685         [BZ #19989]
3686         * libio/stdio.h (cuserid): Do not declare if
3687         [__USE_XOPEN2K && !__USE_GNU].
3688         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3689         variable.
3690
3691 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3692
3693         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3694         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3696         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3697         ifunc'ed strcspn.
3698         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3699         [EALIGN]: Removed.
3700         [END]: Likewise
3701         [STRSPN]: Define instead of the above to control symbol name.
3702         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3703         New file.
3704         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3705         Likewise.
3706         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3707         Likewise.
3708         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3709         Likewise.
3710         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3711         [INITIAL_MASK]: New macro.
3712         [STRCSPN]: Likewise.
3713         [UPDATE_MASK]: Likewise.
3714         [USE_AS_STRCSPN]: Lisewise.
3715
3716 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3717
3718         [BZ #19931]
3719         * stdio-common/tst-vfprintf-width-prec.c: New file.
3720         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3721         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3722         (generated): Add mtrace-related files.
3723         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3724         (tst-%-mem.out): New pattern rule, replaces
3725         tst-printf-bz18872-mem.out.
3726         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3727         specifier, deallocate any previously allocated work buffer.
3728
3729 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3730
3731         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3732         Add nop before __startcontext, add explaining comments.
3733
3734 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3735
3736         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3737         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3738         completely different API.
3739
3740         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3741         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3742         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3743         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3744         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3745         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3746         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3747         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3748         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3749         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3750
3751 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3752
3753         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3754
3755 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3756
3757         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3758         when it is the default of 0.
3759
3760 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3761
3762         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3763         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3764         (sysdep_routines): Add new strcasestr targets.
3765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3766         (__libc_ifunc_impl_list): Likewise.
3767         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3768         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3769         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3770         * sysdeps/powerpc/powerpc64/power8/Makefile:
3771         New file to add strcasestr-ppc64 to sysdep_routines.
3772         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3773         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3774
3775 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3776
3777         * benchtests/Makefile (wcsmbs-benchset): Include only for
3778         native builds and runs.
3779         (LOCALES): Likewise.
3780         (bench-build): Build timing-type here instead of the bench
3781         target.  Generate locale only for native builds.
3782         * benchtests/README: Add note for cross-building.
3783
3784         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3785
3786         * benchtests/README: Update README to include instructions on
3787         using bench-build.
3788
3789         * Makefile.in (bench-build): New target.
3790         * Rules (PHONY): Add bench-build target.
3791         * benchtests/Makefile (bench): Depend on bench-build.
3792         (bench-build): New target.
3793
3794 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3795
3796         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3797         profil_reply_port.
3798         (profile_waiter): Do not initialize profil_reply_port.
3799         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3800         frequency instead of tick length in us.
3801
3802 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3803
3804         [BZ #18712]
3805         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3806         (__old_mempcpy_small): Likewise.
3807         (__old_strcpy_small): Likewise.
3808         (__old_stpcpy_small): Likewise.
3809         (__old_strpbrk_c2): Fix compat symbol name.
3810         (__old_strpbrk_c3): Likewise.
3811         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3812         (__mempcpy_small): Remove.
3813         (__strcpy_small): Remove.
3814         (__stpcpy_small): Remove.
3815
3816 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3817
3818         [BZ #19400]
3819         * locale/iso-639.def: Add the Talossan/tzl language.
3820
3821 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3822
3823         [BZ #16983]
3824         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3825         comment.  Add "ln" to strchr check on postal_fmt.
3826
3827 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3828
3829         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3830         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3831         tel_dom_fmt.
3832
3833 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3834
3835         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3836         (sysdep_routines): Added __strlen_power8.
3837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3838         __strlen_power8 entry.
3839         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3840         Implementation for POWER8.
3841         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3842         for __strlen_power8.
3843         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3844         Implementation for POWER8.
3845
3846 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3847
3848         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3849
3850 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3851
3852         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3853         Goldmont and Airmont processors.
3854
3855 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3856
3857         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3858         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3859         (__STRING2_SMALL_GET32): Remove.
3860         (memset): Remove.
3861         (__memset_1): Remove.
3862         (__memset_gc): Remove.
3863         (__mempcpy): Remove.
3864         (mempcpy): Remove.
3865         (__mempcpy_args): Remove.
3866         (strchr): Remove.
3867         (strcpy): Remove.
3868         (strcpy_args): Remove.
3869         (__stpcpy_args): Remove.
3870         (__strcmp_cc): Remove.
3871         (__strcmp_gc): Remove.
3872         (strstr): Remove.
3873
3874 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3875
3876         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3877         * nis/nis_call.c (nis_server_cache_add): Likewise.
3878
3879 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3880
3881         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3882
3883 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3884
3885         * malloc/arena.c (__malloc_fork_lock_parent)
3886         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3887         internal_function attribute.
3888
3889 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3890
3891         * stdio-common/printf_fp.c (__printf_fp_l):
3892         Rename ___printf_fp_l to __printf_fp_l and
3893         remove strong alias. Use libc_hidden_def instead
3894         of ldbl_hidden_def macro.
3895
3896 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3897
3898         Remove malloc hooks from fork handler.  They are no longer needed
3899         because malloc runs right before fork, and no malloc calls from
3900         other fork handlers are not possible anymore.
3901         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3902         declarations.
3903         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3904         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3905         (atfork_recursive_cntr): Remove.
3906         (__malloc_fork_lock_parent): Do not override malloc hooks and
3907         thread_arena.
3908         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3909         thread_arena.
3910         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3911         thread_arena instead of save_arena.
3912
3913 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3914
3915         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3916         (thread_atfork, thread_atfork_static): Remove.
3917         * sysdeps/mach/hurd/malloc-machine.h:
3918         (thread_atfork, thread_atfork_static): Remove.
3919
3920 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3921
3922         [BZ #19431]
3923         Run the malloc fork handler as late as possible to avoid deadlocks.
3924         * malloc/malloc-internal.h: New file.
3925         * malloc/malloc.c: Include it.
3926         * malloc/arena.c (ATFORK_MEM): Remove.
3927         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3928         Update comment.
3929         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3930         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3931         Remove outdated comment.
3932         (ptmalloc_init): Do not call thread_atfork.  Remove
3933         thread_atfork_static.
3934         * malloc/tst-malloc-fork-deadlock.c: New file.
3935         * Makefile (tests): Add tst-malloc-fork-deadlock.
3936         (tst-malloc-fork-deadlock): Link against libpthread.
3937         * manual/memory.texi (Aligned Memory Blocks): Update safety
3938         annotation comments.
3939         * sysdeps/nptl/fork.c (__libc_fork): Call
3940         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3941         __malloc_fork_unlock_child.
3942         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3943
3944 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3945
3946         [BZ #19613]
3947         Remove union wait.
3948         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3949         (w_stopsig, w_stopval): Remove.
3950         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3951         stat_loc argument.
3952         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3953         (__WAIT_STATUS_DEFN): Remove.
3954         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3955         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3956         (wait, wait3, wait4): Use int * for the stat_loc argument.
3957         * posix/wait.c (__wait): Likewise.
3958         * posix/wait3.c (__wait3): Likewise.
3959         * posix/wait4.c (__wait4): Likewise.
3960         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3961         (__WAIT_STATUS_DEFN): Remove.
3962         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3963         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3964         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3965         argument.
3966         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3967         * sysdeps/posix/wait3.c (__wait3): Likewise.
3968         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3969         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3970         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3971         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3972         stat_loc argument.
3973         * manual/process.texi (BSD Wait Functions): Remove union wait.
3974
3975 2016-04-13  Andreas Schwab  <schwab@suse.de>
3976
3977         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3978         (test-extras): Add tst-tlsalign-vars.
3979         * math/Makefile: Wrap long lines.
3980         (libm-vec-test-wrappers): Define.
3981         (test-extras): Add $(libm-vec-test-wrappers).
3982         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3983         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3984         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3985         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3986         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3987         (extra-test-objs): Add corresponding objects.
3988
3989 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3990
3991         [BZ #19928]
3992         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3993         New.
3994         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3995         times of shared cache size.
3996         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3997         (VMOVNT): New.
3998         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3999         (VMOVNT): Likewise.
4000         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4001         (VMOVNT): Likewise.
4002         (VMOVU): Changed to movups for smaller code sizes.
4003         (VMOVA): Changed to movaps for smaller code sizes.
4004         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4005         comments.
4006         (PREFETCH): New.
4007         (PREFETCH_SIZE): Likewise.
4008         (PREFETCHED_LOAD_SIZE): Likewise.
4009         (PREFETCH_ONE_SET): Likewise.
4010         Rewrite to use forward and backward loops, which move 4 vector
4011         registers at a time, to support overlapping addresses and use
4012         non temporal store if size is above the threshold and there is
4013         no overlap between destination and source.
4014
4015 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4016
4017         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4018         Include dl-vdso.
4019         * sysdeps/unix/sysv/linux/mips/Versions: Add
4020         __vdso_clock_gettime.
4021         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4022         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4023         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4024         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4025         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4026         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4027         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4028         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4029         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4030
4031 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4032
4033         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4034         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4037         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4038         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4041         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4043         syscalls generation.
4044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4045         [__NR_pwrite64] (__NR_write): Remove define.
4046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4047         [__NR_pwrite64] (__NR_write): Remove define.
4048         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4049         Remove define.
4050         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4051         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4052         Remove define.
4053         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4054         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4055         Linux implementation as base.
4056         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4057
4058         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4059         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4064         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4065         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4066         syscall generation.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4068         [__NR_pread64] (__NR_pread): Remove define.
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4070         [__NR_pread64] (__NR_pread): Likewise.
4071         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4072         define.
4073         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4074         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4075         Remove define.
4076         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4077         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4078         Linux implementation as base.
4079         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4080         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4081         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4082
4083         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4084         definition.
4085         (__ALIGNMENT_COUNT): Likewise.
4086         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4087         (__ALIGNMENT_COUNT): Likewise.
4088         (SYSCALL_LL): New define.
4089         (SYSCALL_LL64): Likewise.
4090         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4091         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4092         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4093         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4094
4095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4096         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4098         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4099         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4100         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4101
4102 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4103
4104         [BZ #19865]
4105         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4106         original buffer before retry.
4107
4108 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4109
4110         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4111         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4112         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4113         GLRO(dl_auxv) list.
4114         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4115         including <ldsodefs.h>.
4116         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4117
4118 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4119
4120         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4121         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4122         $(CPPFLAGS).
4123
4124 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4125
4126         [BZ #17950]
4127         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4128         Add -mfpmath=387.
4129
4130 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4131
4132         * sysdeps/i386/configure.ac: Change == to = when calling test.
4133         * sysdeps/x86_64/configure.ac: Likewise.
4134         * sysdeps/i386/configure: Regenerated.
4135         * sysdeps/x86_64/configure: Likewise.
4136
4137 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4138
4139         [BZ #16137]
4140         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4141         * benchtests/bench-strcoll.c (input_files): Likewise.
4142         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4143         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4144         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4145
4146 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4147
4148         [BZ #19929]
4149         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4150         [__USE_XOPEN2K8 && !__USE_GNU].
4151         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4152         variable.
4153
4154         [BZ #19925]
4155         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4156         define if [!__USE_MISC && __USE_XOPEN2K].
4157         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4158         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4159         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4160         Likewise.
4161         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4162         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4163         variable.
4164         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4165
4166 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4167
4168         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4169         (sysdep_routines): Add new strspn targets.
4170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4171         (__libc_ifunc_impl_list): Add strspn.
4172         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4173         New file.
4174         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4175         Likewise.
4176         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4177         Likewise.
4178         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4179         Likewise.
4180
4181 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4182
4183         * misc/hsearch_r.c: Include <limits.h>.
4184
4185 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4186
4187         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4188
4189 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4190
4191         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4192         (MEMCPY_SYMBOL): New.
4193         (MEMPCPY_SYMBOL): Likewise.
4194         (MEMMOVE_CHK_SYMBOL): Likewise.
4195         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4196         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4197         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4198         Provide alias for memcpy in libc.a and ld.so.
4199
4200 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4201
4202         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4203         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4204         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4205         Disabled fro now.
4206         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4207         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4208
4209 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4210
4211         * benchtests/Makefile (string-benchset): Add memcpy-large,
4212         memmove-large and memset-large.
4213         * benchtests/bench-memcpy-large.c: New file.
4214         * benchtests/bench-memmove-large.c: Likewise.
4215         * benchtests/bench-memmove-large.c: Likewise.
4216         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4217
4218 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4219
4220         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4221         32-bit displacement to avoid long nop between instructions.
4222
4223 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4224
4225         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4226         a comment on VMOVU and VMOVA.
4227
4228 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4229
4230         [BZ #19633]
4231         Use specified locale for number formatting in strfmon_l.
4232         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4233         (__nl_lookup_word): New inline functions.
4234         * include/printf.h (__print_fp_l): Declare.
4235         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4236         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4237         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4238         (___printf_fp): New function.
4239         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4240         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4241         * stdlib/tst-strfmon_l.c (do_test): New test.
4242         * stdlib/Makefile (tests): Add kt.
4243         (LOCALES): Build additional locales.
4244         (tst-strfmon_l.out): Require locales.
4245
4246 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4247
4248         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4249         if not in libc.
4250         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4251         Likewise.
4252         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4253         Likewise.
4254         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4255         Likewise.
4256
4257 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4258
4259         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4260         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4261         with unaligned_erms.
4262         (__memmove_erms): Skip if source == destination.
4263         (__memmove_unaligned_erms): Don't check source == destination
4264         first.
4265
4266 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4267
4268         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4269         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4270
4271 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4272
4273         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4274         * string/strspn.c (strspn): Likewise.
4275
4276 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4277
4278         * benchtests/bench-memset.c (do_test): Support 64-byte
4279         alignment.
4280         (test_main): Test 64-byte alignment.
4281
4282 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4283
4284         * benchtests/bench-memmove.c (test_main): Test 64-byte
4285         alignment.
4286
4287 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4288
4289         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4290
4291 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4292
4293         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4294         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4295         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4296
4297         * string/strpbrk.c (strpbrk): Rewrite function.
4298         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4299         (__strpbrk_c2): Likewise.
4300         (__strpbrk_c3): Likewise.
4301         * string/string-inlines.c
4302         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4303         Likewise.
4304         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4305         Likewise.
4306
4307         * string/strspn.c (strcspn): Rewrite function.
4308         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4309         (__strspn_c1): Remove inline function.
4310         (__strspn_c2): Likewise.
4311         (__strspn_c3): Likewise.
4312         * string/string-inlines.c
4313         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4314         compatibility symbol.
4315         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4316         Likewise.
4317         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4318         Likewise.
4319         * string/string-inlines.c: Include generic version.
4320
4321 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4322             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4323
4324         * string/Version (libc): Add GLIBC_2.24.
4325         * string/strcspn.c (strcspn): Rewrite function.
4326         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4327         (__strcspn_c1): Remove inline function.
4328         (__strcspn_c2): Likewise.
4329         (__strcspn_c3): Likewise.
4330         * string/string-inline.c
4331         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4332         compatibility symbol.
4333         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4334         Likewise.
4335         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4336         Likewise.
4337         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4338
4339 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4340
4341         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4342         Use ahi instead of aghi to adjust stack pointer.
4343
4344 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4345
4346         [BZ #19853]
4347         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4348         TEST to take significant digits as second parameter.
4349         [TEST]: Redefine in terms of TEST_N taking 30
4350         significant digits.
4351         (do_test): Add test case to demonstrate precision
4352         failure in the ldbl-128ibm printf.
4353         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4354         (__mpn_extract_long_double): Carry 7 extra intermediate
4355         bits of precision to aide computing difference when
4356         signs differ.
4357
4358 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4359
4360         [BZ #19881]
4361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4362         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4363         memset-avx512-unaligned-erms.
4364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4365         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4366         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4367         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4368         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4369         __memset_sse2_unaligned_erms, __memset_erms,
4370         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4371         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4372         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4373         file.
4374         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4375         Likewise.
4376         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4377         Likewise.
4378         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4379         Likewise.
4380
4381 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4382
4383         [BZ #19776]
4384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4385         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4386         memmove-avx512-unaligned-erms.
4387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4388         (__libc_ifunc_impl_list): Test
4389         __memmove_chk_avx512_unaligned_2,
4390         __memmove_chk_avx512_unaligned_erms,
4391         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4392         __memmove_chk_sse2_unaligned_2,
4393         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4394         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4395         __memmove_avx512_unaligned_erms, __memmove_erms,
4396         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4397         __memcpy_chk_avx512_unaligned_2,
4398         __memcpy_chk_avx512_unaligned_erms,
4399         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4400         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4401         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4402         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4403         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4404         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4405         __mempcpy_chk_avx512_unaligned_erms,
4406         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4407         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4408         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4409         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4410         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4411         __mempcpy_erms.
4412         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4413         file.
4414         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4415         Likwise.
4416         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4417         Likwise.
4418         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4419         Likwise.
4420
4421 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4422
4423         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4424         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4425         (La_s390_64_regs): Likewise.
4426         (La_s390_32_retval): Append vector register lrv_v24.
4427         (La_s390_64_retval): Likeweise.
4428         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4429         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4430         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4431         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4432
4433 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4434
4435         [BZ #19916]
4436         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4437         to create a non-vector/vector version for _dl_runtime_resolve and
4438         _dl_runtime_profile. Move implementation to ...
4439         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4440         (_dl_runtime_resolve) Save and restore fpr/vrs.
4441         (_dl_runtime_profile) Save and restore vrs and fix some issues
4442         if _dl_call_pltexit is called.
4443         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4444         Choose the correct resolver function if running on a machine with vx.
4445         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4446         to create a non-vector/vector version for _dl_runtime_resolve and
4447         _dl_runtime_profile. Move implementation to ...
4448         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4449         (_dl_runtime_resolve) Save and restore fpr/vrs.
4450         (_dl_runtime_profile) Save and restore vrs and fix some issues
4451         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4452         Choose the correct resolver function if running on a machine with vx.
4453
4454 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4455
4456         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4457
4458 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4459
4460         [BZ #19509]
4461         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4462         skip_map != NULL.
4463         * elf/tst-dlsym-error.c: New file.
4464         * elf/Makefile (tests): Add tst-dlsym-error.
4465         (tst-dlsym-error): Link against libdl.
4466
4467 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4468
4469         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4470         (__ASSUME_FUTIMESAT): Remove macro.
4471         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4472
4473 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4474
4475         [BZ #19879]
4476         CVE-2016-3075
4477         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4478         copy name.
4479
4480 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4481
4482         [BZ #19837]
4483         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4484         error if parse_line fails.
4485
4486 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4487
4488         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4489         (index_cpu_ERMS): Likewise.
4490         (reg_ERMS): Likewise.
4491
4492 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4493
4494         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4495         PER_LINUX_FDPIC): Add.
4496
4497 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4498
4499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4500         memcpy-avx512-no-vzeroupper.
4501         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4502         to ...
4503         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4504         (MEMCPY): Don't define.
4505         (MEMCPY_CHK): Likewise.
4506         (MEMPCPY): Likewise.
4507         (MEMPCPY_CHK): Likewise.
4508         (MEMPCPY_CHK): Renamed to ...
4509         (__mempcpy_chk_avx512_no_vzeroupper): This.
4510         (MEMPCPY_CHK): Renamed to ...
4511         (__mempcpy_chk_avx512_no_vzeroupper): This.
4512         (MEMCPY_CHK): Renamed to ...
4513         (__memmove_chk_avx512_no_vzeroupper): This.
4514         (MEMCPY): Renamed to ...
4515         (__memmove_avx512_no_vzeroupper): This.
4516         (__memcpy_avx512_no_vzeroupper): New alias.
4517         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4518
4519 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4520
4521         [BZ #18858]
4522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4523         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4524         and mempcpy-avx512-no-vzeroupper.
4525         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4526         New.
4527         (MEMPCPY): Likewise.
4528         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4529         (MEMPCPY_CHK): New.
4530         (MEMPCPY): Likewise.
4531         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4532         (MEMPCPY): Likewise.
4533         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4534         (MEMPCPY): Likewise.
4535         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4536         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4537         Likewise.
4538         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4539         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4540
4541 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4542              Amit Pawar  <Amit.Pawar@amd.com>
4543
4544         [BZ #19583]
4545         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4546         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4547         processors.  Set Fast_Copy_Backward for AMD Excavator
4548         processors.
4549         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4550         New.
4551         (index_arch_Fast_Unaligned_Copy): Likewise.
4552         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4553         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4554
4555 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4556
4557         [BZ #19791]
4558         * resolv/res_send.c (close_and_return_error): New function.
4559         (send_dg): Initialize *resplen2 after reopen failure.  Call
4560         close_and_return_error for error returns.  On error paths without
4561         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4562         successful return.
4563
4564 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4565
4566         [BZ# 19860]
4567         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4568         zero if the compiler does not provide the AVX512F bit.
4569
4570 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4571
4572         [BZ #19848]
4573         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4574         from 8 to 4.
4575         (__ieee754_powl): Compare integer exponent against 4 not 8.
4576         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4577         from 8 to 4.
4578         (__ieee754_powl): Compare integer exponent against 4 not 8.
4579         * math/auto-libm-test-in: Add more tests of pow.
4580         * math/auto-libm-test-out: Regenerated.
4581         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4583
4584 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4585
4586         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4587         Make code unconditional.
4588         [!__NR_utimensat]: Remove conditional code.
4589         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4590         Make code unconditional.
4591         [!__NR_utimensat]: Remove conditional code.
4592         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4593         Make code unconditional.
4594         [!__NR_utimensat]: Remove conditional code.
4595
4596 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4597
4598         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4599         Make code unconditional.
4600
4601 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4602
4603         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4604         call-clobbered %eax on retry path.
4605         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4606
4607 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4608
4609         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4610         Don't set %rcx twice before "rep movsb".
4611
4612 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4613
4614         [BZ #19583]
4615         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4616         inline.  Check family before setting family, model and
4617         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4618         bits here.
4619         (init_cpu_features): Replace HAS_CPU_FEATURE and
4620         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4621         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4622         for Intel processors with usable AVX2.  Call get_common_indeces
4623         for other processors with family == NULL.
4624         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4625         (CPU_FEATURES_ARCH_P): Likewise.
4626         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4627         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4628
4629 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4630
4631         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4632         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4633         $(shared-thread-library) instead of hardcoding the path to libpthread.
4634
4635 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4636
4637         * sysdeps/unix/sysv/linux/kernel-features.h
4638         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4639         * sysdeps/unix/sysv/linux/getdents.c
4640         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4641         [!have_no_getdents64_defined]: Likewise.
4642         (__GETDENTS): Remove __have_no_getdents64 conditional.
4643
4644 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4645
4646         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4647         Remove macro.
4648         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4649         <kernel-features.h>.
4650         (signalfd) [__NR_signalfd4]: Make code unconditional.
4651         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4652
4653 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4654
4655         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4656         style.
4657
4658 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4659
4660         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4661         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4662         __pthread_unwind.
4663         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4664         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4666         (__condvar_cleanup1): Likewise.
4667
4668 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4669
4670         [BZ #19822]
4671         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4672         move it to the final $@ location.
4673
4674 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4675
4676         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4677         access where posix_spawn success and pid argument is null.
4678         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4679         success case.
4680
4681 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4682
4683         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4684
4685         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4686
4687         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4688         and __fcntl.
4689         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4690         __fcntl only.
4691         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4692         adding attribute_hidden to __open and __fcntl.
4693
4694         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4695         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4696         depend on libc-modules.h,
4697         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4698
4699 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4700
4701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4702         Remove macro.
4703         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4704         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4705         entry.
4706
4707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4708         Remove macro.
4709         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4710         include <kernel-features.h>.
4711         [!__ASSUME_FALLOCATE]: Remove conditional code.
4712         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4713
4714 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4715
4716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4717         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4719         (_ZGVdN4v_cos_avx2): Likewise.
4720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4721         (_ZGVdN4v_cos): Likewise.
4722         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4723         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4725         (_ZGVdN4v_exp_avx2): Likewise.
4726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4727         (_ZGVdN4v_exp): Likewise.
4728         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4729         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4730         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4731         (_ZGVdN4v_log_avx2): Likewise.
4732         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4733         (_ZGVdN4v_log): Likewise.
4734         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4735         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4736         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4737         (_ZGVdN4vv_pow_avx2): Likewise.
4738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4739         (_ZGVdN4vv_pow): Likewise.
4740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4741         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4743         (_ZGVdN4v_sin_avx2): Likewise.
4744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4745         (_ZGVdN4v_sin): Likewise.
4746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4747         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4748         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4749         (_ZGVdN4vvv_sincos_avx2): Likewise.
4750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4751         (_ZGVdN4vvv_sincos): Likewise.
4752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4753         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4755         (_ZGVbN4v_cosf_sse4): Likewise.
4756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4757         (_ZGVdN8v_cosf_avx2): Likewise.
4758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4759         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4761         (_ZGVbN4v_expf_sse4): Likewise.
4762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4763         (_ZGVdN8v_expf_avx2): Likewise.
4764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4765         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4766         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4767         (_ZGVbN4v_logf_sse4): Likewise.
4768         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4769         (_ZGVdN8v_logf_avx2): Likewise.
4770         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4771         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4772         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4773         (_ZGVbN4vv_powf_sse4): Likewise.
4774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4775         (_ZGVdN8vv_powf_avx2): Likewise.
4776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4777         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4778         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4779         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4781         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4783         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4785         (_ZGVbN4v_sinf_sse4): Likewise.
4786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4787         (_ZGVdN8v_sinf_avx2): Likewise.
4788         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4789         Use JUMPTARGET to call callee.
4790         (WRAPPER_IMPL_SSE2_ff): Likewise.
4791         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4792         (WRAPPER_IMPL_AVX): Likewise.
4793         (WRAPPER_IMPL_AVX_ff): Likewise.
4794         (WRAPPER_IMPL_AVX_fFF): Likewise.
4795         (WRAPPER_IMPL_AVX512): Likewise.
4796         (WRAPPER_IMPL_AVX512_ff): Likewise.
4797         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4798         Likewise.
4799         (WRAPPER_IMPL_SSE2_ff): Likewise.
4800         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4801         (WRAPPER_IMPL_AVX): Likewise.
4802         (WRAPPER_IMPL_AVX_ff): Likewise.
4803         (WRAPPER_IMPL_AVX_fFF): Likewise.
4804         (WRAPPER_IMPL_AVX512): Likewise.
4805         (WRAPPER_IMPL_AVX512_ff): Likewise.
4806         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4807
4808 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4809
4810         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4811         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4812         qualifier.
4813         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4814         internal_function qualifiers.
4815
4816 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4817
4818         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4819         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4820         * math/atest-exp.c (exp_mpn): Mark chk unused.
4821         * math/atest-exp2.c (exp_mpn): Likwise.
4822         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4823         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4824
4825 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4826
4827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4828         Remove macro.
4829         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4830         <kernel-features.h>.
4831         [__NR_ppoll]: Make code unconditional.
4832         [!__ASSUME_PPOLL]: Remove conditional code.
4833
4834         * sysdeps/unix/sysv/linux/kernel-features.h
4835         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4836         (__ASSUME_ACCEPT4): Likewise.
4837         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4838         Define.
4839         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4840         Likewise.
4841         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4842         Likewise.
4843         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4846         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4847         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4848         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4849         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4850         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4851         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4853         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4854         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4855         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4856         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4857         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4858         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4859         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4860         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4861         Likewise.
4862         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4863         Likewise.
4864         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4865         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4866         0x040300].
4867         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4868         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4870         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4871         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4872         0x030300].
4873         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4874         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4875         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4876         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4877         0x040300].
4878         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4879         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4881         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4883         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4884         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4885         0x030300].
4886         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4887         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4888         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4889         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4894         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4895         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4896         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4897         0x040300].
4898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4899         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4900         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4901         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4904         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4905         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4909         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4912         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4913         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4914         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4915         Likewise.
4916         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4917         Likewise.
4918
4919 2016-03-15  Andreas Schwab  <schwab@suse.de>
4920
4921         [BZ #19257]
4922         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4923         statp->_u._ext.nscount as loop count.
4924
4925 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4926
4927         * math/test-signgam-finite-c99.c: Also #undef
4928         __LIBC_INTERNAL_MATH_INLINES.
4929         * math/test-signgam-main.c: Likewise.
4930
4931 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4932
4933         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4934         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4935         (MADV_FREE): Likewise.
4936         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4937         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4938         EPOLLEXCLUSIVE.
4939
4940 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4941
4942         * timezone/README: Remove mention of checktab.awk. Mention wiki
4943         SharedSourceFiles.
4944
4945 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4946
4947         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4948         WUNTRACED.
4949
4950 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4951
4952         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4953         order to match the type of p when calling atomic_exchange_acq().
4954
4955 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4956
4957         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4958         cfi_offset calls.
4959         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4960         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4961         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4962         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4963         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4964
4965 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4966
4967         * timezone/checktab.awk: Removed.
4968
4969 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4970
4971         * manual/math.texi (Errors in Math Functions): Document relaxed
4972         accuracy goals for IBM long double.
4973         * math/libm-test.inc (test_exceptions): Always allow spurious
4974         "underflow" and "inexact" exceptions for IBM long double.
4975
4976 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4977
4978         [BZ #19762]
4979         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4980         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4981         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4982         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4983         (bit_arch_*): This for feature array.
4984         (bit_*): Renamed to ...
4985         (bit_cpu_*): This for cpu array.
4986         (index_*): Renamed to ...
4987         (index_arch_*): This for feature array.
4988         (index_*): Renamed to ...
4989         (index_cpu_*): This for cpu array.
4990         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4991         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4992         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4993         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4994         bit_##name with index_cpu_##name and bit_cpu_##name.
4995         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4996         bit_##name with index_arch_##name and bit_arch_##name.
4997
4998 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4999
5000         [BZ #19792]
5001         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5002         Terminate FDE before return label.
5003
5004 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5005
5006         [BZ #19790]
5007         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5008         (rintl): Define as macro.
5009         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5010         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5011         of fesetround.  Ensure results are evaluated before end of scope.
5012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5013         USE_AS_NEARBYINTL and include s_rintl.c.
5014         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5015         Disable exception traps in new environment.
5016         (libc_feholdsetround_ppc_ctx): Likewise.
5017
5018 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5019
5020         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5021         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5022         (tst_audit10_aux) [__AVX512F__]: ... here.
5023
5024 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5025
5026         * include/sys/auxv.h: New file.
5027
5028 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5029
5030         [BZ #19759]
5031         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5032
5033 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5034
5035         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5036         operand modifier.
5037         (feclearexcept): Likewise.
5038
5039 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5040
5041         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5042         to reflect the entire 32-bit HWCAP.
5043         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5044         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5045
5046 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5047
5048         [BZ #19783]
5049         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5050         $(test-via-rtld-prefix).
5051         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5052
5053 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5054
5055         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5056         union wait.  Report any non-zero exit status as error.
5057
5058 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5059
5060         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5061         configured with --enable-hardcoded-path-in-tests.
5062
5063 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5064
5065         [BZ #19677]
5066         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5067         (__ieee754_remainderl): Put zero low parts in canonical form.
5068         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5069         file.  Based on
5070         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5071         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5072         with wrapper round test-fmodrem-ldbl-128ibm.c.
5073         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5074         file.
5075         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5076         Likewise.
5077         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5078         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5079
5080 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5081
5082         [BZ #19610]
5083         * elf/ldconfig.c (opt_link): Update comment.
5084         (options): Update help string for option -X.
5085         (search_dir): Unlink stale symbolic link only if updating symbolic
5086         links.
5087         * elf/tst-ldconfig-X.sh: New file.
5088         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5089         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5090
5091 2016-03-07  Andreas Schwab  <schwab@suse.de>
5092
5093         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5094         needed arguments.
5095
5096 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5097
5098         [BZ #15333]
5099         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5100         to lstat64.
5101
5102 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5103
5104         * libio/filedoalloc.c (isatty): Remove.
5105         (local_isatty): Add comment.  Call __isatty directly.
5106         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5107         * libio/wfiledoalloc.c (isatty): Remove.
5108         (_IO_wfile_doallocate): Update comment.
5109
5110 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5111
5112         [BZ #19269]
5113         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5114         tst-audit4-aux.o.
5115         (tst-audit10): Depend on tst-audit10-aux.o.
5116         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5117         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5118         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5119         instead of inline AVX code.
5120         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5121         instead of inline AVX512 code.
5122         * sysdeps/x86_64/tst-audit4-aux.c: New file
5123         * sysdeps/x86_64/tst-audit10-aux.c: New file
5124
5125         [BZ #19648]
5126         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5127
5128 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5129
5130         [BZ #14750]
5131         [BZ #10354]
5132         [BZ #18433]
5133         * include/sched.h (__clone): Add hidden prototype.
5134         (__clone2): Likewise.
5135         * include/unistd.h (__dup): Likewise.
5136         * posix/Makefile (tests): Add tst-spawn2.
5137         * posix/tst-spawn2.c: New file.
5138         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5139         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5140         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5141         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5142         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5143         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5144         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5145         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5146         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5147         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5148         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5150         Likewise.
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5152         Likewise.
5153         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5154         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5155         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5156         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5157         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5158         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5159         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5160         * sysdeps/unix/sysv/linux/nptl-signals.h
5161         (____nptl_is_internal_signal): New function.
5162         * sysdeps/unix/sysv/linux/spawni.c: New file.
5163
5164         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5165         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5166         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5167         * posix/tst-execvp2.c (do_test): Likewise.
5168         * posix/tst-execvp3.c (do_test): Likewise.
5169         * posix/tst-execvp4.c (do_test): Likewise.
5170         * posix/tst-execvpe1.c: New file.
5171         * posix/tst-execvpe2.c: Likewise.
5172         * posix/tst-execvpe3.c: Likewise.
5173         * posix/tst-execvpe4.c: Likewise.
5174         * posix/tst-execvpe5.c: Likewise.
5175         * posix/tst-execvpe6.c: Likewise.
5176
5177         [BZ #19534]
5178         * posix/execl.c (execl): Remove dynamic memory allocation.
5179         * posix/execle.c (execle): Likewise.
5180         * posix/execlp.c (execlp): Likewise.
5181
5182 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5183
5184         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5185         Replace .text with .text.avx512.
5186         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5187         Likewise.
5188
5189 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5190
5191         * sysdeps/generic/libnsl.abilist: New file.
5192         * sysdeps/generic/libutil.abilist: New file.
5193
5194 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5195
5196         [BZ #19762]
5197         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5198         HAS_ARCH_FEATURE with Fast_Rep_String.
5199         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5200         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5201         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5202         Likewise.
5203         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5204         Likewise.
5205         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5206         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5207         Likewise.
5208         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5209         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5210         Likewise.
5211
5212 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5213
5214         [BZ #19745]
5215         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5216         with *%rax in call.
5217
5218 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5219
5220         [BZ #19745]
5221         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5222         with *__libc_start_main@GOTPCREL(%rip) in call.
5223
5224 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5225
5226         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5227         inside conditional for nonempty $(CXX).
5228
5229         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5230         nonempty.
5231
5232         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5233         to test for empty $(CXX) rather than $(CXX) of "no".
5234
5235 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5236
5237         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5238
5239 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5240             H.J. Lu  <hongjiu.lu@intel.com>
5241
5242         [BZ #18880]
5243         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5244         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5245         enable __memcpy_ssse3_back.
5246
5247 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5248
5249         [BZ #19758]
5250         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5251         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5252
5253 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5254
5255         [BZ #19490]
5256         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5257         (__fentry__): Likewise.
5258
5259 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5260
5261         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5262         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5263
5264 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5265
5266         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5267         __mcount_internal directly.
5268         (C_LABEL(__fentry__)): Likewise.
5269         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5270         directly.
5271
5272 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5273
5274         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5275         (__start_context): Call __setcontext directly.
5276
5277 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5278
5279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5280         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5281         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5282         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5284         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5285         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5286         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5287         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5288         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5289         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5290         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5291         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5292         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5293         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5294         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5295         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5297         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5298         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5299         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5300         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5301         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5302         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5303         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5304         Remove conditional code.
5305         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5306         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5307         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5308         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5309         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5310         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5311         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5312         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5313         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5314         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5315         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5316         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5317
5318 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5319
5320         * NEWS (2.23): Fix typo in bug 19048 text.
5321
5322 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5323
5324         [BZ #14259]
5325         * Makeconfig: Rename msgcatdir to localedir.
5326         Rename inst_msgcatdir to inst_localedir.
5327         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5328         * config.make.in: Add localedir.
5329         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5330         (ldd-rewrite): Likewise.
5331         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5332         (install-others): Use inst_localedir.
5333         (CPPFLAGS): Use localedir.
5334         * locale/Makefile (locale-CPPFLAGS): Likewise.
5335         * po/Makefile (mo-installed): Use inst_localedir.
5336
5337         [BZ #19575]
5338         * localedata/charmaps/GB18030: Update comments regarding PAU to
5339         non-PUA mappings.
5340
5341 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5342
5343         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5344         test for header.
5345         * sysdeps/unix/sysv/linux/configure: Regenerated.
5346         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5347         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5348         Remove conditional code.
5349         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5350
5351         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5352         Define to 3.2.0.
5353         (arch_minimum_kernel): Likewise.
5354         * sysdeps/unix/sysv/linux/configure: Regenerated.
5355         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5356         Define to 2.6.32.
5357         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5358         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5359         (arch_minimum_kernel): Define to 2.6.32.
5360         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5361         * README: Document Linux 3.2 requirement.
5362         * manual/install.texi (Linux): Document Linux 3.2 headers
5363         requirement.
5364         * INSTALL: Regenerated.
5365
5366 2016-02-24  Andreas Schwab  <schwab@suse.de>
5367
5368         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5369         if !NO_LONG_DOUBLE.
5370
5371 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5372
5373         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5374         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5375
5376 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5377
5378         [BZ #19512]
5379         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5380
5381 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5382
5383         * posix/tst-dir.c: Include libc-internal.h.
5384
5385 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5386
5387         [BZ #19056]
5388         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5389         * manual/filesys.texi (Reading/Closing Directory): Mention
5390         deprecaion.
5391         * posix/tst-dir.c (main): Disable deprecation warning in test.
5392
5393 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5394
5395         [BZ #19679]
5396         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5397         Renamed to ...
5398         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5399         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5400         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5401         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5402         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5403         * sysdeps/x86_64/dl-trampoline.h
5404         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5405         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5406
5407 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5408
5409         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5410
5411 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5412
5413         * elf/elf.h (R_386_GOT32X): New.
5414         (R_386_NUM): Update.
5415         (R_X86_64_GOTPCRELX: New.
5416         (R_X86_64_REX_GOTPCRELX): New.
5417         (R_X86_64_NUM): Update.
5418
5419 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5420
5421         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5422
5423 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5424
5425         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5426         assign attr->stackaddr to it, and adjust it down when
5427         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5428         [_STACK_GROWS_UP]: Delete assert.
5429         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5430         Implement stack grows up logic.
5431         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5432         stack grows up logic.
5433
5434 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5435
5436         * NEWS: Update with 2.24 template.
5437
5438 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5439
5440         [BZ #19678]
5441         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5442         Ensure +0.0 is returned when taking the next value below the least
5443         positive value.
5444
5445 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5446
5447         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5448         available.  Do not define NO_THREADS.
5449         * malloc/malloc.c: Do not check NO_THREADS.
5450         * malloc/arena.c: Likewise.
5451
5452 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5453
5454         * malloc/malloc.c (__libc_mallinfo): Update comment.
5455         (struct malloc_par): Remove max_total_mem member, it was always 0.
5456         (int_mallinfo): Store 0 into usmblks (no functional change).
5457         * malloc/hooks.c (struct malloc_state): Document that
5458         max_total_mem is always 0.
5459         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5460         always 0.
5461         * manual/memory.texi (Statistics of Malloc): Likewise.
5462
5463 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5464
5465         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5466         * malloc/arena.c (arena_max): Remove.
5467         (heap_trim, _int_new_arena): Do not update arena_max.
5468
5469 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5470
5471         * resolv/res_init.c (res_ninit): Update comment.
5472
5473 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5474
5475         [BZ #19505]
5476         * posix/spawn_int.h: Add headers and include guard.
5477         (__spawn_valid_fd): New function.
5478         * posix/spawn_faction_addopen.c
5479         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5480         * posix/spawn_faction_addclose.c
5481         (posix_spawn_file_actions_addclose): Likewise.
5482         * posix/spawn_faction_adddup2.c
5483         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5484         second file descriptor.
5485         * posix/spawn_valid_fd.c: New file.
5486         * posix/tst-posix_spawn-fd.c: New file.
5487         * posix/Makefile (routines): Add spawn_valid_fd.
5488         (tests): Add tst-posix_spawn-fd.
5489
5490 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5491
5492         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5493         (do_test): Limit the number of arenas, so that we can use fewer
5494         outer threads.  Limit timeout to 3 seconds, in preparation for a
5495         larger TIMEOUT value.
5496
5497 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5498
5499         [BZ #19674]
5500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5501         sign in overflowing and underflowing results when overflow or
5502         underflow is detected early.  Include sign in result before rather
5503         than after scaling.
5504
5505         [BZ #19603]
5506         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5507         (__ieee754_remainderl): Adjust sign of integer version of low part
5508         when taking absolute value of high part.
5509         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5510         * math/libm-test.inc (remainder_test_data): Add another test.
5511         (remquo_test_data): Likewise.
5512
5513 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5514
5515         [BZ #19602]
5516         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5517         equal high parts and both low parts zero specially.
5518         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5519         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5520         Add test-fmodl-ldbl-128ibm.
5521
5522         [BZ #19595]
5523         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5524         common logic for all cases of shifting subnormal results.  Do not
5525         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5526         exponent to ldbl_insert_mantissa in subnormal case.
5527
5528         [BZ #19594]
5529         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5530         on high and low parts then adjust result and use
5531         ldbl_canonicalize_int if needed.
5532
5533         [BZ #19593]
5534         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5535         on high part and __floor or __ceil on low part then use
5536         ldbl_canonicalize_int if needed.
5537
5538         [BZ #19592]
5539         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5540         high and low parts then use ldbl_canonicalize_int if needed.
5541
5542         [BZ #17899]
5543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5544         New function.
5545         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5546         on high and low parts then use ldbl_canonicalize_int if needed.
5547
5548 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5549
5550         * configure: Regenerated.
5551
5552         * po/libc.pot: Regenerated.
5553
5554         * po/be.po: Updated translation.
5555         * po/bg.po: Likewise.
5556         * po/ca.po: Likewise.
5557         * po/cs.po: Likewise.
5558         * po/da.po: Likewise.
5559         * po/el.po: Likewise.
5560         * po/eo.po: Likewise.
5561         * po/es.po: Likewise.
5562         * po/fi.po: Likewise.
5563         * po/fr.po: Likewise.
5564         * po/gl.po: Likewise.
5565         * po/hr.po: Likewise.
5566         * po/hu.po: Likewise.
5567         * po/ia.po: Likewise.
5568         * po/id.po: Likewise.
5569         * po/it.po: Likewise.
5570         * po/ja.po: Likewise.
5571         * po/lt.po: Likewise.
5572         * po/nb.po: Likewise.
5573         * po/nl.po: Likewise.
5574         * po/pt_BR.po: Likewise.
5575         * po/rw.po: Likewise.
5576         * po/sk.po: Likewise.
5577         * po/sl.po: Likewise.
5578         * po/sv.po: Likewise.
5579         * po/tr.po: Likewise.
5580         * po/zh_CN.po: Likewise.
5581         * po/zh_TW.po: Likewise.
5582
5583         * version.h (RELEAES): Set to "development".
5584         (VERSION): Set to 2.23.90.
5585
5586         * version.h (RELEASE): Set to "stable".
5587         (VERSION): Set to 2.23.
5588         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5589
5590         * NEWS: Updated fixed bugs.
5591
5592 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5593             Wilco Dijkstra  <wdijkstr@arm.com>
5594
5595         [BZ #19462]
5596         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5597         (_STRING_INLINE_unaligned): This.
5598         * include/string.h: Include <string_private.h>.
5599         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5600         _STRING_INLINE_unaligned.
5601         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5602         (_STRING_INLINE_unaligned): New.
5603         * sysdeps/aarch64/string_private.h: New file.
5604         * sysdeps/generic/string_private.h: Likewise.
5605         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5606         * sysdeps/s390/string_private.h: Likewise.
5607         * sysdeps/x86/string_private.h: Likewise.
5608         * sysdeps/m68k/m680x0/m68020/bits/string.h
5609         (_STRING_ARCH_unaligned): Renamed to ...
5610         (_STRING_INLINE_unaligned): This.
5611         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5612         to ...
5613         (_STRING_INLINE_unaligned): This.
5614         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5615         to ...
5616         (_STRING_INLINE_unaligned): This.
5617         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5618         to ...
5619         (_STRING_INLINE_unaligned): This.
5620
5621 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5622             H.J. Lu  <hongjiu.lu@intel.com>
5623
5624         [BZ #19590]
5625         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5626         relocation.
5627
5628 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5629
5630         [BZ #18665]
5631         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5632         *herrno_p.
5633         (gaih_getanswer): Document functional behviour. Return tryagain
5634         if any result is tryagain.
5635         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5636         when freed.
5637         * resolv/res_send.c: Add copyright text.
5638         (__libc_res_nsend): Document that MAXPACKET is expected.
5639         (send_vc): Document. Remove buffer reuse.
5640         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5641         size of the buffer. Add Dprint for truncated UDP buffer.
5642
5643 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5644
5645         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5646         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5647         * INSTALL: Regenerate.
5648
5649 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5650             Jonathan Wakely  <jwakely@redhat.com>
5651             Carlos O'Donell  <carlos@redhat.com>
5652
5653         [BZ 19439]
5654         * math/Makefile (tests): Add test-math-isinff.
5655         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5656         * math/bits/mathcalls.h [__USE_MISC]: Use
5657         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5658         functions not in C++11 and which don't conflict e.g. isinff,
5659         isinfl etc.
5660         * math/test-math-isinff.cc: New file.
5661
5662 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5663
5664         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5665
5666 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5667
5668         [BZ #19529]
5669         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5670
5671 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5672
5673         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5674
5675 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5676
5677         [BZ #19550]
5678         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5679         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5680         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5681         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5682         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5683         New syscall entry.
5684         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5685         New syscall entry.
5686         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5687         syscall entry.
5688
5689 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5690
5691         [BZ #18240]
5692         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5693         unsigned int wraparound.
5694
5695 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5696
5697         [BZ #18240]
5698         * misc/bug18240.c: New test.
5699         * misc/Makefile (tests): Add it.
5700
5701 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5702             Joseph Myers  <joseph@codesourcery.com>
5703
5704         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5705         load in branch delay slot when less than a word of input left.
5706
5707 2016-01-27  Andreas Schwab  <schwab@suse.de>
5708
5709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5710         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5711         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5712         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5713
5714 2016-01-26  David S. Miller  <davem@davemloft.net>
5715
5716         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5717
5718 2016-01-25  David S. Miller  <davem@davemloft.net>
5719
5720         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5721         __sqrtl_finite.
5722         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5723         instead using versioned_symbol.
5724         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5725         of entries.
5726
5727         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5728         __sqrtl_finite to GLIBC_2.23
5729
5730 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5731
5732         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5733
5734 2016-01-25  Andreas Schwab  <schwab@suse.de>
5735
5736         [BZ #17514]
5737         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5738         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5739         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5740         * nptl/tst-mutex-errorcheck.c: New file.
5741
5742 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5743
5744         [BZ #18560]
5745         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5746         (IPCOP_semop): Likewise.
5747         (IPCOP_semget): Likewise.
5748         (IPCOP_semctl): Likewise.
5749         (IPCOP_msgsnd): Likewise.
5750         (IPCOP_msgrcv): Likewise.
5751         (IPCOP_msgget): Likewise.
5752         (IPCOP_msgctl): Likewise.
5753         (IPCOP_shmat): Likewise.
5754         (IPCOP_shmdt): Likewise.
5755         (IPCOP_shmget): Likewise.
5756         (IPCOP_shmctl): Likewise.
5757
5758 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5759
5760         * string/tst-endian.c: Include <libc-internal.h>.
5761         (do_test): Ignore tautological-compare warnings around
5762         "htobeXX (beXXtoh (i)) != i" and
5763         "htoleXX (leXXtoh (i)) != i" if-statements.
5764
5765 2016-01-24  David S. Miller  <davem@davemloft.net>
5766
5767         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5768         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5769         alias.
5770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5771         __sqrtl_finite.
5772
5773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5774
5775 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5776
5777         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5778         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5779         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5780
5781 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5782
5783         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5784         (thread_func): Use new function to simplify barrier check.
5785         (do_test): Use new function to simplify checking barrier exit
5786         code, and actually join the child thread.
5787
5788 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5789
5790         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5791         semicolon.
5792         (__libc_tend): Likewise.
5793         (__libc_tabort): Likewise.
5794
5795 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5796
5797         * sysdeps/nios2/libm-test-ulps: Update.
5798         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5799         (__gtsf2): Likewise.
5800         (__unorddf2): Likewise.
5801         (__unordsf2): Likewise.
5802         (__ledf2): Likewise.
5803
5804 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5805
5806         * nis/nis_table.c (__follow_path): Disable diagnostic for
5807         uninitialized variable that is a false positive for gcc 4.7.
5808         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5809
5810 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5811
5812         * sysdeps/nacl/lowlevellock-futex.h
5813         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5814         Always evaluate PRIVATE argument.
5815
5816 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5817
5818         [BZ #19490]
5819         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5820         (pthread_cond_broadcast): Use ENTRY/END
5821         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5822         (pthread_cond_signal): Likewise.
5823         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5824         Likewise.
5825         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5826         Likewise.
5827         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5828         Likewise.
5829
5830 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5831
5832         * sysdeps/ieee754/dbl-64/s_finite.c
5833         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5834         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5835         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5836         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5837         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5838
5839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5840         (__gtsf2): Add as optional for libc.so.
5841         (__unordsf2): Likewise.
5842         (__signbit): Remove for libc.so.
5843         (__signbitl): Likewise.
5844
5845 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5846
5847         * iconvdata/bug-iconv11.c (test_ibm93x):
5848         Use %zu printf format specifier for size_t argument.
5849
5850 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5851
5852         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5853         already-recorded ulps.
5854         * sysdeps/arm/libm-test-ulps: Regenerated.
5855         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5856         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5857         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5858
5859 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5860             Paul Pluzhnikov  <ppluzhnikov@google.com>
5861
5862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5863         assembler not supporting AVX-512.
5864
5865 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5866
5867         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5868
5869 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5870
5871         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5872         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5873
5874         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5875
5876         * sysdeps/arm/libm-test-ulps: Regenerated.
5877
5878 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5879
5880         [BZ #19451]
5881         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5882
5883 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5884
5885         [BZ #19486]
5886         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5887         * sysdeps/generic/fix-fp-int-convert-overflow.h
5888         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5889         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5890         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5891         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5892         Likewise.
5893         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5894         Avoid conversions to long int where inexact exceptions
5895         could be raised.
5896         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5897         Likewise.
5898         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5899         Avoid conversions to long long int where inexact exceptions
5900         could be raised.
5901         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5902         Likewise.
5903
5904 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5905
5906         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5907         * configure: Regenerated.
5908
5909 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5910
5911         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5912
5913 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5914
5915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5916         outside of comment.
5917
5918 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5919
5920         * nptl/tst-barrier1.c: Add description on first line.
5921         * nptl/tst-barrier2.c: Likewise.
5922         * nptl/tst-barrier3.c: Likewise.
5923         * nptl/tst-barrier4.c: Likewise.
5924         * nptl/tst-barrier5.c: Likewise.
5925
5926 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5927
5928         [BZ #18868]
5929         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5930
5931 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5932
5933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5935         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5936         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5937         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5938         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5939         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5940         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5941         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5942         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5943         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5944
5945 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5946
5947         [BZ #13065]
5948         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5949         new implementation.
5950         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5951         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5952         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5953         (BARRIER_IN_THRESHOLD): New macro.
5954         * nptl/pthread_barrierattr_setpshared.c
5955         (pthread_barrierattr_setpshared): Clean up.
5956         * nptl/tst-barrier4.c: Correct comment.
5957         * nptl/tst-barrier5.c: New file.
5958         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5959         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5960         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5961         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5962         * nptl/lowlevelbarrier.sym: Remove.
5963         * nptl/DESIGN-barrier.txt: Remove.
5964         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5965         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5966         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5967         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5968         error.
5969         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5970         implementation.
5971
5972 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5973
5974         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5975         (do_child): Mask SIGRTMIN while thr is running.
5976
5977 2016-01-15  Martin Sebor  <msebor@redhat.com>
5978
5979         [BZ #19432]
5980         * iconvdata/Makefile: Add bug-iconv11.
5981         * iconvdata/bug-iconv11.c: New test.
5982         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5983         * iconvdata/ibm933.c: Same.
5984         * iconvdata/ibm935.c: Same.
5985         * iconvdata/ibm937.c: Same.
5986         * iconvdata/ibm939.c: Same.
5987
5988 2016-01-15  Martin Sebor  <msebor@redhat.com>
5989
5990         [BZ #19443]
5991         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5992         [DEBUG] (_ufc_set_bits): Declare used.
5993         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5994         [DEBUG] (print_all): Declare used.
5995         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5996         operands of the ternary ?: expression to target type.
5997         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5998         calling the undeclared abort.
5999         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6000
6001 2016-01-15  Martin Sebor  <msebor@redhat.com>
6002
6003         [BZ #18755]
6004         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6005         warnings.
6006         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6007         (__gai_create_helper_thread): Same.
6008         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6009         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6010         to suppress -Wmaybe-uninitialized warnings.
6011
6012 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6013
6014         [BZ #19465]
6015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6016         inside if.
6017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6018         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6020
6021 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6022
6023         [BZ #19466]
6024         * time/tst-mktime2.c (time_t_max): Removed.
6025         (time_t_min): Likewise.
6026         (TYPE_SIGNED): New.
6027         (TYPE_MINIMUM): Likewise.
6028         (TYPE_MAXIMUM): Likewise.
6029         (TIME_T_MIN): Likewise.
6030         (TIME_T_MAX): Likewise.
6031         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6032         and TIME_T_MIN.
6033         (do_test): Likewise.
6034
6035 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6036
6037         [BZ #19467]
6038         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6039         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6040
6041 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6042
6043         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6044
6045 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6046
6047         * benchtests/Makefile (PYTHON): Define.
6048         (bench-func): Use $(PYTHON) to run python scripts.
6049         ($(objpfx)bench-%.c): Likewise.
6050
6051 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6052
6053         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6054         leading slash when `file_name' is "/".
6055
6056 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6057
6058         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6059         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6060         Likewise.
6061         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6062         Likewise.
6063         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6066         enum constant and macro.
6067         (PTRACE_SETSIGMASK): Likewise.
6068         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6069         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6070         (PTRACE_GETSIGMASK): Likewise.
6071         (PTRACE_SETSIGMASK): Likewise.
6072         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6073         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6074         Likewise.
6075         (PTRACE_SETSIGMASK): Likewise.
6076         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6078         (PTRACE_GETSIGMASK): Likewise.
6079         (PTRACE_SETSIGMASK): Likewise.
6080         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6081         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6082         Likewise.
6083         (PTRACE_SETSIGMASK): Likewise.
6084         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6085         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6086         Likewise.
6087         (PTRACE_SETSIGMASK): Likewise.
6088         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6089         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6090         Likewise.
6091         (PTRACE_SETSIGMASK): Likewise.
6092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6093
6094 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6095             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6096
6097         [BZ #19439]
6098         * math/bits/mathcalls.h
6099         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6100         prototype.
6101         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6102
6103 2016-01-11  Andreas Schwab  <schwab@suse.de>
6104
6105         [BZ #19253]
6106         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6107         cache when TZDEFRULES was used.
6108         * time/tst-tzname.c: New file.
6109         * time/Makefile (test): Add tst-tzname.
6110         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6111         * timezone/Makefile (test-zones): Add $(posixrules-file).
6112         ($(testdata)/$(posixrules-file)): New rule.
6113
6114 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6115
6116         Fix doc quoting problems with Texinfo 5
6117         Without this change, in the info file output, Texinfo 5 quotes code
6118         in text with undirected single quotes 'like this' and generates
6119         code examples that with many PDF readers cannot be cut out of PDFs
6120         and pasted into code.
6121         * manual/libc.texinfo: Configure the libc manual like the GNU
6122         Emacs manual, by using @documentencoding and setting
6123         txicodequoteundirected and txicodequotebacktick.  This way,
6124         Texinfo 5 quotes code in text with directed single quotes ‘like
6125         this’ and produces examples that can be cut out of PDFs.  This
6126         change causes Texinfo 5 to generate info files that contain UTF-8
6127         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6128         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6129
6130 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6131
6132         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6133         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6134         barriers to their respective compiler built-ins.
6135         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6136         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6137         * sysdeps/powerpc/sysdep.h: Likewise.
6138         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6139         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6141
6142 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6143
6144         * scripts/config.guess: Revert previous shebang change.
6145         * scripts/config.sub: Likewise.
6146         * scripts/mkinstalldirs: Likewise.
6147
6148 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6149
6150         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6151         PPC_FEATURE2_HAS_IEEE128.
6152         * sysdeps/powerpc/dl-procinfo.c:
6153         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6154
6155 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6156
6157         [BZ #19415]
6158         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6159         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6160         (_dl_lookup_address): Rewrite using function resolver trampoline.
6161         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6162         two bits in address.
6163
6164 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6165
6166         * longlong.h: Change !__SHMEDIA__ to
6167         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6168         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6169
6170 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6171             Joseph Myers  <joseph@codesourcery.com>
6172             Mark Shinwell  <shinwell@codesourcery.com>
6173             Andrew Stubbs  <ams@codesourcery.com>
6174             Rich Felker <dalias@libc.org>
6175
6176         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6177
6178 2016-01-07  Richard Henderson  <rth@redhat.com>
6179
6180         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6181
6182 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6183
6184         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6185         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6186         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6187         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6188         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6189
6190 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6191             Joseph Myers  <joseph@codesourcery.com>
6192
6193         * timezone/private.h: Update from tzcode 2015g.
6194         * timezone/tzfile.h: Likewise.
6195         * timezone/tzselect.ksh: Likewise.
6196         * timezone/zdump.c: Likewise.
6197         * timezone/zic.c: Likewise.
6198         * timezone/ialloc.c: Remove file.
6199         * timezone/scheck.c: Likewise.
6200         * timezone/Makefile (extra-objs): Remove variable.
6201         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6202         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6203         -Wno-maybe-uninitialized.
6204         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6205         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6206         (CFLAGS-ialloc.c): Remove variable.
6207         (CFLAGS-scheck.c): Likewise.
6208         * timezone/README: Update list of files from tzcode.
6209
6210 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6211
6212         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6213         instead of __fxprintf when _LIBC is undefined.
6214
6215 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6216
6217         * catgets/test-gencat.sh: Remove space after shebang.
6218         * conform/GlibcConform.pm: Likewise.
6219         * conform/check-header-lists.sh: Likewise.
6220         * conform/conformtest.pl: Likewise.
6221         * conform/linknamespace.pl: Likewise.
6222         * conform/list-header-symbols.pl: Likewise.
6223         * debug/catchsegv.sh: Likewise.
6224         * elf/genrtldtbl.awk: Likewise.
6225         * elf/tst-pathopt.sh: Likewise.
6226         * elf/tst-rtld-load-self.sh: Likewise.
6227         * grp/tst_fgetgrent.sh: Likewise.
6228         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6229         * iconvdata/gen-8bit-gap.sh: Likewise.
6230         * iconvdata/gen-8bit.sh: Likewise.
6231         * iconvdata/run-iconv-test.sh: Likewise.
6232         * intl/tst-gettext.sh: Likewise.
6233         * intl/tst-gettext2.sh: Likewise.
6234         * intl/tst-gettext4.sh: Likewise.
6235         * intl/tst-gettext6.sh: Likewise.
6236         * intl/tst-translit.sh: Likewise.
6237         * io/ftwtest-sh: Likewise.
6238         * libio/test-freopen.sh: Likewise.
6239         * locale/gen-translit.pl: Likewise.
6240         * malloc/tst-mtrace.sh: Likewise.
6241         * manual/check-safety.sh: Likewise.
6242         * manual/libc-texinfo.sh: Likewise.
6243         * manual/tsort.awk: Likewise.
6244         * manual/xtract-typefun.awk: Likewise.
6245         * nptl/tst-cancel-wrappers.sh: Likewise.
6246         * nptl/tst-tls6.sh: Likewise.
6247         * posix/globtest.sh: Likewise.
6248         * posix/tst-getconf.sh: Likewise.
6249         * posix/wordexp-tst.sh: Likewise.
6250         * scripts/check-c++-types.sh: Likewise.
6251         * scripts/check-local-headers.sh: Likewise.
6252         * scripts/config.guess: Likewise.
6253         * scripts/config.sub: Likewise.
6254         * scripts/cpp: Likewise.
6255         * scripts/cross-test-ssh.sh: Likewise.
6256         * scripts/documented.sh: Likewise.
6257         * scripts/evaluate-test.sh: Likewise.
6258         * scripts/gen-libc-abis: Likewise.
6259         * scripts/gen-sorted.awk: Likewise.
6260         * scripts/list-fixed-bugs.py: Likewise.
6261         * scripts/merge-test-results.sh: Likewise.
6262         * scripts/mkinstalldirs: Likewise.
6263         * scripts/rellns-sh: Likewise.
6264         * scripts/test-installation.pl: Likewise.
6265         * scripts/update-copyrights: Likewise.
6266         * stdio-common/tst-printf.sh: Likewise.
6267         * stdio-common/tst-unbputc.sh: Likewise.
6268         * stdlib/tst-fmtmsg.sh: Likewise.
6269         * stdlib/tst-setcontext3.sh: Likewise.
6270         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6271         * sysdeps/unix/make-syscalls.sh: Likewise.
6272
6273 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6274
6275         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6276         asm stw with atomic_exchange_rel.  Add explanatory comment.
6277         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6278         Likewise.
6279
6280 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6281
6282         [BZ #19122]
6283         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6284         * sysdeps/generic/dl-unistd.h: New file.
6285         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6286
6287 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6288
6289          [BZ #19122]
6290          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6291          * sysdeps/generic/dl-mman.h: New file.
6292          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6293
6294 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6295
6296         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6297         trailing whitespace removed.
6298         * scripts/config.guess: Update to version 2016-01-01.
6299         * scripts/config.sub: Update to version 2016-01-01.
6300         * scripts/move-if-change: Update from gnulib.
6301
6302 2016-01-04  Anton Blanchard  <anton@samba.org>
6303
6304         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6305         for array indices.
6306         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6307
6308 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6309
6310         * NEWS: Update copyright dates.
6311         * catgets/gencat.c (print_version): Likewise.
6312         * csu/version.c (banner): Likewise.
6313         * debug/catchsegv.sh: Likewise.
6314         * debug/pcprofiledump.c (print_version): Likewise.
6315         * debug/xtrace.sh (do_version): Likewise.
6316         * elf/ldconfig.c (print_version): Likewise.
6317         * elf/ldd.bash.in: Likewise.
6318         * elf/pldd.c (print_version): Likewise.
6319         * elf/sotruss.sh: Likewise.
6320         * elf/sprof.c (print_version): Likewise.
6321         * iconv/iconv_prog.c (print_version): Likewise.
6322         * iconv/iconvconfig.c (print_version): Likewise.
6323         * locale/programs/locale.c (print_version): Likewise.
6324         * locale/programs/localedef.c (print_version): Likewise.
6325         * login/programs/pt_chown.c (print_version): Likewise.
6326         * malloc/memusage.sh (do_version): Likewise.
6327         * malloc/memusagestat.c (print_version): Likewise.
6328         * malloc/mtrace.pl: Likewise.
6329         * manual/libc.texinfo: Likewise.
6330         * nptl/version.c (banner): Likewise.
6331         * nscd/nscd.c (print_version): Likewise.
6332         * nss/getent.c (print_version): Likewise.
6333         * nss/makedb.c (print_version): Likewise.
6334         * posix/getconf.c (main): Likewise.
6335         * scripts/test-installation.pl: Likewise.
6336         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6337
6338         * All files with FSF copyright notices: Update copyright dates
6339         using scripts/update-copyrights.
6340         * intl/plural.c: Regenerated.
6341         * locale/programs/charmap-kw.h: Likewise.
6342         * locale/programs/locfile-kw.h: Likewise.
6343
6344 2016-01-02  Helge Deller  <deller@gmx.de>
6345
6346         [BZ #19285]
6347         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6348         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6349         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6350         (MADV_xxK_PAGES): Remove.
6351
6352 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6353
6354         [BZ #15421]
6355         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6356         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6357         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6358         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6359
6360 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6361
6362         [BZ #19408]
6363         * sysdeps/unix/sysv/linux/personality.c: New file.
6364         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6365         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6366         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6367         (sysdep_routines): Add personality.
6368         (tests): Add tst-personality.
6369         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6371         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6372         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6373         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6374         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6375         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6376         Likewise.
6377         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6378         Likewise.
6379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6382         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6383         Likewise.
6384
6385 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6386
6387         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6388         (PATH_ARM_SYSTYPE): Remove.
6389         (PATH_CPUINFO): Likewise.
6390         (IO_BASE_FOOTBRIDGE): Likewise.
6391         (IO_SHIFT_FOOTBRIDGE): Likewise.
6392         (struct platform): Likewise.
6393         (init_iosys): Remove compatibility code for 2.4 kernels.
6394         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6395
6396 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6397
6398         * malloc/tst-malloc-thread-fail.c: New file.
6399         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6400         (tst-malloc-thread-fail): Link against libpthread.
6401
6402 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6403
6404         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6405         (get_parser): New function.
6406         (main): New function.
6407
6408 2015-12-29  Rob Wu  <rob@robwu.nl>
6409
6410         [BZ #19369]
6411         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6412
6413 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6414
6415         [BZ #19270]
6416         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6417
6418 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6419
6420         [BZ #15421]
6421         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6422
6423 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6424
6425         [BZ #13690]
6426         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6427         after releasing it.
6428         (__lll_robust_unlock): Likewise.
6429         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6431         (lll_robust_unlock): Likewise.
6432         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6433         Prevent warnings in callers.
6434
6435 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6436
6437         * malloc/arena.c (list_lock): Update comment.
6438
6439 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6440
6441         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6442         __parse_hwcap_and_convert_at_platform to libc.a.
6443
6444 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6445
6446         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6447         platform and feature support for POWER9.
6448         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6449         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6450         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6451         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6452         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6453         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6454         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6455         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6456
6457 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6458
6459         Harmonize generic stdio-lock support with nptl
6460
6461         This fixes build when _IO_funlockfile is a macro, fixes build where
6462         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6463         stack unwind.
6464
6465         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6466         _IO_release_lock ): Use cleanup attribute on new
6467         _IO_acquire_lock_file variable instead of assuming that
6468         _IO_release_lock will be called.
6469         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6470         _IO_acquire_lock_needs_exceptions_enabled.
6471         (_IO_acquire_lock_clear_flags2): New macro.
6472
6473 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6474
6475         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6476
6477 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6478
6479         [BZ #19182]
6480         * malloc/arena.c (list_lock): Document lock ordering requirements.
6481         (free_list_lock): New lock.
6482         (ptmalloc_lock_all): Comment on free_list_lock.
6483         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6484         (detach_arena): Update comment.  free_list_lock is now needed.
6485         (_int_new_arena): Use free_list_lock around detach_arena call.
6486         Acquire arena lock after list_lock.  Add comment, including FIXME
6487         about incorrect synchronization.
6488         (get_free_list): Switch to free_list_lock.
6489         (reused_arena): Acquire free_list_lock around detach_arena call
6490         and attached threads counter update.  Add two FIXMEs about
6491         incorrect synchronization.
6492         (arena_thread_freeres): Switch to free_list_lock.
6493         * malloc/malloc.c (struct malloc_state): Update comments to
6494         mention free_list_lock.
6495
6496 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6497
6498         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6499         Remove functions.
6500         (sloww, sloww1): Accept argument to offset quadrant.
6501         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6502         quadrant.
6503         (__sin, __cos): Consolidate common code into new functions.
6504         (reduce_sincos_1, do_sincos_1): New functions.
6505         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6506
6507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6508         code to new functions.
6509         (reduce_sincos_2, do_sincos_2): New functions.
6510         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6511
6512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6513         common code for sincos.
6514         (__cos) [!IN_SINCOS]: Likewise.
6515         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6516         New function.
6517         (__sincos): Use it.
6518
6519 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6520
6521         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6522         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6523         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6524
6525 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6526
6527         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6530         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6532         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6533         index_Prefer_No_VZEROUPPER): New feature.
6534         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6535         Prefer_No_VZEROUPPER for Knights Landing.
6536
6537 015-12-18  Torvald Riegel  <triegel@redhat.com>
6538
6539         * math/atest-exp2.c (mp_exp_m1): Remove.
6540
6541 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6542
6543         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6544         syscalls.
6545         (__SYSCALL0): New macro.
6546         (__SYSCALL1): Likewise.
6547         (__SYSCALL2): Likewise.
6548         (__SYSCALL3): Likewise.
6549         (__SYSCALL4): Likewise.
6550         (__SYSCALL5): Likewise.
6551         (__SYSCALL6): Likewise.
6552         (__SYSCALL_CONCAT_X): Likewise.
6553         (__SYSCALL_CONCAT): Likewise.
6554         (__SYSCALL_DIST): Likewise.
6555         (__SYSCALL_CALL): Likewise.
6556
6557 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6558
6559         [BZ #19363]
6560         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6561
6562 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6563
6564         [BZ #19375]
6565         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6566         negative subnormals.
6567
6568 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6569
6570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6571         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6572         (INTERNAL_SYSCALL_NCS): Use it.
6573         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6574
6575 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6576
6577         [BZ #19243]
6578         * malloc/arena.c (get_free_list): Remove assert and adjust
6579         reference count handling.  Add comment about reused_arena
6580         interaction.
6581         (reused_arena): Add comments abount get_free_list interaction.
6582         * malloc/tst-malloc-thread-exit.c: New file.
6583         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6584         (tst-malloc-thread-exit): Link against libpthread.
6585
6586 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6587
6588         [BZ #19367]
6589         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6590         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6591         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6592         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6593         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6594
6595 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6596
6597         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6598         Silvermont optimizations for Knights Landing.
6599
6600 2015-12-15  Andreas Schwab  <schwab@suse.de>
6601
6602         [BZ #17197]
6603         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6604         immediately after emitting SI.
6605         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6606         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6607         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6608         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6609         * iconvdata/bug-iconv10.c: New file.
6610         * iconvdata/Makefile (tests): Add bug-iconv10.
6611         ($(objpfx)bug-iconv10.out): New rule.
6612
6613 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6614
6615         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6616         aliasing violation.
6617
6618 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6619
6620         [BZ #18472]
6621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6622         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6623         conditionals for them.
6624         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6625         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6627         sys/kdaemon.h.
6628         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6629         compat-only syscall, obsoleted in glibc 2.23.
6630         (create_module): Likewise.
6631         (get_kernel_syms): Likewise.
6632         (query_module): Likewise.
6633         (uselib): Likewise.
6634         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6635
6636 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6637
6638         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6639         <linux/version.h>.
6640         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6641         conditional code.
6642         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6643         and ioshift_name initialization.
6644
6645 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6646
6647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6648         Fix indentation.
6649
6650 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6651
6652         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6653
6654 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6655
6656         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6657
6658 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6659             Jakub Wilk  <jwilk@debian.org>
6660
6661         [BZ #19347]
6662         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6663         to change the group of the device to the tty group.
6664
6665 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6666
6667         Split large string section; add truncation advice
6668         * manual/examples/strncat.c: Remove.
6669         This example was misleading, as the code would have undefined
6670         behavior if "hello" was longer than SIZE.  Anyway, the manual
6671         shouldn't encourage strncpy+strncat for this sort of thing.
6672         * manual/string.texi (Copying Strings and Arrays): Split into
6673         three sections Copying Strings and Arrays, Concatenating Strings,
6674         and Truncating Strings, as this section was way too long.  All
6675         cross-referenced changed.  Add advice about string-truncation
6676         functions.  Remove misleading strncat example.
6677
6678 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6679
6680         * manual/nss.texi (NSS Modules Interface): Document
6681         NSS_STATUS_NOTFOUND and SUCCESS.
6682
6683 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6684
6685         [BZ 18568]
6686         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6687         201505L, for Unicode 8.
6688
6689 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6690
6691         * locale/C-translit.h: Regenerate.
6692
6693 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6694
6695         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6696         and U+0153.
6697
6698 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6699
6700         [BZ #19351]
6701         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6702         expanding log(1+z), compare z rather than its square with epsilon
6703         to determine when to avoid evaluating the expansion.
6704
6705         [BZ #19350]
6706         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6707         Increase overflow threshold.
6708
6709         [BZ #19349]
6710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6711         when small.
6712
6713         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6715         New macro.
6716         [__LINUX_KERNEL_VERSION >= 0x040300]
6717         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6719         Likewise.
6720         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6721         Likewise.
6722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6723         Likewise.
6724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6725         Likewise.
6726         [__LINUX_KERNEL_VERSION >= 0x040300]
6727         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6728         [__LINUX_KERNEL_VERSION >= 0x040300]
6729         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6730         [__LINUX_KERNEL_VERSION >= 0x040300]
6731         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6732         [__LINUX_KERNEL_VERSION >= 0x040300]
6733         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6734         [__LINUX_KERNEL_VERSION >= 0x040300]
6735         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6737         Likewise.
6738         [__LINUX_KERNEL_VERSION >= 0x040300]
6739         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6741         Likewise.
6742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6743         Likewise.
6744         [__LINUX_KERNEL_VERSION >= 0x040300]
6745         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6747         Likewise.
6748         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6749         Likewise.
6750         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6751         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6752         Likewise.
6753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6754         Likewise.
6755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6756         Likewise.
6757         [__LINUX_KERNEL_VERSION >= 0x040300]
6758         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6760         Likewise.
6761         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6762         Likewise.
6763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6764         Likewise.
6765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6766         Likewise.
6767         [__LINUX_KERNEL_VERSION >= 0x040300]
6768         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6769         [__LINUX_KERNEL_VERSION >= 0x040300]
6770         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6771         [__LINUX_KERNEL_VERSION >= 0x040300]
6772         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6773         [__LINUX_KERNEL_VERSION >= 0x040300]
6774         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6775         [__LINUX_KERNEL_VERSION >= 0x040300]
6776         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6778         Likewise.
6779         [__LINUX_KERNEL_VERSION >= 0x040300]
6780         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6782         Likewise.
6783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6784         Likewise.
6785         [__LINUX_KERNEL_VERSION >= 0x040300]
6786         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6788         Likewise.
6789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6790         Likewise.
6791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6792         (__ASSUME_SOCKET_SYSCALL): Likewise.
6793         (__ASSUME_BIND_SYSCALL): Likewise.
6794         (__ASSUME_CONNECT_SYSCALL): Likewise.
6795         (__ASSUME_LISTEN_SYSCALL): Likewise.
6796         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6797         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6798         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6799         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6800         (__ASSUME_SEND_SYSCALL): Likewise.
6801         (__ASSUME_SENDTO_SYSCALL): Likewise.
6802         (__ASSUME_RECV_SYSCALL): Likewise.
6803         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6804         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6805         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6806         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6807         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6808         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6809         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6810         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6811         Likewise.
6812         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6813         Likewise.
6814         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6815         Likewise.
6816         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6817         Likewise.
6818         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6819         Likewise.
6820         [__LINUX_KERNEL_VERSION >= 0x020625]
6821         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6822         [__LINUX_KERNEL_VERSION >= 0x020625]
6823         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6824         [__LINUX_KERNEL_VERSION >= 0x020625]
6825         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6826         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6827         Likewise.
6828         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6829         Likewise.
6830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6831         Likewise.
6832         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6833         Likewise.
6834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6835         Likewise.
6836         [__LINUX_KERNEL_VERSION >= 0x020625]
6837         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6838         [__LINUX_KERNEL_VERSION >= 0x020625]
6839         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6840         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6841         Likewise.
6842         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6843         Likewise.
6844
6845 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6846
6847         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6848         record the current if the current ABI and CPU support the FP64
6849         extension.
6850         (has-modd-spreg): Define to record the current if the current ABI and
6851         CPU support 32-bit floating point values in odd FPU registers.
6852         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6853         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6854         $(has-modd-spreg) equals yes.
6855         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6856         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6857         $(has-modd-spreg) equal yes.
6858
6859 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6860
6861         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6862         basename.
6863
6864 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6865
6866         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6867         (bench-string): ... here.
6868         (bench): Add bench-string.
6869         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6870         to *-benchset to reflect what they are.
6871         (benchset): Adjust.
6872
6873         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6874         cos-inputs.
6875
6876 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6877
6878         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6879         __attribute__ ((__simd__)) for vector math function declarations.
6880
6881 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6882
6883         Fix typo in strncat, wcsncat manual entries
6884         * manual/string.texi (Copying and Concatenation): Fix typos in
6885         sample implementations of strncat and wcsncat, by having them use
6886         the old value of the destination length, not the new one.
6887
6888 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6889
6890         [BZ #16961]
6891         [BZ #16962]
6892         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6893         string on the stack for strtod.
6894         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6895         a string on the stack for strtof.
6896         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6897         constructing a string on the stack for strtold.
6898         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6899         __strtold_nan to GLIBC_PRIVATE.
6900         * math/test-nan-overflow.c: New file.
6901         * math/test-nan-payload.c: Likewise.
6902         * math/Makefile (tests): Add test-nan-overflow and
6903         test-nan-payload.
6904
6905 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6906
6907         Consistency about byte vs character in string.texi
6908         * manual/string.texi (String and Array Utilities):
6909         Distinguish more carefully among bytes, multibyte characters,
6910         and wide characters.  Use "byte" when talking about C 'char',
6911         to distinguish it more clearly from multibyte characters.
6912         Say "wide character" or "multibyte character" instead of
6913         "character", when a wide or multibyte character is intended.
6914         Similarly for "multibyte string" versus "string".
6915         Define these terms more carefully.
6916
6917 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6918
6919         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6920         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6921         Likewise.
6922         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6923         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6924         * sysdeps/sh/math_private.h: New file.
6925         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6926         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6927         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6928         long double function name.
6929         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6930         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6935         Remove __finitel, __isinfl, and __isnanl.
6936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6937         Likewise.
6938         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6940         Remove __finitel.
6941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6944
6945 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6946
6947         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6948         installed libmvec_nonshared.a.
6949
6950 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6951
6952         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6953         (sysdep_routines): Likewise.
6954         (sysdep-rtld-routines): Likewise.
6955         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6956         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6957         * sysdeps/powerpc/Versions: Added new
6958         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6959         * sysdeps/powerpc/hwcapinfo.c: New file.
6960         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6961         and parse hwcap, hwcap2 and platform number information.
6962         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6963         to store HWCAP+HWCAP2 and platform number.
6964         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6965         for HWCAP+HWCAP2 and platform number in the TCB.
6966         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6967         the HWCAP, HWCAP2 and platform number in the TCB.
6968         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6969         (TLS_INIT_TP): Included calls to add the hwcap and
6970         at_platform values in the TCB in TP initialization.
6971         (TLS_DEFINE_INIT_TP): Likewise.
6972         (THREAD_GET_HWCAP): New macro.
6973         (THREAD_SET_HWCAP): Likewise.
6974         (THREAD_GET_AT_PLATFORM): Likewise.
6975         (THREAD_SET_AT_PLATFORM): Likewise.
6976         * sysdeps/powerpc/powerpc32/dl-machine.h:
6977         (dl_platform_init): New function that calls
6978         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6979         powerpc32.
6980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6981         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6982         this functionality, static linking case.
6983         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6984         linking case.
6985         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6986         __parse_hwcap_and_convert_at_platform for the static linking case.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6988         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6989         ABI list for GLIBC 2.23.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6991         Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6993         Likewise.
6994
6995 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6996
6997         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6998         * configure: Regenerate.
6999         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7000         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7001
7002 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7003
7004         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7005         * iconvdata/ibm933.c: Likewise.
7006         * iconvdata/ibm935.c: Likewise.
7007         * iconvdata/ibm937.c: Likewise.
7008         * iconvdata/ibm939.c: Likewise.
7009
7010 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7011
7012         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7013         pthread_join.
7014         * nptl/tst-cancel21.c (tf): Likewise.
7015
7016 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7017
7018         [BZ #19313]
7019         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7020         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7021         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7022         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7023         Likewise.
7024         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7025         Likewise.
7026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7027         Likewise.
7028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7031         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7032         unsigned long int with __CPU_MASK_TYPE.
7033
7034 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7035
7036         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7037
7038 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7039
7040         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7041         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7042         t512.x.
7043         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7044
7045 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7046
7047         [BZ #19214]
7048         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7049         argument to return extended model.  Update family and model
7050         with extended family and model when family == 0x0f.
7051         (init_cpu_features): Updated.
7052
7053 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7054
7055         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7056         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7057
7058         * sysdeps/mach/hurd/mmap64.c: New file.
7059
7060 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7061
7062         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7063         rights for its main user thread in NEWTASK.
7064
7065 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7066
7067         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7068         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7069
7070 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7071
7072         [BZ #14259]
7073         * Makeconfig: Rename localedir to complocaledir.
7074         Rename inst_localedir to inst_complocaledir.
7075         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7076         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7077         * configure.ac: Use libc_cv_complocaledir.
7078         * configure: Regenerate.
7079         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7080         -DCOMPLOCALEDIR.
7081         * locale/findlocale.c: Use COMPLOCALEDIR.
7082         * locale/loadarchive.c: Likewise.
7083         * locale/programs/locale.c: Likewise.
7084         * locale/programs/localedef.c: Likewise.
7085         * locale/programs/locarchive.c: Likewise.
7086         * localedata/Makefile: Use inst_complocaledir.
7087         * sysdeps/gnu/configure: Regenerate.
7088         * sysdeps/hppa/configure: Regenerate.
7089         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7090         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7092         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7093         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7094         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7095         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7096
7097 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7098
7099         [BZ #19058]
7100         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7101         AS_NEEDED.
7102         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7103         workaround.
7104         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7105         libmvec-static-only-routines): Added new file.
7106         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7107
7108 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7109
7110         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7111         of interrupted RPC instead of restoring it.
7112
7113         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7114         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7115         libc_hidden_def.
7116         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7117         into initialized data instead of common. Define rtld_hidden_data_def.
7118         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7119         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7120         libc_hidden_def.
7121         (if_freenameindex): Add libc_hidden_weak.
7122         (if_nameindex): Add libc_hidden_weak.
7123         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7124         __open64.
7125         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7126         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7127         * sysdeps/mach/nanosleep.c: Include <time.h>
7128         (__nanosleep): Rename to __libc_nanosleep.
7129         (__nanosleep): Add weak_alias.
7130         (nanosleep): Update alias.
7131
7132 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7133
7134         * stdlib/strtod_nan.c: New file.
7135         * stdlib/strtod_nan_double.h: Likewise.
7136         * stdlib/strtod_nan_float.h: Likewise.
7137         * stdlib/strtod_nan_main.c: Likewise.
7138         * stdlib/strtod_nan_narrow.h: Likewise.
7139         * stdlib/strtod_nan_wide.h: Likewise.
7140         * stdlib/strtof_nan.c: Likewise.
7141         * stdlib/strtold_nan.c: Likewise.
7142         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7143         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7144         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7145         * wcsmbs/wcstod_nan.c: Likewise.
7146         * wcsmbs/wcstof_nan.c: Likewise.
7147         * wcsmbs/wcstold_nan.c: Likewise.
7148         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7149         strtold_nan.
7150         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7151         wcstof_nan.
7152         * include/stdlib.h (__strtof_nan): Declare and use
7153         libc_hidden_proto.
7154         (__strtod_nan): Likewise.
7155         (__strtold_nan): Likewise.
7156         (__wcstof_nan): Likewise.
7157         (__wcstod_nan): Likewise.
7158         (__wcstold_nan): Likewise.
7159         * include/wchar.h (____wcstoull_l_internal): Declare.
7160         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7161         (____strtoull_l_internal): Remove declaration.
7162         (STRTOF_NAN): Define macro.
7163         (SET_MANTISSA): Remove macro.
7164         (STRTOULL): Likewise.
7165         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7166         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7167         (STRTOF_NAN): Define macro.
7168         (SET_MANTISSA): Remove macro.
7169         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7170         (SET_MANTISSA): Remove macro.
7171         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7172         macro.
7173         (SET_MANTISSA): Remove macro.
7174         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7175         macro.
7176         (SET_MANTISSA): Remove macro.
7177         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7178         (SET_MANTISSA): Remove macro.
7179         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7180         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7181         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7182
7183         [BZ #19266]
7184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7185         upper case and lower case letters inside NAN(), not using TOLOWER.
7186         * stdlib/tst-strtod-nan-locale-main.c: New file.
7187         * stdlib/tst-strtod-nan-locale.c: Likewise.
7188         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7189         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7190         Depend on $(gen-locales).
7191         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7192         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7193         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7194         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7195         Depend on $(gen-locales).
7196         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7197
7198 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7199
7200         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7201
7202         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7204         __finitel, __isinfl, and __isnanl.
7205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7209         __finitel.
7210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7213
7214 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7215
7216         * malloc/memusage.c (me): Remove redundant getenv call.
7217
7218 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7219
7220         [BZ #19143]
7221         [BZ #19164]
7222         * nptl/check-cpuset.h: Remove.
7223         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7224         Remove CPU set size check.
7225         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7228         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7229         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7230         (__pthread_setaffinity_new): Remove CPU set size check.
7231         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7232         (__kernel_cpumask_size): Remove.
7233         (__sched_setaffinity_new): Remove CPU set size check.
7234         * manual/threads.texi (Default Thread Attributes): Remove stale
7235         reference to check_cpuset_attr, determine_cpumask_size in comment.
7236         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7237         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7238         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7239         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7240         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7241         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7242         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7243         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7244         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7245         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7246         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7247         skeleton test file.
7248         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7249         tst-affinity-pid.
7250
7251 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7252
7253         * scripts/update-abilist.sh: New file.
7254         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7255         * Makerules (update-all-abi-%, update-all-abi)
7256         (subdir_update-all-abi): New targets.
7257         * elf/Makefile (update-all-abi): New target.
7258
7259 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7260
7261         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7262         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7263         (__libc_lock_define_initialized): Use it.
7264         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7265         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7266         * malloc/malloc.c (main_arena): Likewise.
7267         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7268         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7269
7270 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7271
7272         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7273         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7274         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7275         (PTRACE_O_MASK): Update value.
7276         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7277         New value in enum __ptrace_setoptions.
7278         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7279         (PTRACE_O_MASK): Update value.
7280         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7281         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7282         (PTRACE_O_MASK): Update value.
7283         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7284         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7285         (PTRACE_O_MASK): Update value.
7286         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7287         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7288         (PTRACE_O_MASK): Update value.
7289         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7290         New value in enum __ptrace_setoptions.
7291         (PTRACE_O_MASK): Update value.
7292         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7293         New value in enum __ptrace_setoptions.
7294         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7295         (PTRACE_O_MASK): Update value.
7296
7297         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7298         New macro.
7299         (PACKET_AUXDATA): Likewise.
7300         (PACKET_ORIGDEV): Likewise.
7301         (PACKET_VERSION): Likewise.
7302         (PACKET_HDRLEN): Likewise.
7303         (PACKET_RESERVE): Likewise.
7304         (PACKET_TX_RING): Likewise.
7305         (PACKET_LOSS): Likewise.
7306         (PACKET_VNET_HDR): Likewise.
7307         (PACKET_TX_TIMESTAMP): Likewise.
7308         (PACKET_TIMESTAMP): Likewise.
7309         (PACKET_FANOUT): Likewise.
7310         (PACKET_TX_HAS_OFF): Likewise.
7311         (PACKET_QDISC_BYPASS): Likewise.
7312         (PACKET_ROLLOVER_STATS): Likewise.
7313         (PACKET_FANOUT_DATA): Likewise.
7314         (PACKET_MR_UNICAST): Likewise.
7315
7316         [BZ #19242]
7317         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7318         (TOUPPER): Likewise.
7319         * stdlib/tst-strtol-locale-main.c: New file.
7320         * stdlib/tst-strtol-locale.c: Likewise.
7321         * stdlib/Makefile (tests): Add tst-strtol-locale.
7322         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7323         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7324         Depend on $(gen-locales).
7325         * wcsmbs/tst-wcstol-locale.c: New file.
7326         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7327         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7328         tr_TR.ISO-8859-9.
7329         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7330         Depend on $(gen-locales).
7331
7332 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7333
7334         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7335         __glibc_likely instead of __builtin_expect.  After falling back to
7336         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7337         system interface to register the code pages as occupied.
7338
7339 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7340
7341         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7342         [!ARM_MATH_PRIVATE_H].
7343         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7344         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7345         [!HPPA_MATH_PRIVATE_H].
7346         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7347         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7348         to [!I386_MATH_PRIVATE_H].
7349         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7350         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7351         Change guard to [!M68K_MATH_PRIVATE_H].
7352         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7353         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7354         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7355         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7356         macro.
7357         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7358         [!MIPS_MATH_PRIVATE_H].
7359         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7360         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7361         [!NIO2_MATH_PRIVATE_H].
7362         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7363         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7364         [!TILE_MATH_PRIVATE_H].
7365         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7366
7367         [BZ #15421]
7368         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7369         initialize with 0 and define as weak alias of __signgam.
7370         * include/math.h [!_ISOMAC] (__signgam): Declare.
7371         * math/Makefile (libm-calls): Add w_lgamma_compat.
7372         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7373         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7374         test-signgam-ullong-init.
7375         (tests-static): Add test-signgam-uchar-static,
7376         test-signgam-uchar-init-static, test-signgam-uint-static,
7377         test-signgam-uint-init-static, test-signgam-ullong-static and
7378         test-signgam-ullong-init-static.
7379         (CFLAGS-test-signgam-uchar.c): New variable.
7380         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7381         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7382         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7383         (CFLAGS-test-signgam-uint.c): Likewise.
7384         (CFLAGS-test-signgam-uint-init.c): Likewise.
7385         (CFLAGS-test-signgam-uint-static.c): Likewise.
7386         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7387         (CFLAGS-test-signgam-ullong.c): Likewise.
7388         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7389         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7390         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7391         * math/Versions (libm): Add GLIBC_2.23.
7392         * math/lgamma-compat.h: New file.
7393         * math/test-signgam-main.c: Likewise.
7394         * math/test-signgam-uchar-init-static.c: Likewise.
7395         * math/test-signgam-uchar-init.c: Likewise.
7396         * math/test-signgam-uchar-static.c: Likewise.
7397         * math/test-signgam-uchar.c: Likewise.
7398         * math/test-signgam-uint-init-static.c: Likewise.
7399         * math/test-signgam-uint-init.c: Likewise.
7400         * math/test-signgam-uint-static.c: Likewise.
7401         * math/test-signgam-uint.c: Likewise.
7402         * math/test-signgam-ullong-init-static.c: Likewise.
7403         * math/test-signgam-ullong-init.c: Likewise.
7404         * math/test-signgam-ullong-static.c: Likewise.
7405         * math/test-signgam-ullong.c: Likewise.
7406         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7407         wrapper of w_lgamma_main.c.
7408         * math/w_lgamma_compat.c: New file.
7409         * math/w_lgamma_compatf.c: Likewise.
7410         * math/w_lgamma_compatl.c: Likewise.
7411         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7412         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7413         defining compatibility symbols.
7414         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7415         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7416         wrapper of w_lgammaf_main.c.
7417         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7418         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7419         defining compatibility symbols.
7420         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7421         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7422         wrapper of w_lgammal_main.c.
7423         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7424         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7425         defining compatibility symbols.
7426         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7427         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7428         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7429         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7430         <lgamma-compat.h>.
7431         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7432         (__ieee754_gamma): Define as alias.
7433         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7434         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7435         <lgamma-compat.h>.
7436         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7437         (__ieee754_gammaf): Define as alias.
7438         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7439         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7440         <lgamma-compat.h>.
7441         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7442         (__ieee754_gammal): Define as alias.
7443         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7444         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7445         <math/w_lgamma_compat.c>.
7446         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7447         Define as alias of __lgamma_compat and use in defining lgammal.
7448         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7449         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7450         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7451         (USE_AS_COMPAT): New macro.
7452         (LGAMMA_OLD_VER): Undefine and redefine.
7453         (lgammal): Do not define here.
7454         (gammal): Only define here if [GAMMA_ALIAS].
7455         * conform/linknamespace.pl (@whitelist): Remove signgam.
7456         * sysdeps/nacl/libm.abilist: Update.
7457         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7465         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7466         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7467         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7468         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7472         Likewise.
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7474         Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7478         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7479         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7480         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7481         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7483         Likewise.
7484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7485         Likewise.
7486         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7487         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7488         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7489
7490 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7491
7492         [BZ #16364]
7493         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7494         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7495
7496 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7497
7498         * sysdeps/s390/fpu/bits/mathinline.h:
7499         Use __asm__ [__volatile__] instead of asm [volatile].
7500         * sysdeps/s390/abort-instr.h: Likewise.
7501         * sysdeps/s390/atomic-machine.h: Likewise.
7502         * sysdeps/s390/bits/string.h: Likewise.
7503         * sysdeps/s390/dl-tls.h: Likewise.
7504         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7505         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7506         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7507         * sysdeps/s390/fpu/fesetround.c: Likewise.
7508         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7509         * sysdeps/s390/fpu/s_fma.c: Likewise.
7510         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7511         * sysdeps/s390/memusage.h: Likewise.
7512         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7513         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7514         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7515         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7516         * sysdeps/s390/nptl/tls.h: Likewise.
7517         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7518         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7519         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7520         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7521         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7522         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7523         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7524         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7525         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7526         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7527         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7528         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7529         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7530         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7531         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7532         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7533         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7534         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7535         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7537         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7539         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7540
7541 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7542             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7543
7544         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7545         Add lwarx hint, and use macro for acquire instruction.
7546         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7547         Likewise.
7548         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7549         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7550         update to use new atomic macros.
7551
7552 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7553
7554         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7555         (__lll_trylock_elision): Fix setting of adapt_count.
7556         * sysdeps/unix/sysv/linux/powerpc/htm.h
7557         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7558         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7559         (_ABORT_SYSCALL): Renumber, and clarify definition.
7560         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7561
7562 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7563
7564         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7565         after system headers to prevent MIN/MAX redefinition.  Define
7566         HAVE_ALLOCA to preserve builtin alloca usage.
7567
7568 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7569
7570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7571         static and don't set or restore rounding.
7572         (__cos)[IN_SINCOS]: Likewise.
7573         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7574         (__sincos): Set and restore rounding mode.  Remove check for infinite
7575         or NaN input.
7576
7577         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7578
7579         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7580         as used.
7581
7582 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7583
7584         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7585
7586 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7587
7588         * config.make.in (have-glob-dat-reloc): New.
7589         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7590         target supports GLOB_DAT relocaton. AC_SUBST.
7591         * configure: Regenerated.
7592         * elf/Makefile (tests): Add tst-prelink.
7593         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7594         (tst-prelink-ENV): New.
7595         ($(objpfx)tst-prelink-conflict.out): Likewise.
7596         ($(objpfx)tst-prelink-cmp.out): Likewise.
7597         * sysdeps/x86/tst-prelink.c: Moved to ...
7598         * elf/tst-prelink.c: Here.
7599         * sysdeps/x86/tst-prelink.exp: Moved to ...
7600         * elf/tst-prelink.exp: Here.
7601         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7602         (tst-prelink-ENV): Removed.
7603         ($(objpfx)tst-prelink-conflict.out): Likewise.
7604         ($(objpfx)tst-prelink-cmp.out): Likewise.
7605         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7606
7607 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7608
7609         [BZ #14551]
7610         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7611         (__mpn_construct_long_double): If high part overflows to infinity,
7612         set errno and recompute overflowed result of the correct sign.
7613         * sysdeps/ieee754/ldbl-128ibm/Makefile
7614         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7615         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7616         $(libm).
7617         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7618
7619 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7620
7621         [BZ #15479]
7622         [BZ #19238]
7623         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7624         floating-point state after first operation on input.  Restore full
7625         state rather than just rounding mode.
7626         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7627         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7629
7630         [BZ #19235]
7631         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7632         add 0.5 to integer arguments.
7633         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7634         Likewise.
7635         (.LC2): New object.
7636
7637 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7638
7639         * scripts/pylintrc (reports): Set to no.
7640
7641 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7642
7643         * elf/dl-load.c (open_verify): Take new argument FD.
7644         Skip __open call if passed FD is not -1.
7645         (_dl_map_object, open_path): Update callers.
7646         * elf/dl-sysdep-open.h: New file.
7647         * elf/dl-load.c: Include it.
7648         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7649         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7650         * sysdeps/nacl/dl-sysdep-open.h: New file.
7651         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7652         from libc to rtld.
7653
7654 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7655
7656         [BZ #19228]
7657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7658         and restore full floating-point state.
7659         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7660         Likewise.
7661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7662         Likewise.
7663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7664         Likewise.
7665         * math/test-nearbyint-except-2.c: New file.
7666         * math/Makefile (tests): Add test-nearbyint-except-2.
7667
7668 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7669
7670         [BZ #19178]
7671         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7672         (tst-prelink-ENV): New.
7673         ($(objpfx)tst-prelink-conflict.out): Likewise.
7674         ($(objpfx)tst-prelink-cmp.out): Likewise.
7675         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7676         * sysdeps/x86/tst-prelink.c: New file.
7677         * sysdeps/x86/tst-prelink.exp: Likewise.
7678
7679 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7680
7681         * math/auto-libm-test-in: Add another test of pow.
7682         * math/auto-libm-test-out: Regenerated.
7683         * math/libm-test.inc (pow_test_data): Add another test.
7684
7685 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7686
7687         [BZ #19219]
7688         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7689         weak_alias to nearbyintl.
7690
7691 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7692
7693         * sysdeps/aarch64/bits/string.h: New file.
7694         (_STRING_ARCH_unaligned): Define.
7695
7696 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7697
7698         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7699         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7700         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7701         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7703
7704 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7705
7706         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7707         for original name of the DSO.  Add it to the name list of the DSO
7708         if it is actually given.
7709         (_dl_map_object): Keep track of whether an audit module rewrote
7710         the file name.  If yes, pass the original name to
7711         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7712         debugging is enabled, log the change of the file name.
7713         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7714         _dl_map_object_from_fd.
7715         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7716         * elf/tst-audit11.c: New file
7717         * elf/tst-auditmod11.c: New file.
7718         * elf/tst-audit11mod1.c: New file.
7719         * elf/tst-audit11mod2.c: New file.
7720         * elf/tst-audit11mod2.map: New file.
7721         * elf/tst-audit12.c: New file
7722         * elf/tst-auditmod12.c: New file.
7723         * elf/tst-audit12mod1.c: New file.
7724         * elf/tst-audit12mod2.c: New file.
7725         * elf/tst-audit12mod2.map: New file.
7726         * elf/tst-audit12mod3.c: New file.
7727
7728 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7729
7730         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7731         Don't create weak aliases,
7732         because versioned symbols are created later.
7733         * sysdeps/s390/s390-32/setjmp.S
7734         (setjmp, _setjmp): Remove weak and rename to an unique name
7735         in SHARED case due to existing versioned symbols.
7736         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7738         (getcontext): Create weak alias only in non SHARED case.
7739         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7740
7741 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7742
7743         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7744         (__ASSUME_*_SYSCALL) Define new macros.
7745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7746         Remove socketcall syscalls.
7747         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7748         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7749         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7750         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7751         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7752         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7753
7754 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7755
7756         [BZ #12926]
7757         Terminate process on invalid netlink response.
7758         * sysdeps/unix/sysv/linux/netlinkaccess.h
7759         (__netlink_assert_response): Declare.
7760         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7761         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7762         (sysdep_routines): Add netlink_assert_response.
7763         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7764         __netlink_assert_response.
7765         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7766         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7767         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7768         __netlink_assert_response.
7769
7770 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7771
7772         [BZ #19178]
7773         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7774         (RTYPE_CLASS_PLT): Likewise.
7775         (RTYPE_CLASS_COPY): Likewise.
7776         (RTYPE_CLASS_TLS): Likewise.
7777         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7778         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7779         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7780         DL_DEBUG_PRELINK.
7781
7782 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7783
7784         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7785         calls with argument -0.5.
7786         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7787
7788         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7789         (libc_cv_z_nodlopen): Likewise.
7790         (libc_cv_z_initfirst): Likewise.
7791         * configure: Regenerated.
7792
7793 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7794
7795         Simplify abilist format to be line-based.
7796         * scripts/abilist.awk: Collect descriptors in the descs variable.
7797         (emit): Write descs variable and sort it
7798         externally, with sort.
7799         * sysdeps/**/*.abilist: Convert to new format.
7800
7801 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7802
7803         [BZ #11460]
7804         * io/Makefile (routines): Add fts64.
7805         (tests): Add tst-fts and tst-fts-lfs.
7806         (CFLAGS-fts64.c): New.
7807         * io/Versions (GLIBC_2.23): New.
7808         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7809         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7810         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7811         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7812         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7813         (FTSENT64): Likewise.
7814         (fts64_children): Likewise.
7815         (fts64_close): Likewise.
7816         (fts64_open): Likewise.
7817         (fts64_read): Likewise.
7818         (fts64_set): Likewise.
7819         * io/fts64.c: New file.
7820         * io/tst-fts.c: New test.
7821         * io/tst-fts-lfs.c: Likewise.
7822         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7823         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7824         fts64_set.
7825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7827         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7839         Likewise.
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7841         Likewise.
7842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7844         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7846         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7847         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7852         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7853         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7854         * sysdeps/wordsize-64/fts.c: New file.
7855         * sysdeps/wordsize-64/fts64.c: Likewise.
7856         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7857         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7858         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7859         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7860
7861 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7862
7863         * math/libm-test.inc (NON_FINITE): New macro.
7864         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7865         * math/gen-libm-test.pl (show_exceptions): Add argument
7866         $non_finite.
7867         (parse_args): Update call to show_exceptions.
7868         * math/test-math-finite.h: New file.
7869         * math/test-math-no-finite.h: Likewise.
7870         * math/test-double-finite.c: Likewise.
7871         * math/test-float-finite.c: Likewise.
7872         * math/test-ldouble-finite.c: Likewise.
7873         * math/test-double.c: Include "test-math-no-finite.h".
7874         * math/test-float.c: Include "test-math-no-finite.h".
7875         * math/test-ldouble.c: Include "test-math-no-finite.h".
7876         * math/test-math-inline.h (TEST_FINITE): New macro.
7877         * math/test-math-vector.h (TEST_FINITE): Likewise.
7878         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7879         (libm-tests): Add test-float-finite and test-double-finite.
7880         ($(objpfx)test-float-finite.o): New dependency on
7881         $(objpfx)libm-test.stmp.
7882         ($(objpfx)test-double-finite.o): Likewise.
7883         ($(objpfx)test-ldouble-finite.o): Likewise.
7884         (libm-test-no-inline-cflags): New variable.
7885         (libm-test-finite-cflags): Likewise.
7886         (CFLAGS-test-float-finite.c): Likewise.
7887         (CFLAGS-test-double-finite.c): Likewise.
7888         (CFLAGS-test-ldouble-finite.c): Likewise.
7889         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7890         (CFLAGS-test-double.c): Likewise.
7891         (CFLAGS-test-ldouble.c): Likewise.
7892
7893 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7894
7895         * io/fcntl.c (__fcntl): Add ... to prototype.
7896         * misc/ioctl.c (__ioctl): Likewise.
7897         * misc/syscall.c (syscall): Likewise.
7898
7899 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7900
7901         * scripts/list-fixed-bugs.py: New file.
7902
7903         [BZ #19213]
7904         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7905         returned for argument 1.
7906         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7907         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7908         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7909         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7910         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7911         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7912
7913         [BZ #19211]
7914         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7915         __USE_XOPEN], not if [!__USE_ISOC99].
7916         (lgammaf): Likewise.
7917         (lgammal): Likewise.
7918         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7919         (gammaf): Likewise.
7920         (gammal): Likewise.
7921         * math/test-signgam-finite-c11.c: New file.
7922         * math/test-signgam-finite-c99.c: Likewise.
7923         * math/test-signgam-finite.c: Likewise.
7924         * math/Makefile (tests): Add test-signgam-finite,
7925         test-signgam-finite-c99 and test-signgam-finite-c11.
7926         (CFLAGS-test-signgam-finite.c): New variable.
7927         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7928         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7929
7930         [BZ #19212]
7931         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7932         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7933         500].
7934         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7935         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7936         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7937         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7938         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7939         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7940         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7941         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7942         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7943         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7944
7945         [BZ #19209]
7946         * math/bits/math-finite.h (ldexp): Remove declaration.
7947         (ldexpf): Likewise.
7948         (ldexpl): Likewise.
7949
7950         [BZ #19205]
7951         * math/bits/math-finite.h (acosf): Condition declaration on
7952         [__USE_ISOC99].
7953         (acosl): Likewise.
7954         (acoshf): Likewise.
7955         (acoshl): Likewise.
7956         (asinf): Likewise.
7957         (asinl): Likewise.
7958         (atan2f): Likewise.
7959         (atan2l): Likewise.
7960         (atanhf): Likewise.
7961         (atanhl): Likewise.
7962         (coshf): Likewise.
7963         (coshl): Likewise.
7964         (expf): Likewise.
7965         (expl): Likewise.
7966         (fmodf): Likewise.
7967         (fmodl): Likewise.
7968         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7969         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7970         (j0l): Likewise.
7971         (y0f): Likewise.
7972         (y0l): Likewise.
7973         (j1f): Likewise.
7974         (j1l): Likewise.
7975         (y1f): Likewise.
7976         (y1l): Likewise.
7977         (jnf): Likewise.
7978         (jnl): Likewise.
7979         (ynf): Likewise.
7980         (ynl): Likewise.
7981         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7982         (lgammal_r): Likewise.
7983         (__lgamma_r_finite): New declaration.
7984         (__lgammaf_r_finite): Likewise.
7985         (__lgammal_r_finite): Likewise.
7986         (lgamma): Use __lgamma_r_finite.
7987         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7988         __lgammaf_r_finite.
7989         (lgammal): Condition definition on [__USE_ISOC99].  Use
7990         __lgammal_r_finite.
7991         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7992         __lgamma_r_finite.
7993         (gammaf): Condition definition on [__USE_ISOC99].  Use
7994         __lgammaf_r_finite.
7995         (gammal): Condition definition on [__USE_ISOC99].  Use
7996         __lgammal_r_finite.
7997         (logf): Condition declaration on [__USE_ISOC99].
7998         (logl): Likewise.
7999         (log10f): Likewise.
8000         (log10l): Likewise.
8001         (ldexpf): Likewise.
8002         (ldexpl): Likewise.
8003         (powf): Likewise.
8004         (powl): Likewise.
8005         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8006         __USE_ISOC99].
8007         (remainderf): Condition declaration on [__USE_ISOC99].
8008         (remainderl): Likewise.
8009         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8010         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8011         (scalbl): Likewise.
8012         (sinhf): Condition declaration on [__USE_ISOC99].
8013         (sinhl): Likewise.
8014         (sqrtf): Likewise.
8015         (sqrtl): Likewise.
8016
8017 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8018
8019         * sysdeps/arm/atomic-machine.h
8020         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8021         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8022         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8023         Remove conditional code.
8024         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8025         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8026         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8027         Change conditional to [__ASSEMBLER__].
8028         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8029         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8030         [!__ASSEMBLER__].
8031         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8032         code.
8033         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8034         conditional macro definitions.
8035         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8036         (__arch_compare_and_exchange_val_16_acq): Likewise.
8037         (__arch_compare_and_exchange_val_32_acq): Likewise.
8038         (atomic_exchange_and_add): Likewise.
8039         (atomic_add): Likewise.
8040         (atomic_add_negative): Likewise.
8041         (atomic_add_zero): Likewise.
8042         (atomic_bit_set): Likewise.
8043         (atomic_bit_test_set): Likewise.
8044         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8045         code unconditional.
8046         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8047
8048         * math/test-math-errno.h: New file.
8049         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8050         empty.
8051         (TEST_ERRNO): New macro.
8052         (TEST_EXCEPTIONS): Likewise.
8053         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8054         (TEST_EXCEPTIONS): Likewise.
8055         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8056         * math/test-double.c: Include "test-math-errno.h".
8057         * math/test-float.c: Likewise.
8058         * math/test-ldouble.c: Likewise.
8059         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8060         code unconditional.
8061         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8062         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8063         unconditional.
8064         (test_errno): Only run code if TEST_ERRNO.
8065         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8066
8067 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8068
8069         * nptl/tst-once5.cc: Remove attribution.
8070
8071 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8072
8073         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8074         sqrt, tan, tanh, y0, y1 and yn.
8075         * math/auto-libm-test-out: Regenerated.
8076         * math/libm-test.inc (scalb_test_data): Add more tests.
8077         (scalbn_test_data): Likewise.
8078         (scalbln_test_data): Likewise.
8079         (signbit_test_data): Likewise.
8080         (sin_test_data): Likewise.
8081         (sincos_test_data): Likewise.
8082         (sinh_test_data): Likewise.
8083         (sqrt_test_data): Likewise.
8084         (tan_test_data): Likewise.
8085         (tanh_test_data): Likewise.
8086         (tgamma_test_data): Likewise.
8087         (y0_test_data): Likewise.
8088         (y1_test_data): Likewise.
8089         (yn_test_data): Likewise.
8090         (significand_test_data): Likewise.
8091         * sysdeps/i386/fpu/libm-test-ulps: Update.
8092
8093 2015-11-03  David Kastrup  <dak@gnu.org>
8094
8095         [BZ #18604]
8096         * assert/assert.h (assert): Don't macro-expand failed assertion
8097         expression in error message.
8098         * malloc/malloc.c (assert): Likewise.
8099
8100 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8101
8102         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8103         test.
8104         * configure: Regenerated.
8105
8106 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8107
8108         * math/libm-test.inc (modf_test_data): Add more tests.
8109         (nearbyint_test_data): Likewise.
8110         (nextafter_test_data): Likewise.
8111         (nexttoward_test_data): Likewise.
8112         (pow_test_data): Likewise.
8113         (remainder_test_data): Likewise.
8114         (remquo_test_data): Likewise.
8115         (rint_test_data): Likewise.
8116
8117         [BZ #19201]
8118         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8119         Check for zero remainder in case of large exponents and ensure
8120         correct sign of result in that case.
8121         * math/libm-test.inc (remainder_test_data): Add more tests.
8122
8123         [BZ #6799]
8124         * math/s_nextafter.c: Include <errno.h>.
8125         (__nextafter): Set errno on overflow and underflow.
8126         * math/s_nexttowardf.c: Include <errno.h>.
8127         (__nexttowardf): Set errno on overflow and underflow.
8128         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8129         (__nextafterl): Set errno on overflow and underflow.
8130         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8131         (__nexttoward): Set errno on overflow and underflow.
8132         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8133         (__nexttowardf): Set errno on overflow and underflow.
8134         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8135         (__nextafterf): Set errno on overflow and underflow.
8136         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8137         (__nextafterl): Set errno on overflow and underflow.
8138         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8139         (__nexttoward): Set errno on overflow and underflow.
8140         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8141         (__nexttowardf): Set errno on overflow and underflow.
8142         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8143         (__nextafterl): Set errno on overflow and underflow.
8144         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8145         (__nexttoward): Set errno on overflow and underflow.
8146         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8147         (__nexttowardf): Set errno on overflow and underflow.
8148         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8149         (__nexttoward): Set errno on overflow and underflow.
8150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8151         (__nexttowardf): Set errno on overflow and underflow.
8152         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8153         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8154         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8155         (__nextafterl): Set errno on overflow and underflow.
8156         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8157         setting to be missing on overflow.  Add more tests.
8158         (nexttoward_test_data): Likewise.
8159
8160         * configure.ac (libc_cv_initfini_array): Remove configure test.
8161         * configure: Regenerated.
8162
8163 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8164
8165         [BZ #19189]
8166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8167         non-finite argument handle arguments with negative sign.
8168
8169         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8170         result from infinite argument.
8171         (j1_test_data): Likewise.
8172         (jn_test_data): Likewise.
8173         (y0_test_data): Likewise.
8174         (y1_test_data): Likewise.
8175         (yn_test_data): Likewise.
8176
8177         [BZ #16171]
8178         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8179         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8180         * math/w_remainderf.c (dremf): Define as weak alias of
8181         __remainderf.
8182         * math/w_remainderl.c (dreml): Define as weak alias of
8183         __remainderl.
8184         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8185         __remainder.
8186         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8187         __remainderf.
8188         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8189         __remainderl.
8190         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8191         weak alias of remainderl.
8192         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8193         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8194         alias of __remainder.
8195         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8196         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8197         strong alias of __remainderl.
8198         (dreml): Use long_double_symbol.
8199         * math/Makefile (libm-calls): Remove w_drem.
8200         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8201         (CFLAGS-nldbl-drem.c): Remove variable.
8202         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8203         * math/w_drem.c: Remove file.
8204         * math/w_dremf.c: Likewise.
8205         * math/w_dreml.c: Likewise.
8206         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8207         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8208         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8209
8210         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8211         * sysdeps/i386/configure: Regenerated.
8212         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8213         * sysdeps/x86_64/configure: Regenerated.
8214
8215         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8216         test.
8217         (libc_cv_visibility_attribute): Likewise.
8218         (libc_cv_protected_data): Test unconditionally.
8219         (libc_cv_broken_visibility_attribute): Remove configure test.
8220         (libc_cv_have_sdata_section): Test unconditionally.
8221         * configure: Regenerated.
8222
8223         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8224         * include/scratch_buffer.h: Include <stddef.h> instead of
8225         <libc-internal.h>.
8226         (struct scratch_buffer): Use max_align_t instead of
8227         libc_max_align_t.
8228
8229 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8230
8231         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8232         instead of extend_alloca.  Change control flow to avoid a goto.
8233         Remove assert which is trivially always true.
8234
8235 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8236
8237         [BZ #16068]
8238         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8239         (FE_ALL_EXCEPT_X86): New macro.
8240         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8241         FE_ALL_EXCEPT.  Ensure precision control is included in
8242         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8243         handle "denormal operand exception" and clear FZ and DAZ bits.
8244         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8245         (FE_ALL_EXCEPT_X86): New macro.
8246         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8247         FE_ALL_EXCEPT.  Ensure precision control is included in
8248         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8249         handle "denormal operand exception" and clear FZ and DAZ bits.
8250         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8251         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8252         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8253         test-fenv-x87 and test-fenv-sse-2.
8254         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8255
8256         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8257         * math/test-double.h (BUILD_COMPLEX): New macro.
8258         * math/test-float.h (BUILD_COMPLEX): Likewise.
8259         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8260
8261         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8262         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8263         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8265         instead of DBL_DENORM_MIN in comment.
8266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8267         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8268         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8269         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8271         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8272
8273 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8274
8275         [BZ# 19048]
8276         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8277         attached_threads member.
8278         (main_arena): Initialize attached_threads.
8279         * malloc/arena.c (list_lock): Update comment.
8280         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8281         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8282         (deattach_arena): New function.
8283         (_int_new_arena): Initialize arena reference count and deattach
8284         replaced arena.
8285         (get_free_list, reused_arena): Update reference count and deattach
8286         replaced arena.
8287         (arena_thread_freeres): Update arena reference count and only put
8288         unreferenced arenas on the free list.
8289
8290 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8291
8292         [BZ #19181]
8293         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8294         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8295         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8296         * math/test-fenv-clear-main.c: New file.
8297         * math/test-fenv-clear.c: Likewise.
8298         * math/Makefile (tests): Add test-fenv-clear.
8299         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8300         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8301         test-fenv-clear-sse.
8302         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8303
8304         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8305         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8306         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8307
8308 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8309
8310         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8311         static libc.
8312
8313 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8314
8315         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8316         test.
8317         * sysdeps/i386/configure: Regenerated.
8318         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8319         test.
8320         * sysdeps/x86_64/configure: Regenerated.
8321         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8323         memset-avx2 unconditionally instead of conditionally on
8324         [$(config-cflags-avx2) = yes].
8325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8326         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8327         unconditional.
8328         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8329         * sysdeps/x86_64/multiarch/memset_chk.S
8330         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8331         to [IS_IN (libc) && SHARED].
8332
8333 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8334
8335         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8336         configure test.
8337         * sysdeps/arm/configure: Regenerated.
8338         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8339         Define variable if not already defined.
8340
8341         [BZ #17404]
8342         * sysdeps/mips/atomic-machine.h
8343         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8344         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8345         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8346
8347         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8348         unconditional.
8349         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8350         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8351         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8352         unconditional.
8353         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8354         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8355         unconditional.
8356         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8357         * stdlib/setenv.c
8358         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8359         code unconditional.
8360         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8361         Remove conditional code.
8362         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8363         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8364         unconditional.
8365         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8366         code.
8367         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8368         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8369         unconditional.
8370         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8371         code.
8372         * sysdeps/ieee754/ldbl-128/k_tanl.c
8373         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8374         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8375         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8376         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8377         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8378         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8379         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8380         unconditional.
8381         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8382         code.
8383         * sysdeps/ieee754/ldbl-96/k_tanl.c
8384         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8385         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8386
8387         * nptl/tst-initializers1-c11.c: New file.
8388         * nptl/tst-initializers1-gnu11.c: Likewise.
8389         * nptl/Makefile (tests): Add these new tests.
8390         (CFLAGS-tst-initializers1-c11.c): New variable.
8391         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8392
8393         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8394         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8395         instead of -std=gnu99.
8396         * configure.ac (systemtap): Test with -std=gnu11 instead of
8397         -std=gnu99.
8398         * configure: Regenerated.
8399         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8400         in compilation command in comment.
8401
8402         * sysdeps/nptl/configure.ac: Remove file.
8403         * sysdeps/nptl/configure: Remove generated file.
8404         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8405         * configure: Regenerated.
8406         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8407         * config.make.in (have-forced-unwind): Remove variable.
8408         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8409         unconditional.
8410         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8411         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8412         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8413         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8414         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8415         unconditional.
8416
8417 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8418
8419         [BZ #19174]
8420         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8421         .skip_lock_out_of_tbegin_retries.
8422         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8423         (__lll_lock_elision): Likewise, and respect a value of
8424         try_tbegin <= 0.
8425
8426 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8427
8428         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8429         statement.
8430
8431 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8432
8433         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8434         variable.
8435         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8436         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8437
8438         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8439         of -std=c1x -D_ISOC11_SOURCE.
8440
8441         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8442         * configure: Regenerated.
8443         * manual/install.texi (Tools for Compilation): Document
8444         requirement for GCC 4.7 or later.
8445         * INSTALL: Regenerated.
8446
8447 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8448
8449         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8450         on CNT to a conditional jump to 'puntdata'.
8451
8452 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8453
8454         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8455         (libc_cv_gcc_tls_model_attr): Likewise.
8456         * configure: Regenerated.
8457
8458         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8459         * configure: Regenerated.
8460         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8461
8462 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8463
8464         * configure.ac (old_glibc_headers): Remove configure test.
8465         * configure: Regenerated.
8466         * config.make.in (old-glibc-headers): Remove variable.
8467         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8468         (install): Remove dependency on remove-old-headers.
8469         (headers2_0): Remove variable.
8470         (remove-old-headers): Remove rule.
8471
8472         * configure.ac (libc_cv_dot_text): Remove configure test.
8473         (libc_cv_asm_set_directive): Use .text instead of
8474         ${libc_cv_dot_text} in configure test.
8475         * configure: Regenerated.
8476
8477 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8478
8479         [BZ #19168]
8480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8481
8482 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8483
8484         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8485         not support static linking.
8486         * configure: Regenerate.
8487
8488 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8489
8490         * math/libm-test.inc (check_float_internal): Do not special-case
8491         errors up to 0.5 ulp.
8492
8493         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8494         log2.
8495         * math/auto-libm-test-out: Regenerated.
8496         * math/libm-test.inc (MAX_EXP): New macro.
8497         (ilogb_test_data): Add more tests.
8498         (isfinite_test_data): Likewise.
8499         (isgreater_test_data): Likewise.
8500         (isgreaterequal_test_data): Likewise.
8501         (isinf_test_data): Likewise.
8502         (isless_test_data): Likewise.
8503         (islessequal_test_data): Likewise.
8504         (islessgreater_test_data): Likewise.
8505         (isnan_test_data): Likewise.
8506         (isnormal_test_data): Likewise.
8507         (issignaling_test_data): Likewise.
8508         (isunordered_test_data): Likewise.
8509         (j0_test_data): Likewise.
8510         (j1_test_data): Likewise.
8511         (jn_test_data): Likewise.
8512         (lgamma_test_data): Likewise.
8513         (log_test_data): Likewise.
8514         (log10_test_data): Likewise.
8515         (log1p_test_data): Likewise.
8516         (log2_test_data): Likewise.
8517         (logb_test_data): Likewise.
8518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8519
8520         [BZ #18611]
8521         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8522         avoid excess range and precision on underflow.
8523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8525         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8527         underflow.
8528         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8530         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8531         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8532         * math/auto-libm-test-in: Do not allow missing errno setting for
8533         tests of j1 and jn.
8534         * math/auto-libm-test-out: Regenerated.
8535
8536 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8537
8538         [BZ #15491]
8539         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8540         floating-point environment instead of clearing all exceptions.
8541         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8542         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8543         merging in "invalid" exceptions from frndint.
8544         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8545         * math/test-nearbyint-except.c: New file.
8546         * math/Makefile (tests): Add test-nearbyint-except.
8547
8548 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8549
8550         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8551
8552         * sysdeps/tile/libm-test-ulps: Regenerated.
8553
8554 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8555
8556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8557         (__NR_sync_file_range2): Assume it is always defined.
8558         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8559         (__NR_sync_file_range): Assume it is always defined.
8560
8561 2015-10-22  Andreas Schwab  <schwab@suse.de>
8562
8563         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8564         INTERNAL_SYSCALL_ERRNO.
8565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8566         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8567         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8568         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8571
8572 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8573
8574         * io/tst-fcntl.c (fd): New static variable.
8575         (do_prepare): Open temporary file here....
8576         (do_test): ...not here.
8577
8578         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8579
8580 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8581
8582         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8583         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8584         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8585         Moved before "#ifdef __ASSEMBLER__".
8586
8587 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8588
8589         [BZ #19156]
8590         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8591         arguments very close to 0.
8592
8593 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8594
8595         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8596         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8597
8598 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8599
8600         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8601         New.  Defined for GCC 5 and above when not compiling for
8602         profiling.
8603         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8604
8605         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8606         Renamed to ...
8607         (CFLAGS-epoll_pwait.o): This.
8608         (CFLAGS-mmap.c): Renamed to ...
8609         (CFLAGS-mmap.o): This.
8610         (CFLAGS-mmap64.c): Renamed to ...
8611         (CFLAGS-mmap64.o): This.
8612         (CFLAGS-epoll_pwait.os): New.
8613         (CFLAGS-mmap.os): Likewise.
8614         (CFLAGS-mmap64.os): Likewise.
8615         (CFLAGS-semtimedop.os): Likewise.
8616         (CFLAGS-semtimedop.c): Renamed to ...
8617         (CFLAGS-semtimedop.o): This.
8618
8619 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8620
8621         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8622         warning message.
8623
8624 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8625
8626         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8627         * Makefile ($(objpfx)c++-types-check.out): Filter out
8628         $(+gccwarn-c) instead of -Wstrict-prototypes.
8629
8630         * io/fts.c (fts_open): Convert to prototype-style function
8631         definition.
8632         * malloc/mcheck.c (mcheck): Likewise.
8633         (mcheck_pedantic): Likewise.
8634         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8635         internal_function.
8636         (re_search_internal): Likewise.
8637         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8638         prototype-style function definition.
8639         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8640         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8641         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8642         (xdr_utmpptr): Likewise.
8643         (xdr_utmparr): Likewise.
8644         (xdr_utmpidle): Likewise.
8645         (xdr_utmpidleptr): Likewise.
8646         (xdr_utmpidlearr): Likewise.
8647
8648         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8649         log, log10 and log2.
8650         * math/auto-libm-test-out: Regenerated.
8651         * math/libm-test.inc (fmod_test_data): Add more tests.
8652         (fpclassify_test_data): Likewise.
8653         (frexp_test_data): Likewise.
8654         (hypot_test_data): Likewise.
8655         (ilogb_test_data): Likewise.
8656
8657 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8658
8659         * debug/fortify_fail.c (__fortify_fail): Convert to
8660         prototype-style function definition.  Use internal_function.
8661         * libio/genops.c (save_for_backup): Convert to prototype-style
8662         function definition.
8663         * libio/wgenops.c (save_for_wbackup): Likewise.
8664         * login/grantpt.c (grantpt): Likewise.
8665         * login/ptsname.c (ptsname): Likewise.
8666         (__ptsname_r): Likewise.
8667         * login/unlockpt.c (unlockpt): Likewise.
8668         * mach/msgserver.c (__mach_msg_server): Likewise.
8669         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8670         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8671         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8672         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8673         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8674         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8675         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8676         Likewise.
8677         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8678         internal_function.
8679         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8680         prototype-style function definition.
8681         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8682         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8683         (__pthread_create_2_0): Likewise.
8684         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8685         * nptl/register-atfork.c (__register_atfork): Likewise.
8686         * posix/glob.c (glob): Likewise.
8687         * posix/regcomp.c (re_comp): Likewise.
8688         * posix/regexec.c (re_exec): Likewise.
8689         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8690         [!__STDC__]: Remove conditional code.
8691         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8692         [!__STDC__]: Remove conditional code.
8693         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8694         [!__STDC__]: Remove conditional code.
8695         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8696         [!__STDC__]: Remove conditional code.
8697         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8698         [!__STDC__]: Remove conditional code.
8699         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8700         [!__STDC__]: Remove conditional code.
8701         * stdlib/mul.c [__STDC__]: Make code unconditional.
8702         [!__STDC__]: Remove conditional code.
8703         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8704         [!__STDC__]: Remove conditional code.
8705         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8706         [!__STDC__]: Remove conditional code.
8707         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8708         function definition.
8709         (STRTOF): Likewise.
8710         * stdlib/strtod_l.c (__STRTOF): Likewise.
8711         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8712         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8713         (__strtol_l): Likewise.
8714         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8715         [!__STDC__]: Remove conditional code.
8716         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8717         definition.
8718         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8719         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8720         type.
8721         (__strcasecmp): Convert to prototype-style function definition.
8722         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8723         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8724         type.
8725         (__strncasecmp): Convert to prototype-style function definition.
8726         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8727         * sunrpc/xdr.c (xdr_union): Likewise.
8728         * sunrpc/xdr_array.c (xdr_array): Likewise.
8729         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8730         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8731         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8732         Likewise.
8733         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8734         Likewise.
8735         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8736         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8737         Likewise.
8738         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8739         (LOCALE_PARAM_PROTO): Likewise.
8740         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8741         argument type.
8742         (ut_argument_spec): Remove macro.
8743         (ut_argument_spec_iso): Rename to ut_argument_spec.
8744         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8745         prototype-style function definition.
8746         (memcpy_uppcase): Likewise.
8747         (__strftime_internal): Likewise.
8748         (my_strftime): Likewise.
8749         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8750         (LOCALE_PARAM_DECL): Likewise.
8751         [_LIBC] (LOCALE_PARAM): Include argument type.
8752         (__strptime_internal): Convert to prototype-style function
8753         definition.
8754         (strptime): Likewise.
8755         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8756         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8757         type.
8758         (__wcscasecmp): Convert to prototype-style function definition.
8759         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8760         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8761         type.
8762         (__wcsncasecmp): Convert to prototype-style function definition.
8763
8764         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8765         function definition.
8766         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8767         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8768         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8769         * elf/dl-minimal.c (_itoa): Likewise.
8770         * hurd/hurdmalloc.c (malloc): Likewise.
8771         (free): Likewise.
8772         (realloc): Likewise.
8773         * inet/inet6_option.c (inet6_option_space): Likewise.
8774         (inet6_option_init): Likewise.
8775         (inet6_option_append): Likewise.
8776         (inet6_option_alloc): Likewise.
8777         (inet6_option_next): Likewise.
8778         (inet6_option_find): Likewise.
8779         * io/ftw.c (FTW_NAME): Likewise.
8780         (NFTW_NAME): Likewise.
8781         (NFTW_NEW_NAME): Likewise.
8782         (NFTW_OLD_NAME): Likewise.
8783         * libio/iofwide.c (_IO_fwide): Likewise.
8784         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8785         (_IO_str_init_static): Likewise.
8786         (_IO_str_init_readonly): Likewise.
8787         (_IO_str_overflow): Likewise.
8788         (_IO_str_underflow): Likewise.
8789         (_IO_str_count): Likewise.
8790         (_IO_str_seekoff): Likewise.
8791         (_IO_str_pbackfail): Likewise.
8792         (_IO_str_finish): Likewise.
8793         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8794         (_IO_wstr_overflow): Likewise.
8795         (_IO_wstr_underflow): Likewise.
8796         (_IO_wstr_count): Likewise.
8797         (_IO_wstr_seekoff): Likewise.
8798         (_IO_wstr_pbackfail): Likewise.
8799         (_IO_wstr_finish): Likewise.
8800         * locale/programs/localedef.c (normalize_codeset): Likewise.
8801         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8802         (add_locales_to_archive): Likewise.
8803         (delete_locales_from_archive): Likewise.
8804         * malloc/malloc.c (__libc_mallinfo): Likewise.
8805         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8806         * misc/tsearch.c (__tfind): Likewise.
8807         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8808         * nptl/pthread_attr_getdetachstate.c
8809         (__pthread_attr_getdetachstate): Likewise.
8810         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8811         Likewise.
8812         * nptl/pthread_attr_getinheritsched.c
8813         (__pthread_attr_getinheritsched): Likewise.
8814         * nptl/pthread_attr_getschedparam.c
8815         (__pthread_attr_getschedparam): Likewise.
8816         * nptl/pthread_attr_getschedpolicy.c
8817         (__pthread_attr_getschedpolicy): Likewise.
8818         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8819         Likewise.
8820         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8821         Likewise.
8822         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8823         Likewise.
8824         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8825         Likewise.
8826         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8827         (__pthread_attr_init_2_0): Likewise.
8828         * nptl/pthread_attr_setdetachstate.c
8829         (__pthread_attr_setdetachstate): Likewise.
8830         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8831         Likewise.
8832         * nptl/pthread_attr_setinheritsched.c
8833         (__pthread_attr_setinheritsched): Likewise.
8834         * nptl/pthread_attr_setschedparam.c
8835         (__pthread_attr_setschedparam): Likewise.
8836         * nptl/pthread_attr_setschedpolicy.c
8837         (__pthread_attr_setschedpolicy): Likewise.
8838         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8839         Likewise.
8840         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8841         Likewise.
8842         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8843         Likewise.
8844         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8845         Likewise.
8846         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8847         Likewise.
8848         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8849         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8850         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8851         use internal_function.
8852         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8853         prototype-style function definition.
8854         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8855         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8856         internal_function.
8857         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8858         Convert to prototype-style function definition.
8859         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8860         Likewise.
8861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8862         Likewise.
8863         (__pthread_mutex_unlock): Likewise.
8864         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8865         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8866         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8867         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8868         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8869         * nss/makedb.c (process_input): Likewise.
8870         * posix/fnmatch.c (__strchrnul): Likewise.
8871         (__wcschrnul): Likewise.
8872         (fnmatch): Likewise.
8873         * posix/fnmatch_loop.c (FCT): Likewise.
8874         * posix/glob.c (globfree): Likewise.
8875         (__glob_pattern_type): Likewise.
8876         (__glob_pattern_p): Likewise.
8877         * posix/regcomp.c (re_compile_pattern): Likewise.
8878         (re_set_syntax): Likewise.
8879         (re_compile_fastmap): Likewise.
8880         (regcomp): Likewise.
8881         (regerror): Likewise.
8882         (regfree): Likewise.
8883         * posix/regexec.c (regexec): Likewise.
8884         (re_match): Likewise.
8885         (re_search): Likewise.
8886         (re_match_2): Likewise.
8887         (re_search_2): Likewise.
8888         (re_search_stub): Likewise.  Use internal_function
8889         (re_copy_regs): Likewise.
8890         (re_set_registers): Convert to prototype-style function
8891         definition.
8892         (prune_impossible_nodes): Likewise.  Use internal_function.
8893         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8894         prototype-style function definition.
8895         (inet_net_pton_ipv4): Likewise.
8896         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8897         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8898         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8899         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8900         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8901         Make variadic.
8902         * time/strptime_l.c (localtime_r): Convert to prototype-style
8903         function definition.
8904         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8905         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8906         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8907         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8908
8909         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8910         definition.
8911         (_ufc_doit_r): Likewise.
8912         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8913         (_ufc_output_conversion_r): Likewise.
8914         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8915         * inet/rcmd.c (rcmd_af): Likewise.
8916         (rcmd): Likewise.
8917         (ruserok_af): Likewise.
8918         (ruserok): Likewise.
8919         (ruserok2_sa): Likewise.
8920         (ruserok_sa): Likewise.
8921         (iruserok_af): Likewise.
8922         (iruserok): Likewise.
8923         (__ivaliduser): Likewise.
8924         (__validuser2_sa): Likewise.
8925         * inet/rexec.c (rexec_af): Likewise.
8926         (rexec): Likewise.
8927         * inet/ruserpass.c (ruserpass): Likewise.
8928         * locale/programs/xmalloc.c (xcalloc): Likewise.
8929         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8930         * math/w_drem.c (__drem): Likewise.
8931         * math/w_dremf.c (__dremf): Likewise.
8932         * math/w_dreml.c (__dreml): Likewise.
8933         * misc/daemon.c (daemon): Likewise.
8934         * resolv/res_debug.c (p_fqnname): Likewise.
8935         * stdlib/div.c (div): Likewise.
8936         * string/memcmp.c (memcmp_bytes): Likewise.
8937         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8938         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8939
8940         * crypt/cert.c (main): Convert to prototype-style function
8941         definition.
8942         * io/pipe.c (__pipe): Likewise.
8943         * io/pipe2.c (__pipe2): Likewise.
8944         * misc/futimesat.c (futimesat): Likewise.
8945         * misc/utimes.c (__utimes): Likewise.
8946         * posix/execve.c (__execve): Likewise.
8947         * posix/execvp.c (execvp): Likewise.
8948         * posix/execvpe.c (__execvpe): Likewise.
8949         * posix/fexecve.c (fexecve): Likewise.
8950         * socket/socketpair.c (socketpair): Likewise.
8951         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8952         * stdlib/erand48.c (erand48): Likewise.
8953         * stdlib/erand48_r.c (__erand48_r): Likewise.
8954         * stdlib/jrand48.c (jrand48): Likewise.
8955         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8956         * stdlib/lcong48.c (lcong48): Likewise.
8957         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8958         * stdlib/nrand48.c (nrand48): Likewise.
8959         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8960         * stdlib/seed48.c (seed48): Likewise.
8961         * stdlib/seed48_r.c (__seed48_r): Likewise.
8962         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8963         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8964         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8965
8966 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8967
8968         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8969         * configure: Regenerated.
8970         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8971         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8972         unconditional.
8973         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8974         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8975         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8976         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8977         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8978         unconditional.
8979         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8980
8981         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8982         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8983
8984         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8985         function definition.
8986         * crypt/crypt_util.c (__encrypt_r): Likewise.
8987         * libio/genops.c (_IO_no_init): Likewise.
8988         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8989         (_IO_old_fopencookie): Likewise.
8990         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8991         * libio/iogetline.c (_IO_getline): Likewise.
8992         (_IO_getline_info): Likewise.
8993         * libio/iogetwline.c (_IO_getwline): Likewise.
8994         (_IO_getwline_info): Likewise.
8995         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8996         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8997         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8998         (find_entry): Likewise.
8999         (iterate_table): Likewise.
9000         (lookup): Likewise.
9001         * login/forkpty.c (forkpty): Likewise.
9002         * misc/hsearch_r.c (__hsearch_r): Likewise.
9003         * misc/select.c (__select): Likewise.
9004         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9005         Likewise.
9006         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9007         Likewise.
9008         * nptl/old_pthread_cond_timedwait.c
9009         (__pthread_cond_timedwait_2_0): Likewise.
9010         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9011         * nptl/pthread_barrierattr_getpshared.c
9012         (pthread_barrierattr_getpshared): Likewise.
9013         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9014         Likewise.
9015         * nptl/pthread_mutex_setprioceiling.c
9016         (pthread_mutex_setprioceiling): Likewise.
9017         * nptl/pthread_mutexattr_getprioceiling.c
9018         (pthread_mutexattr_getprioceiling): Likewise.
9019         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9020         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9021         Likewise.
9022         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9023         Likewise.
9024         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9025         Likewise.
9026         * socket/recvfrom.c (__recvfrom): Likewise.
9027         * socket/sendto.c (__sendto): Likewise.
9028         * socket/setsockopt.c (__setsockopt): Likewise.
9029         * stdio-common/_itoa.c (_itoa): Likewise.
9030         * stdio-common/_itowa.c (_itowa): Likewise.
9031         * stdio-common/reg-printf.c (__register_printf_specifier):
9032         Likewise.
9033         (__register_printf_function): Likewise.
9034         * stdio-common/tempname.c (__path_search): Likewise.
9035         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9036         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9037         * stdlib/random_r.c (__initstate_r): Likewise.
9038         * stdlib/setenv.c (__add_to_environ): Likewise.
9039         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9040         * streams/getpmsg.c (getpmsg): Likewise.
9041         * streams/putmsg.c (putmsg): Likewise.
9042         * streams/putpmsg.c (putpmsg): Likewise.
9043         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9044         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9045         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9046         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9047         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9048         * sunrpc/svc_udp.c (cache_get): Likewise.
9049         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9050         * sysdeps/mach/hurd/getcwd.c
9051         (__canonicalize_directory_name_internal): Likewise.
9052         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9053         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9054         * sysdeps/mach/hurd/select.c (__select): Likewise.
9055         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9056         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9057         * sysdeps/sparc/nptl/pthread_barrier_init.c
9058         (__pthread_barrier_init): Likewise.
9059         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9060         (__pthread_cond_timedwait): Likewise.
9061         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9062         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9063         Likewise.
9064         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9065         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9066         Likewise.
9067         * sysvipc/semtimedop.c (semtimedop): Likewise.
9068         * time/setitimer.c (__setitimer): Likewise.
9069         * time/strftime_l.c (emacs_strftime): Likewise.
9070
9071 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9072
9073         * config.make.in (have-ssp): Delete.
9074         (stack-protector): New variable.
9075         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9076         cache test for -fstack-protector-strong.  Export stack_protector to
9077         the best ssp flag.
9078         * configure: Regenerated.
9079         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9080         * nscd/Makefile (CFLAGS-nscd): Likewise.
9081         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9082
9083 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9084
9085         [BZ #19122]
9086         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9087         attribute_hidden.
9088
9089 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9090
9091         [BZ #18743]
9092         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9093         code to...
9094         (ELIDE_LOCK): ...here.
9095         (__get_new_count): New function with part of the code from
9096         __elide_lock that updates the value of adapt_count after a
9097         transaction abort.
9098         (__elided_trylock): Moved this code to...
9099         (ELIDE_TRYLOCK): ...here.
9100
9101 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9102
9103         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9104         * configure: Regenerate.
9105         * INSTALL: Regenerate.
9106         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9107         and tweak grammar.
9108
9109 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9110
9111         * login/programs/pt_chown.c: Include signal.h
9112         (main): Clear any signal mask from the parent process.
9113
9114 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9115
9116         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9117         * configure: Regenerated.
9118         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9119         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9120         $(gnu89-inline-CFLAGS).
9121
9122         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9123         test.
9124         (libc_cv_asm_weakext_directive): Likewise.
9125         * configure: Regenerated.
9126         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9127         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9128         * include/libc-symbols.h
9129         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9130         #error.
9131         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9132         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9133
9134         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9135         prototype-style function definition.
9136         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9137         * sysdeps/i386/ffs.c (__ffs): Likewise.
9138         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9139         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9140         Likewise.
9141         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9142         Likewise.
9143         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9144         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9145         Likewise.
9146         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9147         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9148         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9149         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9150         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9151         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9152         * sysdeps/mach/hurd/access.c (__access): Likewise.
9153         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9154         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9155         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9156         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9157         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9158         (cthread_getspecific): Likewise.
9159         (cthread_setspecific): Likewise.
9160         (__libc_getspecific): Likewise.
9161         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9162         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9163         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9164         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9165         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9166         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9167         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9168         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9169         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9170         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9171         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9172         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9173         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9174         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9175         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9176         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9177         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9178         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9179         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9180         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9181         * sysdeps/mach/hurd/link.c (__link): Likewise.
9182         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9183         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9184         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9185         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9186         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9187         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9188         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9189         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9190         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9191         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9192         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9193         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9194         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9195         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9196         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9197         * sysdeps/mach/hurd/send.c (__send): Likewise.
9198         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9199         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9200         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9201         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9202         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9203         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9204         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9205         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9206         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9207         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9208         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9209         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9210         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9211         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9212         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9213         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9214         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9215         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9216         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9217         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9218         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9219         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9220         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9221         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9222         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9223         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9224         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9225         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9226         * sysdeps/posix/alarm.c (alarm): Likewise.
9227         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9228         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9229         * sysdeps/posix/dup.c (__dup): Likewise.
9230         * sysdeps/posix/dup2.c (__dup2): Likewise.
9231         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9232         (main): Likewise.
9233         * sysdeps/posix/flock.c (__flock): Likewise.
9234         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9235         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9236         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9237         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9238         * sysdeps/posix/isatty.c (__isatty): Likewise.
9239         * sysdeps/posix/killpg.c (killpg): Likewise.
9240         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9241         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9242         * sysdeps/posix/raise.c (raise): Likewise.
9243         * sysdeps/posix/remove.c (remove): Likewise.
9244         * sysdeps/posix/rename.c (rename): Likewise.
9245         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9246         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9247         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9248         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9249         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9250         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9251         * sysdeps/posix/sigset.c (sigset): Likewise.
9252         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9253         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9254         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9255         * sysdeps/posix/time.c (time): Likewise.
9256         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9257         (ttyname): Likewise.
9258         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9259         * sysdeps/posix/utime.c (utime): Likewise.
9260         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9261         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9262         Likewise.
9263         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9264         (pthread_spin_trylock): Likewise.
9265         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9266         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9267         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9268         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9269         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9270         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9271         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9272         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9273         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9274         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9275         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9276         * sysdeps/s390/ffs.c (__ffs): Likewise.
9277         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9278         Likewise.
9279         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9280         Likewise.
9281         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9282         Likewise.
9283         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9284         (pthread_barrier_destroy): Likewise.
9285         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9286         (__pthread_barrier_wait): Likewise.
9287         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9288         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9289         (__pthread_barrier_wait): Likewise.
9290         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9291         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9292         (memcmp_not_common_alignment): Likewise.
9293         (MEMCMP): Likewise.
9294         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9295         (_wordcopy_fwd_dest_aligned): Likewise.
9296         (_wordcopy_bwd_aligned): Likewise.
9297         (_wordcopy_bwd_dest_aligned): Likewise.
9298         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9299         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9300         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9301         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9302         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9303         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9304         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9305         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9306         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9307         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9308         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9309         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9310         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9311         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9312         * sysdeps/unix/stime.c (stime): Likewise.
9313         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9314         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9315         Likewise.  Use internal_function.
9316         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9317         Convert to prototype-style function definition.
9318         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9319         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9321         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9322         Likewise.  Use internal_function.
9323         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9324         prototype-style function definition
9325         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9326         Likewise.
9327         (__getlogin_r): Likewise.
9328         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9329         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9330         (__pthread_cond_broadcast): Likewise.
9331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9332         (__pthread_cond_destroy): Likewise.
9333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9334         (__pthread_cond_init): Likewise.
9335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9336         (__pthread_cond_signal): Likewise.
9337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9338         (__pthread_cond_wait): Likewise.
9339         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9340         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9341         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9342         Likewise.
9343         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9344         Likewise.
9345         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9346         Likewise.
9347         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9348         Likewise.
9349         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9351         (__ftruncate64): Likewise.
9352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9353         (truncate64): Likewise.
9354         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9355         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9356         (pthread_getcpuclockid): Likewise.
9357         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9358         Likewise.
9359         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9360         Likewise.
9361         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9362         Likewise.
9363         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9364         Likewise.
9365         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9366         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9367         (__libc_sigaction): Likewise.
9368         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9369         Likewise.
9370         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9371         (__sigprocmask): Likewise.
9372         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9373         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9374         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9375         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9376         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9377         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9378         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9379         Likewise.
9380         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9381         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9382         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9383         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9385         Likewise.
9386         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9387         (__sigprocmask): Likewise.
9388         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9389         (cfgetispeed): Likewise.
9390         (cfsetospeed): Likewise.
9391         (cfsetispeed): Likewise.
9392         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9393         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9394         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9395         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9396         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9397         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9398         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9399         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9406         Likewise.
9407         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9408
9409 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9410
9411         sunrpc: Rewrite with explicit TLS access using __thread.
9412         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9413         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9414         directly.
9415         (__rpc_thread_variables): Access thread_rpc_vars directly.
9416         Eliminate redundant assignment of the tvp variable.
9417
9418 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9419
9420         malloc: Rewrite with explicit TLS access using __thread.
9421         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9422         (tsd_setspecific, tsd_getspecific): Remove.
9423         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9424         (tsd_setspecific, tsd_getspecific): Likewise.
9425         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9426         (tsd_setspecific, tsd_getspecific): Likewise.
9427         * malloc/arena.c (thread_arena): New TLS variable.
9428         (arena_key): Remove variable.
9429         (arena_get): Use thread_arena.
9430         (arena_lookup): Remove macro.
9431         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9432         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9433         (_int_new_arena, get_free_list, reused_arena)
9434         (arena_thread_freeres): Use thread_arena.
9435         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9436         tsd_getspecific, tsd_setspecific from safety annotations.
9437         (Allocating Cleared Space): Remove arena_lookup from safety
9438         annotations.
9439
9440 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9441
9442         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9443         struct scratch_buffer instead of extend_alloca.
9444
9445 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9446
9447         * sysdeps/unix/sysv/linux/kernel-features.h
9448         (__ASSUME_SOCK_CLOEXEC): Remove.
9449         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9450         (__have_paccept): Remove unused macro.
9451         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9452         * misc/syslog.c (openlog_internal): Remove fallback code for
9453         !__ASSUME_SOCK_CLOEXEC.
9454         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9455         missing SOCK_CLOEXEC.
9456         * nscd/connections.c (have_sock_cloexec): Remove definition.
9457         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9458         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9459         !__ASSUME_SOCK_CLOEXEC.
9460         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9461         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9462         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9463         definition.
9464         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9465         code for !__ASSUME_SOCK_CLOEXEC.
9466
9467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9468
9469         [BZ #18982]
9470         * manual/stdio.texi (Variable Arguments Output): Add portability
9471         note, explaining that vfprintf clobbers the va_list pointer.
9472
9473 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9474
9475         * math/libm-test.inc (fabs_test_data): Add more tests.
9476         (fdim_test_data): Likewise.
9477         (fma_test_data): Likewise.
9478         (fmax_test_data): Likewise.
9479         (fmin_test_data): Likewise.
9480         (fmod_test_data): Likewise.
9481
9482 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9483
9484         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9485         data.
9486
9487 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9488
9489         * math/libm-test.inc (ceil_test_data): Add more tests and more
9490         expectations for "inexact".
9491         (floor_test_data): Add more tests.
9492         (round_test_data): Likewise.
9493         (trunc_test_data): Likewise.
9494
9495         * crypt/cert.c (good_bye): Convert to prototype-style function
9496         definition.
9497         (get8): Likewise.
9498         (put8): Likewise.
9499         * crypt/crypt-entry.c (crypt): Likewise.
9500         (__fcrypt): Likewise.
9501         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9502         (_ufc_set_bits): Likewise.
9503         (_ufc_clearmem): Likewise.
9504         (__init_des_r): Likewise.
9505         (shuffle_sb): Likewise.
9506         (shuffle_sb): Likewise.
9507         (_ufc_setup_salt_r): Likewise.
9508         (_ufc_mk_keytab_r): Likewise.
9509         (_ufc_dofinalperm_r): Likewise.
9510         (encrypt): Likewise.
9511         (__setkey_r): Likewise.
9512         (setkey): Likewise.
9513         * crypt/md5.c (md5_init_ctx): Likewise.
9514         (md5_read_ctx): Likewise.
9515         (md5_finish_ctx): Likewise.
9516         (md5_stream): Likewise.
9517         (md5_buffer): Likewise.
9518         (md5_process_bytes): Likewise.
9519         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9520         (__sha256_finish_ctx): Likewise.
9521         (__sha256_process_bytes): Likewise.
9522         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9523         (__sha512_finish_ctx): Likewise.
9524         (__sha512_process_bytes): Likewise.
9525         * ctype/isctype.c (__isctype): Likewise.
9526         * debug/backtrace.c (__backtrace): Likewise.
9527         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9528         * debug/fgets_chk.c (__fgets_chk): Likewise.
9529         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9530         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9531         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9532         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9533         * debug/memset_chk.c (__memset_chk): Likewise.
9534         * debug/strcat_chk.c (__strcat_chk): Likewise.
9535         * debug/strncat_chk.c (__strncat_chk): Likewise.
9536         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9537         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9538         * dirent/dirfd.c (dirfd): Likewise.
9539         * dirent/getdents.c (__getdirentries): Likewise.
9540         * dirent/getdents64.c (getdirentries64): Likewise.
9541         * dirent/rewinddir.c (__rewinddir): Likewise.
9542         * dirent/seekdir.c (seekdir): Likewise.
9543         * dirent/telldir.c (telldir): Likewise.
9544         * elf/sln.c (makesymlinks): Likewise.
9545         (makesymlink): Likewise.
9546         * gmon/gmon.c (__moncontrol): Likewise.
9547         (__monstartup): Likewise.
9548         (write_hist): Likewise.
9549         (write_call_graph): Likewise.
9550         (write_bb_counts): Likewise.
9551         * grp/setgroups.c (setgroups): Likewise.
9552         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9553         * inet/inet_net.c (inet_network): Likewise.
9554         * inet/inet_netof.c (inet_netof): Likewise.
9555         * inet/rcmd.c (rresvport_af): Likewise.
9556         (rresvport): Likewise.
9557         * io/access.c (__access): Likewise.
9558         * io/chdir.c (__chdir): Likewise.
9559         * io/chmod.c (__chmod): Likewise.
9560         * io/chown.c (__chown): Likewise.
9561         * io/close.c (__close): Likewise.
9562         * io/creat.c (creat): Likewise.
9563         * io/creat64.c (creat64): Likewise.
9564         * io/dup.c (__dup): Likewise.
9565         * io/dup2.c (__dup2): Likewise.
9566         * io/dup3.c (__dup3): Likewise.
9567         * io/euidaccess.c (__euidaccess): Likewise.
9568         * io/faccessat.c (faccessat): Likewise.
9569         * io/fchmod.c (__fchmod): Likewise.
9570         * io/fchmodat.c (fchmodat): Likewise.
9571         * io/fchown.c (__fchown): Likewise.
9572         * io/fchownat.c (fchownat): Likewise.
9573         * io/fcntl.c (__fcntl): Likewise.
9574         * io/flock.c (__flock): Likewise.
9575         * io/fts.c (fts_load): Likewise.
9576         (fts_close): Likewise.
9577         (fts_read): Likewise.
9578         (fts_set): Likewise.
9579         (fts_children): Likewise.
9580         (fts_build): Likewise.
9581         (fts_stat): Likewise.
9582         (fts_sort): Likewise.
9583         (fts_alloc): Likewise.
9584         (fts_lfree): Likewise.
9585         (fts_palloc): Likewise.
9586         (fts_padjust): Likewise.
9587         (fts_maxarglen): Likewise.
9588         (fts_safe_changedir): Likewise.
9589         * io/getwd.c (getwd): Likewise.
9590         * io/isatty.c (__isatty): Likewise.
9591         * io/lchown.c (__lchown): Likewise.
9592         * io/link.c (__link): Likewise.
9593         * io/linkat.c (linkat): Likewise.
9594         * io/lseek.c (__libc_lseek): Likewise.
9595         * io/mkdir.c (__mkdir): Likewise.
9596         * io/mkdirat.c (mkdirat): Likewise.
9597         * io/mkfifo.c (mkfifo): Likewise.
9598         * io/mkfifoat.c (mkfifoat): Likewise.
9599         * io/open.c (__libc_open): Likewise.
9600         * io/open64.c (__libc_open64): Likewise.
9601         * io/readlink.c (__readlink): Likewise.
9602         * io/readlinkat.c (readlinkat): Likewise.
9603         * io/rmdir.c (__rmdir): Likewise.
9604         * io/symlink.c (__symlink): Likewise.
9605         * io/symlinkat.c (symlinkat): Likewise.
9606         * io/ttyname.c (ttyname): Likewise.
9607         * io/ttyname_r.c (__ttyname_r): Likewise.
9608         * io/umask.c (__umask): Likewise.
9609         * io/unlink.c (__unlink): Likewise.
9610         * io/unlinkat.c (unlinkat): Likewise.
9611         * io/utime.c (utime): Likewise.
9612         * libio/clearerr.c (clearerr): Likewise.
9613         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9614         * libio/feof.c (_IO_feof): Likewise.
9615         * libio/feof_u.c (feof_unlocked): Likewise.
9616         * libio/ferror.c (_IO_ferror): Likewise.
9617         * libio/ferror_u.c (ferror_unlocked): Likewise.
9618         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9619         * libio/fileno.c (__fileno): Likewise.
9620         * libio/fputc.c (fputc): Likewise.
9621         * libio/fputc_u.c (fputc_unlocked): Likewise.
9622         * libio/fputwc.c (fputwc): Likewise.
9623         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9624         * libio/freopen.c (freopen): Likewise.
9625         * libio/freopen64.c (freopen64): Likewise.
9626         * libio/fseek.c (fseek): Likewise.
9627         * libio/fseeko.c (fseeko): Likewise.
9628         * libio/fseeko64.c (fseeko64): Likewise.
9629         * libio/ftello.c (__ftello): Likewise.
9630         * libio/ftello64.c (ftello64): Likewise.
9631         * libio/fwide.c (fwide): Likewise.
9632         * libio/genops.c (_IO_un_link): Likewise.
9633         (_IO_link_in): Likewise.
9634         (_IO_least_marker): Likewise.
9635         (_IO_switch_to_main_get_area): Likewise.
9636         (_IO_switch_to_backup_area): Likewise.
9637         (_IO_switch_to_get_mode): Likewise.
9638         (_IO_free_backup_area): Likewise.
9639         (_IO_switch_to_put_mode): Likewise.
9640         (__overflow): Likewise.
9641         (__underflow): Likewise.
9642         (__uflow): Likewise.
9643         (_IO_setb): Likewise.
9644         (_IO_doallocbuf): Likewise.
9645         (_IO_default_underflow): Likewise.
9646         (_IO_default_uflow): Likewise.
9647         (_IO_default_xsputn): Likewise.
9648         (_IO_sgetn): Likewise.
9649         (_IO_default_xsgetn): Likewise.
9650         (_IO_sync): Likewise.
9651         (_IO_default_setbuf): Likewise.
9652         (_IO_default_seekpos): Likewise.
9653         (_IO_default_doallocate): Likewise.
9654         (_IO_init): Likewise.
9655         (_IO_old_init): Likewise.
9656         (_IO_default_sync): Likewise.
9657         (_IO_default_finish): Likewise.
9658         (_IO_default_seekoff): Likewise.
9659         (_IO_sputbackc): Likewise.
9660         (_IO_sungetc): Likewise.
9661         (_IO_set_column): Likewise.
9662         (_IO_set_column): Likewise.
9663         (_IO_adjust_column): Likewise.
9664         (_IO_get_column): Likewise.
9665         (_IO_init_marker): Likewise.
9666         (_IO_remove_marker): Likewise.
9667         (_IO_marker_difference): Likewise.
9668         (_IO_marker_delta): Likewise.
9669         (_IO_seekmark): Likewise.
9670         (_IO_unsave_markers): Likewise.
9671         (_IO_nobackup_pbackfail): Likewise.
9672         (_IO_default_pbackfail): Likewise.
9673         (_IO_default_seek): Likewise.
9674         (_IO_default_stat): Likewise.
9675         (_IO_default_read): Likewise.
9676         (_IO_default_write): Likewise.
9677         (_IO_default_showmanyc): Likewise.
9678         (_IO_default_imbue): Likewise.
9679         (_IO_iter_next): Likewise.
9680         (_IO_iter_file): Likewise.
9681         * libio/getc.c (_IO_getc): Likewise.
9682         * libio/getwc.c (_IO_getwc): Likewise.
9683         * libio/iofclose.c (_IO_new_fclose): Likewise.
9684         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9685         * libio/iofflush.c (_IO_fflush): Likewise.
9686         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9687         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9688         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9689         * libio/iofgets.c (_IO_fgets): Likewise.
9690         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9691         * libio/iofgetws.c (fgetws): Likewise.
9692         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9693         * libio/iofopen64.c (_IO_fopen64): Likewise.
9694         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9695         (_IO_cookie_write): Likewise.
9696         (_IO_cookie_seek): Likewise.
9697         (_IO_cookie_close): Likewise.
9698         (_IO_cookie_seekoff): Likewise.
9699         (_IO_old_cookie_seek): Likewise.
9700         * libio/iofputs.c (_IO_fputs): Likewise.
9701         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9702         * libio/iofputws.c (fputws): Likewise.
9703         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9704         * libio/iofread.c (_IO_fread): Likewise.
9705         * libio/iofread_u.c (__fread_unlocked): Likewise.
9706         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9707         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9708         * libio/ioftell.c (_IO_ftell): Likewise.
9709         * libio/iofwrite.c (_IO_fwrite): Likewise.
9710         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9711         * libio/iogets.c (_IO_gets): Likewise.
9712         * libio/iopadn.c (_IO_padn): Likewise.
9713         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9714         (_IO_new_popen): Likewise.
9715         (_IO_new_proc_close): Likewise.
9716         * libio/ioputs.c (_IO_puts): Likewise.
9717         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9718         (_IO_seekoff): Likewise.
9719         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9720         (_IO_seekpos): Likewise.
9721         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9722         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9723         * libio/ioungetc.c (_IO_ungetc): Likewise.
9724         * libio/ioungetwc.c (ungetwc): Likewise.
9725         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9726         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9727         * libio/iowpadn.c (_IO_wpadn): Likewise.
9728         * libio/libc_fatal.c (__libc_fatal): Likewise.
9729         * libio/memstream.c (__open_memstream): Likewise.
9730         (_IO_mem_sync): Likewise.
9731         (_IO_mem_finish): Likewise.
9732         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9733         (_IO_old_file_close_it): Likewise.
9734         (_IO_old_file_finish): Likewise.
9735         (_IO_old_file_fopen): Likewise.
9736         (_IO_old_file_attach): Likewise.
9737         (_IO_old_file_setbuf): Likewise.
9738         (_IO_old_do_write): Likewise.
9739         (old_do_write): Likewise.
9740         (_IO_old_file_underflow): Likewise.
9741         (_IO_old_file_overflow): Likewise.
9742         (_IO_old_file_sync): Likewise.
9743         (_IO_old_file_seekoff): Likewise.
9744         (_IO_old_file_write): Likewise.
9745         (_IO_old_file_xsputn): Likewise.
9746         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9747         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9748         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9749         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9750         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9751         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9752         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9753         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9754         (_IO_old_popen): Likewise.
9755         (_IO_old_proc_close): Likewise.
9756         * libio/oldpclose.c (__old_pclose): Likewise.
9757         * libio/pclose.c (__new_pclose): Likewise.
9758         * libio/peekc.c (_IO_peekc_locked): Likewise.
9759         * libio/putc.c (_IO_putc): Likewise.
9760         * libio/putc_u.c (putc_unlocked): Likewise.
9761         * libio/putchar.c (putchar): Likewise.
9762         * libio/putchar_u.c (putchar_unlocked): Likewise.
9763         * libio/putwc.c (putwc): Likewise.
9764         * libio/putwc_u.c (putwc_unlocked): Likewise.
9765         * libio/putwchar.c (putwchar): Likewise.
9766         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9767         * libio/rewind.c (rewind): Likewise.
9768         * libio/setbuf.c (setbuf): Likewise.
9769         * libio/setlinebuf.c (setlinebuf): Likewise.
9770         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9771         * libio/vscanf.c (_IO_vscanf): Likewise.
9772         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9773         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9774         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9775         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9776         (_IO_switch_to_main_wget_area): Likewise.
9777         (_IO_switch_to_wbackup_area): Likewise.
9778         (_IO_wsetb): Likewise.
9779         (_IO_wdefault_pbackfail): Likewise.
9780         (_IO_wdefault_finish): Likewise.
9781         (_IO_wdefault_uflow): Likewise.
9782         (__woverflow): Likewise.
9783         (__wuflow): Likewise.
9784         (__wunderflow): Likewise.
9785         (_IO_wdefault_xsputn): Likewise.
9786         (_IO_wdefault_xsgetn): Likewise.
9787         (_IO_wdoallocbuf): Likewise.
9788         (_IO_wdefault_doallocate): Likewise.
9789         (_IO_switch_to_wget_mode): Likewise.
9790         (_IO_free_wbackup_area): Likewise.
9791         (_IO_switch_to_wput_mode): Likewise.
9792         (_IO_sputbackwc): Likewise.
9793         (_IO_sungetwc): Likewise.
9794         (_IO_adjust_wcolumn): Likewise.
9795         (_IO_init_wmarker): Likewise.
9796         (_IO_wmarker_delta): Likewise.
9797         (_IO_seekwmark): Likewise.
9798         (_IO_unsave_wmarkers): Likewise.
9799         * libio/wmemstream.c (open_wmemstream): Likewise.
9800         (_IO_wmem_sync): Likewise.
9801         (_IO_wmem_finish): Likewise.
9802         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9803         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9804         * locale/programs/simple-hash.c (init_hash): Likewise.
9805         (delete_hash): Likewise.
9806         (insert_entry): Likewise.
9807         (set_entry): Likewise.
9808         (next_prime): Likewise.
9809         (is_prime): Likewise.
9810         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9811         (xmalloc): Likewise.
9812         (xrealloc): Likewise.
9813         * locale/programs/xstrdup.c (xstrdup): Likewise.
9814         * localedata/collate-test.c (xstrcoll): Likewise.
9815         * localedata/xfrm-test.c (xstrcmp): Likewise.
9816         * login/getlogin_r.c (__getlogin_r): Likewise.
9817         * login/getpt.c (__posix_openpt): Likewise.
9818         * login/login_tty.c (login_tty): Likewise.
9819         * login/setlogin.c (setlogin): Likewise.
9820         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9821         (mach_msg_destroy_port): Likewise.
9822         (mach_msg_destroy_memory): Likewise.
9823         * malloc/mcheck.c (flood): Likewise.
9824         * misc/acct.c (acct): Likewise.
9825         * misc/brk.c (__brk): Likewise.
9826         * misc/chflags.c (chflags): Likewise.
9827         * misc/chroot.c (chroot): Likewise.
9828         * misc/fchflags.c (fchflags): Likewise.
9829         * misc/fstab.c (getfsspec): Likewise.
9830         (getfsfile): Likewise.
9831         * misc/fsync.c (fsync): Likewise.
9832         * misc/ftruncate.c (__ftruncate): Likewise.
9833         * misc/ftruncate64.c (__ftruncate64): Likewise.
9834         * misc/getdomain.c (getdomainname): Likewise.
9835         (getdomainname): Likewise.
9836         * misc/gethostname.c (__gethostname): Likewise.
9837         * misc/getpass.c (getpass): Likewise.
9838         * misc/getttyent.c (skip): Likewise.
9839         (value): Likewise.
9840         * misc/gtty.c (gtty): Likewise.
9841         * misc/hsearch.c (hsearch): Likewise.
9842         (hcreate): Likewise.
9843         * misc/hsearch_r.c (__hcreate_r): Likewise.
9844         (__hdestroy_r): Likewise.
9845         * misc/ioctl.c (__ioctl): Likewise.
9846         * misc/mkdtemp.c (mkdtemp): Likewise.
9847         * misc/mkostemp.c (mkostemp): Likewise.
9848         * misc/mkostemp64.c (mkostemp64): Likewise.
9849         * misc/mkostemps.c (mkostemps): Likewise.
9850         * misc/mkostemps64.c (mkostemps64): Likewise.
9851         * misc/mkstemp.c (mkstemp): Likewise.
9852         * misc/mkstemp64.c (mkstemp64): Likewise.
9853         * misc/mkstemps.c (mkstemps): Likewise.
9854         * misc/mkstemps64.c (mkstemps64): Likewise.
9855         * misc/mktemp.c (__mktemp): Likewise.
9856         * misc/preadv.c (preadv): Likewise.
9857         * misc/preadv64.c (preadv64): Likewise.
9858         * misc/pwritev.c (pwritev): Likewise.
9859         * misc/pwritev64.c (pwritev64): Likewise.
9860         * misc/readv.c (__readv): Likewise.
9861         * misc/revoke.c (revoke): Likewise.
9862         * misc/setdomain.c (setdomainname): Likewise.
9863         * misc/setegid.c (setegid): Likewise.
9864         * misc/seteuid.c (seteuid): Likewise.
9865         * misc/sethostid.c (sethostid): Likewise.
9866         * misc/sethostname.c (sethostname): Likewise.
9867         * misc/setregid.c (__setregid): Likewise.
9868         * misc/setreuid.c (__setreuid): Likewise.
9869         * misc/sstk.c (sstk): Likewise.
9870         * misc/stty.c (stty): Likewise.
9871         * misc/syscall.c (syscall): Likewise.
9872         * misc/syslog.c (setlogmask): Likewise.
9873         * misc/truncate.c (__truncate): Likewise.
9874         * misc/truncate64.c (truncate64): Likewise.
9875         * misc/ualarm.c (ualarm): Likewise.
9876         * misc/usleep.c (usleep): Likewise.
9877         * misc/ustat.c (ustat): Likewise.
9878         * misc/writev.c (__writev): Likewise.
9879         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9880         * nptl/old_pthread_cond_broadcast.c
9881         (__pthread_cond_broadcast_2_0): Likewise.
9882         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9883         Likewise.
9884         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9885         Likewise.
9886         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9887         Likewise.
9888         * nptl/pt-raise.c (raise): Likewise.
9889         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9890         Likewise.
9891         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9892         * nptl/pthread_barrierattr_destroy.c
9893         (pthread_barrierattr_destroy): Likewise.
9894         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9895         Likewise.
9896         * nptl/pthread_barrierattr_setpshared.c
9897         (pthread_barrierattr_setpshared): Likewise.
9898         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9899         Likewise.
9900         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9901         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9902         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9903         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9904         Likewise.
9905         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9906         Likewise.
9907         * nptl/pthread_condattr_getpshared.c
9908         (pthread_condattr_getpshared): Likewise.
9909         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9910         Likewise.
9911         * nptl/pthread_condattr_setpshared.c
9912         (pthread_condattr_setpshared): Likewise.
9913         * nptl/pthread_detach.c (pthread_detach): Likewise.
9914         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9915         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9916         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9917         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9918         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9919         Likewise.
9920         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9921         Likewise.
9922         * nptl/pthread_mutex_getprioceiling.c
9923         (pthread_mutex_getprioceiling): Likewise.
9924         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9925         Likewise.
9926         * nptl/pthread_mutexattr_getprotocol.c
9927         (pthread_mutexattr_getprotocol): Likewise.
9928         * nptl/pthread_mutexattr_getpshared.c
9929         (pthread_mutexattr_getpshared): Likewise.
9930         * nptl/pthread_mutexattr_getrobust.c
9931         (pthread_mutexattr_getrobust): Likewise.
9932         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9933         Likewise.
9934         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9935         Likewise.
9936         * nptl/pthread_mutexattr_setprioceiling.c
9937         (pthread_mutexattr_setprioceiling): Likewise.
9938         * nptl/pthread_mutexattr_setprotocol.c
9939         (pthread_mutexattr_setprotocol): Likewise.
9940         * nptl/pthread_mutexattr_setpshared.c
9941         (pthread_mutexattr_setpshared): Likewise.
9942         * nptl/pthread_mutexattr_setrobust.c
9943         (pthread_mutexattr_setrobust): Likewise.
9944         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9945         Likewise.
9946         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9947         Likewise.
9948         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9949         Likewise.
9950         * nptl/pthread_rwlockattr_getkind_np.c
9951         (pthread_rwlockattr_getkind_np): Likewise.
9952         * nptl/pthread_rwlockattr_getpshared.c
9953         (pthread_rwlockattr_getpshared): Likewise.
9954         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9955         Likewise.
9956         * nptl/pthread_rwlockattr_setkind_np.c
9957         (pthread_rwlockattr_setkind_np): Likewise.
9958         * nptl/pthread_rwlockattr_setpshared.c
9959         (pthread_rwlockattr_setpshared): Likewise.
9960         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9961         Likewise.
9962         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9963         Likewise.
9964         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9965         Likewise.
9966         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9967         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9968         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9969         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9970         * nptl/sem_close.c (sem_close): Likewise.
9971         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9972         * nptl/sem_init.c (__old_sem_init): Likewise.
9973         * nptl/sigaction.c (__sigaction): Likewise.
9974         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9975         * posix/_exit.c (_exit): Likewise.
9976         * posix/alarm.c (alarm): Likewise.
9977         * posix/confstr.c (confstr): Likewise.
9978         * posix/fpathconf.c (__fpathconf): Likewise.
9979         * posix/getgroups.c (__getgroups): Likewise.
9980         * posix/getpgid.c (__getpgid): Likewise.
9981         * posix/group_member.c (__group_member): Likewise.
9982         * posix/pathconf.c (__pathconf): Likewise.
9983         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9984         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9985         * posix/setgid.c (__setgid): Likewise.
9986         * posix/setpgid.c (__setpgid): Likewise.
9987         * posix/setuid.c (__setuid): Likewise.
9988         * posix/sleep.c (__sleep): Likewise.
9989         * posix/sysconf.c (__sysconf): Likewise.
9990         * posix/times.c (__times): Likewise.
9991         * posix/uname.c (__uname): Likewise.
9992         * posix/waitid.c (__waitid): Likewise.
9993         * pwd/getpw.c (__getpw): Likewise.
9994         * resolv/base64.c (b64_pton): Likewise.
9995         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9996         * resolv/gethnamaddr.c (Dprintf): Likewise.
9997         (gethostbyname): Likewise.
9998         (gethostbyname2): Likewise.
9999         (gethostbyaddr): Likewise.
10000         (_sethtent): Likewise.
10001         (_gethtbyname): Likewise.
10002         (_gethtbyname2): Likewise.
10003         (_gethtbyaddr): Likewise.
10004         (map_v4v6_address): Likewise.
10005         (map_v4v6_hostent): Likewise.
10006         (addrsort): Likewise.
10007         (ht_sethostent): Likewise.
10008         (ht_gethostbyname): Likewise.
10009         (ht_gethostbyaddr): Likewise.
10010         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10011         (inet_net_ntop_ipv4): Likewise.
10012         * resolv/inet_neta.c (inet_neta): Likewise.
10013         * resolv/inet_ntop.c (inet_ntop): Likewise.
10014         (inet_ntop4): Likewise.
10015         (inet_ntop6): Likewise.
10016         * resolv/inet_pton.c (__inet_pton): Likewise.
10017         (inet_pton4): Likewise.
10018         (inet_pton6): Likewise.
10019         * resolv/res_debug.c (loc_aton): Likewise.
10020         (loc_ntoa): Likewise.
10021         * resource/getpriority.c (__getpriority): Likewise.
10022         * resource/getrusage.c (__getrusage): Likewise.
10023         * resource/nice.c (nice): Likewise.
10024         * resource/setpriority.c (__setpriority): Likewise.
10025         * resource/setrlimit64.c (setrlimit64): Likewise.
10026         * resource/vlimit.c (vlimit): Likewise.
10027         * resource/vtimes.c (vtimes): Likewise.
10028         * rt/aio_error.c (aio_error): Likewise.
10029         * rt/aio_return.c (aio_return): Likewise.
10030         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10031         * signal/kill.c (__kill): Likewise.
10032         * signal/killpg.c (killpg): Likewise.
10033         * signal/raise.c (raise): Likewise.
10034         * signal/sigaction.c (__sigaction): Likewise.
10035         * signal/sigaddset.c (sigaddset): Likewise.
10036         * signal/sigaltstack.c (sigaltstack): Likewise.
10037         * signal/sigandset.c (sigandset): Likewise.
10038         * signal/sigblock.c (__sigblock): Likewise.
10039         * signal/sigdelset.c (sigdelset): Likewise.
10040         * signal/sigempty.c (sigemptyset): Likewise.
10041         * signal/sigfillset.c (sigfillset): Likewise.
10042         * signal/sighold.c (sighold): Likewise.
10043         * signal/sigignore.c (sigignore): Likewise.
10044         * signal/sigintr.c (siginterrupt): Likewise.
10045         * signal/sigisempty.c (sigisemptyset): Likewise.
10046         * signal/sigismem.c (sigismember): Likewise.
10047         * signal/signal.c (signal): Likewise.
10048         * signal/sigorset.c (sigorset): Likewise.
10049         * signal/sigpause.c (__sigpause): Likewise.
10050         * signal/sigpending.c (sigpending): Likewise.
10051         * signal/sigprocmask.c (__sigprocmask): Likewise.
10052         * signal/sigrelse.c (sigrelse): Likewise.
10053         * signal/sigreturn.c (__sigreturn): Likewise.
10054         * signal/sigset.c (sigset): Likewise.
10055         * signal/sigsetmask.c (__sigsetmask): Likewise.
10056         * signal/sigstack.c (sigstack): Likewise.
10057         * signal/sigsuspend.c (__sigsuspend): Likewise.
10058         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10059         * signal/sysv_signal.c (__sysv_signal): Likewise.
10060         * socket/accept.c (accept): Likewise.
10061         * socket/accept4.c (__libc_accept4): Likewise.
10062         * socket/bind.c (__bind): Likewise.
10063         * socket/connect.c (__connect): Likewise.
10064         * socket/getpeername.c (getpeername): Likewise.
10065         * socket/getsockname.c (__getsockname): Likewise.
10066         * socket/getsockopt.c (getsockopt): Likewise.
10067         * socket/listen.c (__listen): Likewise.
10068         * socket/recv.c (__recv): Likewise.
10069         * socket/recvmsg.c (__recvmsg): Likewise.
10070         * socket/send.c (__send): Likewise.
10071         * socket/sendmsg.c (__sendmsg): Likewise.
10072         * socket/shutdown.c (shutdown): Likewise.
10073         * socket/sockatmark.c (sockatmark): Likewise.
10074         * socket/socket.c (__socket): Likewise.
10075         * stdio-common/ctermid.c (ctermid): Likewise.
10076         * stdio-common/cuserid.c (cuserid): Likewise.
10077         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10078         * stdio-common/remove.c (remove): Likewise.
10079         * stdio-common/rename.c (rename): Likewise.
10080         * stdio-common/renameat.c (renameat): Likewise.
10081         * stdio-common/tempname.c (__gen_tempname): Likewise.
10082         * stdio-common/xbug.c (InitBuffer): Likewise.
10083         (AppendToBuffer): Likewise.
10084         (ReadFile): Likewise.
10085         * stdlib/a64l.c (a64l): Likewise.
10086         * stdlib/drand48_r.c (drand48_r): Likewise.
10087         * stdlib/getcontext.c (getcontext): Likewise.
10088         * stdlib/getenv.c (getenv): Likewise.
10089         * stdlib/l64a.c (l64a): Likewise.
10090         * stdlib/llabs.c (llabs): Likewise.
10091         * stdlib/lldiv.c (lldiv): Likewise.
10092         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10093         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10094         * stdlib/putenv.c (putenv): Likewise.
10095         * stdlib/random.c (__srandom): Likewise.
10096         (__initstate): Likewise.
10097         (__setstate): Likewise.
10098         * stdlib/random_r.c (__srandom_r): Likewise.
10099         (__setstate_r): Likewise.
10100         (__random_r): Likewise.
10101         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10102         * stdlib/setcontext.c (setcontext): Likewise.
10103         * stdlib/setenv.c (setenv): Likewise.
10104         (unsetenv): Likewise.
10105         * stdlib/srand48.c (srand48): Likewise.
10106         * stdlib/srand48_r.c (__srand48_r): Likewise.
10107         * stdlib/swapcontext.c (swapcontext): Likewise.
10108         * stdlib/system.c (__libc_system): Likewise.
10109         * stdlib/tst-strtod.c (expand): Likewise.
10110         * stdlib/tst-strtol.c (expand): Likewise.
10111         * stdlib/tst-strtoll.c (expand): Likewise.
10112         * streams/fattach.c (fattach): Likewise.
10113         * streams/fdetach.c (fdetach): Likewise.
10114         * streams/getmsg.c (getmsg): Likewise.
10115         * streams/isastream.c (isastream): Likewise.
10116         * string/ffs.c (__ffs): Likewise.
10117         * string/ffsll.c (ffsll): Likewise.
10118         * string/memcmp.c (memcmp_common_alignment): Likewise.
10119         (memcmp_not_common_alignment): Likewise.
10120         (MEMCMP): Likewise.
10121         * string/memcpy.c (memcpy): Likewise.
10122         * string/memmove.c (MEMMOVE): Likewise.
10123         * string/memset.c (memset): Likewise.
10124         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10125         * string/strchrnul.c (STRCHRNUL): Likewise.
10126         * string/strerror.c (strerror): Likewise.
10127         * string/strndup.c (__strndup): Likewise.
10128         * string/strverscmp.c (__strverscmp): Likewise.
10129         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10130         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10131         (clnttcp_freeres): Likewise.
10132         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10133         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10134         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10135         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10136         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10137         (xdr_callhdr): Likewise.
10138         * sunrpc/rpcinfo.c (udpping): Likewise.
10139         (tcpping): Likewise.
10140         (pstatus): Likewise.
10141         (pmapdump): Likewise.
10142         (brdcst): Likewise.
10143         (deletereg): Likewise.
10144         (getprognum): Likewise.
10145         (getvers): Likewise.
10146         (get_inet_address): Likewise.
10147         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10148         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10149         (svcudp_stat): Likewise.
10150         (svcudp_recv): Likewise.
10151         (svcudp_reply): Likewise.
10152         (svcudp_getargs): Likewise.
10153         (svcudp_freeargs): Likewise.
10154         (svcudp_destroy): Likewise.
10155         * sunrpc/xdr.c (xdr_bytes): Likewise.
10156         (xdr_netobj): Likewise.
10157         (xdr_string): Likewise.
10158         (xdr_wrapstring): Likewise.
10159         * sunrpc/xdr_float.c (xdr_float): Likewise.
10160         (xdr_double): Likewise.
10161         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10162         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10163         * sysvipc/ftok.c (ftok): Likewise.
10164         * sysvipc/msgctl.c (msgctl): Likewise.
10165         * sysvipc/msgget.c (msgget): Likewise.
10166         * sysvipc/msgrcv.c (msgrcv): Likewise.
10167         * sysvipc/msgsnd.c (msgsnd): Likewise.
10168         * sysvipc/semget.c (semget): Likewise.
10169         * sysvipc/semop.c (semop): Likewise.
10170         * sysvipc/shmat.c (shmat): Likewise.
10171         * sysvipc/shmctl.c (shmctl): Likewise.
10172         * sysvipc/shmdt.c (shmdt): Likewise.
10173         * sysvipc/shmget.c (shmget): Likewise.
10174         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10175         * termios/speed.c (cfgetospeed): Likewise.
10176         (cfgetispeed): Likewise.
10177         (cfsetospeed): Likewise.
10178         (cfsetispeed): Likewise.
10179         * termios/tcflow.c (tcflow): Likewise.
10180         * termios/tcflush.c (tcflush): Likewise.
10181         * termios/tcgetattr.c (__tcgetattr): Likewise.
10182         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10183         * termios/tcgetsid.c (tcgetsid): Likewise.
10184         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10185         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10186         * time/adjtime.c (__adjtime): Likewise.
10187         * time/dysize.c (dysize): Likewise.
10188         * time/ftime.c (ftime): Likewise.
10189         * time/getitimer.c (__getitimer): Likewise.
10190         * time/gettimeofday.c (__gettimeofday): Likewise.
10191         * time/gmtime.c (__gmtime_r): Likewise.
10192         (gmtime): Likewise.
10193         * time/localtime.c (__localtime_r): Likewise.
10194         (localtime): Likewise.
10195         * time/offtime.c (__offtime): Likewise.
10196         * time/settimeofday.c (__settimeofday): Likewise.
10197         * time/stime.c (stime): Likewise.
10198         * time/strftime_l.c (tm_diff): Likewise.
10199         (iso_week_days): Likewise.
10200         * time/strptime.c (strptime): Likewise.
10201         * time/time.c (time): Likewise.
10202         * time/timespec_get.c (timespec_get): Likewise.
10203         * time/tzset.c (tzset_internal): Likewise.
10204         (compute_change): Likewise.
10205         (__tz_compute): Likewise.
10206         * wcsmbs/btowc.c (__btowc): Likewise.
10207         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10208         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10209         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10210         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10211         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10212         * wcsmbs/wcscat.c (__wcscat): Likewise.
10213         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10214         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10215         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10216         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10217         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10218         * wcsmbs/wcslen.c (__wcslen): Likewise.
10219         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10220         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10221         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10222         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10223         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10224         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10225         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10226         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10227         * wcsmbs/wcstok.c (wcstok): Likewise.
10228         * wcsmbs/wctob.c (wctob): Likewise.
10229         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10230         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10231         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10232         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10233         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10234         * wcsmbs/wmemset.c (__wmemset): Likewise.
10235         * wctype/wcfuncs.c (__towlower): Likewise.
10236         (__towupper): Likewise.
10237
10238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10239         (lll_unlock_elision): Add adapt_count parameter.
10240
10241 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10242
10243         * sysdeps/nptl/configure.ac: Do not give errors based on the
10244         results of top-level configure tests.
10245         * sysdeps/nptl/configure: Regenerated.
10246
10247         * configure.ac (libc_cv_Bgroup): Remove configure test.
10248         * configure: Regenerated.
10249         * config.make.in (have-Bgroup): Remove variable.
10250
10251         * configure.ac (sizeof_long_double): Remove configure test.
10252         * configure: Regenerated.
10253         * config.make.in (sizeof-long-double): Remove variable.
10254
10255         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10256         * configure: Regenerated.
10257         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10258         variable.
10259         (exceptions): Likewise.
10260         * sysdeps/arm/configure: Regenerated.
10261         * config.make.in (exceptions): Remove variable.
10262         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10263         $(exceptions).
10264         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10265         (CFLAGS-vdprintf_chk.c): Likewise.
10266         (CFLAGS-printf_chk.c): Likewise.
10267         (CFLAGS-fprintf_chk.c): Likewise.
10268         (CFLAGS-vprintf_chk.c): Likewise.
10269         (CFLAGS-vfprintf_chk.c): Likewise.
10270         (CFLAGS-gets_chk.c): Likewise.
10271         (CFLAGS-fgets_chk.c): Likewise.
10272         (CFLAGS-fgets_u_chk.c): Likewise.
10273         (CFLAGS-fread_chk.c): Likewise.
10274         (CFLAGS-fread_u_chk.c): Likewise.
10275         (CFLAGS-wprintf_chk.c): Likewise.
10276         (CFLAGS-fwprintf_chk.c): Likewise.
10277         (CFLAGS-vwprintf_chk.c): Likewise.
10278         (CFLAGS-vfwprintf_chk.c): Likewise.
10279         (CFLAGS-fgetws_chk.c): Likewise.
10280         (CFLAGS-fgetws_u_chk.c): Likewise.
10281         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10282         (CFLAGS-fputc.c): Likewise.
10283         (CFLAGS-fputwc.c): Likewise.
10284         (CFLAGS-freopen64.c): Likewise.
10285         (CFLAGS-freopen.c): Likewise.
10286         (CFLAGS-fseek.c): Likewise.
10287         (CFLAGS-fseeko64.c): Likewise.
10288         (CFLAGS-fseeko.c): Likewise.
10289         (CFLAGS-ftello64.c): Likewise.
10290         (CFLAGS-ftello.c): Likewise.
10291         (CFLAGS-fwide.c): Likewise.
10292         (CFLAGS-genops.c): Likewise.
10293         (CFLAGS-getc.c): Likewise.
10294         (CFLAGS-getchar.c): Likewise.
10295         (CFLAGS-getwc.c): Likewise.
10296         (CFLAGS-getwchar.c): Likewise.
10297         (CFLAGS-iofclose.c): Likewise.
10298         (CFLAGS-iofflush.c): Likewise.
10299         (CFLAGS-iofgetpos64.c): Likewise.
10300         (CFLAGS-iofgetpos.c): Likewise.
10301         (CFLAGS-iofgets.c): Likewise.
10302         (CFLAGS-iofgetws.c): Likewise.
10303         (CFLAGS-iofputs.c): Likewise.
10304         (CFLAGS-iofputws.c): Likewise.
10305         (CFLAGS-iofread.c): Likewise.
10306         (CFLAGS-iofsetpos64.c): Likewise.
10307         (CFLAGS-iofsetpos.c): Likewise.
10308         (CFLAGS-ioftell.c): Likewise.
10309         (CFLAGS-iofwrite.c): Likewise.
10310         (CFLAGS-iogetdelim.c): Likewise.
10311         (CFLAGS-iogetline.c): Likewise.
10312         (CFLAGS-iogets.c): Likewise.
10313         (CFLAGS-iogetwline.c): Likewise.
10314         (CFLAGS-ioputs.c): Likewise.
10315         (CFLAGS-ioseekoff.c): Likewise.
10316         (CFLAGS-ioseekpos.c): Likewise.
10317         (CFLAGS-iosetbuffer.c): Likewise.
10318         (CFLAGS-iosetvbuf.c): Likewise.
10319         (CFLAGS-ioungetc.c): Likewise.
10320         (CFLAGS-ioungetwc.c): Likewise.
10321         (CFLAGS-oldfileops.c): Likewise.
10322         (CFLAGS-oldiofclose.c): Likewise.
10323         (CFLAGS-oldiofgetpos64.c): Likewise.
10324         (CFLAGS-oldiofgetpos.c): Likewise.
10325         (CFLAGS-oldiofsetpos64.c): Likewise.
10326         (CFLAGS-oldiofsetpos.c): Likewise.
10327         (CFLAGS-peekc.c): Likewise.
10328         (CFLAGS-putc.c): Likewise.
10329         (CFLAGS-putchar.c): Likewise.
10330         (CFLAGS-putwc.c): Likewise.
10331         (CFLAGS-putwchar.c): Likewise.
10332         (CFLAGS-rewind.c): Likewise.
10333         (CFLAGS-wfileops.c): Likewise.
10334         (CFLAGS-wgenops.c): Likewise.
10335         (CFLAGS-oldiofopen.c): Likewise.
10336         (CFLAGS-iofopen.c): Likewise.
10337         (CFLAGS-iofopen64.c): Likewise.
10338         (CFLAGS-oldtmpfile.c): Likewise.
10339         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10340         (CFLAGS-fprintf.c): Likewise.
10341         (CFLAGS-printf.c): Likewise.
10342         (CFLAGS-vfwprintf.c): Likewise.
10343         (CFLAGS-vfscanf.c): Likewise.
10344         (CFLAGS-vfwscanf.c): Likewise.
10345         (CFLAGS-fscanf.c): Likewise.
10346         (CFLAGS-scanf.c): Likewise.
10347         (CFLAGS-isoc99_vfscanf.c): Likewise.
10348         (CFLAGS-isoc99_vscanf.c): Likewise.
10349         (CFLAGS-isoc99_fscanf.c): Likewise.
10350         (CFLAGS-isoc99_scanf.c): Likewise.
10351         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10352         (CFLAGS-isoc99_fwscanf.c): Likewise.
10353         (CFLAGS-isoc99_vwscanf.c): Likewise.
10354         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10355
10356         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10357         after mkstemp64.
10358         * login/tst-utmp.c (do_prepare): Likewise.
10359         * rt/tst-aio.c (do_prepare): Likewise.
10360         * rt/tst-aio64.c (do_prepare): Likewise.
10361
10362 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10363
10364         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10365         (__lll_lock_elision): Remove adapt_count decrement...
10366         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10367         (__lll_trylock_elision): Likewise.
10368         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10369         (__lll_unlock_elision): ... to here. And utilize
10370         new adapt_count parameter.
10371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10372         (__lll_unlock_elision): Update to include adapt_count
10373         parameter.
10374         (lll_unlock_elision): Pass pointer to adapt_count
10375         variable.
10376
10377 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10378
10379         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10380         Add elision adapt_count parameter to list of arguments.
10381         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10382         (lll_unlock_elision): Update with new parameter list
10383         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10384         (lll_unlock_elision): Likewise.
10385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10386         (lll_unlock_elision): Likewise.
10387
10388 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10389
10390         [BZ #19122]
10391         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10392         attribute_hidden.
10393
10394         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10395         attribute_hidden.
10396         [IS_IN (rtld)] (__strdup): Likewise.
10397         [IS_IN (rtld)] (__strerror_r): Likewise.
10398         [IS_IN (rtld)] (__strsep_g): Likewise.
10399         [IS_IN (rtld)] (memchr): Likewise.
10400         [IS_IN (rtld)] (memcmp): Likewise.
10401         [IS_IN (rtld)] (memcpy): Likewise.
10402         [IS_IN (rtld)] (memmove): Likewise.
10403         [IS_IN (rtld)] (memset): Likewise.
10404         [IS_IN (rtld)] (rawmemchr): Likewise.
10405         [IS_IN (rtld)] (stpcpy): Likewise.
10406         [IS_IN (rtld)] (strchr): Likewise.
10407         [IS_IN (rtld)] (strcmp): Likewise.
10408         [IS_IN (rtld)] (strlen): Likewise.
10409         [IS_IN (rtld)] (strnlen): Likewise.
10410         [IS_IN (rtld)] (strsep): Likewise.
10411
10412         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10413         attribute_hidden.
10414         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10415
10416         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10417         attribute_hidden.
10418         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10419
10420         * include/setjmp.h (__longjmp): Add attribute_hidden.
10421         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10422
10423         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10424         Add attribute_hidden.
10425
10426         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10427         [IS_IN (rtld)] (__open): Likewise.
10428         [IS_IN (rtld)] (__fcntl): Likewise.
10429
10430         * include/dirent.h (__opendirat): Add attribute_hidden.
10431         (__getdents): Likewise.
10432         (__getdents64): Likewise.
10433         (__alloc_dir): Likewise.
10434         [IS_IN (rtld)] (__closedir): Likewise.
10435         [IS_IN (rtld)] (__fdopendir): Likewise.
10436         [IS_IN (rtld)] (__readdir): Likewise.
10437         [IS_IN (rtld)] (__readdir64): Likewise.
10438         [IS_IN (rtld)] (__rewinddir): Likewise.
10439
10440         * include/dlfcn.h (_dl_catch_error): Moved to ...
10441         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10442         attribute_hidden.
10443
10444         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10445         (_itoa_word): Likewise.
10446
10447         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10448         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10449         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10450         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10451         (_dl_higher_prime_number): Likewise.
10452         (_dl_debug_printf_c): Likewise.
10453         (_dl_signal_cerror): Likewise.
10454         (_dl_receive_error): Likewise.
10455         (_dl_reloc_bad_type): Likewise.
10456         (_dl_resolve_conflicts): Likewise.
10457         (_dl_check_all_versions): Likewise.
10458         (_dl_check_map_versions): Likewise.
10459         (_dl_sort_fini): Likewise.
10460         (_dl_debug_initialize): Likewise.
10461         (_dl_init_paths): Likewise.
10462         (_dl_show_auxv): Likewise.
10463         (_dl_next_ld_env_entry): Likewise.
10464         (_dl_important_hwcaps): Likewise.
10465         (_dl_load_cache_lookup): Likewise.
10466         (_dl_update_slotinfo): Likewise.
10467         (_dl_show_scope): Likewise.
10468
10469         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10470         attribute_hidden.
10471         (_wordcopy_fwd_dest_aligned): Likewise.
10472         (_wordcopy_bwd_aligned): Likewise.
10473         (_wordcopy_bwd_dest_aligned): Likewise.
10474
10475         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10476         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10477         Likewise.
10478         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10479         Likewise.
10480         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10481
10482 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10483
10484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10485         GCC 5 requirement.
10486
10487 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10488
10489         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10490         test.
10491         * sysdeps/i386/configure: Regenerated.
10492         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10493         code unconditional.
10494
10495         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10496         test.
10497         (libc_cv_asm_popsection_directive): Likewise.
10498         * configure: Regenerated.
10499         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10500         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10501         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10502         (__make_section_unallocated): Make definition unconditional.
10503         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10504         Remove conditional definition.
10505         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10506         (__make_section_unallocated): Likewise.
10507
10508         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10509         * configure: Regenerated.
10510         * config.make.in (static-libgcc): Remove variable.
10511         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10512         $(static-libgcc).
10513         (build-module-helper): Likewise.
10514
10515         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10516         * configure: Regenerated.
10517
10518 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10519
10520         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10521         (struct char_buffer): New type.
10522         (char_buffer_start, char_buffer_size, char_buffer_error)
10523         (char_buffer_rewind, char_buffer_add): New functions.
10524         (ADDW): Remove macro, replaced by the char_buffer_add function.
10525         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10526         of extend_alloca.  Make control flow more explicit.
10527
10528 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10529
10530         [BZ #19137]
10531         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10532         Add -fomit-frame-pointer.
10533         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10534
10535 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10536
10537         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10538         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10540         only if !__GNUC_PREREQ (5,0).
10541         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10542         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10543         (INTERNAL_SYSCALL_NCS): Likewise.
10544         (LOADREGS_0): New macro for GCC 5.
10545         (ASMARGS_0): Likewise.
10546         (LOADREGS_1): Likewise.
10547         (ASMARGS_1): Likewise.
10548         (LOADREGS_2): Likewise.
10549         (ASMARGS_2): Likewise.
10550         (LOADREGS_3): Likewise.
10551         (ASMARGS_3): Likewise.
10552         (LOADREGS_4): Likewise.
10553         (ASMARGS_4): Likewise.
10554         (LOADREGS_5): Likewise.
10555         (ASMARGS_5): Likewise.
10556         (LOADREGS_6): Likewise.
10557         (ASMARGS_6): Likewise.
10558
10559 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10560
10561         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10562         -fomit-frame-pointer.
10563         (CFLAGS-mmap64.c): Likewise.
10564         (CFLAGS-semtimedop.c): Likewise.
10565         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10566         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10567         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10568         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10569
10570 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10571
10572         [BZ #18928]
10573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10574         _dl_pointer_guard member.
10575         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10576         initializer.
10577         (security_init): Always set up pointer guard.
10578         (process_envvars): Do not process LD_POINTER_GUARD.
10579
10580 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10581
10582         [BZ #19134]
10583         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10584         (.LC2): Likewise.
10585         (.LC3): Likewise.
10586         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10587
10588 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10589
10590         [BZ #19129]
10591         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10592         r0 and r1.
10593
10594 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10595
10596         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10597
10598 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10599
10600         * include/stap-probe.h: Fix macro definition formatting.
10601
10602 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10603
10604         [BZ #19074]
10605         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10606         load and store num_ifs.
10607
10608 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10609
10610         [BZ #18822]
10611         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10612         (__sched_getaffinity_new): Add libc_hidden_proto and
10613         libc_hidden_def.
10614
10615 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10616
10617         [BZ #19007]
10618         * scripts/localplt.awk: Also allow GOT references.
10619         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10620         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10621         with "+ REL R_386_GLOB_DAT".
10622         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10623         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10624
10625 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10626
10627         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10628         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10629         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10632         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10633         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10634         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10635         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10636         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10637         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10638         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10641
10642 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10643
10644         [BZ #19125]
10645         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10646         <math_private.h> and <stdint.h>.
10647         (__llround): Avoid conversions to and from long long int, and
10648         subtractions, where those might raise spurious exceptions.
10649         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10650         <math_private.h> and <stdint.h>.
10651         (__llroundf): Avoid conversions to and from long long int, and
10652         subtractions, where those might raise spurious exceptions.
10653
10654 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10655
10656         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10657         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10658         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10659         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10661         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10662         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10663         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10664         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10665         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10666         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10667         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10668         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10669         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10670         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10671         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10672         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10673         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10674         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10675         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10676         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10677         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10678         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10679         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10680         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10681         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10682         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10683         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10684         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10685         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10686         (__xstat64_conv): Likewise.
10687         (__xstat32_conv): Likewise.
10688
10689 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10690
10691         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10692         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10693         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10694         <sysdeps/unix/sysv/linux/sysdep.h>.
10695         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10696         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10697         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10698         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10699         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10700         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10701         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10702         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10708         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10709         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10711         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10712         (sysdep-dl-routines): Add sysdep.
10713         [$(subdir) == nptl] (libpthread-routines): Likewise.
10714         [$(subdir) == rt] (librt-routines): Likewise.
10715         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10716         PIC when branching to SYSCALL_ERROR_LABEL.
10717         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10719         <sysdeps/unix/sysv/linux/sysdep.h>.
10720         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10721         (SYSCALL_ERROR_ERRNO): Removed.
10722         (SYSCALL_ERROR_HANDLER): Changed to empty.
10723         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10724         (__syscall_error): New prototype.
10725         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10726         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10727
10728 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10729
10730         [BZ #19124]
10731         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10732         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10733         _dl_runtime_resolve_avx.
10734         (_dl_runtime_profile_avx512): Make it a hidden alias of
10735         _dl_runtime_profile_avx.
10736
10737 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10738
10739         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10740         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10741         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10742         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10743
10744         [BZ #16422]
10745         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10746         New configure test.
10747         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10748         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10749         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10750         <math_private.h> and <stdint.h>.
10751         (__llrint): Avoid conversions to long long int where those might
10752         raise spurious exceptions.
10753         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10754         <math_private.h> and <stdint.h>.
10755         (__llrintf): Avoid conversions to long long int where those might
10756         raise spurious exceptions.
10757
10758 2015-10-12  Andreas Schwab  <schwab@suse.de>
10759
10760         [BZ #18969]
10761         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10762         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10763         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10764         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10765         $(gen-locales).
10766         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10767         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10768         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10769         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10770         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10771         $(gen-locales).
10772         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10773         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10774         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10775         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10776         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10777         ($(objpfx)tst-ftell-active-handler.out)
10778         ($(objpfx)tst-ftell-append.out)
10779         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10780         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10781         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10782         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10783         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10784         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10785         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10786         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10787         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10788         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10789         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10790         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10791         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10792         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10793         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10794         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10795         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10796         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10797         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10798         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10799         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10800         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10801         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10802         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10803         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10804         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10805         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10806         $(gen-locales).
10807         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10808         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10809         $(gen-locales).
10810         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10811         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10812         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10813         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10814         $(gen-locales).
10815         * libio/tst_wprintf2.c (main): Use explicit locale.
10816         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10817
10818 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10819
10820         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10821         __msg_sig_post.
10822         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10823
10824 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10825
10826         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10827         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10828
10829         * sysdeps/arm/libm-test-ulps: Regenerated.
10830
10831         [BZ #15470]
10832         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10833
10834         [BZ #16399]
10835         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10836         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10837         and <fix-fp-int-convert-overflow.h>.
10838         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10839         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10840         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10841         and <fix-fp-int-convert-overflow.h>.
10842         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10843         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10844         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10845         <fix-fp-int-convert-overflow.h>.
10846         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10847         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10848         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10849         <fix-fp-int-convert-overflow.h>.
10850         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10851         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10852         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10853         and <fix-fp-int-convert-overflow.h>.
10854         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10856         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10857         <limits.h> and <fix-fp-int-convert-overflow.h>.
10858         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10860         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10861         and <fix-fp-int-convert-overflow.h>.
10862         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10864         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10865         and <fix-fp-int-convert-overflow.h>.
10866         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10868         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10869
10870 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10871
10872         [BZ #18589]
10873         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10874         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10875         $(gen-locales).
10876
10877 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10878             Phil Blundell <pb@pbcl.net>
10879
10880         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10881         * nptl/tst-cancel26.c: New file.
10882         * nptl/tst-cancel27.c: Likewise.
10883
10884 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10885
10886         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10887         __ILP32__ isn't defined.
10888         (lrint): Likewise.
10889         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10890         (lrintf): Likewise.
10891         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10892         (lrintl): Likewise.
10893         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10894         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10895         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10896
10897 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10898
10899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10901
10902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10903         file.
10904         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10905         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10906
10907 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10908
10909         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10910         configure test.
10911         * sysdeps/i386/configure: Regenerated.
10912         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10913         configure test.
10914         * sysdeps/x86_64/configure: Regenerated.
10915         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10916         Make code unconditional.
10917
10918         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10919         test.
10920         * sysdeps/i386/configure: Regenerated.
10921         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10922         test.
10923         * sysdeps/x86_64/configure: Regenerated.
10924         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10925         Make code unconditional.
10926         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10927         Likewise.
10928         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10929         Likewise.
10930         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10931         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10932         code unconditional.
10933         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10934         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10935         code unconditional.
10936         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10937         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10938         code unconditional.
10939         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10940         code unconditional.
10941         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10942         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10943         code unconditional.
10944         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10946         code unconditional.
10947         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10948         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10949         code unconditional.
10950         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10951         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10952         code unconditional.
10953         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10954         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10955
10956         [BZ #19095]
10957         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10958         mantissa to long int before shifting left.
10959
10960 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10961
10962         [BZ #19094]
10963         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10964         <limits.h>.
10965         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10966         when result overflows but exception would not result from cast.
10967         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10968         <limits.h>.
10969         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10970         when result overflows but exception would not result from cast.
10971         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10972         <limits.h>.
10973         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10974         when result overflows but exception would not result from cast.
10975         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10976         <limits.h>.
10977         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10978         when result overflows but exception would not result from cast.
10979         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10980         <limits.h>.
10981         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10982         when result overflows but exception would not result from cast.
10983         * math/libm-test.inc (lrint_test_data): Add more tests.
10984         (llrint_test_data): Likewise.
10985
10986 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10987
10988         [BZ #18872]
10989         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10990         Move out from under [$(run-built-tests) = yes] conditional.
10991         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10992         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10993
10994 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10995
10996         [BZ #18589]
10997         * string/Makefile (tests): Add bug-strcoll2.
10998         (LOCALES): Add cs_CZ.UTF-8.
10999         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11000
11001         [BZ #18589]
11002         * string/bug-strcoll2.c: New file.
11003         * locale/categories.def: Revert commit
11004         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11005         * locale/langinfo.h: Likewise.
11006         * locale/localeinfo.h: Likewise.
11007         * locale/C-collate.c: Likewise.
11008         * locale/programs/ld-collate.c (collate_output): Likewise.
11009         * string/strcoll_l.c (STRDIFF): Likewise.
11010         (STRCOLL): Likewise.
11011         * wcsmbs/wcscoll_l.c: Likewise.
11012
11013 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11014
11015         * math/libm-test.inc (lround_test_data): Do not expect the absence
11016         of "inexact" for some tests with non-integer arguments.
11017         (llround_test_data): Likewise.
11018
11019         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11020         test.
11021         (libc_cv_cc_sse2avx): Likewise.
11022         * sysdeps/i386/configure: Regenerated.
11023         * sysdeps/i386/i686/multiarch/Makefile
11024         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11025         [$(subdir) = math].
11026         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11027         code unconditional.
11028         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11029         Likewise.
11030         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11031         Likewise.
11032         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11033         Likewise.
11034         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11035         test.
11036         (libc_cv_cc_sse2avx): Likewise.
11037         * sysdeps/x86_64/configure: Regenerated.
11038         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11039         unconditional.
11040         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11041         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11042         unconditional.
11043         (_dl_runtime_profile)
11044         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11045         conditional code.
11046         * sysdeps/x86_64/fpu/multiarch/Makefile
11047         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11049         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11050         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11051         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11052         * sysdeps/x86_64/fpu/multiarch/e_log.c
11053         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11054         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11056         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11057         Likewise.
11058         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11059         Likewise.
11060         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11061         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11062         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11063         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11064         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11065         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11066         (HAVE_SSE2AVX_SUPPORT): Likewise.
11067
11068 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11069
11070         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11071         instead of #pragma optimize.
11072
11073 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11074
11075         [BZ #17195]
11076         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11077         as is similarly done in systrim and _int_free already.
11078
11079 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11080
11081         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11082
11083 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11084
11085         [BZ #19088]
11086         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11087         <limits.h>.
11088         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11089         overflows but exception would not result from cast.
11090         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11091         and <limits.h>.
11092         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11093         overflows but exception would not result from cast.
11094         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11095         <limits.h>.
11096         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11097         overflows but exception would not result from cast.
11098         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11099         <limits.h>.
11100         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11101         overflows but exception would not result from cast.
11102         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11103         <limits.h>.
11104         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11105         overflows but exception would not result from cast.
11106         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11107         <limits.h>.
11108         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11109         overflows but exception would not result from cast.
11110         * math/libm-test.inc (lround_test_data): Add more tests.
11111         (llround_test_data): Likewise.
11112
11113 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11114
11115         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11116         (CFLAGS-ialloc.c): Ditto.
11117         (CFLAGS-scheck.c): Ditto.
11118
11119 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11120
11121         [BZ #19086]
11122         * manual/filesys.texi (Storage Allocation): Fix argument order for
11123         posix_fallocate64.
11124
11125 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11126
11127         [BZ #19085]
11128         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11129         exponent below 48 inside case for non-overflowing exponent.
11130         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11131
11132 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11133
11134         * iconvdata/cp737.h (from_idx): Add const.
11135         * iconvdata/cp775.h (from_idx): Likewise.
11136
11137 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11138
11139         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11140         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11141         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11142
11143         [BZ #19079]
11144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11145         file, conditioned on [!_LP64].
11146         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11147         [!_LP64] (__lround): Do not define as function or alias.
11148         [!_LP64] (lround): Likewise.
11149         [!_LP64] (__lroundl): Likewise.
11150         [!_LP64] (lroundl): Likewise.
11151         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11152         macro.
11153         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11154         Likewise.
11155
11156 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11157
11158         * math/libm-test.inc (lrint_test_data): Add more tests.
11159         (llrint_test_data): Likewise.
11160         (lround_test_data): Likewise.
11161         (llround_test_data): Likewise.
11162
11163         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11164         (llrint_test_data): Add tests used for lrint.
11165
11166         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11167         test.
11168         * sysdeps/i386/configure: Regenerated.
11169         * sysdeps/i386/i686/multiarch/Makefile
11170         [$(config-cflags-sse4) = yes]: Make code unconditional.
11171         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11172         Likewise.
11173         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11174         Likewise.
11175         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11176         test.
11177         * sysdeps/x86_64/configure: Regenerated.
11178         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11179         Make code unconditional.
11180         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11181         Likewise.
11182         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11183         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11184
11185         * scripts/rpm2dynsym.sh: Remove file.
11186
11187 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11188
11189         * configure.ac (libc_cv_cxx_thread_local): Define.
11190         * configure: Regenerate.
11191         * config.make.in (have-cxx-thread_local): Define.
11192         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11193         (LDLIBS-tst-thread_local1): Define.
11194         (tests): Add tst-thread_local1.
11195         [have-cxx-thread_local != yes] (tests-unsupported): Add
11196         tst-thread_local1.
11197         * nptl/tst-thread_local1.cc: New file.
11198
11199 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11200
11201         [BZ #19078]
11202         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11203         (u_thres): Likewise.
11204         (__expl): Determine whether to call __kernel_standard_l based on
11205         value of result, not argument.
11206
11207         * math/libm-test.inc (scalb_test_data): Add more expectations for
11208         the "inexact" exception.
11209
11210         [BZ #19077]
11211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11212         0.0L for argument 1.0L.
11213
11214         [BZ #19076]
11215         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11216         constant 0.0L when computing infinite result.
11217
11218 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11219
11220         [BZ #10432]
11221         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11222         malloc_usable_size.
11223
11224 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11225
11226         [BZ #19018]
11227         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11228         Mangle function pointer before storing it.
11229         (__call_tls_dtors): Demangle function pointer before calling it.
11230
11231 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11232
11233         [BZ #19012]
11234         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11235         Clean up on failure.
11236
11237 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11238
11239         [BZ #19071]
11240         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11241         long int variable to store possibly incremented high part of
11242         mantissa.
11243         * math/libm-test.inc (lround_test_data): Add tests used for
11244         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11245         for tests requiring 64-bit long.  Do not condition tests on
11246         [TEST_FLOAT] unnecessarily.
11247         (llround_test_data): Add tests used for lround.  Add another
11248         expectation for the "inexact" exception.  Do not condition tests
11249         on [TEST_FLOAT] unnecessarily.
11250
11251         [BZ #887]
11252         [BZ #19049]
11253         [BZ #19050]
11254         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11255         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11256         <fix-int-fp-convert-zero.h>.
11257         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11258         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11259         <fix-int-fp-convert-zero.h>.
11260         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11261         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11262         <fix-int-fp-convert-zero.h>.
11263         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11264         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11265         <fix-int-fp-convert-zero.h>.
11266         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11267         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11268         <fix-int-fp-convert-zero.h>.
11269         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11270         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11271         <fix-int-fp-convert-zero.h>.
11272         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11273         * sysdeps/ieee754/flt-32/s_erff.c: Include
11274         <fix-int-fp-convert-zero.h>.
11275         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11276         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11277         <fix-int-fp-convert-zero.h>.
11278         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11280         <fix-int-fp-convert-zero.h>.
11281         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11283         <fix-int-fp-convert-zero.h>.
11284         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11285         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11286         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11287         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11288         file.
11289         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11290
11291 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11292
11293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11294
11295 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11296
11297         [BZ #19059]
11298         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11299         overflowing computation.
11300         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11301         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11302         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11303         Likewise.
11304         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11305         Likewise.
11306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11307         Likewise.
11308         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11309         Likewise.
11310         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11311         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11312         Likewise.
11313         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11314         Likewise.
11315         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11316
11317         * nss/rewrite_field.c (__nss_rewrite_field): Use
11318         internal_function.
11319         * nss/valid_field.c (__nss_valid_field): Likewise.
11320         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11321
11322 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11323
11324         [BZ #18724]
11325         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11326         (__nss_invalid_field_characters, __nss_valid_field)
11327         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11328         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11329         tst-field.c: New file.
11330         * nss/Makefile (routines): Add valid_field, rewrite_field.
11331         (tests-static): Define unconditionally.
11332         (tests): Include tests-static.
11333         [build-static-nss] (tests-static): Use append.
11334         [build-static-nss] (tests): Remove modification.
11335         * nss/getent.c (print_group): Call putgrent.  Report error.
11336         (print_gshadow): Call putsgent.  Report error.
11337         (print_passwd): Call putpwent.  Report error.
11338         (print_shadow): Call putspent.  Report error.
11339         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11340         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11341         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11342         name, password, directory, shell fields for valid syntax.  Rewrite
11343         GECOS field to match syntax.
11344         * pwd/Makefile (tests): Add tst-putpwent.
11345         * pwd/tst-putpwent.c: New file.
11346         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11347         Check grName, grpasswd, gr_mem fields for valid syntax.
11348         Change loop variable i to size_t.
11349         * grp/Makefile (tests): Add tst-putgrent.
11350         * grp/tst-putgrent.c: New file.
11351         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11352         valid syntax.
11353         * shadow/Makefile (tests): Add tst-putspent.
11354         * shadow/tst-putspent.c: New file.
11355         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11356         sg_mem fields for valid syntax.
11357         * gshadow/Makefile (tests): Add tst-putsgent.
11358         * gshadow/tst-putsgent.c: New file.
11359
11360 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11361
11362         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11363         assembly instructions.
11364
11365 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11366
11367         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11368         prefix from operands.
11369
11370 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11371
11372         [BZ #16347]
11373         [BZ #19046]
11374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11375         <libc-internal.h>.
11376         (MAXLGM): Do not use diagnostic control macros.
11377         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11378         threshold for ldbl-128ibm.
11379         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11380         instead of multiplying by log then subtracting.
11381         * math/auto-libm-test-in: Add more tests of lgamma.
11382         * math/auto-libm-test-out: Regenerated.
11383
11384         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11385         (TYPE_HEX_DIG): Likewise.
11386         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11387         precisions when printing floating-point numbers.
11388         (check_float_internal): Likewise.
11389
11390 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11391
11392         [BZ #16620]
11393         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11394         of log (10) rounded downward to 48 bits.
11395         (log10_low): Use corresponding low part of log (10).
11396
11397         [BZ #19032]
11398         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11399         compute result as (x - x) / (x - x) not as 0 / 0.
11400         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11401         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11402
11403         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11404         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11405         and expm1.
11406         * math/auto-libm-test-out: Regenerated.
11407         * math/libm-test.inc (acos_test_data): Add more tests.
11408         (asin_test_data): Likewise.
11409         (asinh_test_data): Likewise.
11410         (atan_test_data): Likewise.
11411         (atanh_test_data): Likewise.
11412         (atan2_test_data): Likewise.
11413         (cbrt_test_data): Likewise.
11414         (ceil_test_data): Likewise.
11415         (copysign_test_data): Likewise.
11416         (cos_test_data): Likewise.
11417         (cosh_test_data): Likewise.
11418         (erf_test_data): Likewise.
11419         (erfc_test_data): Likewise.
11420         (exp_test_data): Likewise.
11421         (exp10_test_data): Likewise.
11422         (exp2_test_data): Likewise.
11423         (expm1_test_data): Likewise.
11424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11425
11426 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11427
11428         [BZ #19006]
11429         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11430         to ...
11431         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11432         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11433         to ...
11434         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11435         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11436         to ...
11437         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11438         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11439         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11440         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11441         to ...
11442         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11444         Moved to ...
11445         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11447         Moved to ...
11448         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11450         to ...
11451         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11453         Moved to ...
11454         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11456         to ...
11457         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11458         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11459         Removed.
11460         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11461         Likewise.
11462         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11463         Likewise.
11464         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11465         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11466         Likewise.
11467         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11468         Likewise.
11469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11470         Likewise.
11471         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11472         Likewise.
11473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11478         Likewise.
11479         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11482         Likewise.
11483         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11484         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11487         Likewise.
11488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11489         Likewise.
11490         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11491         Likewise.
11492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11493         Likewise.
11494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11495         Replace ../i486/pthread_cond_timedwait.S with
11496         ../pthread_cond_timedwait.S.
11497
11498 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11499
11500         * math/libm-test.inc (acos_test_data): Refine expectations for
11501         errno and "inexact" exceptions.
11502         (acosh_test_data): Likewise.
11503         (asin_test_data): Likewise.
11504         (asinh_test_data): Likewise.
11505         (atan_test_data): Likewise.
11506         (atanh_test_data): Likewise.
11507         (atan2_test_data): Likewise.
11508         (cbrt_test_data): Likewise.
11509         (ceil_test_data): Likewise.
11510         (copysign_test_data): Likewise.
11511         (cosh_test_data): Likewise.
11512         (erf_test_data): Likewise.
11513         (erfc_test_data): Likewise.
11514         (exp_test_data): Likewise.
11515         (exp10_test_data): Likewise.
11516         (exp2_test_data): Likewise.
11517         (expm1_test_data): Likewise.
11518         (fabs_test_data): Likewise.
11519         (floor_test_data): Likewise.
11520         (fma_test_data): Likewise.
11521         (fmax_test_data): Likewise.
11522         (fmin_test_data): Likewise.
11523         (fmod_test_data): Likewise.
11524         (fpclassify_test_data): Likewise.
11525         (frexp_test_data): Likewise.
11526         (hypot_test_data): Likewise.
11527         (ilogb_test_data): Likewise.
11528         (isgreater_test_data): Likewise.
11529         (isgreaterequal_test_data): Likewise.
11530         (isinf_test_data): Likewise.
11531         (isless_test_data): Likewise.
11532         (islessequal_test_data): Likewise.
11533         (islessgreater_test_data): Likewise.
11534         (isnan_test_data): Likewise.
11535         (isnormal_test_data): Likewise.
11536         (issignaling_test_data): Likewise.
11537         (isunordered_test_data): Likewise.
11538         (j0_test_data): Likewise.
11539         (j1_test_data): Likewise.
11540         (jn_test_data): Likewise.
11541         (lgamma_test_data): Likewise.
11542         (lrint_test_data): Likewise.
11543         (llrint_test_data): Likewise.
11544         (log_test_data): Likewise.
11545         (log10_test_data): Likewise.
11546         (log1p_test_data): Likewise.
11547         (log2_test_data): Likewise.
11548         (logb_test_data): Likewise.
11549         (lround_test_data): Likewise.
11550         (llround_test_data): Likewise.
11551         (modf_test_data): Likewise.
11552         (nearbyint_test_data): Likewise.
11553         (nextafter_test_data): Likewise.
11554         (nexttoward_test_data): Likewise.
11555         (pow_test_data): Likewise.
11556         (remainder_test_data): Likewise.
11557         (remquo_test_data): Likewise.
11558         (rint_test_data): Likewise.
11559         (round_test_data): Likewise.
11560         (signbit_test_data): Likewise.
11561         (sinh_test_data): Likewise.
11562         (sqrt_test_data): Likewise.
11563         (tanh_test_data): Likewise.
11564         (tgamma_test_data): Likewise.
11565         (trunc_test_data): Likewise.
11566         (y0_test_data): Likewise.
11567         (y1_test_data): Likewise.
11568         (yn_test_data): Likewise.
11569         (significand_test_data): Likewise.
11570
11571 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11572
11573         * manual/filesys.texi (Storage Allocation): Document that
11574         posix_fallocate emulation fails when fd is open with O_WRONLY.
11575
11576 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11577
11578         [BZ #19016]
11579         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11580         allow more cases with X^2 + Y^2 >= 0.5.
11581         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11582         normal element in sum instead of special-casing based on values of
11583         arguments.
11584         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11585         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11586         -1 as normal element in sum instead of special-casing based on
11587         values of arguments.
11588         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11589         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11590         (__x2y2m1): Update comment.
11591         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11592         as normal element in sum instead of special-casing based on values
11593         of arguments.
11594         * math/s_clog.c (__clog): Handle more cases using log1p without
11595         hypot.
11596         * math/s_clog10.c (__clog10): Likewise.
11597         * math/s_clog10f.c (__clog10f): Likewise.
11598         * math/s_clog10l.c (__clog10l): Likewise.
11599         * math/s_clogf.c (__clogf): Likewise.
11600         * math/s_clogl.c (__clogl): Likewise.
11601         * math/auto-libm-test-in: Add more tests of clog and clog10.
11602         * math/auto-libm-test-out: Regenerated.
11603         * sysdeps/i386/fpu/libm-test-ulps: Update.
11604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605
11606 2015-09-28  Martin Sebor  <msebor@redhat.com>
11607
11608         [BZ #18969]
11609         * string/Makefile (LOCALES): Define.
11610         (gen-locales.mk): Include.
11611         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11612         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11613         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11614         on setlocale failure.
11615
11616 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11617
11618         [BZ #18985]
11619         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11620         (__strftime_internal): Likewise.
11621         * time/tst-strftime.c (do_bz18985): New test.
11622         (do_test): Call it.
11623
11624 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11625
11626         [BZ #18956]
11627         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11628         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11629         extracting high part.
11630         * math/auto-libm-test-in: Add another test of pow.
11631         * math/auto-libm-test-out: Regenerated.
11632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11633
11634 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11635
11636         [BZ #18825]
11637         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11638         New macro.
11639         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11640         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11641         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11642         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11643         DBL_NARROW_EVAL, reloading the PIC register as needed.
11644         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11645         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11646         FLT_NARROW_EVAL.  Use separate return path for case when first
11647         argument is NaN.
11648         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11649         DEFINE_LDBL_MIN.
11650         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11651         PIC register.
11652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11653         math_check_force_underflow_nonneg.
11654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11655         underflow for subnormal result.
11656         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11658         math_check_force_underflow_nonneg.
11659         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11660         math_check_force_underflow.
11661         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11662         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11663         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11664         DEFINE_LDBL_MIN.
11665         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11666         * math/auto-libm-test-in: Add more tests of pow.
11667         * math/auto-libm-test-out: Regenerated.
11668
11669 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11670
11671         * nss/bug17079.c (init_test_items): Add diagnostic for
11672         inconsistent entries.
11673         (test_buffer_size): Skip inconsistent entries.
11674
11675 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11676
11677         [BZ #13304]
11678         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11679         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11680         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11681
11682         [BZ #13304]
11683         * sysdeps/microblaze/s_fma.c: New file.
11684         * sysdeps/microblaze/s_fmaf.c: Likewise.
11685         * sysdeps/microblaze/sfp-machine.h: Likewise.
11686
11687 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11688
11689         [BZ #17250]
11690         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11691         member.
11692
11693 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11694
11695         [BZ #18803]
11696         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11697         (MO): New macro.
11698         (__ieee754_hypot) [PIC]: Load PIC register.
11699         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11700         DBL_NARROW_EVAL.
11701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11702         math_check_force_underflow_nonneg in case where result might be
11703         tiny.
11704         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11705         Likewise.
11706         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11707         Likewise.
11708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11709         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11710         * math/auto-libm-test-in: Add more tests of hypot.
11711         * math/auto-libm-test-out: Regenerated.
11712
11713 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11714
11715         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11716
11717 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11718
11719         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11720         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11721         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11722         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11723         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11724         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11725         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11726
11727         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11728         LOAD_PIC_REG.
11729
11730         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11731         (FLT_CHECK_FORCE_UFLOW): Likewise.
11732         (DBL_CHECK_FORCE_UFLOW): Likewise.
11733         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11734         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11735         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11736         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11737         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11738         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11739         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11740         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11741         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11742         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11743         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11744         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11745         (flt_min): Replace with use of DEFINE_FLT_MIN.
11746         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11747         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11748         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11749         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11750         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11751         (flt_min): Replace with use of DEFINE_FLT_MIN.
11752         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11753         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11755         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11756         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11757         (flt_min): Replace with use of DEFINE_FLT_MIN.
11758         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11759         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11760         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11761         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11762         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11763         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11764         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11765         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11766         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11767         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11768         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11769         (flt_min): Replace with use of DEFINE_FLT_MIN.
11770         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11771         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11772         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11773         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11774         main computation.
11775         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11776         (flt_min): Replace with use of DEFINE_FLT_MIN.
11777         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11778         main computation.
11779         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11780         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11781         (MO): New macro.
11782         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11783         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11784         (flt_min): Replace with use of DEFINE_FLT_MIN.
11785         (MO): New macro.
11786         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11787         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11788         (__log1pl): Use MO.
11789
11790         [BZ #19003]
11791         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11792         $(config-cflags-nofma).
11793
11794 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11795
11796         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11797
11798 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11799
11800         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11801         (TWO127): Likewise.
11802
11803         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11804         (min_of_type): Likewise.
11805         (math_check_force_underflow): Likewise.
11806         (math_check_force_underflow_nonneg): Likewise.
11807         (math_check_force_underflow_complex): Likewise.
11808         * math/e_exp2l.c (__ieee754_exp2l): Use
11809         math_check_force_underflow_nonneg.
11810         * math/k_casinh.c (__kernel_casinh): Likewise.
11811         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11812         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11813         * math/s_catan.c (__catan): Use
11814         math_check_force_underflow_complex.
11815         * math/s_catanf.c (__catanf): Likewise.
11816         * math/s_catanh.c (__catanh): Likewise.
11817         * math/s_catanhf.c (__catanhf): Likewise.
11818         * math/s_catanhl.c (__catanhl): Likewise.
11819         * math/s_catanl.c (__catanl): Likewise.
11820         * math/s_ccosh.c (__ccosh): Likewise.
11821         * math/s_ccoshf.c (__ccoshf): Likewise.
11822         * math/s_ccoshl.c (__ccoshl): Likewise.
11823         * math/s_cexp.c (__cexp): Likewise.
11824         * math/s_cexpf.c (__cexpf): Likewise.
11825         * math/s_cexpl.c (__cexpl): Likewise.
11826         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11827         * math/s_clog10.c (__clog10): Likewise.
11828         * math/s_clog10f.c (__clog10f): Likewise.
11829         * math/s_clog10l.c (__clog10l): Likewise.
11830         * math/s_clogf.c (__clogf): Likewise.
11831         * math/s_clogl.c (__clogl): Likewise.
11832         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11833         * math/s_csinf.c (__csinf): Likewise.
11834         * math/s_csinh.c (__csinh): Likewise.
11835         * math/s_csinhf.c (__csinhf): Likewise.
11836         * math/s_csinhl.c (__csinhl): Likewise.
11837         * math/s_csinl.c (__csinl): Likewise.
11838         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11839         * math/s_csqrtf.c (__csqrtf): Likewise.
11840         * math/s_csqrtl.c (__csqrtl): Likewise.
11841         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11842         * math/s_ctanf.c (__ctanf): Likewise.
11843         * math/s_ctanh.c (__ctanh): Likewise.
11844         * math/s_ctanhf.c (__ctanhf): Likewise.
11845         * math/s_ctanhl.c (__ctanhl): Likewise.
11846         * math/s_ctanl.c (__ctanl): Likewise.
11847         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11848         instead of volatile.
11849         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11850         math_check_force_underflow.
11851         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11852         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11853         volatile when forcing underflow.
11854         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11855         math_check_force_underflow_nonneg.
11856         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11857         Likewise.
11858         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11859         math_check_force_underflow.
11860         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11861         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11862         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11863         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11864         math_check_force_underflow_nonneg.
11865         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11866         math_check_force_underflow.
11867         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11869         instead of volatile.
11870         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11871         math_check_force_underflow.
11872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11873         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11874         math_check_force_underflow_nonneg.
11875         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11876         math_check_force_underflow.
11877         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11878         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11879         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11880         math_check_force_underflow_nonneg.
11881         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11882         Likewise.
11883         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11884         math_check_force_underflow.
11885         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11886         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11887         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11888         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11889         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11890         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11891         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11892         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11893         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11894         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11895         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11896         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11897         Likewise.
11898         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11899         math_check_force_underflow_nonneg.
11900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11901         Likewise.
11902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11903         math_check_force_underflow.
11904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11905         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11906         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11907         Likewise.
11908         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11909         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11910         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11911         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11912         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11913         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11915         instead of volatile.
11916         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11917         math_check_force_underflow.
11918         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11920         math_check_force_underflow.
11921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11922         Likewise.
11923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11924         Use math_check_force_underflow_nonneg.
11925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11926         math_check_force_underflow.
11927         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11928         Likewise.
11929         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11930         Likewise.
11931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11937         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11938         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11939         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11940         math_check_force_underflow_nonneg.
11941         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11942         math_check_force_underflow.
11943         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11944         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11945         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11946         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11947         math_check_force_underflow_nonneg.
11948         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11949         math_check_force_underflow.
11950         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11952         instead of volatile.
11953         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11954         math_check_force_underflow.
11955
11956         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11957         * stdlib/strtod_l.c: Include <math_private.h>.
11958         (overflow_value): Use math_narrow_eval.
11959         (underflow_value): Likewise.
11960         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11961         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11962         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11963         (__ieee754_gamma_r): Likewise.
11964         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11965         Likewise.
11966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11967         Likewise.
11968         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11969         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11970         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11971         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11972         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11973         (__ieee754_gammaf_r): Likewise.
11974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11975         Likewise.
11976         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11977         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11978         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11979         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11980         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11981         volatile.
11982         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11983         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11984         math_narrow_eval.
11985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11986         Likewise.
11987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11988         Likewise.
11989         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11990         Likewise.
11991         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11992         volatile.
11993         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11994         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11995         math_narrow_eval.
11996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11997         Likewise.
11998         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11999         Likewise.
12000
12001 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12002
12003         * nptl/Versions: Remove ignored symbols.
12004
12005 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12006
12007         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12008         * nss/Makefile (tests): Update.
12009
12010 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12011
12012         * nss/bug18287.c: New file.
12013         * nss/Makefile (tests): Add bug18287.
12014
12015 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12016
12017         * mach/Versions (__mach_host_self_): Add symbol.
12018
12019 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12020
12021         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12022         vm_page_size.
12023
12024 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12025
12026         Really fix sysdeps/i386/fpu/s_scalbn.S build
12027
12028         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12029         (libc: GLIBC_2_22): Remove unused version set.
12030
12031 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12032
12033         * config.make.in (enable-timezone-tools): New variable.
12034         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12035         (enable_timezone_tools): Export to generated files.
12036         * configure: Regenerate.
12037         * INSTALL: Regenerate.
12038         * manual/install.texi (--disable-timezone-tools): Document new flag.
12039         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12040         ifeq ($(enable-timezone-tools),yes) check.
12041
12042 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12043
12044         * timezone/Makefile: Revert previous change.
12045
12046         [BZ #18980]
12047         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12048         (DEFINE_DBL_MIN): Likewise.
12049         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12050         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12051         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12052         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12053         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12054         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12055         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12056         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12057         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12059         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12060         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12061         (flt_min): Replace with use of DEFINE_FLT_MIN.
12062         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12063         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12064         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12065         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12066         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12067         (flt_min): Replace with use of DEFINE_FLT_MIN.
12068         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12069         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12070         (flt_min): Replace with use of DEFINE_FLT_MIN.
12071         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12072         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12073         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12074         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12075         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12076         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12077         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12078         (__ieee754_pow): Use DBL_NARROW_EVAL.
12079         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12080         (__ieee754_powf): Use FLT_NARROW_EVAL.
12081         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12082         (__ieee754_expf_sse2): Convert double-precision result to single
12083         precision.
12084         * sysdeps/i386/fpu/libm-test-ulps: Update.
12085
12086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12087
12088         * timezone/Makefile: Ignore unused variable errors due to private.h
12089         (time_t_min) and (time_t_max).
12090         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12091         Likewise.
12092
12093 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12094
12095         [BZ #18981]
12096         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12097         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12098         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12099         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12100         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12101         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12102         (__scalbn): Use DBL_NARROW_EVAL.
12103         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12104         (__scalbnf): Use FLT_NARROW_EVAL.
12105
12106 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12107
12108         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12109         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12110         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12111         * stdio-common/printf_fp.c (___printf_fp):
12112         Use signbit to get the sign. Use isinf macro to allow inlining.
12113         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12114         * stdio-common/printf_size.c (__printf_size): Likewise.
12115
12116 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12117
12118         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12119
12120 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12121
12122         [BZ #18980]
12123         * sysdeps/generic/math_private.h: Include <float.h>.
12124         (math_narrow_eval): New macro.
12125         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12126         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12127         math_narrow_eval on overflowing return value.
12128         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12129         Likewise.
12130         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12131         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12133         Likewise.
12134         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12135
12136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12137
12138         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12139         * math/Makefile: Remove isinf_ns.c.
12140         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12141         * math/multc3.c (__multc3): Likewise.
12142         * math/s_casin.c (__casin): Likewise.
12143         * math/s_casinf.c (__casinf): Likewise.
12144         * math/s_casinl.c (__casinl): Likewise.
12145         * math/s_cproj.c (__cproj): Likewise.
12146         * math/s_cprojf.c (__cprojf): Likewise.
12147         * math/s_cprojl.c (__cprofl): Likewise.
12148         * math/s_ctan.c (__ctan): Likewise.
12149         * math/s_ctanf.c (__ctanf): Likewise.
12150         * math/s_ctanh.c (__ctanh): Likewise.
12151         * math/s_ctanhf.c (__ctanhf): Likewise.
12152         * math/s_ctanhl.c (__ctanhl): Likewise.
12153         * math/s_ctanl.c (__ctanl): Likewise.
12154         * math/w_fmod.c (__fmod): Likewise.
12155         * math/w_fmodf.c (__fmodf): Likewise.
12156         * math/w_fmodl.c (_fmodl): Likewise.
12157         * math/w_remainder.c (__remainder): Likewise.
12158         * math/w_remainderf.c (__remainderf): Likewise.
12159         * math/w_remainderl.c (__remainderl): Likewise.
12160         * math/w_scalb.c (__scalb): Likewise.
12161         * math/w_scalbf.c (__scalbf): Likewise.
12162         * math/w_scalbl.c (__scalbl): Likewise.
12163         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12164         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12165         with isinf.
12166         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12168         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12169         __isinf_nsf with isinf.
12170         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12171         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12172         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12173         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12174         with isinf.
12175         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12176         __isinf_nsl with isinf.
12177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12178         with isinf.
12179         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12180         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12181         __isinf_nsl with isinf.
12182         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12183         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12184         with isinf.
12185
12186 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12187
12188         * resolv/base64.c (rcsid): Remove unused static.
12189         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12190         static.  (tqpi1): Likewise.
12191         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12192         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12193         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12194         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12196         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12198         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12199         Likewise.
12200
12201 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12202
12203         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12204         <nptl/pthreadP.h>.
12205         (_longjmp_unwind): Use __libc_ptf_call.
12206         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12207
12208 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12209
12210         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12211         * sysdeps/arm/__longjmp.S: Likewise.
12212
12213 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12214
12215         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12216         Use __builtin_signbit.
12217         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12218         Use __builtin_signbitf.
12219         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12220         Use __builtin_signbitl.
12221         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12222         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12223
12224 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12225
12226         [BZ #15367]
12227         [BZ #17441]
12228
12229         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12230         * math/math.h (fpclassify): Use __builtin_fpclassify when
12231         available.  (signbit): Use __builtin_signbit(f/l).
12232         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12233         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12234         (isinf): Use __builtin_isinf_sign.
12235
12236 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12237
12238         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12239         * benchtests/bench-math-inlines.c: New benchmark.
12240         * benchtests/bench-util.h: New file.
12241         * benchtests/bench-util.c: New file.
12242         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12243
12244 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12245
12246         * elf/tst-dlmopen1.c: Define TEST_SO.
12247         (do_test): Use TEST_SO.
12248
12249         * elf/dl-load.c: Include libc-internal.h.
12250         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12251
12252 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12253
12254         [BZ #17887]
12255         * time/strptime_l.c (__strptime_internal): Make %z accept
12256         [+-]HH:MM time zones.
12257
12258 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12259
12260         [BZ #17886]
12261         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12262         valid time zone.
12263
12264 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12265
12266         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12267         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12269         (__ASSUME_FDATASYNC): Delete.
12270
12271 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12272
12273         * conform/linknamespace.pl: Require weak undefined symbols to be
12274         in the standard namespace.
12275         (%strong_syms): Rename to %seen_syms.
12276         (%strong_seen): Rename to %seen_where.
12277
12278 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12279
12280         [BZ #18970]
12281         * misc/error.c (error): Replace pthread_setcancelstate with
12282         __pthread_setcancelstate.
12283         (error_at_line): Likewise.
12284         * posix/wordexp.c (parse_comm): Likewise.
12285         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12286         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12287         (__pthread_setcancelstate): This.
12288         (pthread_setcancelstate): Add an alias.
12289         * nptl/nptl-init.c (pthread_functions): Replace
12290         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12291         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12292         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12293         hidden_proto.
12294         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12295         it with hidden_def.
12296         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12297         (pthread_setcancelstate): Renamed to ...
12298         (__pthread_setcancelstate): This.
12299         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12300         __libc_ptf_call with __pthread_setcancelstate.
12301
12302 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12303             Andreas Schwab  <schwab@suse.de>
12304
12305         [BZ #17118]
12306         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12307         result when imaginary part of argument is infinite using sine and
12308         cosine.
12309         * math/s_ctanf.c (__ctanf): Likewise.
12310         * math/s_ctanl.c (__ctanl): Likewise.
12311         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12312         of result when real part of argument is infinite using sine and
12313         cosine.
12314         * math/s_ctanhf.c (__ctanhf): Likewise.
12315         * math/s_ctanhl.c (__ctanhl): Likewise.
12316         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12317         (ctanh_test_data): Add more tests of ctanh.
12318
12319 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12320
12321         [BZ #15384]
12322         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12323         bit-mask as in subtraction.
12324         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12325         Likewise.
12326         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12327         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12328         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12329
12330         [BZ #18951]
12331         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12332         underflow exception for small results.
12333         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12334         Likewise.
12335         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12336         Likewise.
12337         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12338         Likewise.
12339         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12340         Likewise.
12341         * math/auto-libm-test-in: Add more tests of tgamma.
12342         * math/auto-libm-test-out: Regenerated.
12343
12344 2015-09-17  Andreas Schwab  <schwab@suse.de>
12345
12346         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12347
12348 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12349
12350         [BZ #18977]
12351         * math/bits/mathcalls.h
12352         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12353         not declare.
12354         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12355         Likewise.
12356         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12357         Likewise.
12358         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12359         Likewise.
12360         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12361         Likewise.
12362         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12363         Likewise.
12364         * conform/data/math.h-data
12365         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12366         function.
12367         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12368         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12369         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12370         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12371         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12372         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12373         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12374         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12375         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12376         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12377         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12378
12379         [BZ #6803]
12380         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12381         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12382         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12383         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12384         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12385         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12386         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12387         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12388         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12390         Likewise.
12391         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12392         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12393         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12394         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12395         long_double_symbol calls.
12396         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12397         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12398         strong alias of __ldexpl.
12399         (scalbnl): Define using long_double_symbol.
12400         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12401         Remove alias.
12402         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12403         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12404         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12405         (scalbln_test_data): Add more errno expectations.
12406
12407 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12408
12409         Cache the host port like we cache the task port.  This way we do not
12410         need to call the kernel just to get the port.  Furthermore, we no
12411         longer increase the reference count on every invocation of
12412         `mach_host_self'.
12413
12414         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12415         Protect declarations against the macro expansion.
12416         * mach/mach_init.c (__mach_host_self_): New variable.
12417         (mach_init): Initialize `__mach_host_self_'.
12418         * mach/mach_init.h (__mach_host_self_): New declaration.
12419         (__mach_host_self, mach_host_self): New macros.
12420         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12421         Release reference.
12422
12423 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12424
12425         [BZ #4404]
12426         * po/de.po: Update from Translation Project.
12427
12428         [BZ #16415]
12429         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12430         (__expm1l): Remove code to handle positive infinity and overflow.
12431         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12432         variable.
12433         (__expm1l): Remove code to handle positive infinity and overflow.
12434
12435 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12436             Paul Pluzhnikov  <ppluzhnikov@google.com>
12437
12438         [BZ #18872]
12439         * stdio-common/Makefile (tst-printf-bz18872): New test.
12440         (tst-printf-bz18872-mem.out): Likewise.
12441         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12442         * stdio-common/vfprintf.c: Fix memory leaks.
12443
12444 2015-09-16  Andreas Schwab  <schwab@suse.de>
12445
12446         [BZ #17244]
12447         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12448         Remove extra va_start/va_end calls.
12449
12450         [BZ #17243]
12451         * posix/execl.c (execl): Add missing va_end.
12452         * posix/execle.c (execle): Likewise.
12453         * posix/execlp.c (execlp): Likewise.
12454
12455 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12456
12457         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12458         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12459
12460 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12461
12462         [BZ #18967]
12463         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12464         undefine around includes of <bits/mathcalls.h>.
12465         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12466         not declare function.
12467         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12468         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12469         (scalb): Likewise.
12470         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12471         not define macro.
12472         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12473         variable.
12474         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12475         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12476         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12477
12478         [BZ #18857]
12479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12480         return non-finite argument without doing ordered comparisons on
12481         it.
12482
12483         [BZ #16296]
12484         * math/fenv.h (fegetround): Use __attribute_pure__.
12485         * include/fenv.h (__fegetround): Likewise.
12486
12487         [BZ #18595]
12488         * math/s_ctan.c (__ctan): Force underflow exception for results
12489         whose real or imaginary part has small absolute value.
12490         * math/s_ctanf.c (__ctanf): Likewise.
12491         * math/s_ctanh.c (__ctanh): Likewise.
12492         * math/s_ctanhf.c (__ctanhf): Likewise.
12493         * math/s_ctanhl.c (__ctanhl): Likewise.
12494         * math/s_ctanl.c (__ctanl): Likewise.
12495         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12496         and ctanh.  Add more tests of ctan and ctanh.
12497
12498         [BZ #15918]
12499         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12500         handling of cases where one argument is an infinity.
12501
12502         [BZ #18875]
12503         [BZ #18966]
12504         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12505         (MO): New macro.
12506         (__ieee754_exp10): For small results, force underflow exception
12507         and remove excess range and precision from return value.
12508         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12509         (MO): New macro.
12510         (__ieee754_exp10f): For small results, force underflow exception
12511         and remove excess range and precision from return value.
12512         * math/auto-libm-test-in: Add more tests of exp10.
12513         * math/auto-libm-test-out: Regenerated.
12514
12515 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12516
12517         [BZ #18875]
12518         [BZ #18961]
12519         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12520         (MO): New macro.
12521         (__ieee754_exp): For small results, force underflow exception and
12522         remove excess range and precision from return value.
12523         (__exp_finite): Likewise.
12524         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12525         (MO): New macro.
12526         (__ieee754_expf): For small results, force underflow exception and
12527         remove excess range and precision from return value.
12528         (__expf_finite): Likewise.
12529         * math/auto-libm-test-in: Add more tests of exp.
12530         * math/auto-libm-test-out: Regenerated.
12531
12532         [BZ #16521]
12533         [BZ #18875]
12534         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12535         small results.
12536         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12537         (MO): New macro.
12538         (__ieee754_exp2): For small results, force underflow exception and
12539         remove excess range and precision from return value.
12540         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12541         (MO): New macro.
12542         (__ieee754_exp2f): For small results, force underflow exception
12543         and remove excess range and precision from return value.
12544         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12545         (MO): New macro.
12546         (__ieee754_exp2l): Force underflow exception for small results.
12547         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12548         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12549         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12550         (MO): New macro.
12551         (__ieee754_exp2l): Force underflow exception for small results.
12552         * math/auto-libm-test-in: Add more tests or exp2.
12553         * math/auto-libm-test-out: Regenerated.
12554
12555 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12556
12557         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12558
12559         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12560         /dev/null.
12561
12562 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12563
12564         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12565         io fs process)): Drop spurious backslash.
12566
12567 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12568
12569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12570         Use sysinfo system call instead of parsing /proc/meminfo.
12571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12572         Likewise.
12573
12574 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12575
12576         [BZ #16985]
12577         * programs/localedef.c (main): Display argv[remaining] when
12578         output_path is NULL.
12579
12580 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12581
12582         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12583         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12584         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12585         tanh.
12586         * math/auto-libm-test-out: Regenerated.
12587         * sysdeps/i386/fpu/libm-test-ulps: Update.
12588         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12589         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12591
12592 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12593
12594         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12595         Use 'override' keyword to freeze the value here, preventing
12596         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12597
12598 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12599
12600         [BZ #14912]
12601         * sysdeps/aarch64/bits/atomic.h: Move to ...
12602         * sysdeps/aarch64/atomic-machine.h: ...here.
12603         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12604         _AARCH64_ATOMIC_MACHINE_H.
12605         * sysdeps/alpha/bits/atomic.h: Move to ...
12606         * sysdeps/alpha/atomic-machine.h: ...here.
12607         * sysdeps/arm/bits/atomic.h: Move to ...
12608         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12609         * bits/atomic.h: Move to ...
12610         * sysdeps/generic/atomic-machine.h: ...here.
12611         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12612         * sysdeps/i386/bits/atomic.h: Move to ...
12613         * sysdeps/i386/atomic-machine.h: ...here.
12614         * sysdeps/ia64/bits/atomic.h: Move to ...
12615         * sysdeps/ia64/atomic-machine.h: ...here.
12616         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12617         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12618         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12619         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12620         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12621         * sysdeps/microblaze/bits/atomic.h: Move to ...
12622         * sysdeps/microblaze/atomic-machine.h: ...here.
12623         * sysdeps/mips/bits/atomic.h: Move to ...
12624         * sysdeps/mips/atomic-machine.h: ...here.
12625         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12626         * sysdeps/powerpc/bits/atomic.h: Move to ...
12627         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12628         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12629         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12630         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12631         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12632         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12633         <atomic-machine.h> instead of <bits/atomic.h>.
12634         * sysdeps/s390/bits/atomic.h: Move to ...
12635         * sysdeps/s390/atomic-machine.h: ...here.
12636         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12637         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12638         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12639         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12640         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12641         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12642         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12643         * sysdeps/tile/bits/atomic.h: Move to ...
12644         * sysdeps/tile/atomic-machine.h: ...here.
12645         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12646         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12647         <sysdeps/tile/atomic-machine.h> instead of
12648         <sysdeps/tile/bits/atomic.h>.
12649         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12650         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12651         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12652         <sysdeps/tile/atomic-machine.h> instead of
12653         <sysdeps/tile/bits/atomic.h>.
12654         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12655         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12656         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12657         <sysdeps/arm/atomic-machine.h> instead of
12658         <sysdeps/arm/bits/atomic.h>.
12659         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12660         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12661         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12663         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12664         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12665         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12666         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12667         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12668         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12669         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12670         * sysdeps/x86_64/bits/atomic.h: Move to ...
12671         * sysdeps/x86_64/atomic-machine.h: ...here.
12672         * include/atomic.h: Include <atomic-machine.h> instead of
12673         <bits/atomic.h>.
12674
12675         * sysdeps/mips/mips32/libm-test-ulps: Update.
12676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12677
12678         [BZ #18952]
12679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12680         not convert non-integer negative arguments to int to determine the
12681         value of signgam.
12682         * math/auto-libm-test-in: Add more tests of lgamma.
12683         * math/auto-libm-test-out: Regenerated.
12684
12685         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12686         cosh, csqrt, erfc, expm1 and lgamma.
12687         * math/auto-libm-test-out: Regenerated.
12688         * sysdeps/i386/fpu/libm-test-ulps: Update.
12689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12690
12691 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12692
12693         [BZ #2542]
12694         [BZ #2543]
12695         [BZ #2558]
12696         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12697         __lgamma_neg for arguments from -28.0 to -2.0.
12698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12699         __lgamma_negf for arguments from -15.0 to -2.0.
12700         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12701         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12702         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12703         Call __lgamma_negl for arguments from -33.0 to -2.0.
12704         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12705         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12706         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12707         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12708         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12709         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12711         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12712         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12713         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12714         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12715         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12716         (__lgamma_neg): Likewise.
12717         (__lgamma_negl): Likewise.
12718         (__lgamma_product): Likewise.
12719         (__lgamma_productl): Likewise.
12720         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12721         * math/auto-libm-test-in: Add more tests of lgamma.
12722         * math/auto-libm-test-out: Regenerated.
12723         * sysdeps/i386/fpu/libm-test-ulps: Update.
12724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12725
12726 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12727
12728         [BZ #18675]
12729         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12730
12731 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12732
12733         [BZ #14912]
12734         * bits/libc-lock.h: Move to ...
12735         * sysdeps/generic/libc-lock.h: ...here.
12736         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12737         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12738         * sysdeps/mach/hurd/libc-lock.h: ...here.
12739         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12740         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12741         * sysdeps/mach/bits/libc-lock.h: Move to ...
12742         * sysdeps/mach/libc-lock.h: ...here.
12743         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12744         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12745         * sysdeps/nptl/libc-lock.h: ...here.
12746         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12747         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12748         * sysdeps/nptl/libc-lockP.h: ...here.
12749         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12750         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12751         <bits/libc-lock.h>.
12752         * dirent/scandir-tail.c: Likewise.
12753         * dlfcn/dlerror.c: Likewise.
12754         * elf/dl-close.c: Likewise.
12755         * elf/dl-iteratephdr.c: Likewise.
12756         * elf/dl-lookup.c: Likewise.
12757         * elf/dl-open.c: Likewise.
12758         * elf/dl-support.c: Likewise.
12759         * elf/dl-writev.h: Likewise.
12760         * elf/rtld.c: Likewise.
12761         * grp/fgetgrent.c: Likewise.
12762         * gshadow/fgetsgent.c: Likewise.
12763         * gshadow/sgetsgent.c: Likewise.
12764         * iconv/gconv_conf.c: Likewise.
12765         * iconv/gconv_db.c: Likewise.
12766         * iconv/gconv_dl.c: Likewise.
12767         * iconv/gconv_int.h: Likewise.
12768         * iconv/gconv_trans.c: Likewise.
12769         * include/link.h: Likewise.
12770         * inet/getnameinfo.c: Likewise.
12771         * inet/getnetgrent.c: Likewise.
12772         * inet/getnetgrent_r.c: Likewise.
12773         * intl/bindtextdom.c: Likewise.
12774         * intl/dcigettext.c: Likewise.
12775         * intl/finddomain.c: Likewise.
12776         * intl/gettextP.h: Likewise.
12777         * intl/loadmsgcat.c: Likewise.
12778         * intl/localealias.c: Likewise.
12779         * intl/textdomain.c: Likewise.
12780         * libidn/idn-stub.c: Likewise.
12781         * libio/libioP.h: Likewise.
12782         * locale/duplocale.c: Likewise.
12783         * locale/freelocale.c: Likewise.
12784         * locale/newlocale.c: Likewise.
12785         * locale/setlocale.c: Likewise.
12786         * login/getutent_r.c: Likewise.
12787         * login/getutid_r.c: Likewise.
12788         * login/getutline_r.c: Likewise.
12789         * login/utmp-private.h: Likewise.
12790         * login/utmpname.c: Likewise.
12791         * malloc/mtrace.c: Likewise.
12792         * misc/efgcvt.c: Likewise.
12793         * misc/error.c: Likewise.
12794         * misc/fstab.c: Likewise.
12795         * misc/getpass.c: Likewise.
12796         * misc/mntent.c: Likewise.
12797         * misc/syslog.c: Likewise.
12798         * nis/nis_call.c: Likewise.
12799         * nis/nis_callback.c: Likewise.
12800         * nis/nss-default.c: Likewise.
12801         * nis/nss_compat/compat-grp.c: Likewise.
12802         * nis/nss_compat/compat-initgroups.c: Likewise.
12803         * nis/nss_compat/compat-pwd.c: Likewise.
12804         * nis/nss_compat/compat-spwd.c: Likewise.
12805         * nis/nss_nis/nis-alias.c: Likewise.
12806         * nis/nss_nis/nis-ethers.c: Likewise.
12807         * nis/nss_nis/nis-grp.c: Likewise.
12808         * nis/nss_nis/nis-hosts.c: Likewise.
12809         * nis/nss_nis/nis-network.c: Likewise.
12810         * nis/nss_nis/nis-proto.c: Likewise.
12811         * nis/nss_nis/nis-pwd.c: Likewise.
12812         * nis/nss_nis/nis-rpc.c: Likewise.
12813         * nis/nss_nis/nis-service.c: Likewise.
12814         * nis/nss_nis/nis-spwd.c: Likewise.
12815         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12816         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12817         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12818         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12819         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12820         * nis/nss_nisplus/nisplus-network.c: Likewise.
12821         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12822         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12823         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12824         * nis/nss_nisplus/nisplus-service.c: Likewise.
12825         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12826         * nis/ypclnt.c: Likewise.
12827         * nptl/libc_pthread_init.c: Likewise.
12828         * nss/getXXbyYY.c: Likewise.
12829         * nss/getXXent.c: Likewise.
12830         * nss/getXXent_r.c: Likewise.
12831         * nss/nss_db/db-XXX.c: Likewise.
12832         * nss/nss_db/db-netgrp.c: Likewise.
12833         * nss/nss_db/nss_db.h: Likewise.
12834         * nss/nss_files/files-XXX.c: Likewise.
12835         * nss/nss_files/files-alias.c: Likewise.
12836         * nss/nsswitch.c: Likewise.
12837         * posix/regex_internal.h: Likewise.
12838         * posix/wordexp.c: Likewise.
12839         * pwd/fgetpwent.c: Likewise.
12840         * resolv/res_hconf.c: Likewise.
12841         * resolv/res_libc.c: Likewise.
12842         * shadow/fgetspent.c: Likewise.
12843         * shadow/lckpwdf.c: Likewise.
12844         * shadow/sgetspent.c: Likewise.
12845         * socket/opensock.c: Likewise.
12846         * stdio-common/reg-modifier.c: Likewise.
12847         * stdio-common/reg-printf.c: Likewise.
12848         * stdio-common/reg-type.c: Likewise.
12849         * stdio-common/vfprintf.c: Likewise.
12850         * stdio-common/vfscanf.c: Likewise.
12851         * stdlib/abort.c: Likewise.
12852         * stdlib/cxa_atexit.c: Likewise.
12853         * stdlib/fmtmsg.c: Likewise.
12854         * stdlib/random.c: Likewise.
12855         * stdlib/setenv.c: Likewise.
12856         * string/strsignal.c: Likewise.
12857         * sunrpc/auth_none.c: Likewise.
12858         * sunrpc/bindrsvprt.c: Likewise.
12859         * sunrpc/create_xid.c: Likewise.
12860         * sunrpc/key_call.c: Likewise.
12861         * sunrpc/rpc_thread.c: Likewise.
12862         * sysdeps/arm/backtrace.c: Likewise.
12863         * sysdeps/generic/ldsodefs.h: Likewise.
12864         * sysdeps/generic/stdio-lock.h: Likewise.
12865         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12866         * sysdeps/i386/backtrace.c: Likewise.
12867         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12868         * sysdeps/m68k/backtrace.c: Likewise.
12869         * sysdeps/mach/hurd/cthreads.c: Likewise.
12870         * sysdeps/mach/hurd/dirstream.h: Likewise.
12871         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12872         * sysdeps/nptl/malloc-machine.h: Likewise.
12873         * sysdeps/nptl/stdio-lock.h: Likewise.
12874         * sysdeps/posix/dirstream.h: Likewise.
12875         * sysdeps/posix/getaddrinfo.c: Likewise.
12876         * sysdeps/posix/system.c: Likewise.
12877         * sysdeps/pthread/aio_suspend.c: Likewise.
12878         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12879         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12880         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12881         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12882         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12883         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12884         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12885         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12886         * sysdeps/unix/sysv/linux/system.c: Likewise.
12887         * sysdeps/x86_64/backtrace.c: Likewise.
12888         * time/alt_digit.c: Likewise.
12889         * time/era.c: Likewise.
12890         * time/tzset.c: Likewise.
12891         * wcsmbs/wcsmbsload.c: Likewise.
12892         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12893         instead of <bits/libc-lock.h> in comment.
12894
12895 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12896
12897         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12898         Only use .set mips2 if the current ISA is below mips2.
12899         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12900         Likewise.
12901         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12902         mips32r2 if the current ISA is below mips32r2.
12903         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12904         (TLS_IE): Updated to use the TLD_RDHWR macro.
12905         (TLS_LE): Likewise.
12906         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12907         __ASSEMBLER__ condition.
12908
12909 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12910
12911         Fix parallel build of before-compile targets.
12912
12913         * sysdeps/mach/Makefile ($(patsubst
12914         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12915         mach-before-compile target.
12916         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12917         io fs process)): Move rule to dedicated hurd-before-compile target.
12918
12919 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12920
12921         Fix rules generating headers in hurd/ and mach/ when initial make call
12922         has subdir= explicitly set.
12923
12924         * sysdeps/mach/Makefile ($(patsubst
12925         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12926         calling $(MAKE).
12927         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12928         io fs process)): Force subdir to hurd when calling $(MAKE).
12929         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12930         subdir to mach when calling $(MAKE).
12931
12932 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12933
12934         Check sysheaders when looking for Mach and Hurd headers
12935
12936         * sysdeps/mach/configure.ac: Add sysheaders check.
12937         * sysdeps/mach/configure: Regenerate.
12938         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12939         * sysdeps/mach/hurd/configure: Regenerate.
12940
12941 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12942
12943         [BZ #18921]
12944         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12945         Fix inverted sense of test of 'o_directory_works' value.
12946         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12947         Bernhard Voelker <mail@bernhard-voelker.de>.
12948
12949 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12950
12951         [BZ #14912]
12952         * bits/linkmap.h: Move to ...
12953         * sysdeps/generic/linkmap.h: ...here.
12954         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12955         * sysdeps/aarch64/linkmap.h: ...here.
12956         * sysdeps/arm/bits/linkmap.h: Move to ...
12957         * sysdeps/arm/linkmap.h: ...here.
12958         * sysdeps/hppa/bits/linkmap.h: Move to ...
12959         * sysdeps/hppa/linkmap.h: ...here.
12960         * sysdeps/ia64/bits/linkmap.h: Move to ...
12961         * sysdeps/ia64/linkmap.h: ...here.
12962         * sysdeps/mips/bits/linkmap.h: Move to ...
12963         * sysdeps/mips/linkmap.h: ...here.
12964         * sysdeps/s390/bits/linkmap.h: Move to ...
12965         * sysdeps/s390/linkmap.h: ...here.
12966         * sysdeps/sh/bits/linkmap.h: Move to ...
12967         * sysdeps/sh/linkmap.h: ...here.
12968         * sysdeps/x86/bits/linkmap.h: Move to ...
12969         * sysdeps/x86/linkmap.h: ...here.
12970         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12971
12972 2015-09-04  Andreas Schwab  <schwab@suse.de>
12973
12974         [BZ #18635]
12975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12976         (__makecontext): Terminate FDE before return label.
12977         (__novec_makecontext): Likewise.
12978
12979 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12980
12981         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12982         first member of struct sv in syscall macro.
12983
12984 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12985
12986         [BZ #14912]
12987         * bits/stdio-lock.h: Move to ...
12988         * sysdeps/generic/stdio-lock.h: ...here.
12989         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12990         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12991         * sysdeps/nptl/stdio-lock.h: ...here.
12992         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12993         * include/libio.h: Include <stdio-lock.h> instead of
12994         <bits/stdio-lock.h>.
12995         * sysdeps/nptl/fork.c: Likewise.
12996         * sysdeps/pthread/flockfile.c: Likewise.
12997         * sysdeps/pthread/ftrylockfile.c: Likewise.
12998         * sysdeps/pthread/funlockfile.c: Likewise.
12999
13000         [BZ #14912]
13001         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13002         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13003         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13004         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13005         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13006         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13007         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13008
13009 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13010
13011         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13012         (test-xfail-tst-protected1b): New variable.
13013
13014 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13015
13016         [BZ #14912]
13017         * bits/libc-tsd.h: Move to ...
13018         * sysdeps/generic/libc-tsd.h: ...here.
13019         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13020         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13021         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13022         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13023         * include/ctype.h: Include <libc-tsd.h> instead of
13024         <bits/libc-tsd.h>.
13025         * include/rpc/rpc.h: Likewise.
13026         * locale/localeinfo.h: Likewise.
13027         * sunrpc/rpc_thread.c: Likewise.
13028         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13029         * sysdeps/nptl/malloc-machine.h: Likewise.
13030
13031         * Makefile (headers): Remove bits/libc-lock.h.
13032         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13033
13034         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13035         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13036         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13037         <bits/stdio-lock.h>.
13038         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13039         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13040
13041 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13042
13043         [BZ #18757]
13044         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13045         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13046         BZ #18757.
13047
13048 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13049
13050         * malloc/mtrace.pl: Filter out NULL entries.
13051
13052 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13053
13054         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13055         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13056         macro.
13057
13058         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13059         (TCP_CC_INFO): Likewise.
13060         (TCP_SAVE_SYN): Likewise.
13061         (TCP_SAVED_SYN): Likewise.
13062
13063 2015-08-31  Brett Neumeier <brett@neumeier.us>
13064
13065         [BZ #18870]
13066         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13067
13068 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13069
13070         [BZ #18873]
13071         Fix broken overflow check in posix_fallocate
13072         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13073         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13074         Fix parenthesization typo.
13075
13076 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13077
13078         [BZ #18887]
13079         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13080         tst-mntent-blank-passno.
13081         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13082         * misc/tst-mntent-blank-corrupt.c: New test.
13083         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13084         * misc/tst-mntent.c (do_test): ... here.
13085
13086 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13087
13088         [BZ #4404]
13089         * po/de.po: Fix SIGALRM typo.
13090
13091 2015-08-28  James Perkins  <james@loowit.net>
13092
13093         * time/tst-strptime2.c (tests): Replace short list of test
13094         strings for strptime %z specifier with code which exhaustively
13095         tests every combination of sign and 0 to 5 digits. Tests for
13096         rejection of invalid strings.
13097
13098 2015-08-28  James Perkins  <james@loowit.net>
13099
13100         [BZ #16141]
13101         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13102         calculation, removing incorrect decimal time rounding, so that
13103         all minute values result in a valid seconds value.
13104         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13105         offset range limits to UTC-99:59 through UTC+99:59 to parse
13106         current and historical use cases.
13107         * time/tst-strptime2.c (tests): Modify and add tests for the
13108         strptime %z input field descriptor, specifically conversion of
13109         minutes to seconds and validating an offset range of -9959 to
13110         +9959.
13111
13112 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13113             Dmitry V. Levin  <ldv@altlinux.org>
13114
13115         [BZ #18877]
13116         * posix/Makefile (tests): Add tst-mmap-offset.
13117         * posix/tst-mmap.c: New file.
13118         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13119         offset calculation for negative values.
13120
13121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13122
13123         * sysdeps/i386/init-arch.h: New file.
13124         * sysdeps/i386/i586/init-arch.h: Likewise.
13125         * sysdeps/i386/i686/init-arch.h: Likewise.
13126         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13127         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13128         * sysdeps/x86/cpu-features.h (bit_I586): New.
13129         (bit_I686): Likewise.
13130         (bit_CX8): Likewise.
13131         (bit_CMOV): Likewise.
13132         (index_CX8): Likewise.
13133         (index_CMOV): Likewise.
13134         (index_I586): Likewise.
13135         (index_I686): Likewise.
13136         (reg_CX8): Likewise.
13137         (reg_CMOV): Likewise.
13138         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13139         available at compile-time.
13140         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13141         available at compile-time.
13142         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13143         (USE_I686): Likewise.
13144
13145 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13146
13147         * sysdeps/i386/bcopy.S: New file.
13148         * sysdeps/i386/bzero.S: Likewise.
13149         * sysdeps/i386/memcpy.S: Likewise.
13150         * sysdeps/i386/memmove.S: Likewise.
13151         * sysdeps/i386/mempcpy.S: Likewise.
13152         * sysdeps/i386/memset.S: Likewise.
13153         * sysdeps/i386/bzero.c: Removed.
13154         * sysdeps/i386/memset.c: Likewise.
13155         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13156         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13157         * sysdeps/i386/i586/memset_chk.S: Likewise.
13158         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13159         * sysdeps/i386/memcpy_chk.S: Here.
13160         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13161         * sysdeps/i386/memmove_chk.S: Here.
13162         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13163         * sysdeps/i386/mempcpy_chk.S: Likewise.
13164         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13165         * sysdeps/i386/memset_chk.S: Likewise.
13166
13167 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13168
13169         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13170         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13171         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13172         * soft-fp/fmadf4.c: Ditto.
13173         * soft-fp/fmatf4.c: Ditto.
13174
13175 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13176
13177         * sysdeps/i386/i586/Implies: Removed.
13178         * sysdeps/i386/i686/Implies: Likewise.
13179
13180 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13181
13182         * sysdeps/i386/i486/strlen.S: Moved to ...
13183         * sysdeps/i386/strlen.S: Here.
13184
13185 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13186
13187         * sysdeps/i386/i486/strcat.S: Moved to ...
13188         * sysdeps/i386/strcat.S: Here.
13189
13190 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13191
13192         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13193         * sysdeps/i386/pthread_spin_trylock.S: Here.
13194         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13195         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13196
13197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13198
13199         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13200         * sysdeps/i386/string-inlines.c: Here.
13201
13202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13203
13204         * sysdeps/i386/i486/htonl.S: Moved ...
13205         * sysdeps/i386/htonl.S: here.
13206
13207 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13208
13209         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13210         * sysdeps/i386/bits/atomic.h: Here.
13211
13212 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13213
13214         * sysdeps/i386/i486/Versions: Removed.
13215
13216 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13217
13218         [BZ #2898]
13219         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13220         Based on patch by Aurelien Jarno.
13221
13222 2015-08-26  Stan Shebs  <stanshebs@google.com>
13223
13224         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13225         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13226
13227 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13228
13229         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13230         * sysdeps/powerpc/dl-procinfo.c:
13231         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13232         feature so it shows when LD_SHOW_AUXV=1.
13233
13234 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13235
13236         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13237         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13238         definition.  ISA 2.07B no longer requires full sync.
13239
13240 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13241
13242         [BZ #18863]
13243         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13244         (si_call_addr): Define.
13245         (si_syscall): Define.
13246         (si_arch): Define.
13247
13248 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13249
13250         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13251         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13252         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13253         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13254         (__memset_zero_constant_len_parameter): New.
13255         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13256         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13257         (__memset_zero_constant_len_parameter): Don't define if
13258         __memset_chk or USE_AS_BZERO are defined.
13259
13260         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13261         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13262         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13263
13264         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13265         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13266         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13267         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13268         comments.
13269         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13270         -mno-mmx for $(all-rtld-routines).
13271         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13272         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13273         i386.
13274
13275 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13276
13277         * sysdeps/generic/unwind.h
13278         (_Unwind_Word): Use __mode__(__unwind_word__)
13279         instead of __mode__(__word__).
13280         (_Unwind_Sword): Likewise.
13281
13282         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13283         (MAX_NEEDED_INPUT): New define.
13284         (MAX_NEEDED_OUTPUT): New define.
13285
13286         * NEWS: New item for IBM z13 string optimizations.
13287
13288         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13289         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13290         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13291         * sysdeps/s390/multiarch/Makefile
13292         (sysdep_routines): Add memrchr functions.
13293         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13294         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13295
13296         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13297         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13298         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13299         * sysdeps/s390/multiarch/Makefile
13300         (sysdep_routines): Add wmemcmp functions.
13301         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13302         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13303         * benchtests/bench-wmemcmp.c: New File.
13304         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13305
13306         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13307         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13308         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13309         * sysdeps/s390/multiarch/Makefile
13310         (sysdep_routines): Add wmemset functions.
13311         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13312         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13313         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13314         * string/test-memset.c: Add wmemset support.
13315         * wcsmbs/test-wmemset.c: New File.
13316         * wcsmbs/Makefile (strop-tests): Add wmemset.
13317         * benchtests/bench-memset.c: Add wmemset support.
13318         * benchtests/bench-wmemset.c: New File.
13319         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13320
13321         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13322         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13323         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13324         * sysdeps/s390/multiarch/Makefile
13325         (sysdep_routines): Add memccpy functions.
13326         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13327         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13328         * string/memccpy.c: Use MEMCCPY if defined.
13329
13330         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13331         * sysdeps/s390/multiarch/memchr.c: Likewise.
13332         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13333         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13334         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13335         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13336         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13337         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13338         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13339         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13340         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13341         and rawmemchr functions.
13342         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13343         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13344         and wmemchr.
13345         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13346         * string/test-memchr.c: Add wmemchr support.
13347         * wcsmbs/test-wmemchr.c: New File.
13348         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13349         * benchtests/bench-memchr.c: Add wmemchr support.
13350         * benchtests/bench-wmemchr.c: New File.
13351         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13352
13353         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13354         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13355         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13356         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13357         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13358         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13360         wcscspn functions.
13361         * sysdeps/s390/multiarch/ifunc-impl-list.c
13362         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13363         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13364         * string/test-strcspn.c: Add wcscspn support.
13365         * wcsmbs/test-wcscspn.c: New File.
13366         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13367         * benchtests/bench-strcspn.c: Add wcscspn support.
13368         * benchtests/bench-wcscspn.c: New File.
13369         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13370
13371         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13372         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13373         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13374         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13375         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13376         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13377         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13378         wcspbrk functions.
13379         * sysdeps/s390/multiarch/ifunc-impl-list.c
13380         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13381         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13382         * string/test-strpbrk.c: Add wcspbrk support.
13383         * wcsmbs/test-wcspbrk.c: New File.
13384         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13385         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13386         * benchtests/bench-wcspbrk.c: New File.
13387         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13388
13389         * sysdeps/s390/multiarch/strspn-c.c: New File.
13390         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13391         * sysdeps/s390/multiarch/strspn.c: Likewise.
13392         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13393         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13394         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13395         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13397         wcsspn functions.
13398         * sysdeps/s390/multiarch/ifunc-impl-list.c
13399         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13400         * string/test-strspn.c: Add wcsspn support.
13401         * wcsmbs/test-wcsspn.c: New File.
13402         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13403         * benchtests/bench-strspn.c: Add wcsspn support.
13404         * benchtests/bench-wcsspn.c: New File.
13405         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13406
13407         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13408         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13409         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13410         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13411         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13412         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13414         wcsrchr functions.
13415         * sysdeps/s390/multiarch/ifunc-impl-list.c
13416         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13417         * benchtests/bench-wcsrchr.c: New File.
13418         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13419
13420         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13421         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13422         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13423         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13424         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13425         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13427         wcschrnul functions.
13428         * sysdeps/s390/multiarch/ifunc-impl-list.c
13429         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13430         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13431         * string/test-strchr.c: Add wcschrnul support.
13432         * wcsmbs/test-wcschrnul.c: New File.
13433         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13434         * benchtests/bench-strchr.c: Add wcschrnul support.
13435         * benchtests/bench-wcschrnul.c: New File.
13436         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13437
13438         * sysdeps/s390/multiarch/strchr-c.c: New File.
13439         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13440         * sysdeps/s390/multiarch/strchr.c: Likewise.
13441         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13442         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13443         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13445         wcschr functions.
13446         * sysdeps/s390/multiarch/ifunc-impl-list.c
13447         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13448         * string/strchr.c (STRCHR): Define and use macro.
13449         * benchtests/bench-wcschr.c: New File.
13450         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13451
13452         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13453         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13454         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13455         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13456         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13457         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13459         wcsncmp functions.
13460         * sysdeps/s390/multiarch/ifunc-impl-list.c
13461         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13462         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13463         * benchtests/bench-strncmp.c: Add wcsncmp support.
13464         * benchtests/bench-wcsncmp.c: New File.
13465         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13466
13467         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13468         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13469         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13470         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13471         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13472         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13473         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13475         wcscmp functions.
13476         * sysdeps/s390/multiarch/ifunc-impl-list.c
13477         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13478         * string/strcmp.c (STRCMP): Define and use macro.
13479         * benchtests/bench-wcscmp.c: New File.
13480         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13481         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13482         instead of _HAVE_STRING_ARCH_memchr.
13483
13484         * sysdeps/s390/multiarch/strncat-c.c: New File.
13485         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13486         * sysdeps/s390/multiarch/strncat.c: Likewise.
13487         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13488         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13489         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13491         wcsncat functions.
13492         * sysdeps/s390/multiarch/ifunc-impl-list.c
13493         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13494         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13495         * string/test-strncat.c: Add wcsncat support.
13496         * wcsmbs/test-wcsncat.c: New File.
13497         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13498         * benchtests/bench-strncat.c: Add wcsncat support.
13499         * benchtests/bench-wcsncat.c: New File.
13500         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13501
13502         * sysdeps/s390/multiarch/strcat-c.c: New File.
13503         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13504         * sysdeps/s390/multiarch/strcat.c: Likewise.
13505         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13506         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13507         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13509         wcscat functions.
13510         * sysdeps/s390/multiarch/ifunc-impl-list.c
13511         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13512         * string/strcat.c (STRCAT): Define and use macro.
13513         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13514         * string/test-strcat.c: Add wcscat support.
13515         * wcsmbs/test-wcscat.c: New File.
13516         * wcsmbs/Makefile (strop-tests): Add wcscat.
13517         * benchtests/bench-strcat.c: Add wcscat support.
13518         * benchtests/bench-wcscat.c: New File.
13519         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13520
13521         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13522         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13523         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13524         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13525         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13526         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13528         wcpncpy functions.
13529         * sysdeps/s390/multiarch/ifunc-impl-list.c
13530         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13531         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13532         * string/test-stpncpy.c: Add wcpncpy support.
13533         * wcsmbs/test-wcpncpy.c: New File.
13534         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13535         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13536         * benchtests/bench-wcpncpy.c: New File.
13537         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13538
13539         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13540         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13541         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13542         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13543         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13544         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13545         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13547         wcsncpy functions.
13548         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13549         * sysdeps/s390/multiarch/ifunc-impl-list.c
13550         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13551         * string/test-strncpy.c: Add wcsncpy support.
13552         * wcsmbs/test-wcsncpy.c: New File.
13553         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13554         * benchtests/bench-strncpy.c: Add wcsncpy support.
13555         * benchtests/bench-wcsncpy.c: New File.
13556         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13557
13558         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13559         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13560         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13561         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13562         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13563         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13565         wcpcpy functions.
13566         * string/stpcpy.c: Use STPCPY if defined.
13567         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13568         * sysdeps/s390/multiarch/ifunc-impl-list.c
13569         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13570         * string/test-stpcpy.c: Add wcpcpy support.
13571         * wcsmbs/test-wcpcpy.c: New File.
13572         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13573         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13574         * benchtests/bench-wcpcpy.c: New File.
13575         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13576
13577         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13578         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13579         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13580         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13581         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13582         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13583         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13585         wcscpy functions.
13586         * sysdeps/s390/multiarch/ifunc-impl-list.c
13587         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13588         * benchtests/bench-wcscpy.c: New File.
13589         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13590
13591         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13592         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13593         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13594         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13595         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13596         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13598         wcsnlen functions.
13599         * sysdeps/s390/multiarch/ifunc-impl-list.c
13600         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13601         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13602         * string/test-strnlen.c: Add wcsnlen support.
13603         * wcsmbs/test-wcsnlen.c: New File.
13604         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13605         * benchtests/bench-strnlen.c: Add wcsnlen support.
13606         * benchtests/bench-wcsnlen.c: New File.
13607         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13608
13609         * sysdeps/s390/multiarch/Makefile: New File.
13610         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13611         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13612         * sysdeps/s390/multiarch/strlen.c: Likewise.
13613         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13614         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13615         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13616         * string/strlen.c (STRLEN): Define and use macro.
13617         * sysdeps/s390/multiarch/ifunc-impl-list.c
13618         (IFUNC_VX_IMPL): New macro function.
13619         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13620         * benchtests/Makefile (wcsmbs-bench): New variable.
13621         (string-bench-all): Added wcsmbs-bench.
13622         * benchtests/bench-wcslen.c: New File.
13623
13624         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13625         s390_vx_libc_ifunc2): New macro function.
13626
13627         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13628         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13629         assembler support.
13630         * sysdeps/s390/configure: Regenerated.
13631
13632         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13633         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13634
13635         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13636         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13637         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13638
13639         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13640         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13641         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13642         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13643         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13644         (memcmp, bcmp): Use __memcmp_default as alias source.
13645         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13646         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13647         Rename to __memcmp_default.
13648         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13649         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13650         (memcpy): Use __memcpy_default as alias source.
13651         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13652         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13653         Rename to __memcpy_default.
13654         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13655         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13656         (memset): Use __memset_default as alias source.
13657         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13658         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13659         Rename to __memset_default.
13660         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13661         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13663         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13664         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13665         (memcmp, bcmp): Use __memcmp_default as alias source.
13666         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13667         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13668         Rename to __memcmp_default.
13669         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13670         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13671         (memcpy): Use __memcpy_default as alias source.
13672         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13673         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13674         Rename to __memcpy_default.
13675         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13676         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13677         (memset): Use __memset_default as alias source.
13678         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13679         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13680         Rename to __memset_default.
13681         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13682         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13683
13684         [BZ #18610]
13685         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13686         __ieee_instruction_pointer to __unused.
13687         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13688         __ieee_instruction_pointer.
13689         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13690         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13691         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13692         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13693         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13694         Mark dxc-field as reserved.
13695
13696 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13697
13698         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13699         if the weak reference is not null.
13700
13701 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13702
13703         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13704
13705         [BZ #11214]
13706         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13707
13708 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13709
13710         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13711         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13712         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13713         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13714         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13715         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13716         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13717         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13718         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13719         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13720         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13721         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13722         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13723         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13724         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13725         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13726         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13727         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13728
13729 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13730
13731         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13732         register other than r0 for tabort, it has special meaning.
13733         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13734         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13735         transaction before starting syscall.
13736
13737 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13738
13739         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13740
13741 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13742
13743         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13744
13745         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13746         * sysdeps/x86_64/rtld-memset.S: Likewise.
13747         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13748         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13749         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13750         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13751
13752         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13753
13754 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13755
13756         * debug/strcpy_chk.c: Improve performance.
13757         * debug/stpcpy_chk.c: Likewise.
13758         * sysdeps/x86_64/strcpy_chk.S: Remove.
13759         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13760
13761         [BZ #18240]
13762         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13763
13764 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13765
13766         [BZ #15128]
13767         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13768         ifuncmain8.
13769         (modules-names): Add ifuncmod8.
13770         ($(objpfx)ifuncmain8): New rule.
13771         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13772         <cpuid.h>.
13773         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13774         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13775         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13776         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13777         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13778         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13779         * sysdeps/x86_64/ifuncmain8.c: New file.
13780         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13781         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13782         Removed.
13783         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13784         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13785         Change rtld_savespace_sse to __glibc_unused2.
13786         (RTLD_CHECK_FOREIGN_CALL): Removed.
13787         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13788         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13789         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13790
13791 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13792
13793         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13794
13795 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13796
13797         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13798         Unconditionally set __fpcr to avoid uninialized warning.
13799         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13800
13801 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13802
13803         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13804         is corrupt.
13805
13806         * malloc/arena.c (arena_get2): Drop unused argument.
13807         (arena_lock): Adjust.
13808         (arena_get_retry): Likewise.
13809
13810 2015-08-24  Andreas Schwab  <schwab@suse.de>
13811
13812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13813         Don't define.
13814         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13815         (__ASSUME_IPC64): Don't undef.
13816         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13817         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13818         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13819         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13820         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13822         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13823         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13824         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13825         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13826         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13827         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13828         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13829         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13830         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13831         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13832         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13833         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13834         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13835         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13836         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13837
13838 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13839
13840         * manual/Makefile (install): Only build manual when perl is available.
13841
13842 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13843
13844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13845         '#undef memcpy' by '#undef memchr'.
13846
13847 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13848
13849         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13850         memchr not point to the internal __GI_memchr implementation.
13851
13852 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13853
13854         * timezone/Makefile (CFLAGS-zdump.c): Remove
13855         -Wno-strict-prototypes.
13856         (CFLAGS-zic.c): Likewise.
13857         (CFLAGS-ialloc.c): Likewise.
13858         (CFLAGS-scheck.c): Likewise.
13859
13860         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13861         -Wno-error=undef.
13862
13863 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13864
13865         * i386/i686/multiarch/strcasestr-c.c: Removed.
13866         * x86_64/multiarch/strcasestr.c: Likewise.
13867         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13868         Remove strcasestr.
13869
13870 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13871
13872         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13873
13874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13875         variables for high and low parts before possibly modifying them.
13876
13877 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13878
13879         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13880         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13881         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13882         of "multiarch/init-arch.h".
13883         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13884         * sysdeps/x86/init-arch.h: This.
13885
13886 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13887
13888         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13889         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13890
13891 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13892
13893         [BZ #17787]
13894         * manual/macros.texi: Add twoexp macro.
13895         * manual/filesys.texi: Fix exponents.
13896         * manual/llio.texi: Likewise.
13897         * manual/stdio.texi: Likewise.
13898
13899 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13900
13901         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13902         incorrect use.
13903
13904 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13905
13906         [BZ #18370]
13907         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13908         whose real or imaginary part has small absolute value.
13909         * math/s_csqrtf.c (__csqrtf): Likewise.
13910         * math/s_csqrtl.c (__csqrtl): Likewise.
13911         * math/auto-libm-test-in: Add more tests of csqrt.
13912         * math/auto-libm-test-out: Regenerated.
13913         * sysdeps/i386/fpu/libm-test-ulps: Update.
13914
13915 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13916
13917         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13918         __ppc_set_ppr_very_low): New functions.
13919         * manual/platform.texi: Add documentation about
13920         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13921
13922 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13923
13924         * string/stpncpy.c (stpncpy): Improve performance using
13925         __strnlen/memcpy/memset.
13926
13927 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13928
13929         [BZ #18796]
13930         * scripts/test-installation.pl: Don't add -lmvec to build options if
13931         libmvec wasn't built.
13932
13933 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13934
13935         [BZ #14341]
13936         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13937         case when there is a gap between DT_REL and DT_JMPREL sections.
13938         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13939         (LDFLAGS-tst-split-dynreloc): New.
13940         (tst-split-dynreloc-ENV): Likewise.
13941         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13942         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13943
13944 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13945
13946         [BZ #18822]
13947         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13948         attribute_hidden.
13949         (__xstat64_conv): Likewise.
13950         (__xstat32_conv): Likewise.
13951
13952 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13953
13954         [BZ #18822]
13955         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13956         Don't load %ebx when calling __setcontext.  Call __setcontext
13957         with HIDDEN_JUMPTARGET.
13958         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13959         libc_hidden_def.
13960
13961 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13962
13963         * sysdeps/i386/i686/Makefile
13964         [$(subdir) == string] (sysdep_routines): Moved to ...
13965         * sysdeps/i386/Makefile: Here.
13966         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13967         * sysdeps/i386/cacheinfo.c: Here.
13968         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13969         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13970         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13971         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13972
13973 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13974
13975         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13976         __i586__ is defined.
13977         (HAS_I686): Defined to 1 if __i686__ is defined.
13978
13979 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13980
13981         * elf/Makefile [$(have-z-execstack) = yes]
13982         (CPPFLAGS-tst-execstack.c): New variable.
13983
13984         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13985         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13986         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13987         UTMPX || _HAVE_UT_TV].
13988         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13989         UTMPX || _HAVE_UT_TV - 0].
13990
13991 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13992
13993         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13994         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13995         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13996
13997 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13998
13999         * sysdeps/powerpc/dl-procinfo.c:
14000         (_dl_powerpc_cap_flags): Added missing strings for some
14001         hwcap features.
14002         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14003
14004 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14005
14006         Port the 0x7efe...feff pattern to GCC 6.
14007         See Steve Ellcey's bug report in:
14008         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14009         * string/memrchr.c (MEMRCHR):
14010         * string/rawmemchr.c (RAWMEMCHR):
14011         * string/strchr.c (strchr):
14012         * string/strchrnul.c (STRCHRNUL):
14013         Rewrite code to avoid issues with signed shift overflow.
14014
14015 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14016
14017         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14018         whether cpuid is available only if HAS_CPUID is 0.
14019         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14020         (HAS_I586): Likewise.
14021         (HAS_I686): Likewise.
14022
14023 2015-08-18  Zack Weinberg  <zackw@panix.com>
14024
14025         * misc/Versions (libc): Add GLIBC_2.23.
14026
14027 2015-08-18  Alan Modra  <amodra@gmail.com>
14028
14029         [BZ #18421]
14030         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14031         .Lp__global.
14032         (_start): Load %dp via .Lp__global.
14033         [!SHARED]: Use .section .rodata.
14034
14035 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14036
14037         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14038         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14039
14040 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14041
14042         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14043         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14044
14045 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14046
14047         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14048         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14049
14050 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14051
14052         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14053         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14054
14055 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14056
14057         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14058         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14059
14060 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14061
14062         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14063         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14064
14065 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14066
14067         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14068
14069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14070
14071         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14072         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14073         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14074         (__ASSUME_LWS_CAS): Delete.
14075
14076 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14077
14078         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14079         * sysdeps/hppa/configure: Regenerated.
14080         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14081         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14082         * sysdeps/hppa/nptl/tls.h: Likewise.
14083
14084 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14085
14086         [BZ #18823]
14087         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14088         for scaling up small arguments.
14089         * math/s_csqrtf.c (__csqrtf): Likewise.
14090         * math/s_csqrtl.c (__csqrtl): Likewise.
14091         * math/auto-libm-test-in: Add more tests of csqrt.
14092         * math/auto-libm-test-out: Regenerated.
14093
14094 2015-08-17  Andreas Schwab  <schwab@suse.de>
14095
14096         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14097         version set GLIBC_2.19.
14098
14099 2015-08-16  Zack Weinberg  <zackw@panix.com>
14100
14101         [BZ #18681]
14102         * misc/regexp.h: This interface is no longer supported.
14103         Remove all contents, leaving only an #error directive.
14104         * misc/regexp.c (loc1, loc2, locs, step, advance):
14105         Demote to compatibility symbols.
14106
14107 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14108
14109         [BZ #18084]
14110         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14111         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14112         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14113         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14114         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14115         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14116         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14117         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14118         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14119
14120 2015-08-15  Zack Weinberg  <zackw@panix.com>
14121
14122         [BZ #18795]
14123         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14124         buffer length is known to be too large, not if it's known to be
14125         small enough.
14126         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14127         overflow at runtime, involving a length parameter, twice: once
14128         with a compile-time constant length parameter, once without.
14129
14130 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14131
14132         [BZ #18824]
14133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14134         scaling x * y up instead of down.
14135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14137         * math/auto-libm-test-in: Add more tests of fma.
14138         * math/auto-libm-test-out: Regenerated.
14139
14140 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14141
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14143
14144 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145
14146         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14147         unnecessary movq.
14148         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14149         Likewise.
14150
14151 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14152
14153         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14154         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14155         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14156         and tgamma.
14157         * math/auto-libm-test-out: Regenerated.
14158         * sysdeps/i386/fpu/libm-test-ulps: Update.
14159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14160
14161         [BZ #16520]
14162         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14163         (__tanh): Force underflow exception for arguments with small
14164         absolute value.
14165         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14166         (__tanhf): Force underflow exception for arguments with small
14167         absolute value.
14168         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14169         (__tanhl): Force underflow exception for arguments with small
14170         absolute value.
14171         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14172         (__tanhl): Force underflow exception for arguments with small
14173         absolute value.
14174         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14175         (__tanhl): Force underflow exception for arguments with small
14176         absolute value.
14177         * math/auto-libm-test-in: Add more tests of tanh.
14178         * math/auto-libm-test-out: Regenerated.
14179         * sysdeps/i386/fpu/libm-test-ulps: Update.
14180
14181 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14182
14183         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14184         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14185
14186 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14187
14188         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14189         <cpuid.h>.
14190
14191 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14192
14193         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14194         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14195
14196 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14197
14198         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14199         Remove $(objpfx)init-arch.o.
14200         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14201         init-arch.
14202         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14203         (INIT_ARCH_EXT): Defined as empty.
14204         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14205         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14206         __init_cpu_features call.  Replace HAS_XXX with
14207         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14211         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14213         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14214         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14215         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14216         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14217         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14226         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14231         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14232         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14233         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14234         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14235         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14238         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14239         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14243
14244 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14245
14246         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14247         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14248         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14249         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14250         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14251         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14252         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14253         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14254         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14255         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14256         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14257         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14258         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14261         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14262         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14263         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14264         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14265         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14266         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14267         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14268         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14269         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14270         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14271         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14272         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14273         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14274         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14275         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14276         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14277         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14278         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14280         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14281         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14282         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14283         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14284         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14285         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14286         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14287         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14288         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14289
14290 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14291
14292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14293         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14296         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14297         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14299         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14300         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14301         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14302         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14303         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14304         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14305         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14306         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14307         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14308         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14309         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14311         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14313         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14314         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14315         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14316         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14317         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14318         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14319         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14320         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14321         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14322         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14323         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14327         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14328         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14330         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14331         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14332         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14333         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14334         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14335
14336 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14337
14338         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14339         (dl_platform_init): Call init_cpu_features.
14340         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14341         * sysdeps/i386/i686/cacheinfo.c
14342         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14343         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14344         * sysdeps/i386/i686/multiarch/Versions: Removed.
14345         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14346         Removed.
14347         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14348         * sysdeps/unix/sysv/linux/x86/Makefile
14349         (libpthread-sysdep_routines): Remove init-arch.
14350         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14351         <sysdeps/x86_64/dl-procinfo.c> instead of
14352         sysdeps/generic/dl-procinfo.c>.
14353         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14354         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14355         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14356         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14357         [$(subdir) == elf] (tests-static): Add
14358         tst-get-cpu-features-static.
14359         * sysdeps/x86/Versions: New file.
14360         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14361         * sysdeps/x86/cpu-features.c: Likewise.
14362         * sysdeps/x86/cpu-features.h: Likewise.
14363         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14364         * sysdeps/x86/libc-start.c: Likewise.
14365         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14366         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14367         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14368         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14369         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14370         Assume USE_MULTIARCH is defined and don't check it.
14371         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14372         (is_amd): Likewise.
14373         (max_cpuid): Likewise.
14374         (intel_check_word): Likewise.
14375         (__cache_sysconf): Don't call __init_cpu_features.
14376         (__x86_preferred_memory_instruction): Removed.
14377         (init_cacheinfo): Don't call __init_cpu_features. Replace
14378         __cpu_features with GLRO(dl_x86_cpu_features).
14379         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14380         (dl_platform_init): Call init_cpu_features.
14381         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14382         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14383         * sysdeps/x86_64/multiarch/Versions: Removed.
14384         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14385         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14386         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14387         Removed.
14388         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14389
14390 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14391
14392         [BZ #18820]
14393         * libio/Makefile (test-fmemopen-mem): New test.
14394         * libio/test-fmemopen.c (do_bz18820): New test.
14395         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14396         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14397
14398 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14399
14400         [BZ #16734]
14401         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14402         (FREE_BUF): Delete.
14403         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14404         * libio/genops.c (_IO_setb): Use malloc and free directly.
14405         (_IO_default_doallocate, _IO_default_finish): Likewise.
14406         ( _IO_unbuffer_all): Likewise.
14407         ( libc_freeres_fn): Likewise.
14408         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14409         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14410         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14411         (_IO_wdefault_doallocate): Likewise.
14412
14413 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14414
14415         [BZ #18086]
14416         * sysdeps/posix/nice.c (nice): Restore old errno.
14417         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14418
14419 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14420
14421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14422
14423 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14424
14425         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14426         __bcopy and add a weak_alias to bcopy.
14427         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14428         for static build.
14429
14430         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14431         cleanup macro usage.
14432         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14435         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14436         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14437         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14438         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14439         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14440         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14441         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14443         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14445         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14447         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14448         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14449         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14450         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14451
14452         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14453         libc_hidden_def.
14454         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14455
14456         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14457         (sysdep_routines): Add strstr-ppc64.
14458         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14459
14460 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14461
14462         [BZ #18778]
14463         * elf/Makefile (tests): Add Add tst-nodelete2.
14464         (modules-names): Add tst-nodelete2mod.
14465         (tst-nodelete2mod.so-no-z-defs): New.
14466         ($(objpfx)tst-nodelete2): Likewise.
14467         ($(objpfx)tst-nodelete2.out): Likewise.
14468         (LDFLAGS-tst-nodelete2): Likewise.
14469         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14470         out of loop through all loaded libraries.
14471         * elf/tst-nodelete2.c: New file.
14472         * elf/tst-nodelete2mod.c: Likewise.
14473         * elf/tst-znodelete-zlib.cc: Delete.
14474
14475 2015-08-11  Andreas Schwab  <schwab@suse.de>
14476
14477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14478         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14479         (__openat64_nocancel): Likewise.
14480
14481 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14482
14483         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14484         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14485         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14486         * math/auto-libm-test-out: Regenerated.
14487         * sysdeps/i386/fpu/libm-test-ulps: Update.
14488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14489
14490 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14491
14492         [BZ #18790]
14493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14494         threshold for returning +/- 1.
14495         * math/auto-libm-test-in: Add more tests of tanh.
14496         * math/auto-libm-test-out: Regenerated.
14497         * sysdeps/i386/fpu/libm-test-ulps: Update.
14498
14499 2015-08-10  Andreas Schwab  <schwab@suse.de>
14500
14501         [BZ #18781]
14502         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14503         MORE_OFLAGS to oflag.
14504         * io/test-lfs.c (do_test): Test openat64.
14505
14506 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14507
14508         [BZ #18789]
14509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14510         smaller threshold for returning the argument.
14511         * math/auto-libm-test-in: Add more tests of sinh.
14512         * math/auto-libm-test-out: Regenerated.
14513         * sysdeps/i386/fpu/libm-test-ulps: Update.
14514
14515 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14516
14517         [BZ #18674]
14518         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14519         break.
14520
14521 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14522
14523         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14524         (generated): Don't add $(addprefix z.,$(tzfiles)).
14525
14526 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14527
14528         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14529         * scripts/sysd-rules.awk: Likewise.
14530
14531 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14532
14533         * iconvdata/tst-tables.sh: Change echo -n to printf.
14534         * nss/db-Makefile: Likewise.
14535         * posix/tst-getconf.sh: Likewise.
14536         * stdio-common/tst-unbputc.sh: Likewise.
14537
14538 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14539
14540         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14541         MADV_*_PAGES defines behind this feature check.
14542
14543 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14544
14545         [BZ #18480]
14546         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14547         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14548         Define.
14549         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14550         LOAD_REGS_5, LOAD_REGS_6): Update.
14551         (INTERNAL_SYSCALL): Update using new LOAD defines.
14552         (INTERNAL_SYSCALL_NCS): Likewise.
14553         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14554
14555 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14556
14557         [BZ #16734]
14558         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14559
14560 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14561
14562         [BZ #17905]
14563         * catgets/Makefile (tst-catgets-mem): New test.
14564         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14565         * catgets/open_catalog.c (__open_catalog): Likewise.
14566         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14567
14568 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14569
14570         [BZ #18787]
14571         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14572         clobber registers.
14573         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14574         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14575         Cast return to __typeof (oldval).
14576
14577 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14578
14579         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14580         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14581         and delete sys/syscall.h include.
14582
14583 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14584
14585         [BZ #16517]
14586         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14587         (tan): Force underflow exception for arguments with small absolute
14588         value.
14589         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14590         (__kernel_tanf): Force underflow exception for arguments with
14591         small absolute value.
14592         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14593         (__kernel_tanl): Force underflow exception for arguments with
14594         small absolute value.
14595         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14596         (__kernel_tanl): Force underflow exception for arguments with
14597         small absolute value.
14598         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14599         (__kernel_tanl): Force underflow exception for arguments with
14600         small absolute value.
14601         * math/auto-libm-test-in: Add more tests of tan.
14602         * math/auto-libm-test-out: Regenerated.
14603
14604 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14605
14606         Fix sysdeps/i386/fpu/s_scalbn.S build
14607
14608         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14609
14610 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14611
14612         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14613
14614 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14615
14616         Fix gcrt0.o compilation
14617
14618         When static-start-installed-name is different from
14619         start-installed-name, we must not use the shared objects.
14620
14621         * csu/Makefile
14622         (extra-objs): Add gmon-start.o when building shared library and
14623         $(static-start-installed-name) is different from
14624         $(start-installed-name).
14625         $(objpfx)g$(static-start-installed-name): When building shared
14626         library and $(static-start-installed-name) is different from
14627         $(static-start-installed-name), revert to non-shared rule,
14628         i.e. using $(objpfx)% and gmon-start.o.
14629
14630 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14631
14632         [BZ #16519]
14633         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14634         (__ieee754_sinh): Force underflow exception for arguments with
14635         small absolute value.
14636         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14637         (__ieee754_sinhf): Force underflow exception for arguments with
14638         small absolute value.
14639         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14640         (__ieee754_sinhl): Force underflow exception for arguments with
14641         small absolute value.
14642         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14643         (__ieee754_sinhl): Force underflow exception for arguments with
14644         small absolute value.
14645         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14646         (__ieee754_sinhl): Force underflow exception for arguments with
14647         small absolute value.
14648         * math/auto-libm-test-in: Add more tests of sinh.
14649         * math/auto-libm-test-out: Regenerated.
14650         * sysdeps/i386/fpu/libm-test-ulps: Update.
14651
14652 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14653
14654         * libio/oldfileops.c: Include unistd.h.
14655
14656 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14657
14658         * stdlib/isomac.c: Include ctype.h.
14659
14660 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14661
14662         * dirent/tst-seekdir.c (main): Converted to ...
14663         (do_test): ... this.
14664         (TEST_FUNCTION): New macro.
14665         Include test-skeleton.c.
14666         * elf/tst-dlmodcount.c (main): Converted to ...
14667         (do_test): ... this.
14668         (TEST_FUNCTION): New macro.
14669         Include test-skeleton.c.
14670         * elf/tst-order-main.c (main): Converted to ...
14671         (do_test): ... this.
14672         (TEST_FUNCTION): New macro.
14673         Include test-skeleton.c.
14674         * elf/tst-pie2.c (main): Converted to ...
14675         (do_test): ... this.
14676         (TEST_FUNCTION): New macro.
14677         Include test-skeleton.c.
14678         * inet/tst-ether_aton.c (main): Converted to ...
14679         (do_test): ... this.
14680         (TEST_FUNCTION): New macro.
14681         Include test-skeleton.c.
14682         * misc/tst-mntent.c (main): Converted to ...
14683         (do_test): ... this.
14684         (TEST_FUNCTION): New macro.
14685         Include test-skeleton.c.
14686         * misc/tst-tsearch.c (main): Converted to ...
14687         (do_test): ... this.
14688         (TEST_FUNCTION): New macro.
14689         Include test-skeleton.c.
14690         * posix/tst-regexloc.c (main): Converted to ...
14691         (do_test): ... this.
14692         (TEST_FUNCTION): New macro.
14693         Include test-skeleton.c.
14694         * resolv/tst-aton.c (main): Converted to ...
14695         (do_test): ... this.
14696         (TEST_FUNCTION): New macro.
14697         Include test-skeleton.c.
14698         * stdio-common/test-fwrite.c (main): Converted to ...
14699         (do_test): ... this.
14700         (TEST_FUNCTION): New macro.
14701         Include test-skeleton.c.
14702         * stdio-common/tst-ferror.c (main): Converted to ...
14703         (do_test): ... this.
14704         (TEST_FUNCTION): New macro.
14705         Include test-skeleton.c.
14706         * stdio-common/tst-printf.c (main): Converted to ...
14707         (do_test): ... this.
14708         (TEST_FUNCTION): New macro.
14709         Include test-skeleton.c.
14710         * stdio-common/tst-printfsz.c (main): Converted to ...
14711         (do_test): ... this.
14712         (TEST_FUNCTION): New macro.
14713         Include test-skeleton.c.
14714         * stdlib/tst-strtod.c (main): Converted to ...
14715         (do_test): ... this.
14716         (TEST_FUNCTION): New macro.
14717         Include test-skeleton.c.
14718         * string/tst-strlen.c (main): Converted to ...
14719         (do_test): ... this.
14720         (TEST_FUNCTION): New macro.
14721         Include test-skeleton.c.
14722         * string/tst-svc.c (main): Converted to ...
14723         (do_test): ... this.
14724         (TEST_FUNCTION): New macro.
14725         Include test-skeleton.c.
14726         * time/tst-strptime.c (main): Converted to ...
14727         (do_test): ... this.
14728         (TEST_FUNCTION): New macro.
14729         Include test-skeleton.c.
14730         * timezone/tst-timezone.c (main): Converted to ...
14731         (do_test): ... this.
14732         (TEST_FUNCTION): New macro.
14733         Include test-skeleton.c.
14734
14735 2015-08-05  Zack Weinberg  <zackw@panix.com>
14736
14737         * misc/regexp.h: Update comments.
14738
14739 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14740
14741         [BZ #18635]
14742         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14743         before return label.
14744
14745 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14746
14747         [BZ #18661]
14748         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14749         when calling __errno_location.
14750         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14751         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14752
14753 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14754
14755         [BZ #18661]
14756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14757         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14758         __gettimeofday.
14759
14760 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14761
14762         [BZ #18661]
14763         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14764         (__start_context): Don't use pop to restore %rdi so that stack
14765         is aligned to 16 bytes when calling __setcontext.
14766
14767 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14768
14769         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14770         only for libc.
14771         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14772
14773 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14774
14775         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14776         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14777         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14778
14779 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14780
14781         * string/memccpy.c (memccpy):
14782         Improve performance by using memchr/memcpy/__mempcpy.
14783
14784 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14785
14786         * string/strncpy.c (strncpy):
14787         Improve performance by using __strnlen/memcpy.
14788
14789 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14790
14791         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14792         Optimize to avoid an unnecessary FPCR read.
14793
14794 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14795
14796         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14797         Optimize to reduce FPCR/FPSR accesses.
14798
14799 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14800
14801         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14802         dead->data[category] != NULL.
14803
14804 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14805
14806         [BZ #18647]
14807         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14808         and |x| close to 1, use absolute value of x when computing log.
14809         * math/auto-libm-test-in: Add more tests of pow.
14810         * math/auto-libm-test-out: Regenerated.
14811
14812 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14813
14814         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14815         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14816         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14817
14818 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14819
14820         [BZ #18525]
14821         * locales/km_KH: Remove timezone definition.
14822         * locales/lo_LA: Likewise.
14823         * locales/my_MM: Likewise.
14824         * locales/nan_TW@latin: Likewise.
14825         * locales/th_TH: Likewise.
14826         * locales/uk_UA: Likewise.
14827
14828 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14829
14830         [BZ #18265]
14831         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14832         (wcsncat): Likewise.
14833         (wcscmp): Likewise.
14834         (wcsncmp): Likewise.
14835
14836 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14837
14838         * test-skeleton.c (usage): New function.
14839         (main): Call usage when opt is '?'.
14840
14841 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14842
14843         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14844         before first use.
14845
14846 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14847
14848         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14849         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14850         in there too.
14851
14852 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14853
14854         * version.h (RELEASE): Set to "development".
14855         (VERSION): Set to "2.22.90"
14856
14857         * version.h (RELEASE): Set to "stable".
14858         (VERSION): Set to "2.22"
14859         * include/features.h (__GLIBC_MINOR__): Set to 22.
14860
14861 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14862
14863         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14864         Restructure macro to avoid "value computed is not used" warning.
14865         (atomic_compare_and_exchange_val_acq): Likewise.
14866
14867 2015-08-04  Andreas Schwab  <schwab@suse.de>
14868
14869         [BZ #18635]
14870         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14871         ret.
14872         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14873
14874 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14875
14876         * po/pl.po: Updated translation.
14877         * po/uk.po: Likewise.
14878         * po/fi.po: Likewise.
14879         * po/ko.po: Likewise.
14880         * po/ru.po: Likewise.
14881         * po/vi.po: Likewise.
14882
14883 2015-07-31  Zack Weinberg  <zackw@panix.com>
14884
14885         [BZ #18681]
14886         * regexp.h: Add unconditional #warning stating that this header
14887         will be removed soon.  Revise banner comment to match.
14888         (compile): Consistently use ERROR instead of RETURN to report
14889         errors (partial fix for bz#18681).
14890         * regexp.c: Don't include regexp.h. Remove some unnecessary
14891         declarations.
14892
14893 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14894
14895         * po/libc.pot: Regenerated.
14896
14897 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14898
14899         [BZ #18740]
14900         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14901         float-vlen4-arch-ext-cflags): Removed.
14902         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14903         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14904
14905 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14906
14907         [BZ #14113]
14908         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14909         aligned to __aligned__.
14910         (pthread_cond_t, pthread_rwlock_t): Likewise.
14911
14912 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14913
14914         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14915
14916 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14917
14918         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14919         (struct sigaction): Change sa_flags from a long to an int, and add
14920         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14921
14922 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14923
14924         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14925         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14926         sysdeps/generic/sysdep.h include.
14927         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14928         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14929         sysdeps/hppa/sysdep.h.
14930         (ENTRY, PSEUDO): Undefine before defining.
14931
14932 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14933
14934         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14935         from scratch to use INTERNAL_SYSCALL.
14936
14937 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14938
14939         [BZ #18078]
14940         * scripts/check-localplt.awk: Support alternate relocations.
14941         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14942         sections.
14943         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14944         malloc entries with + REL R_386_GLOB_DAT.
14945         * sysdeps/x86_64/localplt.data: New file.
14946
14947 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14948
14949         [BZ #18731]
14950         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14951         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14952         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14953
14954 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14955
14956         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14957
14958 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14959
14960         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14961         directly in terms of __sync_fetch_and_add and delete (int) cast.
14962
14963 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14964
14965         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14966         the -D_ASM_IA64_CURRENT_H flag.
14967
14968 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14969
14970         [BZ #18641]
14971         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14972
14973 2015-07-27  Andreas Schwab  <schwab@suse.de>
14974
14975         * conform/conformtest.pl (checknamespace): Filter out string
14976         literals while tokenizing.
14977
14978 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14979
14980         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14981         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14982         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14983
14984 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14985
14986         * nptl/tst-join7mod.c: Add #include <string.h>.
14987
14988 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14989
14990         * sysdeps/nios2/libm-test-ulps: Update.
14991
14992 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14993
14994         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14995         Fix order of arguments to the rt_sigprocmask syscall.
14996         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14997         Likewise.
14998
14999 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15000
15001         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15002
15003 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004
15005         [BZ #18457]
15006         * nptl/Makefile (tests): New test case tst-join7.
15007         (modules-names): New test case module tst-join7mod.
15008         * nptl/tst-join7.c: New file.
15009         * nptl/tst-join7mod.c: New file.
15010         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15011         all translation units in libc.so, libpthread.so and rtld.
15012
15013 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15014
15015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15016
15017 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15018
15019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15021         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15022         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15027         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15031         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15032         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15034         implementation.
15035
15036 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15037
15038         [BZ #17711]
15039         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15040         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15041         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15042         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15043         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15044         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15045
15046 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15047
15048         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15049         instead of just saying load lock in the comments.
15050
15051 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15052
15053         * sysdeps/unix/Subdirs: Moved ...
15054         * sysdeps/posix/Subdirs: ... here.
15055         * login/pty.h (struct termios, struct winsize): Add forward decls.
15056         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15057         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15058         * sysdeps/arm/nacl/libc.abilist: Updated.
15059         * sysdeps/nacl/libutil.abilist: New file.
15060
15061         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15062         (SIGWINCH): New macro.
15063
15064         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15065         * sysdeps/arm/nacl/libc.abilist: Add it.
15066
15067 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15068
15069         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15070
15071 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15072
15073         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15074         Swap __glibc_reserved0 and sa_flags order.
15075
15076 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15077
15078         [BZ #18657]
15079         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15080         are pending TLS destructor calls.
15081         * include/link.h (struct link_map): Add concurrency note for
15082         L_TLS_DTOR_COUNT.
15083         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15084         Don't touch the link map flag.  Atomically increment
15085         l_tls_dtor_count.
15086         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15087         Avoid taking the load lock and don't touch the link map flag.
15088         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15089         * stdlib/Makefile (tests): Use it.
15090         * stdlib/tst-tls-atexit.c (do_test): dlopen
15091         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15092         to allow tst-tls-atexit-nodelete test case to use it.
15093
15094 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15095
15096         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15097         to bits/types.h.
15098         (msgqnum_t): New typedef.
15099         (msglen_t): Likewise.
15100         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15101         and msg_qbytes type to msglen_t.
15102
15103 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15104
15105         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15106         pad0 to __glibc_reserved0.
15107         (struct stat64): Likewise.
15108
15109 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15110
15111         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15112         Change sa_flags from a long to an int and add __glibc_reserved0 before
15113         it for padding.
15114
15115 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15116
15117         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15118         anonymous by deleting "siginfo" name.
15119
15120 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15121
15122         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15123         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15124         rather than __nacl_irt_filename.
15125         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15126
15127         * NEWS: New item for arm-nacl port.
15128         * sysdeps/arm/nacl/libc.abilist: New file.
15129         * sysdeps/nacl/ld.abilist: New file.
15130         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15131         * sysdeps/nacl/libanl.abilist: New file.
15132         * sysdeps/nacl/libcrypt.abilist: New file.
15133         * sysdeps/nacl/libdl.abilist: New file.
15134         * sysdeps/nacl/libm.abilist: New file.
15135         * sysdeps/nacl/libpthread.abilist: New file.
15136         * sysdeps/nacl/libresolv.abilist: New file.
15137         * sysdeps/nacl/librt.abilist: New file.
15138
15139 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15140
15141         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15142         __startcontext to initialize the new context.
15143         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15144         up CFI directive to forbid further backtracing.
15145
15146 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15147
15148         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15149         reference.
15150         * charmaps/ANSI_X3.4-1968: Likewise.
15151         * charmaps/BS_4730: Likewise.
15152         * charmaps/BS_VIEWDATA: Likewise.
15153         * charmaps/CP1250: Likewise.
15154         * charmaps/CP1251: Likewise.
15155         * charmaps/CP1252: Likewise.
15156         * charmaps/CP1253: Likewise.
15157         * charmaps/CP1254: Likewise.
15158         * charmaps/CP1255: Likewise.
15159         * charmaps/CP1256: Likewise.
15160         * charmaps/CSN_369103: Likewise.
15161         * charmaps/EBCDIC-DK-NO: Likewise.
15162         * charmaps/GB_1988-80: Likewise.
15163         * charmaps/GREEK-CCITT: Likewise.
15164         * charmaps/GREEK7: Likewise.
15165         * charmaps/INIS-8: Likewise.
15166         * charmaps/ISIRI-3342: Likewise.
15167         * charmaps/ISO_2033-1983: Likewise.
15168         * charmaps/ISO_5427-EXT: Likewise.
15169         * locales/POSIX: Likewise.
15170         * locales/ar_SA: Likewise.
15171         * locales/be_BY: Likewise.
15172         * locales/be_BY@latin: Likewise.
15173         * locales/ca_ES: Likewise.
15174         * locales/cs_CZ: Likewise.
15175         * locales/da_DK: Likewise.
15176         * locales/de_BE: Likewise.
15177         * locales/de_CH: Likewise.
15178         * locales/de_LU: Likewise.
15179         * locales/en_AU: Likewise.
15180         * locales/en_BW: Likewise.
15181         * locales/en_CA: Likewise.
15182         * locales/en_DK: Likewise.
15183         * locales/en_GB: Likewise.
15184         * locales/en_IE: Likewise.
15185         * locales/en_NZ: Likewise.
15186         * locales/en_ZA: Likewise.
15187         * locales/en_ZW: Likewise.
15188         * locales/es_AR: Likewise.
15189         * locales/es_BO: Likewise.
15190         * locales/es_CL: Likewise.
15191         * locales/es_CO: Likewise.
15192         * locales/es_DO: Likewise.
15193         * locales/es_EC: Likewise.
15194         * locales/es_ES: Likewise.
15195         * locales/es_HN: Likewise.
15196         * locales/es_MX: Likewise.
15197         * locales/es_PA: Likewise.
15198         * locales/es_PE: Likewise.
15199         * locales/es_PY: Likewise.
15200         * locales/es_SV: Likewise.
15201         * locales/es_US: Likewise.
15202         * locales/es_UY: Likewise.
15203         * locales/es_VE: Likewise.
15204         * locales/et_EE: Likewise.
15205         * locales/fa_IR: Likewise.
15206         * locales/fo_FO: Likewise.
15207         * locales/fr_CA: Likewise.
15208         * locales/fr_CH: Likewise.
15209         * locales/gv_GB: Likewise.
15210         * locales/he_IL: Likewise.
15211         * locales/hr_HR: Likewise.
15212         * locales/id_ID: Likewise.
15213         * locales/is_IS: Likewise.
15214         * locales/it_CH: Likewise.
15215         * locales/iw_IL: Likewise.
15216         * locales/kl_GL: Likewise.
15217         * locales/ko_KR: Likewise.
15218         * locales/kw_GB: Likewise.
15219         * locales/lg_UG: Likewise.
15220         * locales/lt_LT: Likewise.
15221         * locales/lv_LV: Likewise.
15222         * locales/mi_NZ: Likewise.
15223         * locales/nhn_MX: Likewise.
15224         * locales/nl_BE: Likewise.
15225         * locales/pl_PL: Likewise.
15226         * locales/sk_SK: Likewise.
15227         * locales/sl_SI: Likewise.
15228         * locales/sv_FI: Likewise.
15229         * locales/tl_PH: Likewise.
15230         * locales/tr_TR: Likewise.
15231         * locales/vi_VN: Likewise.
15232
15233 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15234
15235         [BZ #17475]
15236         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15237         of tu_IN and bh_IN.
15238
15239 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15240
15241         [BZ #18694]
15242         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15243         bits/wordsize.h.
15244         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15245
15246 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15247
15248         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15249         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15250         (spawn_thread): New function.
15251         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15252         (do_test): ... here.  Use IS_LOADED to test for its
15253         availability.
15254
15255 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15256
15257         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15258
15259 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15260
15261         [BZ #18696]
15262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15263         si_addr_bnd.
15264         (si_lower): New.
15265         (si_upper): Likewise.
15266
15267 2015-07-16  David S. Miller  <davem@davemloft.net>
15268
15269         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15270
15271 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15272
15273         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15274         buffer.
15275         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15276         fail output information.
15277
15278 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15279
15280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15281         and strstr-ppc64..
15282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15283         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15284         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15285         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15286         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15287
15288 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15289
15290         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15291         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15292         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15293         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15294
15295 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15296
15297         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15298         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15299         rtld_hidden_proto.
15300         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15301
15302 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303
15304         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15305         the test can fail.
15306
15307         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15308
15309         [BZ #18676]
15310         * elf/tst-nodelete-opened.c: New test case.
15311         * elf/tst-nodelete-opened-lib.c: New test case module.
15312         * elf/Makefile (tests, modules-names): Use them.
15313         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15314         early.
15315
15316 2015-07-15  David S. Miller  <davem@davemloft.net>
15317
15318         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15319         futex-intenal.h
15320         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15321         * sysdeps/sparc/sparc64/Makefile: Likewise.
15322         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15323         Remove space from macro define.
15324         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15325
15326 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15327
15328         [BZ #17475]
15329         * locale/iso-639.def: Update Bhili and Tulu language codes as
15330         per iso639-3.
15331
15332 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15333
15334         * elf/tst-leaks1.c (main): Converted to ...
15335         (do_test): ... this.
15336         (TEST_FUNCTION): New macro.
15337         Include test-skeleton.c.
15338         * localedata/tst-langinfo.c (main): Converted to ...
15339         (do_test): ... this.
15340         (TEST_FUNCTION): New macro.
15341         Include test-skeleton.c.
15342         * math/test-fpucw.c (main): Converted to ...
15343         (do_test): ... this.
15344         (TEST_FUNCTION): New macro.
15345         Include test-skeleton.c.
15346         * math/test-tgmath.c (main): Converted to ...
15347         (do_test): ... this.
15348         (TEST_FUNCTION): New macro.
15349         Include test-skeleton.c.
15350         * math/test-tgmath2.c (main): Converted to ...
15351         (do_test): ... this.
15352         (TEST_FUNCTION): New macro.
15353         Include test-skeleton.c.
15354         * setjmp/tst-setjmp.c (main): Converted to ...
15355         (do_test): ... this.
15356         (TEST_FUNCTION): New macro.
15357         Include test-skeleton.c.
15358         * stdio-common/tst-sscanf.c (main): Converted to ...
15359         (do_test): ... this.
15360         (TEST_FUNCTION): New macro.
15361         Include test-skeleton.c.
15362         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15363         (do_test): ... this.
15364         (TEST_FUNCTION): New macro.
15365         Include test-skeleton.c.
15366
15367         * elf/tst-audit9.c (main): Converted to ...
15368         (do_test): ... this.
15369         (TEST_FUNCTION): New macro.
15370         Include test-skeleton.c.
15371
15372 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15373
15374         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15375
15376 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15377
15378         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15379         New variable.
15380
15381 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15382
15383         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15384
15385 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15386
15387         * sysdeps/generic/dl-fileid.h: New file.
15388         * sysdeps/posix/dl-fileid.h: New file.
15389         * sysdeps/nacl/dl-fileid.h: New file.
15390         * include/link.h: Include <dl-fileid.h>.
15391         (struct link_map): Replace l_dev and l_ino with l_file_id.
15392         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15393         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15394         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15395
15396 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397
15398         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15399
15400 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15401
15402         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15403         Add iff $CXX is set.
15404         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15405         Likewise.
15406         (tst-nodelete-zmodiff): Likewise.
15407         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15408
15409 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15410
15411         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15412
15413 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15414
15415         * sysdeps/aarch64/fpu/math_private.h
15416         (define math_opt_barrier): Add AArch64 version.
15417         (math_force_eval): Likewise.
15418
15419 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15420
15421         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15422
15423 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15424
15425         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15426         %ld with %jd and cast to intmax_t.
15427         (do_test_length_zero): Likewise.
15428
15429 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15430
15431         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15432
15433 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15434
15435         * sysdeps/tile/libm-test-ulps: Regenerated.
15436
15437         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15438         Comment out the whole function, not just its body.
15439
15440 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15441
15442         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15443         locks.
15444
15445         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15446
15447 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15448
15449         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15450         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15451
15452 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15453
15454         * sysdeps/nptl/futex-internal.h: New file.
15455         * sysdeps/nacl/futex-internal.h: New file.
15456         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15457         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15458         error checking.
15459         (setxid_unmark_thread): Likewise.
15460         (__nptl_setxid): Likewise.
15461         (__wait_lookup_done): Likewise.
15462         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15463         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15464         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15465         * nptl/pthread_once.c (clear_once_control): Likewise.
15466         (__pthread_once_slow): Likewise.
15467         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15468         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15469         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15470         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15471         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15472         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15473         Likewise.
15474         (__pthread_rwlock_rdlock): Likewise.
15475         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15476         Likewise.
15477         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15478         Likewise.
15479         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15480         Likewise.
15481         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15482         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15483         Likewise.
15484         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15485         __ASSUME_PRIVATE_FUTEX check.
15486         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15487         Check that shared futexes are supported.
15488         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15489         wrappers with error checking.
15490         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15491         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15492         * nptl/pthread_barrierattr_setpshared.c
15493         (pthread_barrierattr_setpshared): Check that shared futexes are
15494         supported.
15495         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15496         Likewise.
15497         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15498         Likewise.
15499         * nptl/sem_init.c (futex_private_if_supported): Remove.
15500         (__new_sem_init): Adapt and check that shared futexes are supported.
15501         * nptl/sem_open.c (sem_open): Likewise.
15502         * nptl/sem_post.c (futex_wake): Remove.
15503         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15504         (do_futex_wait): Use futex wrappers with error checking.
15505         * nptl/sem_wait.c: Include lowlevellock.h.
15506         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15507         Use futex_supports_pshared.
15508         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15509         Use futex wrappers with error checking.
15510         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15511         Likewise.
15512         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15513         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15514         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15515         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15516         (futex_wake): Likewise.
15517         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15518         (do_futex_wait): Use futex wrappers with error checking.
15519         (__new_sem_wait_slow): Update EINTR handling.
15520         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15521
15522 2015-07-09  Martin Sebor  <msebor@redhat.com>
15523
15524         [BZ #18435]
15525         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15526         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15527         * nptl/Makefile (test-xfail-tst-once5): Define.
15528
15529 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15530
15531         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15532         * elf/dl-minimal.c: For readability, reorder some definitions and
15533         introduce more page breaks.  Include <stdio.h>.
15534         (__libc_fatal): New function.
15535
15536         * include/unistd.h: Add rtld_hidden_proto for _exit.
15537         * posix/_exit.c: Add rtld_hidden_def.
15538         * sysdeps/mach/hurd/_exit.c: Likewise.
15539         * sysdeps/nacl/_exit.c: Likewise.
15540         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15541         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15542
15543 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15544
15545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15546         bndmov encoding with zero displacement.
15547
15548 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15549             H.J. Lu  <hongjiu.lu@intel.com>
15550
15551         [BZ #18134]
15552         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15553         * sysdeps/i386/configure: Regenerated.
15554         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15555         (_dl_runtime_profile): Save and restore Intel MPX return bound
15556         registers when calling _dl_call_pltexit.  Add
15557         PRESERVE_BND_REGS_PREFIX before return.
15558         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15559         (LRV_BND1_OFFSET): Likewise.
15560         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15561         lrv_bnd1.
15562         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15563         typo in bndmov encoding.
15564         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15565         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15566         branch instructions to preserve bounds.
15567
15568 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15569
15570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15571         [GLIBC_2.22]: Add fmemopen.
15572
15573 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15574
15575         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15576         returns an error, also try to use host port from __mach_host_self for
15577         the __vm_wire call.
15578         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15579
15580 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15581
15582         [BZ #18400]
15583         [BZ #18648]
15584         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15585         Fix pr_uid and pr_gid members.
15586         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15587         definition to elf_greg_t.
15588
15589 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15590
15591         [BZ #18383]
15592         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15593         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15594         * sysdeps/arm/configure: Regenerated.
15595         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15596         (test-xfail-tst-tlsalign-static): Variable removed.
15597
15598         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15599         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15600         rather than explicit 'ln -s'.
15601
15602         * resolv/rpc/netdb.h: New file.
15603         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15604
15605 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15606
15607         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15608         length buffers.
15609         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15610         test-skeleton.c.
15611
15612         [BZ #6544]
15613         [BZ #11216]
15614         [BZ #12836]
15615         [BZ #13151]
15616         [BZ #13152]
15617         [BZ #14292]
15618         * include/stdio.h (fmemopen): Remove hidden prototype.
15619         (__fmemopen): Add new hidden prototype.
15620         * libio/Makefile: Add oldfmemopen object.
15621         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15622         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15623         compliance.
15624         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15625         symbol compatibility.
15626         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15627         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15628         fmemopen.
15629         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15630         on append and read mode.
15631         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15632         fmemopen.
15633         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15634         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15635         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15636         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15637         Likewise.
15638         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15639         [GLIBC_2.22]: Likewise.
15640         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15641         Likewise.
15642         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15645         [GLIBC_2.22]: Likewise.
15646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15647         [GLIBC_2.22]: Likewise.
15648         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15649         [GLIBC_2.22]: Likewise.
15650         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15651         [GLIBC_2.22]: Likewise.
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15653         [GLIBC_2.22]: Likewise.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15655         [GLIBC_2.22]: Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15657         [GLIBC_2.22]: Likewise.
15658         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15659         Likewise.
15660         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15661         Likewise.
15662         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15663         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15664         [GLIBC_2.22]: Likewise.
15665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15666         [GLIBC_2.22]: Likewise.
15667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15668         [GLIBC_2.22]: Likewise.
15669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15670         [GLIBC_2.22]: Likewise.
15671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15672         Likewise.
15673         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15674         Likewise.
15675         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15676         Likewise.
15677         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15678         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15679
15680 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15681
15682         [BZ #18643]
15683         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15684         IPV6_PATHMTU, and IPV6_DONTFRAG.
15685
15686 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15687
15688         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15689         and _IO_UNBUFFERED.
15690         * libio/oldfileops.c: Likewise.
15691         * libio/wfileops.c: Likewise.
15692
15693 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15694
15695         * nscd/selinux.c: Delete selinux/flask.h include.
15696
15697 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15698
15699         [BZ #18641]
15700         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15701         (putpwent): Likewise.
15702         (getpwnam): Likewise.
15703         (getpwent_r): Likewise.
15704         (getpwuid_r): Likewise.
15705         (getpwnam_r): Likewise.
15706         (fgetpwent_r): Likewise.
15707
15708 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15709
15710         [BZ #18557]
15711         * inet/rcmd.c (__validuser2_sa): Check user first to
15712         short-circuit host check.
15713
15714 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15715             Mikhail Ilin  <m.ilin@samsung.com>
15716
15717         [BZ #17833]
15718         * elf/Makefile (tests): Add tst-nodelete.
15719         (modules-names): Add tst-nodelete-uniquemod.
15720         (tst-nodelete-uniquemod.so-no-z-defs): New.
15721         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15722         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15723         ($(objpfx)tst-nodelete): Likewise.
15724         ($(objpfx)tst-nodelete.out): Likewise.
15725         (LDFLAGS-tst-nodelete): Likewise.
15726         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15727         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15728         implement forced object deletion.
15729         (_dl_close): Pass false to _dl_close_worker.
15730         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15731         * elf/tst-nodelete.cc: New file.
15732         * elf/tst-nodeletelib.cc: Likewise.
15733         * elf/tst-znodeletelib.cc: Likewise.
15734         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15735
15736 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15737
15738         [BZ #18508]
15739         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15740         Depend on $(libdl).
15741         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15742         is not called infinitely times.
15743         (backtrace_helper): New function.
15744         (trace_arg): New struct.
15745         (st1): Enlarge stack size.
15746         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15747         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15748         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15749         Likewise.
15750
15751 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15752
15753         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15754
15755 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15756
15757         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15758         Include sys/types.h instead of bits/types.h.
15759         Remove inclusion of bits/wordsize.h.
15760
15761 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15762
15763         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15764         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15765         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15766         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15767         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15768         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15769
15770 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15771
15772         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15773         link-defines.sym.
15774         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15775         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15776         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15777         and LR_SIZE.
15778         * sysdeps/i386/link-defines.sym: New file.
15779
15780 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15781
15782         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15783         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15784         ($(objpfx)tst-audit3): New rule.
15785         ($(objpfx)tst-audit3.out): Likewise.
15786         * sysdeps/i386/tst-audit3.c: New file.
15787         * sysdeps/i386/tst-audit3.h: Likewise.
15788         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15789         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15790
15791 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15792
15793         [BZ #18633]
15794         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15795         pointer in C code.
15796         (__strcat_c): Likewise.
15797         (__strcat_g): Likewise.
15798
15799 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15800
15801         [BZ #18592]
15802         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15803
15804 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15805
15806         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15807         New function.  (__ieee754_sqrtf): New function.
15808         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15809         New function.
15810         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15811         New function.
15812
15813 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15814
15815         * sysdeps/ieee754/support.c: Remove unused file.
15816
15817 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15818
15819         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15820         registers instead of d ones so the layout is kernel abi compatible.
15821         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15822         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15823         Likewise.
15824
15825 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15826
15827         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15828
15829 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15830
15831         [BZ #18619]
15832         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15833         and return argument in case of subnormal argument.
15834
15835 2015-07-01  Martin Sebor  <msebor@redhat.com>
15836
15837         [BZ #18435]
15838         * nptl/Makefile: Add tst-once5.cc.
15839         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15840         Remove macro redefinitions.
15841         * nptl/tst-once5.cc: New test.
15842
15843 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15844
15845         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15846
15847         * sysdeps/arm/libm-test-ulps: Regenerated.
15848
15849         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15850         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15851
15852 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15853
15854         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15855         lll_lock_wait_private and lll_futex_wake probes.
15856
15857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15858         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15859         Likewise.
15860         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15861         atomic_spin_nop.
15862         * sysdeps/x86_64/bits/atomic.h: Likewise.
15863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15864         to atomic_spin_nop and move ...
15865         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15866         ... here and ...
15867         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15868         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15869         atomic_spin_nop instead of BUSY_WAIT_NOP.
15870         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15871         Likewise.
15872         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15873         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15874         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15875         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15876         instead of atomic_delay.
15877
15878 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15879
15880         [BZ #18613]
15881         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15882         X_ADJ not X when adjusting exponent.
15883         (__ieee754_gamma_r): Do intermediate computations in
15884         round-to-nearest then adjust overflowing and underflowing results
15885         as needed.
15886         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15887         of X_ADJ not X when adjusting exponent.
15888         (__ieee754_gammaf_r): Do intermediate computations in
15889         round-to-nearest then adjust overflowing and underflowing results
15890         as needed.
15891         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15892         log of X_ADJ not X when adjusting exponent.
15893         (__ieee754_gammal_r): Do intermediate computations in
15894         round-to-nearest then adjust overflowing and underflowing results
15895         as needed.  Use 1.0L not 1.0f as numerator of division.
15896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15897         log of X_ADJ not X when adjusting exponent.
15898         (__ieee754_gammal_r): Do intermediate computations in
15899         round-to-nearest then adjust overflowing and underflowing results
15900         as needed.  Use 1.0L not 1.0f as numerator of division.
15901         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15902         of X_ADJ not X when adjusting exponent.
15903         (__ieee754_gammal_r): Do intermediate computations in
15904         round-to-nearest then adjust overflowing and underflowing results
15905         as needed.  Use 1.0L not 1.0f as numerator of division.
15906         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15907         to auto-libm-test-in.
15908         (tgamma_test): Use ALL_RM_TEST.
15909         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15910         tests of tgamma with spurious-overflow.
15911         * math/auto-libm-test-out: Regenerated.
15912         * math/gen-libm-have-vector-test.sh: Do not check for START.
15913         * sysdeps/i386/fpu/libm-test-ulps: Update.
15914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15915
15916         [BZ #18612]
15917         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15918         arguments, just return 0.5 times the argument, with underflow
15919         forced as needed.
15920         * math/auto-libm-test-in: Add more tests of j1.
15921         * math/auto-libm-test-out: Regenerated.
15922
15923         [BZ #16559]
15924         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15925         (__ieee754_j1): Force underflow exception for small results.
15926         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15927         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15928         (__ieee754_j1f): Force underflow exception for small results.
15929         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15930         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15933         (__ieee754_j1l): Force underflow exception for small results.
15934         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15935         * math/auto-libm-test-in: Add more tests of j1 and jn.
15936         * math/auto-libm-test-out: Regenerated.
15937
15938         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15940         (PF_MPLS): Likewise.
15941         (AF_IB): Likewise.
15942         (AF_MPLS): Likewise.
15943         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15944         value and macro.
15945         (MS_RMT_MASK): Include MS_LAZYTIME.
15946
15947 2015-06-26  Mel Gorman  <mgorman@suse.de>
15948
15949         [BZ #18502]
15950         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15951         already minimal.
15952
15953 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15954
15955         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15956         (DT_MIPS_NUM): Update.
15957         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15958         DT_MIPS_RLD_MAP_REL.
15959
15960 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15961
15962         [BZ #16559]
15963         [BZ #18602]
15964         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15965         round-to-nearest internally then recompute results that
15966         underflowed to zero in the original rounding mode.
15967         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15971         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15972         * sysdeps/i386/fpu/libm-test-ulps: Update.
15973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15974
15975 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15976
15977         * NEWS: Fixed description of link with vector math library.
15978
15979 2015-06-25  Andreas Schwab  <schwab@suse.de>
15980
15981         [BZ #18549]
15982         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15983         * libio/test-fmemopen.c (do_test): Add test for it.
15984
15985 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15986
15987         [BZ #17841]
15988         * Makeconfig (no-pie-ldflag): New.
15989         (+link): Set to $(+link-pie) if default to PIE.
15990         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15991         * config.make.in (build-pie-default): New.
15992         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15993         is default.  AC_SUBST.
15994         * configure: Regenerated.
15995         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15996
15997 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15998
15999         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16000         to 'unsigned int'.
16001
16002         * resolv/gai_misc.h (struct waitlist): Change type of field
16003         counterp to 'volatile unsigned int *'.
16004         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16005         FUTEXADDR and OLDVAL.
16006         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16007         Give local variable TOTAL type 'volatile unsigned int'.
16008         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16009         * resolv/gai_suspend.c (gai_suspend):
16010         Give local variable CNTR type 'unsigned int'.
16011
16012         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16013         counterp to 'volatile unsigned int *'.
16014         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16015         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16016         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16017         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16018         Give local variable TOTAL type 'volatile unsigned int'.
16019         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16020
16021 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16022
16023         [BZ #18383]
16024         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16025         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16026         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16027         comment for i386/x86-64.
16028         (test-xfail-tst-tlsalign-extern-static): Removed.
16029
16030 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16031
16032         * math/test-double.h: New file.
16033         * math/test-float.h: Likewise.
16034         * math/test-ldouble.h: Likewise.
16035         * math/test-math-inline.h: Likewise.
16036         * math/test-math-no-inline.h: Likewise.
16037         * math/test-math-scalar.h: Likewise.
16038         * math/test-math-vector.h: Likewise.
16039         * math/test-vec-loop.h: Remove file.  Contents moved into
16040         test-math-vector.h.
16041         * math/libm-test.inc (MATHCONST): Do not document macro.
16042         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16043         and test-math-scalar.h.
16044         (FUNC): Remove macro.
16045         (FUNC_TEST): Likewise.
16046         (FLOAT): Likewise.
16047         (MATHCONST): Likewise.
16048         (PRINTF_EXPR): Likewise.
16049         (PRINTF_XEXPR): Likewise.
16050         (PRINTF_NEXPR): Likewise.
16051         (TEST_DOUBLE): Likewise.
16052         (TEST_MATHVEC): Likewise.
16053         (__NO_MATH_INLINES): Likewise.
16054         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16055         and test-math-scalar.h.
16056         (FUNC): Remove macro.
16057         (FUNC_TEST): Likewise.
16058         (FLOAT): Likewise.
16059         (MATHCONST): Likewise.
16060         (PRINTF_EXPR): Likewise.
16061         (PRINTF_XEXPR): Likewise.
16062         (PRINTF_NEXPR): Likewise.
16063         (TEST_FLOAT): Likewise.
16064         (TEST_MATHVEC): Likewise.
16065         (__NO_MATH_INLINES): Likewise.
16066         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16067         and test-math-scalar.h.
16068         (FUNC): Remove macro.
16069         (FUNC_TEST): Likewise.
16070         (FLOAT): Likewise.
16071         (MATHCONST): Likewise.
16072         (PRINTF_EXPR): Likewise.
16073         (PRINTF_XEXPR): Likewise.
16074         (PRINTF_NEXPR): Likewise.
16075         (TEST_DOUBLE): Likewise.
16076         (TEST_MATHVEC): Likewise.
16077         (TEST_INLINE): Likewise.
16078         (__NO_MATH_INLINES): Likewise.
16079         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16080         test-math-scalar.h.
16081         (FUNC): Remove macro.
16082         (FUNC_TEST): Likewise.
16083         (FLOAT): Likewise.
16084         (MATHCONST): Likewise.
16085         (PRINTF_EXPR): Likewise.
16086         (PRINTF_XEXPR): Likewise.
16087         (PRINTF_NEXPR): Likewise.
16088         (TEST_FLOAT): Likewise.
16089         (TEST_MATHVEC): Likewise.
16090         (TEST_INLINE): Likewise.
16091         (__NO_MATH_INLINES): Likewise.
16092         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16093         and test-math-scalar.h.
16094         (FUNC): Remove macro.
16095         (FUNC_TEST): Likewise.
16096         (FLOAT): Likewise.
16097         (MATHCONST): Likewise.
16098         (PRINTF_EXPR): Likewise.
16099         (PRINTF_XEXPR): Likewise.
16100         (PRINTF_NEXPR): Likewise.
16101         (TEST_LDOUBLE): Likewise.
16102         (TEST_MATHVEC): Likewise.
16103         (TEST_INLINE): Likewise.
16104         (__NO_MATH_INLINES): Likewise.
16105         * math/test-ldouble.c: Include test-ldouble.h,
16106         test-math-no-inline.h and test-math-scalar.h.
16107         (FUNC): Remove macro.
16108         (FUNC_TEST): Likewise.
16109         (FLOAT): Likewise.
16110         (MATHCONST): Likewise.
16111         (PRINTF_EXPR): Likewise.
16112         (PRINTF_XEXPR): Likewise.
16113         (PRINTF_NEXPR): Likewise.
16114         (TEST_LDOUBLE): Likewise.
16115         (TEST_MATHVEC): Likewise.
16116         (__NO_MATH_INLINES): Likewise.
16117         * math/test-double-vlen2.h: Include test-double.h,
16118         test-math-no-inline.h and test-math-vector.h.
16119         (FLOAT): Remove macro.
16120         (FUNC): Likewise.
16121         (MATHCONST): Likewise.
16122         (PRINTF_EXPR): Likewise.
16123         (PRINTF_XEXPR): Likewise.
16124         (PRINTF_NEXPR): Likewise.
16125         (TEST_DOUBLE): Likewise.
16126         (TEST_MATHVEC): Likewise.
16127         (__NO_MATH_INLINES): Likewise.
16128         (CNCT): Likewise.
16129         (CONCAT): Likewise.
16130         (WRAPPER_NAME): Likewise.
16131         (WRAPPER_DECL): Likewise.
16132         (WRAPPER_DECL_ff): Likewise.
16133         (WRAPPER_DECL_fFF): Likewise.
16134         (VECTOR_WRAPPER): Likewise.
16135         (VECTOR_WRAPPER_ff): Likewise.
16136         (VECTOR_WRAPPER_fFF): Likewise.
16137         (VEC_LEN): New macro.
16138         * math/test-double-vlen4.h: Include test-double.h,
16139         test-math-no-inline.h and test-math-vector.h.
16140         (FLOAT): Remove macro.
16141         (FUNC): Likewise.
16142         (MATHCONST): Likewise.
16143         (PRINTF_EXPR): Likewise.
16144         (PRINTF_XEXPR): Likewise.
16145         (PRINTF_NEXPR): Likewise.
16146         (TEST_DOUBLE): Likewise.
16147         (TEST_MATHVEC): Likewise.
16148         (__NO_MATH_INLINES): Likewise.
16149         (CNCT): Likewise.
16150         (CONCAT): Likewise.
16151         (WRAPPER_NAME): Likewise.
16152         (WRAPPER_DECL): Likewise.
16153         (WRAPPER_DECL_ff): Likewise.
16154         (WRAPPER_DECL_fFF): Likewise.
16155         (VECTOR_WRAPPER): Likewise.
16156         (VECTOR_WRAPPER_ff): Likewise.
16157         (VECTOR_WRAPPER_fFF): Likewise.
16158         (VEC_LEN): New macro.
16159         * math/test-double-vlen8.h: Include test-double.h,
16160         test-math-no-inline.h and test-math-vector.h.
16161         (FLOAT): Remove macro.
16162         (FUNC): Likewise.
16163         (MATHCONST): Likewise.
16164         (PRINTF_EXPR): Likewise.
16165         (PRINTF_XEXPR): Likewise.
16166         (PRINTF_NEXPR): Likewise.
16167         (TEST_DOUBLE): Likewise.
16168         (TEST_MATHVEC): Likewise.
16169         (__NO_MATH_INLINES): Likewise.
16170         (CNCT): Likewise.
16171         (CONCAT): Likewise.
16172         (WRAPPER_NAME): Likewise.
16173         (WRAPPER_DECL): Likewise.
16174         (WRAPPER_DECL_ff): Likewise.
16175         (WRAPPER_DECL_fFF): Likewise.
16176         (VECTOR_WRAPPER): Likewise.
16177         (VECTOR_WRAPPER_ff): Likewise.
16178         (VECTOR_WRAPPER_fFF): Likewise.
16179         (VEC_LEN): New macro.
16180         * math/test-float-vlen4.h: Include test-float.h,
16181         test-math-no-inline.h and test-math-vector.h.
16182         (FLOAT): Remove macro.
16183         (FUNC): Likewise.
16184         (MATHCONST): Likewise.
16185         (PRINTF_EXPR): Likewise.
16186         (PRINTF_XEXPR): Likewise.
16187         (PRINTF_NEXPR): Likewise.
16188         (TEST_FLOAT): Likewise.
16189         (TEST_MATHVEC): Likewise.
16190         (__NO_MATH_INLINES): Likewise.
16191         (CNCT): Likewise.
16192         (CONCAT): Likewise.
16193         (WRAPPER_NAME): Likewise.
16194         (WRAPPER_DECL): Likewise.
16195         (WRAPPER_DECL_ff): Likewise.
16196         (WRAPPER_DECL_fFF): Likewise.
16197         (VECTOR_WRAPPER): Likewise.
16198         (VECTOR_WRAPPER_ff): Likewise.
16199         (VECTOR_WRAPPER_fFF): Likewise.
16200         (VEC_LEN): New macro.
16201         * math/test-float-vlen8.h: Include test-float.h,
16202         test-math-no-inline.h and test-math-vector.h.
16203         (FLOAT): Remove macro.
16204         (FUNC): Likewise.
16205         (MATHCONST): Likewise.
16206         (PRINTF_EXPR): Likewise.
16207         (PRINTF_XEXPR): Likewise.
16208         (PRINTF_NEXPR): Likewise.
16209         (TEST_FLOAT): Likewise.
16210         (TEST_MATHVEC): Likewise.
16211         (__NO_MATH_INLINES): Likewise.
16212         (CNCT): Likewise.
16213         (CONCAT): Likewise.
16214         (WRAPPER_NAME): Likewise.
16215         (WRAPPER_DECL): Likewise.
16216         (WRAPPER_DECL_ff): Likewise.
16217         (WRAPPER_DECL_fFF): Likewise.
16218         (VECTOR_WRAPPER): Likewise.
16219         (VECTOR_WRAPPER_ff): Likewise.
16220         (VECTOR_WRAPPER_fFF): Likewise.
16221         (VEC_LEN): New macro.
16222         * math/test-float-vlen16.h: Include test-float.h,
16223         test-math-no-inline.h and test-math-vector.h.
16224         (FLOAT): Remove macro.
16225         (FUNC): Likewise.
16226         (MATHCONST): Likewise.
16227         (PRINTF_EXPR): Likewise.
16228         (PRINTF_XEXPR): Likewise.
16229         (PRINTF_NEXPR): Likewise.
16230         (TEST_FLOAT): Likewise.
16231         (TEST_MATHVEC): Likewise.
16232         (__NO_MATH_INLINES): Likewise.
16233         (CNCT): Likewise.
16234         (CONCAT): Likewise.
16235         (WRAPPER_NAME): Likewise.
16236         (WRAPPER_DECL): Likewise.
16237         (WRAPPER_DECL_ff): Likewise.
16238         (WRAPPER_DECL_fFF): Likewise.
16239         (VECTOR_WRAPPER): Likewise.
16240         (VECTOR_WRAPPER_ff): Likewise.
16241         (VECTOR_WRAPPER_fFF): Likewise.
16242         (VEC_LEN): New macro.
16243         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16244         test-vec-loop.h.
16245         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16247         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16248         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16249         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16251         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16252
16253 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16254
16255         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16256         (__getlogin_r): ... this.
16257
16258 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16259
16260         [BZ #18594]
16261         * math/s_ccosh.c (__ccosh): Compare with least normal value
16262         instead of comparing class with FP_SUBNORMAL.
16263         * math/s_ccoshf.c (__ccoshf): Likewise.
16264         * math/s_ccoshl.c (__ccoshl): Likewise.
16265         * math/s_cexp.c (__cexp): Likewise.
16266         * math/s_cexpf.c (__cexpf): Likewise.
16267         * math/s_cexpl.c (__cexpl): Likewise.
16268         * math/s_csin.c (__csin): Likewise.
16269         * math/s_csinf.c (__csinf): Likewise.
16270         * math/s_csinh.c (__csinh): Likewise.
16271         * math/s_csinhf.c (__csinhf): Likewise.
16272         * math/s_csinhl.c (__csinhl): Likewise.
16273         * math/s_csinl.c (__csinl): Likewise.
16274         * math/s_ctan.c (__ctan): Likewise.
16275         * math/s_ctanf.c (__ctanf): Likewise.
16276         * math/s_ctanh.c (__ctanh): Likewise.
16277         * math/s_ctanhf.c (__ctanhf): Likewise.
16278         * math/s_ctanhl.c (__ctanhl): Likewise.
16279         * math/s_ctanl.c (__ctanl): Likewise.
16280         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16281         csin, csinh, ctan and ctanh.
16282         * math/auto-libm-test-out: Regenerated.
16283         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16284         * sysdeps/i386/fpu/libm-test-ulps: Update.
16285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286
16287 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16288
16289         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16290         return value is wrong, print the expected value too.
16291
16292 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16293
16294         [BZ #18585]
16295         * elf/readlib.c (is_gdb_python_file): New.
16296         (process_file): Don't issue errors on filenames with -gdb.py
16297         suffix.
16298
16299 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16300
16301         * math/auto-libm-test-in: Add more tests of csin and csinh.
16302         * math/auto-libm-test-out: Regenerated.
16303         * math/libm-test.inc (csin_test_data): Remove tests moved to
16304         auto-libm-test-in.
16305         (csinh_test_data): Likewise.
16306
16307         [BZ #18593]
16308         * math/s_csin.c (__csin): Negate before rather than after possibly
16309         overflowing multiplication.
16310         * math/s_csinf.c (__csinf): Likewise.
16311         * math/s_csinh.c (__csinh): Likewise.
16312         * math/s_csinhf.c (__csinhf): Likewise.
16313         * math/s_csinhl.c (__csinhl): Likewise.
16314         * math/s_csinl.c (__csinl): Likewise.
16315         * math/auto-libm-test-in: Add some tests of csin and csinh.
16316         * math/auto-libm-test-out: Regenerated.
16317         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16318         (csinh_test_data): Likewise.
16319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16320
16321         [BZ #18586]
16322         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16323         underflow exception for small results.
16324
16325 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16326
16327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16328         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16329         variable and included header.
16330         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16332         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16333         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16334         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16336         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16338         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16339         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16340         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16341         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16342         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16343         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16344         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16345         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16346
16347 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16348
16349         [BZ #16526]
16350         [BZ #16538]
16351         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16352         (__sin): Force underflow exception for arguments with small
16353         absolute value.
16354         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16355         (__kernel_sinf): Force underflow exception for arguments with
16356         small absolute value.
16357         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16358         (__kernel_sincosl): Force underflow exception for arguments with
16359         small absolute value.
16360         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16361         (__kernel_sinl): Force underflow exception for arguments with
16362         small absolute value.
16363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16364         (__kernel_sincosl): Force underflow exception for arguments with
16365         small absolute value.
16366         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16367         (__kernel_sinl): Force underflow exception for arguments with
16368         small absolute value.
16369         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16370         (__kernel_sinl): Force underflow exception for arguments with
16371         small absolute value.
16372         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16373         (__kernel_sinf): Force underflow exception for arguments with
16374         small absolute value.
16375         * math/auto-libm-test-in: Add more tests of sin and sincos.
16376         * math/auto-libm-test-out: Regenerated.
16377
16378         [BZ #18245]
16379         [BZ #18583]
16380         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16381         (__kernel_standard_l): Use feholdexcept and fesetenv around
16382         conversion to double instead of special-casing overflow and
16383         underflow.
16384         * math/libm-test.inc (fmod_test_data): Add more tests.
16385         (remainder_test_data): Likewise.
16386         (sqrt_test_data): Likewise.
16387
16388 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16389
16390         [BZ #17403]
16391         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16392         atomic_read_barrier, atomic_write_barrier): Define.
16393         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16394         atomic_read_barrier, atomic_write_barrier): Define.
16395
16396 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16397
16398         * math/Makefile [$(PERL) != no]
16399         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16400         dependency on libm-test.stmp below the inclusion of Rules.
16401
16402 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16403
16404         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16405         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16406         and included header.
16407         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16408         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16415         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16416         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16417         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16418         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16419         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16420         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16421         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16422         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16423         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16424         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16425         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16426
16427 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16428
16429         [BZ #18371]
16430         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16431         intermediate but not final result might underflow.
16432         * math/s_csqrtf.c (__csqrtf): Likewise.
16433         * math/s_csqrtl.c (__csqrtl): Likewise.
16434         * math/auto-libm-test-in: Add more tests of csqrt.
16435         * math/auto-libm-test-out: Regenerated.
16436         * sysdeps/i386/fpu/libm-test-ulps: Update.
16437
16438         [BZ #18219]
16439         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16440         threshold on absolute value of exponent for which scaling is used.
16441         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16442         * math/auto-libm-test-in: Add more tests of exp2.
16443         * math/auto-libm-test-out: Regenerated.
16444
16445 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16446
16447         [BZ #17977]
16448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16449         when initializing interface list, based on the bug analysis
16450         and the patch proposed by Eric Newton.
16451         * resolv/tst-res_hconf_reorder.c: New test.
16452         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16453         tst-res_hconf_reorder.
16454         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16455         and $(shared-thread-library).
16456         (tst-res_hconf_reorder-ENV): New variable.
16457
16458         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16459         in comment.
16460
16461 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16462
16463         [BZ #16353]
16464         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16465         (__expm1): Force underflow exception for arguments with small
16466         absolute value.
16467         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16468         (__expm1f): Force underflow exception for arguments with small
16469         absolute value.
16470         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16471         (__expm1): Force underflow exception for arguments with small
16472         absolute value.
16473         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16474         (__expm1f): Force underflow exception for arguments with small
16475         absolute value.
16476         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16477         Check for small arguments before calling __expm1.
16478         * math/auto-libm-test-in: Do not mark underflow exceptions as
16479         possibly missing for bug 16353.
16480         * math/auto-libm-test-out: Regenerated.
16481
16482 2015-06-22  Andreas Schwab  <schwab@suse.de>
16483
16484         [BZ #18513]
16485         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16486         PTR queries.
16487
16488 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16489
16490         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16491
16492         * string/strcoll_l.c: Remove unused struct element idxnow.
16493
16494 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16495
16496         [BZ #18569]
16497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16498         underflow and return argument in case of subnormal argument.
16499         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16500         Likewise.
16501         * math/auto-libm-test-in: Add more tests of expm1.
16502         * math/auto-libm-test-out: Regenerated.
16503
16504         [BZ #16361]
16505         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16506         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16507         tiny results.
16508         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16509         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16510         tiny results.
16511         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16512         mark underflow exceptions as possibly missing for bug 16361.
16513         * math/auto-libm-test-out: Regenerated.
16514
16515 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16516
16517         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16518         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16519         Remove variable.
16520         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16521         (test-xfail-XOPEN2K8/utmpx.h/conform).
16522
16523         * conform/conformtest.pl ($xerrors): New variable.
16524         (note_error): New function.
16525         (compiletest): New argument $xfail.  Use not_error.
16526         (runtest): Likewise.
16527         (top level): Handle xfail- lines.  Update calls to compiletest and
16528         runtest.  Handle xfail- and optional- in headers listed with
16529         allow-header.
16530         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16531         (O_EXEC): Likewise.
16532         (O_SEARCH): Likewise.
16533         * conform/data/stropts.h-data (ioctl): Likewise.
16534         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16535         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16536         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16537         (msghdr.msg_controllen): Likewise.
16538         (cmsghdr.cmsg_len): Likewise.
16539         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16540         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16541         variable.
16542         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16543         (test-xfail-XPG4/stropts.h/conform): Likewise.
16544         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16545         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16546         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16547         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16548         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16549         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16550         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16551         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16552         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16553         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16554         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16555         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16556         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16557         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16558         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16559         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16560         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16561         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16562         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16563
16564 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16565
16566         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16567         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16568         definitions for proper unfolding of __MATHDECL_VEC.
16569
16570 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16571
16572         * benchtests/bench-strcoll.c:
16573         Include string.h.
16574         (main): Remove unused variable res.
16575
16576 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16577
16578         * timezone/Makefile (%/UTC %/Universal):
16579         Generate test-result files for UTC and Universal.
16580
16581 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16582
16583         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16584
16585 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16586
16587         [BZ #16350]
16588         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16589         for arguments with small absolute value.
16590         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16591         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16592         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16593         (__asinh): Force underflow exception for arguments with small
16594         absolute value.
16595         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16596         (__asinhf): Force underflow exception for arguments with small
16597         absolute value.
16598         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16599         (__asinhl): Force underflow exception for arguments with small
16600         absolute value.
16601         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16602         (__asinhl): Force underflow exception for arguments with small
16603         absolute value.
16604         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16605         (__asinhl): Force underflow exception for arguments with small
16606         absolute value.
16607         * math/auto-libm-test-in: Do not mark underflow exceptions as
16608         possibly missing for bug 16350.
16609         * math/auto-libm-test-out: Regenerated.
16610
16611         * include/bits/ipc.h: Remove file.
16612         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16613         variable.
16614         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16615         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16616         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16617         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16618         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16619         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16620         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16621         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16622         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16623
16624         * math/auto-libm-test-in: Remove spurious underflow allowance for
16625         tests of cexp.
16626         * math/auto-libm-test-out: Regenerated.
16627
16628         [BZ #18558]
16629         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16630         unconditional definition.
16631         (MCAST_BLOCK_SOURCE): Likewise.
16632         (MCAST_UNBLOCK_SOURCE): Likewise.
16633         (MCAST_LEAVE_GROUP): Likewise.
16634         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16635         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16636         (MCAST_MSFILTER): Likewise.
16637         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16638         Remove variable.
16639         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16640         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16641         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16642         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16643         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16644
16645 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16646
16647         * NEWS: Mention addition of x86_64 vector sincosf.
16648         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16649         * math/test-float-vlen4.h: Likewise.
16650         * math/test-float-vlen8.h: Likewise.
16651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16652         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16653         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16654         * sysdeps/x86_64/fpu/Versions: New versions added.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16656         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16657         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16664         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16665         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16666         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16667         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16668         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16669         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16670         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16671         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16672         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16673         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16674         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16675         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16677         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16678         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16679
16680         * NEWS: Mention addition of x86_64 vector sincos.
16681         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16682         * math/math.h (__MATHDECL_VEC): New macro.
16683         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16684         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16685         declaration under condition.
16686         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16687         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16688         TEST_VEC_LOOP change.
16689         * math/test-double-vlen4.h: Likewise.
16690         * math/test-double-vlen8.h: Likewise.
16691         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16692         * math/test-float-vlen4.h: Likewise.
16693         * math/test-float-vlen8.h: Likewise.
16694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16695         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16697         * sysdeps/x86_64/fpu/Versions: New versions added.
16698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16700         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16702         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16703         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16704         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16705         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16707         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16708         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16709         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16710         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16711         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16712         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16713         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16714         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16715         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16718         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16719         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16720         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16721         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16722
16723         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16724         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16725         redirections for powf.
16726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16727         * sysdeps/x86_64/fpu/Versions: New versions added.
16728         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16729         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16730         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16731         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16732         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16733         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16734         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16735         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16738         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16739         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16740         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16741         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16742         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16743         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16744         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16745         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16746         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16747         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16749         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16751         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16752         * math/test-float-vlen16.h: Fixed 2 argument macro.
16753         * math/test-float-vlen4.h: Likewise.
16754         * math/test-float-vlen8.h: Likewise.
16755         * NEWS: Mention addition of x86_64 vector powf.
16756
16757 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16758
16759         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16760         and redefine.
16761         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16762         and redefine.
16763         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16764         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16766
16767         [BZ #18553]
16768         * resource/getpriority.c (getpriority): Rename to __getpriority
16769         and define as weak alias of __getpriority.
16770         * resource/setpriority.c (setpriority): Rename to __setpriority
16771         and define as weak alias of __setpriority.
16772         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16773         __getpriority and define as weak alias of __getpriority.
16774         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16775         __setpriority and define as weak alias of __setpriority.
16776         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16777         strong name.
16778         (setpriority): Use __setpriority as strong name.
16779         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16780         __getpriority and define as weak alias of __getpriority.
16781         * include/sys/resource.h (__getpriority): Declare.  Use
16782         libc_hidden_proto.
16783         (__setpriority): Likewise.
16784         (getpriority): Don't use libc_hidden_proto.
16785         (setpriority): Likewise.
16786         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16787         getpriority.  Call __setpriority instead of setpriority.
16788         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16789         Remove variable.
16790
16791         [BZ #18547]
16792         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16793         as weak alias of __getttynam.  Use prototype function definition.
16794         Call __setttyent, __getttyent and __endttyent instead of
16795         setttyent, getttyent and endttyent.
16796         (getttyent): Rename to __getttyent and define as weak alias of
16797         __getttyent.  Call __setttyent instead of setttyent.  Call
16798         __fgets_unlocked instead of fgets_unlocked.
16799         (setttyent): Rename to __setttyent and define as weak alias of
16800         __setttyent.
16801         (endttyent): Rename to __endttyent and define as weak alias of
16802         __endttyent.
16803         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16804         (__setttyent): Likewise.
16805         (__endttyent): Likewise.
16806         (getttyent): Don't use libc_hidden_proto.
16807         (setttyent): Likewise.
16808         (endttyent): Likewise.
16809         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16810         __endttyent instead of setttyent, getttyent and endttyent.
16811         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16812         Remove variable.
16813
16814         [BZ #18546]
16815         * socket/recv.c (__recv): Use libc_hidden_def.
16816         * socket/socket.c (__socket): Likewise.
16817         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16818         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16819         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16820         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16821         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16822         libc_hidden_def.
16823         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16824         libc_hidden_weak.
16825         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16826         Use libc_hidden_proto.
16827         (__recv): Likewise.
16828         * socket/Versions (libc): Export __recv and __socket at version
16829         GLIBC_PRIVATE.
16830         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16831         instead of recv.
16832         (init_mq_netlink): Call __socket instead of socket.
16833         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16834         Remove variable.
16835
16836         [BZ #18545]
16837         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16838         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16839         hidden_weak.
16840         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16841         define as alias of __mq_timedsend.  Use hidden_weak.
16842         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16843         __mq_timedsend as strong name.
16844         (mq_timedreceive): Use __mq_timedreceive as strong name.
16845         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16846         (__mq_timedreceive): Likewise.
16847         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16848         __mq_timedreceive instead of mq_timedreceive.
16849         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16850         instead of mq_timedsend.
16851         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16852         Remove variable.
16853
16854         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16855         hidden_def and hidden_weak instead of libc_hidden_def and
16856         libc_hidden_weak.
16857         (top level): Refer to hidden_def in comment.
16858         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16859         macro.  Use it instead of libc_hidden_def.
16860         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16861         specify __GI_* name explicitly.
16862         (mq_timedreceive): Likewise.
16863         (mq_setattr): Likewise.
16864
16865         [BZ #18544]
16866         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16867         __pthread_barrier_init and define as weak alias of
16868         __pthread_barrier_init.
16869         * sysdeps/sparc/nptl/pthread_barrier_init.c
16870         (pthread_barrier_init): Likewise.
16871         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16872         __pthread_barrier_wait and define as weak alias of
16873         __pthread_barrier_wait.
16874         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16875         (pthread_barrier_wait): Likewise.
16876         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16877         (pthread_barrier_wait): Likewise.
16878         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16879         (pthread_barrier_wait): Likewise.
16880         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16881         (pthread_barrier_wait): Likewise.
16882         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16883         __pthread_barrier_wait at version GLIBC_PRIVATE.
16884         * include/pthread.h (__pthread_barrier_init): Declare.
16885         (__pthread_barrier_wait): Likewise.
16886         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16887         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16888         (helper_thread): Likewise.
16889         (init_mq_netlink): Call __pthread_barrier_init instead of
16890         pthread_barrier_init.
16891
16892         [BZ #18542]
16893         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16894         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16895         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16896         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16897         vswscanf.
16898         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16899         Remove variable.
16900
16901         [BZ #18540]
16902         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16903         strong alias of _IO_fflush.  Use libc_hidden_def.
16904         * libio/iofflush_u.c (fflush_unlocked): Rename to
16905         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16906         Use libc_hidden_weak.
16907         * include/stdio.h (__fflush_unlocked): Declare.  Use
16908         libc_hidden_proto.
16909         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16910         fflush_unlocked.
16911         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16912         Remove variable.
16913
16914         [BZ #18539]
16915         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16916         define as weak alias of __addseverity.
16917         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16918         Remove variable.
16919         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16920         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16921         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16922
16923         [BZ #18536]
16924         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16925         (__tfind): Likewise.
16926         (__tdelete): Likewise.
16927         (__twalk): Likewise.
16928         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16929         __twalk to GLIBC_PRIVATE.
16930         * include/search.h (__tsearch): Use libc_hidden_proto.
16931         (__tfind): Likewise.
16932         (__tdelete): Likewise.
16933         (__twalk): Likewise.
16934         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16935         Call __tdelete instead of tdelete.
16936         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16937         tfind.  Call __tsearch instead of tsearch.
16938         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16939         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16940         Remove variable.
16941         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16942
16943         [BZ #18534]
16944         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16945         (dprintf): Define as a weak alias of __dprintf, not a strong
16946         alias.
16947         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16948         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16949         dprintf.
16950         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16951         Remove variable.
16952         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16953         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16954
16955         [BZ #18533]
16956         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16957         not a strong alias.
16958         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16959         Remove variable.
16960
16961         [BZ #18532]
16962         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16963         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16964         (in6addr_loopback): Rename to __in6addr_loopback and define as
16965         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16966         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16967         libc_hidden_proto.
16968         (__in6addr_any): Likewise.
16969         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16970         in6addr_any.
16971         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16972         variable.
16973         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16974
16975 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16976
16977         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16978         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16981         redirections for pow.
16982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16983         * sysdeps/x86_64/fpu/Versions: New versions added.
16984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16986         build of SSE, AVX2 and AVX512 IFUNC versions.
16987         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16990         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16994         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16995         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16996         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16997         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16998         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16999         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17000         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17001         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17002         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17004         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17005         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17006         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17007         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17008         * NEWS: Mention addition of x86_64 vector pow.
17009
17010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17012         redirections for expf.
17013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17014         * sysdeps/x86_64/fpu/Versions: New versions added.
17015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17017         build of SSE, AVX2 and AVX512 IFUNC versions.
17018         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17019         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17023         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17024         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17025         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17026         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17027         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17028         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17029         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17030         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17031         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17032         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17033         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17034         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17035         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17036         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17037         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17038         * NEWS: Mention addition of x86_64 vector expf.
17039
17040         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17041         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17042         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17043         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17044         redirections for exp.
17045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17046         * sysdeps/x86_64/fpu/Versions: New versions added.
17047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17048         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17049         build of SSE, AVX2 and AVX512 IFUNC versions.
17050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17051         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17052         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17056         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17057         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17058         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17059         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17060         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17061         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17062         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17063         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17064         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17065         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17066         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17067         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17068         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17069         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17070         * NEWS: Mention addition of x86_64 vector exp.
17071
17072         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17073         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17074         redirections for logf.
17075         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17076         * sysdeps/x86_64/fpu/Versions: New versions added.
17077         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17078         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17079         build of SSE, AVX2 and AVX512 IFUNC versions.
17080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17081         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17083         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17086         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17087         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17088         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17089         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17090         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17091         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17092         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17093         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17094         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17095         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17098         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17099         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17100         * NEWS: Mention addition of x86_64 vector logf.
17101
17102         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17103         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17104         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17105         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17106         redirections for log.
17107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17108         * sysdeps/x86_64/fpu/Versions: New versions added.
17109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17111         build of SSE, AVX2 and AVX512 IFUNC versions.
17112         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17113         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17114         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17115         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17116         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17117         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17118         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17119         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17120         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17121         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17122         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17123         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17124         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17125         test.
17126         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17127         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17129         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17130         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17131         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17132         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17133         * NEWS: Mention addition of x86_64 vector log.
17134
17135 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17136
17137         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17138         cfi_adjust_cfa_offset argument.
17139         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17140         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17141
17142         [BZ #18034]
17143         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17144         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17145         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17146         ordering using ldar.
17147         (_dl_tlsdesc_dynamic): Likewise.
17148         (_dl_tlsdesc_return_lazy): Likewise.
17149         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17150         relaxed atomics instead of volatile and synchronize with release store.
17151         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17152         volatile.
17153         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17154
17155 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17156
17157         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17158         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17160         * sysdeps/x86_64/fpu/Versions: New versions added.
17161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17162         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17163         build of SSE, AVX2 and AVX512 IFUNC versions.
17164         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17167         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17170         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17171         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17172         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17173         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17174         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17175         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17176         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17177         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17178         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17179         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17182         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17183         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17184         * NEWS: Mention addition of x86_64 vector sinf.
17185
17186 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17187
17188         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17189         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17190         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17191         Remove variable.
17192         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17193         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17194
17195 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17196
17197         [BZ #18530]
17198         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17199         strong alias of _IO_fputs.  Use libc_hidden_def.
17200         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17201         and define as weak alias of __fputs_unlocked.  Use
17202         libc_hidden_weak.
17203         * include/stdio.h (__fputs_unlocked): Declare.  Use
17204         libc_hidden_proto.
17205         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17206         fputs_unlocked.
17207
17208         [BZ #18529]
17209         * resolv/netdb.h [__USE_POSIX]: Change condition to
17210         [__USE_XOPEN2K].
17211         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17212         not expect.
17213         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17214         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17215         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17216         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17217         [XPG4 || UNIX98] (AI_ALL): Likewise.
17218         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17219         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17220         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17221         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17222         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17223         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17224         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17225         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17226         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17227         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17228         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17229         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17230         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17231         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17232         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17233         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17234         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17235         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17236         [XPG4 || UNIX98] (gai_strerror): Likewise.
17237         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17238         [XPG4 || UNIX98] (getnameinfo): Likewise.
17239
17240         [BZ #18528]
17241         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17242         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17243         __USE_XOPEN2K8].
17244         (getgrent): Likewise.
17245         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17246         expect.
17247         [XPG3 || POSIX2008] (endgrent): Likewise.
17248         [XPG3] (setgrent): Likewise.
17249         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17250         variable.
17251         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17252
17253         [BZ #18527]
17254         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17255         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17256         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17257         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17258         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17259         * include/unistd.h (__getlogin_r): Declare.  Use
17260         libc_hidden_proto.
17261         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17262         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17263         variable.
17264         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17265         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17266         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17267
17268 2015-06-12  Martin Sebor  <msebor@redhat.com>
17269
17270         [BZ #18512]
17271         * Makerules (check-install-supported): New target.
17272         (install): Add check-install-supported as a dependency.
17273         * manual/install.texi (Installing the C Library): Document
17274         that overriding prefix and exec_prefix is not supported.
17275         Mention DESTDIR.
17276         * INSTALL: Regenerate from the above.
17277
17278 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17279
17280         [BZ #18519]
17281         * posix/Versions (libc): Export __libc_pread at version
17282         GLIBC_PRIVATE.
17283         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17284         instead of pread.
17285         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17286         variable.
17287
17288         [BZ #18522]
17289         * misc/efgcvt_r.c
17290         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17291         (cvt_symbol): Use weak_alias instead of strong_alias.
17292         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17293         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17294         Remove variable.
17295         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17296         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17297
17298         [BZ #18520]
17299         * inet/herrno.c (h_errno): Rename to __h_errno.
17300         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17301         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17302         to __h_errno instead of h_errno.
17303         * nptl/herrno.c (h_errno): Rename to __h_errno.
17304         (__h_errno_location): Refer to __h_errno not h_errno.
17305         * resolv/Versions (h_errno): Rename to __h_errno.
17306         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17307         Remove variable.
17308         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17309
17310 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17311
17312         * configure.ac: More strict check for AVX512 assembler support.
17313         * configure: Regenerated.
17314
17315         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17316         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17318         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17320         * sysdeps/x86_64/fpu/Versions: New versions added.
17321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17323         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17326         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17327         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17330         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17331         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17332         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17333         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17334         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17335         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17337         test.
17338         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17342         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17345         * NEWS: Mention addition of x86_64 vector sin.
17346
17347 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17348
17349         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17350         comment.
17351
17352 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17353
17354         [BZ #18479]
17355         * nptl/pt-interp.c: New file.
17356         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17357         Add pt-interp.
17358         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17359         $(common-objpfx)runtime-linker.h.
17360
17361 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17362
17363         * Makeconfig (+interp): Remove unused variable.
17364         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17365         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17366         $(elf-objpfx)runtime-linker.h.
17367         ($(elf-objpfx)runtime-linker.h): Rename to
17368         $(common-objpfx)runtime-linker.h and move ...
17369         * Makerules [$(build-shared) = yes]: ... here.
17370         * elf/interp.c: Include <runtime-linker.h> instead of
17371         <elf/runtime-linker.h>.
17372
17373 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17374
17375         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17376         (__gettimeofday_syscall): Remove vsyscall fallback.
17377         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17378         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17379         Add syscall fallback function.
17380         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17381         if vDSO is not present.
17382         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17383         fallback function.
17384         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17385         present.
17386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17387         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17388
17389 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17390
17391         [BZ #18497]
17392         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17393         of wcscmp.
17394         (wcscmp): Define as weak alias of WCSCMP.
17395         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17396         wcscoll.
17397         (USE_HIDDEN_DEF): Define.
17398         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17399         __wcscoll.  Don't use libc_hidden_weak.
17400         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17401         wcscmp.
17402         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17403         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17404         __GI_wcscmp.
17405         (weak_alias): Undefine and redefine.
17406         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17407         __wcscmp and define as weak alias of __wcscmp.
17408         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17409         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17410         (__wcscoll): Likewise.
17411         (wcscmp): Don't use libc_hidden_proto.
17412         (wcscoll): Likewise.
17413         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17414         wcscoll.
17415         * posix/regexec.c (check_node_accept_bytes): Likewise.
17416         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17417         variable.
17418         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17419         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17420
17421         [BZ #18507]
17422         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17423         __fstatvfs and define as weak alias of __fstatvfs.  Use
17424         libc_hidden_weak.
17425         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17426         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17427         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17428         Define as alias of __fstatvfs, not fstatvfs.
17429         (fstatvfs64): Likewise.
17430         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17431         Define as alias of __statvfs, not statvfs.
17432         (statvfs64): Likewise.
17433         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17434         Remove variable.
17435
17436 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17437
17438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17439         (HAVE_GETCPU_VSYSCALL): Define.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17441         (HAVE_GETCPU_VSYSCALL): Likewise.
17442         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17443         * sysdeps/unix/sysv/linux/sched_getcpu.c
17444         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17445         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17446         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17447         prototype.
17448         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17449         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17450         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17452         Define.
17453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17454         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17455         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17456         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17457
17458 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17459
17460         * sysdeps/x86_64/fpu/Makefile: New file.
17461         * sysdeps/x86_64/fpu/Versions: New file.
17462         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17463         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17464         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17465         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17466         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17467         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17468         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17470         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17474         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17476         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17478         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17479         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17480         * sysdeps/x86_64/configure: Regenerated.
17481         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17482         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17483         * manual/install.texi (Configuring and compiling): Document
17484         --disable-mathvec.
17485         * INSTALL: Regenerated.
17486         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17487
17488         * math/Makefile: Added rules for vector tests.
17489         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17490         declaration under condition.
17491         * math/test-double-vlen2.h: New file.
17492         * math/test-double-vlen4.h: New file.
17493         * math/test-double-vlen8.h: New file.
17494         * math/test-vec-loop.h: Added initialization macro.
17495         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17497         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17498         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17499         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17502         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17503         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17504         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17505         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17506
17507         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17508         * sysdeps/x86_64/fpu/Versions: New versions added.
17509         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17510         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17512         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17513         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17516         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17517         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17519         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17520         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17521         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17523         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17526         * NEWS: Mention addition of x86_64 vector cosf.
17527
17528         * math/Makefile: Added CFLAGS for new tests.
17529         * math/test-float-vlen16.h: New file.
17530         * math/test-float-vlen4.h: New file.
17531         * math/test-float-vlen8.h: New file.
17532         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17533         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17535         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17536         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17537         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17538         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17539         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17541         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17542         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17543
17544 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17545
17546         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17547         * locale/programs/ld-ctype.c: Likewise.
17548
17549 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17550
17551         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17552         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17553         bit_ZMM16_31_state): New macro.
17554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17555         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17556
17557 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17558
17559         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17560
17561 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17562
17563         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17564
17565 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17566
17567         [BZ #18498]
17568         * libio/memstream.c (open_memstream): Rename to __open_memstream
17569         and define as weak alias of __open_memstream.
17570         * include/stdio.h (__open_memstream): Declare.  Use
17571         libc_hidden_proto.
17572         (open_memstream): Don't use libc_hidden_proto.
17573         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17574         open_memstream.
17575         * posix/getopt.c (_getopt_internal_r): Likewise.
17576         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17577         variable.
17578         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17579         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17580         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17581
17582         [BZ #18496]
17583         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17584         instead of wcrtomb.
17585
17586         [BZ #18483]
17587         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17588         [__USE_XOPEN2K8].  Remove redundant #endif.
17589         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17590         Remove redundant #if.
17591         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17592         Remove variable.
17593         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17594         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17595
17596         [BZ #18495]
17597         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17598         (__iswlower): Likewise.
17599         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17600         (__iswlower): Likewise.
17601         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17602         instead of towlower.
17603         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17604         instead of iswlower.  Call __towupper instead of towupper.
17605         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17606         instead of iswalnum.
17607
17608 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17609
17610         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17611         errors to stderr.
17612
17613 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17614
17615         [BZ #15661]
17616         [BZ #17322]
17617         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17618         Check for overflow properly.  Check for O_APPEND.  Ignore large
17619         file system block sizes.  Add comments about problems.
17620         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17621         * manual/filesys.texi (Storage Allocation): New node.
17622
17623 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17624
17625         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17626         cancellable syscalls.
17627         (SYS_ify): Add guard to no redefine it.
17628         (INLINE_SYSCALL): Likewise.
17629         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17630         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17631         SYSCALL_CANCEL instead.
17632         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17633         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17634         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17635         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17636         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17637         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17638         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17639         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17640         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17641         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17642         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17643         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17644         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17645         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17646         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17648         Likewise.
17649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17650         (__libc_pread64): Likewise.
17651         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17652         (__libc_preadv): Likewise.
17653         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17654         (__libc_readv64): Likewise.
17655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17656         (__libc_pwrite): Likewise.
17657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17658         (__libc_pwrite64): Likewise.
17659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17660         (__libc_pwritev): Likewise.
17661         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17662         (__libc_pwritev64): Likewise.
17663         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17664         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17665         (sync_file_range): Likewise.
17666         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17667         Likewise.
17668         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17669         Likewise.
17670         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17671         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17672         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17673         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17674         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17675         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17676         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17677         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17679         Likewise.
17680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17681         (__libc_read64): Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17685         Likewise.
17686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17687         Likewise.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17689         Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17691         (__libc_pread64): Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17693         Likewise.
17694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17695         (__libc_pwrite64): Likewise.
17696         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17697         (sync_file_range): Likewise.
17698         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17699         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17700         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17701         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17702         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17703         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17704         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17705         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17706         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17707         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17708         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17709         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17710         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17711         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17712         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17713         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17714         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17715         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17716         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17717         Likewise.
17718         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17719         Likewise.
17720         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17721         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17722         Likewise.
17723         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17724         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17725         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17726         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17727         Likewise.
17728         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17729         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17730         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17731         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17732         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17733
17734 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17735
17736         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17737         Include dl-vdso.
17738         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17739         Use VDSO routines for gettimeofday, clock_gettime if
17740         available.
17741         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17742         Declare VDSO symbols.
17743         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17744         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17745         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17746         * sysdeps/unix/sysv/linux/arm/Versions: Add
17747         __vdso_clock_gettime.
17748
17749 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17750
17751         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17752         be an inline implementation regardless of library is built within.
17753         (open_not_cancel_2): Likewise.
17754         (__read_nocancel): Likewise.
17755         (__write_nocancel): Likewise.
17756         (openat_not_cancel): Likewise.
17757         (openat_not_cancel_3): Likewise.
17758         (openat64_not_cancel): Likewise.
17759         (openat64_not_cancel_3): Likewise.
17760         (__close_nocancel): Likewise.
17761         (pause_not_cancel): Likewise.
17762         (nanosleep_not_cancel): Likewise.
17763         (sigsuspend_not_cancel): Likewise.
17764
17765 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17766
17767         [BZ #14958]
17768         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17769         wake-up.
17770         (__pthread_rwlock_rdlock_slow): Likewise.
17771         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17772         Likewise.
17773         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17774         Likewise.
17775         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17776         * nptl/tst-rwlock16.c: New file.
17777         * nptl/Makefile (tests): Add new test.
17778
17779 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17780
17781         [BZ #18324]
17782         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17783         missing wake-up of readers.
17784         * nptl/tst-rwlock15.c: New file.
17785         * nptl/Makefile (tests): Add new test.
17786
17787 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17788
17789         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17790         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17791         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17792         and __nacl_supply_interface_rtld.
17793         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17794         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17795         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17796         Add __nacl_supply_interface_rtld.
17797         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17798
17799 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17800
17801         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17802         isfinite.
17803         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17804         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17805
17806 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17807
17808         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17809         __signbit* with standard C99 macros.
17810         * math/e_exp10l.c: Likewise.
17811         * math/e_exp2l.c: Likewise.
17812         * math/e_scalb.c: Likewise.
17813         * math/e_scalbf.c: Likewise.
17814         * math/e_scalbl.c: Likewise.
17815         * math/s_ldexp.c: Likewise.
17816         * math/s_ldexpf.c: Likewise.
17817         * math/s_ldexpl.c: Likewise.
17818         * math/w_atan2.c: Likewise.
17819         * math/w_atan2f.c: Likewise.
17820         * math/w_atan2l.c: Likewise.
17821         * math/w_cosh.c: Likewise.
17822         * math/w_coshf.c: Likewise.
17823         * math/w_coshl.c: Likewise.
17824         * math/w_exp10.c: Likewise.
17825         * math/w_exp10f.c: Likewise.
17826         * math/w_exp10l.c: Likewise.
17827         * math/w_exp2.c: Likewise.
17828         * math/w_exp2f.c: Likewise.
17829         * math/w_exp2l.c: Likewise.
17830         * math/w_fmod.c: Likewise.
17831         * math/w_fmodf.c: Likewise.
17832         * math/w_fmodl.c: Likewise.
17833         * math/w_hypot.c: Likewise.
17834         * math/w_hypotf.c: Likewise.
17835         * math/w_hypotl.c: Likewise.
17836         * math/w_jnl.c: Likewise.
17837         * math/w_lgamma.c: Likewise.
17838         * math/w_lgamma_r.c: Likewise.
17839         * math/w_lgammaf.c: Likewise.
17840         * math/w_lgammaf_r.c: Likewise.
17841         * math/w_lgammal.c: Likewise.
17842         * math/w_lgammal_r.c: Likewise.
17843         * math/w_pow.c: Likewise.
17844         * math/w_powf.c: Likewise.
17845         * math/w_powl.c: Likewise.
17846         * math/w_remainder.c: Likewise.
17847         * math/w_remainderf.c: Likewise.
17848         * math/w_remainderl.c: Likewise.
17849         * math/w_scalb.c: Likewise.
17850         * math/w_scalbf.c: Likewise.
17851         * math/w_scalbl.c: Likewise.
17852         * math/w_scalbln.c: Likewise.
17853         * math/w_scalblnf.c: Likewise.
17854         * math/w_scalblnl.c: Likewise.
17855         * math/w_sinh.c: Likewise.
17856         * math/w_sinhf.c: Likewise.
17857         * math/w_sinhl.c: Likewise.
17858         * math/w_tgamma.c: Likewise.
17859         * math/w_tgammaf.c: Likewise.
17860         * math/w_tgammal.c: Likewise.
17861         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17862         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17863         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17865         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17867         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17868         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17869         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17870         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17871         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17872         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17874         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17875         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17876         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17877         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17879         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17880         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17885         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17887         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17888         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17890         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17891         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17892         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17893         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17894         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17895         * stdio-common/printf_fp.c: Likewise.
17896         * stdio-common/printf_fphex.c: Likewise.
17897         * stdio-common/printf_size.c: Likewise.
17898
17899 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17900
17901         [BZ #18470]
17902         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17903         strnlen.
17904         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17905         Remove variable.
17906         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17907         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17908         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17909         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17910         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17911         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17912         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17913         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17914         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17915         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17916
17917         [BZ #18468]
17918         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17919         weak alias of __wmemchr.  Use libc_hidden_weak.
17920         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17921         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17922         instead of wmemchr.
17923
17924 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17925
17926         [BZ #18383]
17927         * elf/tst-tlsalign-extern.c: New file.
17928         * elf/tst-tlsalign-extern-static.c: New file.
17929         * elf/tst-tlsalign-vars.c: New file.
17930         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17931         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17932         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17933         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17934         (test-xfail-tst-tlsalign-extern-static): New variable.
17935
17936 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17937
17938         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17939         Use variable name _sc_err instead of err.
17940         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17941         instead of ret.
17942         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17943         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17944         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17945         (INLINE_SYSCALL): Likewise.
17946
17947         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17948         * include/string.h (__strnlen): Use libc_hidden_proto.
17949         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17950         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17951         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17952         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17953         (libc_hidden_def): Undefine and redefine.
17954         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17955         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17956         __GI_strnlen.
17957         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17958         libc_hidden_def.
17959         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17960
17961         [BZ #18469]
17962         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17963         weak alias of __towlower.  Use libc_hidden_weak.
17964         (towupper): Rename to __towupper and define as weak alias of
17965         __towupper.  Use libc_hidden_weak.
17966         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17967         (__towupper): Likewise.
17968         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17969         __towlower instead of towlower.
17970
17971 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17972
17973         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17974         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17975
17976 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17977
17978         * sysdeps/aarch64/libm-test-ulps: Update.
17979
17980 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17981
17982         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17983         Define.
17984         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17986         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17987         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17988         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17989         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17990         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17991
17992 2015-06-01  Martin Sebor  <msebor@redhat.com>
17993
17994         [BZ #18116]
17995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17996         (__setcontext): Use extended four-operand version of mtsf whenever
17997         possible.
17998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17999         (__novec_swapcontext): Likewise.
18000
18001 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18002
18003         * benchtests/scripts/compare_bench.py: New file.
18004         * benchtests/scripts/import_bench.py (mean): New function.
18005         (split_list): Likewise.
18006         (do_for_all_timings): Likewise.
18007         (compress_timings): Likewise.
18008
18009         * benchtests/scripts/import_bench.py: New file.
18010         * benchtests/scripts/validate_benchout.py: Import import_bench
18011         instead of jsonschema.
18012         (validate_bench): Remove function.
18013         (main): Use import_bench.
18014
18015 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18016
18017         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18018         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18019
18020 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18021
18022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18023
18024 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18025
18026         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18027         set THREAD_SELF->tid to a magic value and futex-wake it.
18028         Pass its address to the thread_exit system call.
18029         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18030         bit is clear.
18031         * sysdeps/nacl/lowlevellock.h: New file.
18032         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18033
18034         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18035         Add TIMEOUT to current time, don't subtract it.
18036
18037 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18038
18039         [BZ #2981]
18040         [BZ #18422]
18041         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18042         ($(objpfx)tst-audit2.out): Also depend on
18043         $(objpfx)tst-auditmod9b.so.
18044         * elf/tst-audit2.c: Include <dlfcn.h>.
18045         (calloc_called): New.
18046         (calloc): Allow to be called more than once.
18047         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18048
18049 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18050
18051         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18052         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18053
18054 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18055
18056         * stdlib/monetary.h: Fix comment.
18057
18058 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18059
18060         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18061         Avoid using variables in #defines that might cause shadowing.
18062         (INTERNAL_VSYSCALL_CALL): Likewise.
18063
18064 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18065
18066         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18067
18068         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18069         * nptl/lll_timedlock_wait.c: ... to this new file.
18070         * nptl/Makefile (libpthread-routines): Add it.
18071         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18072         * nptl/lll_timedwait_tid.c: ... to this new file.
18073         * nptl/Makefile (libpthread-routines): Add it.
18074         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18075         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18076         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18077         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18078         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18079         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18080         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18081         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18082         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18083         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18084
18085 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18086
18087         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18088         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18089         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18091         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18093         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18095         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18096         * sysdeps/unix/sysv/linux/tile/sysdep.h
18097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18098         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18099         using vDSO syscall macro.
18100
18101 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18102
18103         [BZ #17293]
18104         * uk_UA: Fix sorting order for Ukrainian locale
18105
18106 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18107
18108         * stdlib/monetary.h: Fix comment.
18109
18110 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18111
18112         [BZ #18234]
18113         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18114         st_mtim and st_ctim members.
18115         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18116         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18117         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18118         (struct stat64): Likewise.
18119         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18120         (struct stat64): Likewise.
18121         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18122         (struct stat64): Likewise.
18123
18124 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18125
18126         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18127         Define and include sysdep-vdso.h.
18128         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18129         Likewise.
18130         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18133         Define with VDSO_SYMBOL and use PTR_MANGLE.
18134         (__vdso_clock_gettime): Likewise.
18135         (__vdso_clock_getres): Likewise.
18136         (_libc_vdso_platform_setup): Likewise.
18137         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18138         Likewise.
18139         (_libc_vdso_platform_setup): Likewise.
18140         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18141         Likewise.
18142         (__vdso_clock_gettime): Likewise.
18143         (__vdso_clock_getres): Likewise.
18144         (__vdso_get_tbfreq): Likewise.
18145         (__vdso_getcpu): Likewise.
18146         (__vdso_time): Likewise.
18147         (__vdso_sigtramp_rt64): Likewise.
18148         (__vdso_signtramp32): Likewise.
18149         (__vdso_sigtramp_rt32): Likewise.
18150         (_libc_vdso_platform_setup): Likewise.
18151         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18152         Likewise.
18153         (__vdso_clock_gettime): Likewise.
18154         (__vdso_clock_getres): Likewise.
18155         (_libc_vdso_platform_setup): Likewise.
18156         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18157         Likewise.
18158         (__vdso_clock_gettime): Likewise.
18159         (_libc_vdso_platform_setup): Likewise.
18160         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18161         Likewise.
18162         (__vdso_getcpu): Likewise.
18163         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18164         Use VDSO_SYMBOL macro to define.
18165         (__vdso_clock_gettime): Likewise.
18166         (__vdso_clock_getres): Likewise.
18167         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18168         Likewise.
18169         (__vdso_clock_gettime): Likewise.
18170         (__vdso_clock_getres): Likewise.
18171         (__vdso_get_tbfreq): Likewise.
18172         (__vdso_getcpu): Likewise.
18173         (__vdso_time): Likewise.
18174         (__vdso_sigtramp_rt64): Likewise.
18175         (__vdso_signtramp32): Likewise.
18176         (__vdso_sigtramp_rt32): Likewise.
18177         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18178         Likewise.
18179         (__vdso_clock_gettime): Likewise.
18180         (__vdso_clock_getres): Likewise.
18181         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18182         Likewise.
18183         (__vdso_clock_gettime): Likewise.
18184         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18185         Likewise.
18186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18187         macro.
18188         (INTERNAL_VSYSCALL): Likewise.
18189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18190         Remove macro.
18191         (INTERNAL_VSYSCALL): Likewise.
18192         (INTERNAL_VSYSCALL_NCS): Likewise.
18193         (INTERNAL_VSYSCALL_CALL): New macro.
18194         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18196         Likewise.
18197         (INTERNAL_VSYSCALL): Likewise.
18198         (INTERNAL_VSYSCALL_NCS): Likewise.
18199         (INTERNAL_VSYSCALL_CALL): New macro.
18200         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18202         (INLINE_VSYSCALL): Remove macro.
18203         (INTERNAL_VSYSCALL): Remove macro.
18204         (INTERNAL_VSYSCALL_NCS): Remove macro.
18205         (INTERNAL_VSYSCALL_CALL): New macro.
18206         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18207         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18208         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18209         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18210         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18212         (INLINE_VSYSCALL): Remove macro.
18213         (INTERNAL_VSYSCALL): Likewise.
18214         (INTERNAL_VSYSCALL_NCS): Likewise.
18215         (INTERNAL_VSYSCALL_CALL): New macro.
18216         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18217         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18218         PTR_DEMANGLE on vDSO pointer.
18219         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18220         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18221         macro.
18222         (INTERNAL_SYSCALL): Likewise.
18223         (INTERNAL_VSYSCALL_NCS): Remove macro.
18224         (INTERNAL_VSYSCALL_CALL): New macro.
18225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18226         Remove macro.
18227         (INTERNAL_VSYSCALL): Likewise.
18228         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18229         sysdep-vdso.h instead of libc-vdso.h.
18230         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18231         definition.
18232         (INLINE_VSYSCALL): Likewise.
18233         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18234         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18235         definition.
18236         (INLINE_VSYSCALL): Likewise.
18237         (INTERNAL_VSYSCALL): Likewise.
18238         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18239         * sysdeps/unix/sysv/linux/timespec_get.c
18240         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18241         (timespec_get): Use ANSI prototype.
18242         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18243         and definition for Linux.
18244
18245 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18246
18247         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18248         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18249
18250 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18251
18252         [BZ #2981]
18253         [BZ #18410]
18254         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18255         for missing DT_PLTRELSZ.
18256
18257 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18258
18259         Remove obsolete aliases that broke 'locale -a'
18260         [BZ #18412]
18261         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18262         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18263         breaking some applications that use 'locale -a' output.
18264         Change the encoding of this file from Latin-1 to ASCII to avoid
18265         other potential problems with people grepping this file.
18266
18267 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18268
18269         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18270         -fasynchronous-unwind-tables.
18271         (CFLAGS-sendto.c): Likewise.
18272         (CFLAGS-sendmsg.c): Likewise.
18273         (CFLAGS-connect.c): Likewise.
18274         (CFLAGS-recvmsg.c): Likewise.
18275         (CFLAGS-recvfrom.c): Likewise.
18276         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18277         (SOCKETCALL): New macro: non-cancellable socketcall.
18278         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18279         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18280         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18281         * sysdeps/unix/sysv/linux/accept.c: New file.
18282         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18283         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18284         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18285         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18286         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18287         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18288         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18289         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18290         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18291         * sysdeps/unix/sysv/linux/send.c: Likewise.
18292         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18293         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18294         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18295         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18296         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18297         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18298         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18299         prototype.
18300         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18301         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18302         instead of __internal_xxx function.
18303         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18304         prototype.
18305         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18306         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18307         instead of __internal_xxx function.
18308         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18309         prototype.
18310         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18311         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18312         instead of __internal_xxx function.
18313         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18314         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18315         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18316         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18317         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18318         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18319         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18320         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18321         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18322         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18323         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18324         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18325         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18326         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18327         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18328         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18329         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18330         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18331         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18332         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18335         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18336         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18337         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18338         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18339         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18340         * sysdeps/unix/sysv/linux/send.S: Likewise.
18341         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18342         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18343         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18344         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18345         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18346         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18347         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18348         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18349         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18350         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18351         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18352         socketcall is implemented in GLIBC.
18353
18354 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18355
18356         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18357         (__fma): Ignore uninitialized warnings around packing.
18358         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18359         (__fmaf): Ignore uninitialized warnings around packing.
18360         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18361         (__fmal): Ignore uninitialized warnings around packing.
18362
18363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18364         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18366         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18367
18368         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18369         switch statement into default case.
18370         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18371
18372         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18373         a conditional in forcing "inexact".
18374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18375         Likewise.
18376
18377 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18378
18379         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18380         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18381         for each INTERNAL_SYSCALL use.
18382
18383 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18384
18385         [BZ #438]
18386         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18387         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18388         variable.
18389
18390         [BZ #18444]
18391         * string/basename.c (basename): Rename to __basename and define as
18392         weak alias of __basename.  Use libc_hidden_weak.
18393         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18394         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18395         __basename instead of basename.
18396         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18397         Remove variable.
18398         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18399
18400 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18401
18402         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18403         (_IO_JUMPS_FILE_plus): New.
18404         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18405         _IO_CAST_FIELD_ACCESS.
18406         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18407         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18408         * libio/freopen.c (freopen): Likewise.
18409         * libio/freopen64.c (freopen64): Likewise.
18410         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18411         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18412         * libio/iofwide.c (_IO_fwide): Likewise.
18413         * libio/memstream.c (open_memstream): Likewise.
18414         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18415         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18416         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18417
18418 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18419
18420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18421         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18422         NADJ.
18423         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18424         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18425         NADJ.
18426         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18427         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18428         NADJ.
18429
18430         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18431         (p == 4) case.
18432
18433         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18434         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18435         Remove variable.
18436         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18437         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18438         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18439
18440 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18441
18442         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18443         Adjust jump table label generation macros.
18444
18445 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18446
18447         * stdio-common/vfprintf.c (vfprintf): Move local variables
18448         args_malloced, specs, specs_malloced, and the code after
18449         do_positional to the printf_positional function.
18450         (printf_positional): New function.
18451
18452 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18453
18454         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18455         function.
18456         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18457         STEP4_TABLE, process_arg): Move macro definitions
18458         out of the vfprintf function.  (Cosmetic change only.)
18459
18460 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18461
18462         * benchtests/Makefile (stdio-common-bench): Define.
18463         (benchset): Add stdio-common-bench.
18464         * sprintf-inputs: New file.
18465         * sprintf-source.c: New file.
18466
18467 2015-05-21  Andreas Schwab  <schwab@suse.de>
18468
18469         [BZ #13028]
18470         [BZ #17053]
18471         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18472         of struct __res_state.
18473         * resolv/res_send.c (__libc_res_nsend): Likewise.
18474         (get_nsaddr): New function.
18475         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18476         statp directly.
18477
18478 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18479
18480         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18481         -D_POSIX_C_SOURCE=199506L.
18482
18483         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18484
18485         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18486         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18487         Do not mention otherwise.
18488         [POSIX] (_XOPEN_VERSION): Do not expect.
18489         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18490         [POSIX] (_POSIX2_C_BIND): Likewise.
18491         [POSIX] (_POSIX2_VERSION): Likewise.
18492         [POSIX] (_XOPEN_XPG2): Likewise.
18493         [POSIX] (_XOPEN_XPG3): Likewise.
18494         [POSIX] (_XOPEN_XPG4): Likewise.
18495         [POSIX] (_XOPEN_UNIX): Likewise.
18496         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18497         [POSIX] (_POSIX_BARRIERS): Likewise.
18498         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18499         [POSIX] (_POSIX_CPUTIME): Likewise.
18500         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18501         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18502         [POSIX] (_POSIX_SHELL): Likewise.
18503         [POSIX] (_POSIX_SPAWN): Likewise.
18504         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18505         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18506         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18507         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18508         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18509         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18510         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18511         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18512         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18513         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18514         [POSIX] (_POSIX2_PBS): Likewise.
18515         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18516         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18517         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18518         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18519         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18520         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18521         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18522         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18523         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18524         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18525         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18526         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18527         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18528         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18529         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18530         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18531         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18532         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18533         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18534         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18535         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18536         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18537         [POSIX] (_SC_2_C_BIND): Likewise.
18538         [POSIX] (_SC_2_C_VERSION): Likewise.
18539         [POSIX] (_SC_2_PBS): Likewise.
18540         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18541         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18542         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18543         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18544         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18545         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18546         [POSIX] (_SC_BARRIERS): Likewise.
18547         [POSIX] (_SC_BASE): Likewise.
18548         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18549         [POSIX] (_SC_DEVICE_IO): Likewise.
18550         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18551         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18552         [POSIX] (_SC_FD_MGMT): Likewise.
18553         [POSIX] (_SC_FIFO): Likewise.
18554         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18555         [POSIX] (_SC_FILE_LOCKING): Likewise.
18556         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18557         [POSIX] (_SC_IOV_MAX): Likewise.
18558         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18559         [POSIX] (_SC_NETWORKING): Likewise.
18560         [POSIX] (_SC_PAGE_SIZE): Likewise.
18561         [POSIX] (_SC_PASS_MAX): Likewise.
18562         [POSIX] (_SC_PIPE): Likewise.
18563         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18564         [POSIX] (_SC_REGEXP): Likewise.
18565         [POSIX] (_SC_SHELL): Likewise.
18566         [POSIX] (_SC_SIGNALS): Likewise.
18567         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18568         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18569         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18570         [POSIX] (_SC_USER_GROUPS): Likewise.
18571         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18572         [POSIX] (_SC_STREAMS): Likewise.
18573         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18574         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18575         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18576         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18577         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18578         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18579         [POSIX] (_PC_FILESIZEBITS): Likewise.
18580         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18581         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18582         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18583         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18584         [POSIX] (uid_t): Likewise.
18585         [POSIX] (gid_t): Likewise.
18586         [POSIX] (off_t): Likewise.
18587         [POSIX] (pid_t): Likewise.
18588         [POSIX] (cuserid): Allow.
18589         (_SC_2_CHAR_TERM): Require constant.
18590         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18591         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18592         variable.
18593
18594 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18595
18596         * sysdeps/nacl/pthread-pids.h: New file.
18597         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18598         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18599
18600         * nptl/pthread-pids.h: New file.
18601         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18602         * nptl/nptl-init.c: Include <pthread-pids.h>.
18603         (__pthread_initialize_minimal_internal):
18604         Call __pthread_initialize_pids instead of set_tid_address syscall.
18605
18606         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18607         * sysdeps/posix/usleep.c: ... here.
18608
18609 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18610
18611         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18612         call_pselect6 object.
18613         [$(subdir) = io]: Remove call_sync_file_range object.
18614         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18615         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18616         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18617         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18618
18619 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18620
18621         * math/s_cproj.c: Add include "math_private.h".
18622         * math/s_cprojf.c: Likewise.
18623         * math/s_cprojl.c: Likewise.
18624
18625 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18626
18627         [BZ #18244]
18628         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18629         high mantissa bit when testing whether P is a NaN.
18630         * math/libm-test.inc (remainder_test_data): Add more tests.
18631         (remquo_test_data): Likewise.
18632
18633         [BZ #18049]
18634         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18635         below -32, return the argument, with underflow if subnormal.
18636         * math/auto-libm-test-in: Add more tests of atanh.
18637         * math/auto-libm-test-out: Regenerated.
18638
18639 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18640
18641         [BZ #18434]
18642         * nptl/tst-sem15.c: New file.
18643         * nptl/Makefile (tests): Add it.
18644         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18645         s/<</>>/ to fix typo in EOVERFLOW check.
18646         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18647
18648 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18649
18650         * manual/strings.texi (envz_remove): Fix typo in safety
18651         annotations.
18652
18653 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18654             Steve Ellcey  <sellcey@imgtec.com>
18655
18656         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18657         in order to avoid strict alias warnings.
18658         (iruserok_af): Ditto for ra.
18659
18660 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18661
18662         [BZ #17581]
18663         * malloc/hooks.c
18664         (magicbyte): Convert to a function and avoid returning 0x01.
18665         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18666         (mem2chunk_check): Fix unsigned comparisons to zero.
18667         Hoist defs of sz and magic.
18668
18669 2015-05-19  Richard Henderson  <rth@redhat.com>
18670
18671         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18672
18673         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18674
18675 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18676
18677         [BZ #16159]
18678         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18679         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18680         (reused_arena): Find a non-corrupt arena.
18681         (heap_trim): Pass arena to unlink.
18682         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18683         malloc_printerr.
18684         (top_check): Likewise.
18685         (free_check): Likewise.
18686         (realloc_check): Likewise.
18687         * malloc/malloc.c (malloc_printerr): Add arena argument.
18688         (unlink): Likewise.
18689         (munmap_chunk): Adjust.
18690         (ARENA_CORRUPTION_BIT): New macro.
18691         (arena_is_corrupt): Likewise.
18692         (set_arena_corrupt): Likewise.
18693         (sysmalloc): Use mmap if there are no usable arenas.
18694         (_int_malloc): Likewise.
18695         (__libc_malloc): Don't fail if arena_get returns NULL.
18696         (_mid_memalign): Likewise.
18697         (__libc_calloc): Likewise.
18698         (__libc_realloc): Adjust for additional argument to
18699         malloc_printerr.
18700         (_int_free): Likewise.
18701         (malloc_consolidate): Likewise.
18702         (_int_realloc): Likewise.
18703         (_int_memalign): Don't touch corrupt arenas.
18704         * malloc/tst-malloc-backtrace.c: New test case.
18705
18706         * Makefile (summarize-tests): Fix return value on success.
18707
18708         * manual/string.texi (Envz Functions): Add envz_remove.
18709
18710 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18711
18712         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18713         (invalid_name): New function, broken out of ...
18714         (__opendirat): ... here.  Call it.
18715         (need_isdir_precheck): New function, broken out of ...
18716         (__opendirat): ... here.  Call it.
18717         Use __fxstatat64, not __xstatat64.
18718         (opendir_oflags): New function, broken out of ...
18719         (__opendirat): ... here.  Call it.
18720         (opendir_tail): New function, broken out of ...
18721         (__opendirat): ... here.  Call it.
18722         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18723         opendir_tail, rather than punting to __opendirat.
18724         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18725
18726 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727
18728         * .gitignore: Ignore generated *.pyc.
18729
18730 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18731
18732         * include/stdio.h: Define __need_wint_t.
18733         * test-skeleton.c: Avoid `for' loop initial declaration.
18734         * nptl/tst-initializers1.c: Use test-skeleton.c.
18735
18736 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18737
18738         [BZ #18418]
18739         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18740
18741 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18742
18743         [BZ #16352]
18744         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18745         (__ieee754_atanh): Force underflow exception for results with
18746         small absolute value.
18747         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18748         (__ieee754_atanhf): Force underflow exception for results with
18749         small absolute value.
18750         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18751         (__ieee754_atanh): Force underflow exception for results with
18752         small absolute value.
18753         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18754         (__ieee754_atanhf): Force underflow exception for results with
18755         small absolute value.
18756         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18757         (__ieee754_atanhl): Force underflow exception for results with
18758         small absolute value.
18759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18760         (__ieee754_atanhl): Force underflow exception for results with
18761         small absolute value.
18762         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18763         (__ieee754_atanhl): Force underflow exception for results with
18764         small absolute value.
18765         * math/auto-libm-test-in: Do not allow missing underflow
18766         exceptions from atanh.
18767         * math/auto-libm-test-out: Regenerated.
18768
18769         [BZ #18221]
18770         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18771         2**-28 as threshold for returning x or +/- 1/x.
18772         * math/auto-libm-test-in: Add more tests of tan.
18773         * math/auto-libm-test-out: Regenerated.
18774
18775         [BZ #18220]
18776         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18777         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18778         * math/auto-libm-test-in: Add another test of lgamma.
18779         * math/auto-libm-test-out: Regenerated.
18780
18781 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18782
18783         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18784         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18785         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18786         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18787         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18788         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18789         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18792         (log1): Use fabs.  (my_log2): Use fabs.
18793         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18794         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18795         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18796         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18798         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18799         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18800         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18801         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18802         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18803         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18804
18805 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18806
18807         [BZ #18217]
18808         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18809         as threshold for returning 1 - x.
18810         * math/auto-libm-test-in: Add more tests of erfc.
18811         * math/auto-libm-test-out: Regenerated.
18812
18813 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18814
18815         [BZ #18196]
18816         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18817         threshold for large arguments.
18818         * math/auto-libm-test-in: Add another test of atan.
18819         * math/auto-libm-test-out: Regenerated.
18820
18821         [BZ #16339]
18822         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18823         (__log1p): Force underflow exception for results with small
18824         absolute value.
18825         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18826         (__log1pf): Force underflow exception for results with small
18827         absolute value.
18828         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18829         (__log1p): Force underflow exception for results with small
18830         absolute value.
18831         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18832         (__log1pf): Force underflow exception for results with small
18833         absolute value.
18834         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18835         (__log1pl): Force underflow exception for results with small
18836         absolute value.
18837         * math/auto-libm-test-in: Do not allow missing underflow
18838         exceptions from log1p.
18839         * math/auto-libm-test-out: Regenerated.
18840
18841 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18842             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18843
18844         [BZ #16704]
18845         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18846
18847 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18848
18849         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18850         (libmvec): New variable.
18851         * configure.ac: Added option for mathvec build.
18852         * configure: Regenerated.
18853         * mathvec/Depend: New file.
18854         * mathvec/Makefile: New file.
18855         * shlib-versions: Added libmvec.
18856         * math/Makefile: Added rule for libm.so installation.
18857
18858         * bits/math-vector.h: New file.
18859         * bits/libm-simd-decl-stubs.h: New header.
18860         * math/Makefile (headers): Added new header
18861         libm-simd-decl-stubs.h.
18862         * math/math.h (__MATHCALL_VEC): New macro.
18863
18864         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18865         for conditions in testing functions.
18866         * math/Makefile: Added call of libm-have-vector-test.sh.
18867         * math/libm-test.inc (HAVE_VECTOR): New macros.
18868
18869         * math/libm-test.inc: START refactored.
18870         * math/test-double.c (TEST_MATHVEC): Add define.
18871         * math/test-float.c: Likewise.
18872         * math/test-idouble.c: Likewise.
18873         * math/test-ifloat.c: Likewise.
18874         * math/test-ildoubl.c: Likewise.
18875         * math/test-ldouble.c: Likewise.
18876         * sysdeps/generic/math-tests-arch.h
18877         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18878         architecture check.
18879
18880         * math/test-double.c (FUNC_TEST): New macro.
18881         * math/test-float.c: Likewise.
18882         * math/test-idouble.c: Likewise.
18883         * math/test-ifloat.c: Likewise.
18884         * math/test-ildoubl.c: Likewise.
18885         * math/test-ldouble.c: Likewise.
18886         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18887
18888 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18889
18890         * sysdeps/nacl/fdopendir.c: New file.
18891
18892         * dirent/scandir-tail.c: New file.
18893         * dirent/scandir64-tail.c: New file.
18894         * dirent/Makefile (routines): Add them.
18895         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18896         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18897         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18898         [!SCANDIR] (SCANDIR_TAIL): New macro.
18899         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18900         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18901         (SCANDIRAT): Macro removed.
18902         (SCANDIR_TAIL): New macro.
18903         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18904         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18905         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18906         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18907         (READDIR): Macro removed.
18908         (SCANDIR_TAIL): New macro.
18909         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18910         (SCANDIR_TAIL): New macro.
18911
18912         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18913         * dirent/scandir-cancel.c: ... to this new file.
18914         * dirent/Makefile (routines): Add it.
18915         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18916         * sysdeps/unix/sysv/linux/i386/scandir64.c
18917         (SKIP_SCANDIR_CANCEL): Macro removed.
18918         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18919
18920         * dirent/tst-scandir.c: New file.
18921         * dirent/tst-scandir64.c: New file.
18922         * dirent/Makefile (tests): Add them.
18923
18924 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18925
18926         [BZ #18409]
18927         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18928
18929 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18930
18931         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18932         list.
18933
18934 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18935
18936         * benchtests/bench-strcoll.c: New benchmark.
18937         * benchtests/Makefile: Generate locales and run benchmark.
18938         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18939         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18940         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18941         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18942         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18943         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18944         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18945         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18946         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18947         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18948         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18949         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18950         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18951         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18952         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18953         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18954         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18955         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18956         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18957         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18958         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18959         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18960         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18961         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18962
18963 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18964
18965         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18966         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18967
18968 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18969
18970         * posix/uname-values.h: New file.
18971         * posix/uname.c: Include that instead of <config-name.h>.
18972         * sysdeps/nacl/uname-values.h: New file.
18973         * sysdeps/arm/nacl/uname-values.h: New file.
18974
18975 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18976
18977         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18978         splitting into fields.
18979
18980 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18981
18982         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18983         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18984         * locale/localeinfo.h: Add enum collation_encoding_type.
18985         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18986         * programs/ld-collate.c (collate_output): Add encoding type info.
18987         * string/strcoll_l.c (STRDIFF): New function.
18988         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18989         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18990
18991 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18992
18993         [BZ #18397]
18994         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18995         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18996         <fpu_control.h> instead of <math/fpu_control.c>.
18997         * sysdeps/mips/mips32/fpu/Makefile: New file.
18998
18999 2015-05-11  Andreas Schwab  <schwab@suse.de>
19000
19001         [BZ #18007]
19002         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19003         nss_endgrent.
19004         (_nss_compat_endgrent): Call nss_endgrent.
19005         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19006         nss_endpwent.
19007         (_nss_compat_endpwent): Call nss_endpwent.
19008         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19009         needent, call nss_setspent only if non-zero.
19010         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19011         (internal_endspent): Don't call nss_endspent.
19012         (_nss_compat_endspent): Call nss_endspent.
19013         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19014         Remove.  All uses removed.
19015         (internal_setent): Remove parameter stayopen, add parameter
19016         stream.  Use it instead of global variable.
19017         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19018         (internal_endent, internal_getent): Add parameter stream.  Use it
19019         instead of global variable.
19020         (CONCAT(_nss_files_end,ENTNAME))
19021         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19022         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19023         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19024         uses removed.
19025         (internal_setent, internal_endent): Add parameter stream.  Use it
19026         instead of global variable.
19027         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19028         stream.
19029         (get_next_alias): Add parameter stream.
19030         (_nss_files_getaliasent_r): Pass global stream.
19031         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19032         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19033         (_nss_files_gethostbyname4_r): Pass local stream to
19034         internal_setent, internal_getent and internal_endent.  Remove
19035         locking.
19036
19037 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19038
19039         * tst-strfmon1.c (tests): Update expected currency symbol.
19040
19041 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19042
19043         * sysdeps/nacl/gethostname.c: New file.
19044
19045 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19046
19047         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19048         and sinh.
19049         * math/auto-libm-test-out: Regenerated.
19050         * sysdeps/i386/fpu/libm-test-ulps: Update.
19051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19052
19053 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19054
19055         [BZ #18125]
19056         * stdlib/tst-setcontext3.c: New file.
19057         * stdlib/tst-setcontext3.sh: New file.
19058         * stdlib/Makefile (tests): Add tst-setcontext3.
19059         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19060         to verify test program created output file.
19061         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19062         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19063         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19064         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19065
19066 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19067
19068         [BZ #18383]
19069         * elf/tst-tlsalign.c: New file.
19070         * elf/tst-tlsalign-static.c: New file.
19071         * elf/tst-tlsalign-lib.c: New file.
19072         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19073         (tests-static): Add tst-tlsalign-static.
19074         (modules-names): Add tst-tlsalign-lib.
19075         (test-xfail-tst-tlsalign): New variable.
19076         (test-xfail-tst-tlsalign-static): New variable.
19077
19078         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19079         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19080
19081 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19082
19083         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19084         csqrt, erfc, sin and sincos.
19085         * math/auto-libm-test-out: Regenerated.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19088
19089 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19090
19091         * sysdeps/aarch64/libm-test-ulps: Update.
19092
19093 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19094
19095         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19096         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19097         * math/auto-libm-test-out: Regenerated.
19098         * sysdeps/i386/fpu/libm-test-ulps: Update.
19099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100
19101 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19102
19103         [BZ #18265]
19104         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19105         (wcsncpy): Likewise.
19106
19107 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19108
19109         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19110         Assume __ASSUME_FALLOCATE is always true.
19111         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19112         (__posix_fallocate64_l64): Likweise.
19113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19114         (posix_fallocate): Likewise.
19115         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19116         (__posix_fallocate64_l64): Likewise.
19117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19118         [!__ASSUME_FALLOCATE]: Add comment.
19119
19120 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19121
19122         * sysdeps/unix/sysv/linux/i386/Makefile
19123         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19124         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19125         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19126         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19127         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19128         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19129         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19130
19131 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19132
19133         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19134         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19135         tgamma.
19136         * math/auto-libm-test-out: Regenerated.
19137         * sysdeps/i386/fpu/libm-test-ulps: Update.
19138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19139
19140 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19141
19142         * math/auto-libm-test-in: Add more tests of tgamma.
19143         * math/auto-libm-test-out: Regenerated.
19144         * sysdeps/i386/fpu/libm-test-ulps: Update.
19145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19146
19147         * math/auto-libm-test-in: Add more tests of tanh.
19148         * math/auto-libm-test-out: Regenerated.
19149         * sysdeps/i386/fpu/libm-test-ulps: Update.
19150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19151
19152         * math/auto-libm-test-in: Add more tests of tan.
19153         * math/auto-libm-test-out: Regenerated.
19154         * sysdeps/i386/fpu/libm-test-ulps: Update.
19155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19156
19157         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19158         * math/auto-libm-test-out: Regenerated.
19159         * sysdeps/i386/fpu/libm-test-ulps: Update.
19160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19161
19162         * math/auto-libm-test-in: Add another test of pow.
19163         * math/auto-libm-test-out: Regenerated.
19164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19165
19166         * math/auto-libm-test-in: Add more tests of lgamma.
19167         * math/auto-libm-test-out: Regenerated.
19168         * sysdeps/i386/fpu/libm-test-ulps: Update.
19169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19170
19171         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19172         log1p.
19173         * math/auto-libm-test-out: Regenerated.
19174         * sysdeps/i386/fpu/libm-test-ulps: Update.
19175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19176
19177 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19178
19179         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19180         Elf64_Chdr structs and ELFCOMPRESS constants.
19181
19182 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19183
19184         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19185         expm1.
19186         * math/auto-libm-test-out: Regenerated.
19187         * sysdeps/i386/fpu/libm-test-ulps: Update.
19188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19189
19190         * math/auto-libm-test-in: Add more tests of erf and erfc.
19191         * math/auto-libm-test-out: Regenerated.
19192         * sysdeps/i386/fpu/libm-test-ulps: Update.
19193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194
19195 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19196
19197         * config.h.in (HAVE_AARCH64_BE): Add.
19198
19199 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19200
19201         * math/auto-libm-test-in: Add more tests of csqrt.
19202         * math/auto-libm-test-out: Regenerated.
19203         * sysdeps/i386/fpu/libm-test-ulps: Update.
19204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19205
19206         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19207         * math/auto-libm-test-out: Regenerated.
19208         * sysdeps/i386/fpu/libm-test-ulps: Update.
19209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19210
19211         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19212
19213 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19214
19215         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19216         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19217
19218         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19219         (euidaccess, eaccess): Define as weak aliases.
19220
19221         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19222         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19223         but __suseconds_t is often 'long int' so some sources assume that
19224         type is being used (e.g. they use %ld to print tv_usec).
19225
19226 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19227
19228         [BZ #18007]
19229         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19230         (CVE-2014-8121)
19231         * nss/tst-nss-getpwent.c: New file.
19232         * nss/Makefile (tests): Add new test.
19233
19234 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19235
19236         [BZ #18346]
19237         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19238         exponents less than 48 as cases where high part of mantissa needs
19239         examining to determine whether argument is integral.
19240         * math/libm-test.inc (round_test_data): Add more tests.
19241
19242 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19243
19244         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19245
19246 2015-04-27  David S. Miller  <davem@davemloft.net>
19247
19248         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19249         __tls_get_addr.
19250         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19251
19252 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19253
19254         [BZ#18333]
19255         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19256
19257 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19258
19259         [BZ#18333]
19260         * time/tzset.c (parse_tzname): Return error on memory allocation
19261         failure.
19262         * test-skeleton.c (struct temp_name_list): Change type of name
19263         member to non-const.
19264         (add_temp_file): Create a copy of the file name.
19265         (delete_temp_files): Deallocate memory.
19266         (create_temp_file): Add comment.
19267
19268 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19269
19270         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19271         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19272
19273 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19274
19275         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19276         * sysdeps/arm/configure: Regenerated.
19277
19278 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19279
19280         [BZ #17715]
19281         * time/tzfile.c (__tzfile_read): Check for large values of
19282         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19283         * time/tzset.c (__tzstring_len): New function, based on the old
19284         __tzstring function.
19285         (__tzstring): Call __tzstring_len.
19286         (parse_tzname): New helper function extracted from
19287         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19288         the input string.
19289         (parse_offset): New helper function extracted from
19290         __tzset_parse_tz.  Replace switch with fallthrough with
19291         initialization before sscanf.
19292         (parse_rule): Likewise.
19293         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19294         new-style function definition.
19295         * timezone/Makefile (tests): Add tst-tzset.
19296         (tst-tzset.out): Dependencies on time zone files.
19297         (tst-tzset-ENV): Set TZDIR.
19298         (testdata/XT%): Copy crafted time zone files.
19299         * timezone/README: Mention crafted time zone files.
19300         * timezone/testdata/XT1, timezone/testdata/XT2,
19301         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19302         files.
19303         * timezone/tst-tzset.c: New test.
19304
19305 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19306
19307         * Makeconfig (+gccwarn): Remove -Winline.
19308
19309 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19310
19311         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19312
19313 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19314
19315         * NEWS: Mention sysconf() cache information support for s390.
19316         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19317
19318 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19319
19320         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19321         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19322         (__nearbyint): Likewise.
19323         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19324         (copysignl): Likewise.
19325
19326 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19327
19328         [BZ #18287]
19329         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19330         based on padding.  (CVE-2015-1781)
19331
19332 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19333
19334         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19335         libc-vdso.h.
19336         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19337         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19338         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19339         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19340         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19341         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19342         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19344         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19345         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19346         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19347         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19348         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19349         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19350         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19351         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19352         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19353         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19354         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19355         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19356         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19357         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19358         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19359
19360 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19361
19362         * stdlib/setenv.c (__add_to_environ):
19363         Dump core quickly if setenv (..., NULL, ...) is called.
19364         This time, do it the right way, and pacify GCC with a pragma.
19365
19366 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19367
19368         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19369         IMAP->l_prev cannot be null, and #if out the code for the contrary
19370         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19371         believe that NS (&_dl_ns[NSID]) could point outside the array.
19372
19373         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19374         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19375         before using NSID as an index.
19376
19377 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19378
19379         [BZ #17825]
19380         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19381         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19382         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19383
19384 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19385
19386         Add preliminary port to Google Native Client on ARM.
19387         * abi-tags (.*-.*-nacl.*): New entry.
19388         * sysdeps/arm/nacl: New directory.
19389         * sysdeps/nacl: New directory.
19390
19391 2015-04-16  David S. Miller  <davem@davemloft.net>
19392
19393         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19394         lowlevellock-futex.h
19395
19396 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19397
19398         * sysdeps/tile/configure.ac: New file.
19399         * sysdeps/tile/configure: Regenerated.
19400
19401 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19402
19403         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19404         conditionals for weak_alias and libc_hidden_weak.
19405         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19406         libc_hidden_weak and weak_alias.
19407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19408         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19409         and weak_alias for static one.
19410
19411 2015-04-15  David S. Miller  <davem@davemloft.net>
19412
19413         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19414
19415 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19416
19417         [BZ #18206]
19418         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19419           Use signed comparision instead of substraction to avoid
19420           overflow bug.
19421         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19422           Take the sign of ret.
19423         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19424           Do not expect precise return values. Only the sign matters.
19425         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19426         * wcsmbs/test-wcsncmp.c: New File.
19427         * string/test-strncmp.c: Add wcsncmp support.
19428
19429 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19430
19431         [BZ #6792]
19432         * math/w_log1p.c: New file.
19433         * math/w_log1pf.c: Likewise.
19434         * math/w_log1pl.c: Likewise.
19435         * math/Makefile (libm-calls): Add w_log1p.
19436         * math/s_log1pl.c (log1pl): Remove weak_alias.
19437         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19438         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19439         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19440         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19441         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19442         [NO_LONG_DOUBLE] (log1pl): Likewise.
19443         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19445         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19446         (log1p): Remove long_double_symbol.
19447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19448         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19449         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19450         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19451         remove weak_alias for corresponding log1p function.
19452         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19453         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19454         * sysdeps/ia64/fpu/w_log1p.c: New file.
19455         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19456         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19457         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19458
19459 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19460
19461         [BZ #18247]
19462         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19463         decimal exponent by 1.
19464         * stdlib/tst-strtod-round-data: Add more tests.
19465         * stdlib/tst-strtod-round.c (tests): Regenerated.
19466
19467 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19468
19469         * math/auto-libm-test-in: Add more tests of clog and clog10.
19470         * math/auto-libm-test-out: Regenerated.
19471         * sysdeps/i386/fpu/libm-test-ulps: Update.
19472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473
19474 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19475
19476         * Makeconfig (module-cppflags): Exclude all .v.i files.
19477         (skip-module-cppflags): Variable removed.
19478
19479         * configure.ac (libc_config_ok): Initialize before reading
19480         preconfigure scripts, not after.
19481         * configure: Regenerated.
19482
19483         * test-skeleton.c (TIMEOUT): Move #define to top level.
19484         (main): Grok environment variable TEST_DIRECT.  If set, print
19485         test expectation details into that file and then behave as if
19486         given --direct.
19487
19488 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19489
19490         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19491         warning on 32-bit.
19492
19493 2015-04-08  David S. Miller  <davem@davemloft.net>
19494
19495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19496
19497 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19498
19499         * math/auto-libm-test-in: Add more tests of atanh.
19500         * math/auto-libm-test-out: Regenerated.
19501         * sysdeps/i386/fpu/libm-test-ulps: Update.
19502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503
19504         * math/auto-libm-test-in: Add more tests of atan.
19505         * math/auto-libm-test-out: Regenerated.
19506         * sysdeps/i386/fpu/libm-test-ulps: Update.
19507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508
19509 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19510
19511         * elf/pldd.c (main): Rewrite to use struct
19512         scratch_buffer instead of extend_alloca.
19513         * elf/pldd-xx.c (find_maps): Likewise.
19514         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19515         <alloca.h>.
19516         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19517         scratch_buffer instead of extend_alloca.
19518         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19519         grp/compat-initgroups.c.
19520         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19521         Rewrite to use struct scratch_buffer instead of extend_alloca.
19522         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19523         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19524
19525 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19526
19527         * math/auto-libm-test-in: Add more tests of cbrt.
19528         * math/auto-libm-test-out: Regenerated.
19529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19530
19531         * math/auto-libm-test-in: Add more tests of cabs.
19532         * math/auto-libm-test-out: Regenerated.
19533         * sysdeps/i386/fpu/libm-test-ulps: Update.
19534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535
19536         [BZ #18210]
19537         [BZ #18211]
19538         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19539         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19540         computations.
19541         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19542         clog10.
19543         * math/auto-libm-test-out: Regenerated.
19544         * sysdeps/i386/fpu/libm-test-ulps: Update.
19545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19546
19547         [BZ #18197]
19548         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19549         (atan): Set FE_TONEAREST mode for internal computations.
19550         * math/auto-libm-test-in: Add more tests of atan.
19551         * math/auto-libm-test-out: Regenerated.
19552
19553 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19554
19555         [BZ #17930]
19556         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19557
19558 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19559
19560         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19561
19562 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19563
19564         * include/scratch_buffer.h: New file.
19565         * malloc/scratch_buffer_grow.c: Likewise.
19566         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19567         * malloc/scratch_buffer_set_array_size.c: Likewise.
19568         * malloc/tst-scratch_buffer.c: Likewise.
19569         * malloc/Makefile (routines): Add scratch_buffer_grow.
19570         (tests): Add test case.
19571         * malloc/Versions (GLIBC_PRIVATE): Export
19572         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19573         __libc_scratch_buffer_set_array_size.
19574
19575 2015-04-06  Richard Henderson  <rth@redhat.com>
19576
19577         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19578         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19579
19580         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19581         unsigned int before printing.
19582
19583 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19584
19585         [BZ #17596]
19586         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19587         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19588
19589 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19590
19591         * include/libc-internal.h (libc_max_align_t): Define.
19592
19593 2015-04-02  Andreas Schwab  <schwab@suse.de>
19594
19595         [BZ #16850]
19596         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19597
19598 2015-04-02  Mel Gorman  <mgorman@suse.de>
19599
19600         [BZ #17195]
19601         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19602         as well as the main arena.
19603
19604 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19605
19606         [BZ #18185]
19607         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19608         sharing L2 cache to 2 for Silvermont/Knights Landing.
19609
19610 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19611
19612         [BZ #17711]
19613         * config.make.in (have-protected-data): New.
19614         * configure.ac: Check linker support for protected data symbol.
19615         * configure: Regenerated.
19616         * elf/Makefile (modules-names): Add tst-protected1moda and
19617         tst-protected1modb if $(have-protected-data) is yes.
19618         (tests): Add tst-protected1a and tst-protected1b if
19619         $(have-protected-data) is yes.
19620         ($(objpfx)tst-protected1a): New.
19621         ($(objpfx)tst-protected1b): Likewise.
19622         (tst-protected1modb.so-no-z-defs): Likewise.
19623         * elf/tst-protected1a.c: New file.
19624         * elf/tst-protected1b.c: Likewise.
19625         * elf/tst-protected1mod.h: Likewise.
19626         * elf/tst-protected1moda.c: Likewise.
19627         * elf/tst-protected1modb.c: Likewise.
19628
19629 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19630
19631         [BZ #17711]
19632         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19633         indicates it is called from do_lookup_x on relocation against
19634         protected data, skip the data definion in the executable from
19635         copy reloc.
19636         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19637         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19638         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19639         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19640         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19641         otherwise to 0.
19642         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19643         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19644         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19645         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19646         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19647         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19648
19649 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19650
19651         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19652         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19653
19654 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19655
19656         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19657         THREAD_SETMEM_NC.
19658         * sysdeps/x86_64/nptl/tls.h: Ditto.
19659
19660 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19661
19662         * dlfcn/tststatic.c (main): Converted to ...
19663         (do_test): ... this.
19664         (TEST_FUNCTION): New macro.
19665         Include test-skeleton.c.
19666
19667 2015-03-26  Alan Modra  <amodra@gmail.com>
19668
19669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19670         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19671         zero for undefined weak.
19672         (elf_machine_plt_conflict): Similarly.
19673
19674 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19675
19676         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19677         atanh.
19678         * math/auto-libm-test-out: Regenerated.
19679         * sysdeps/i386/fpu/libm-test-ulps: Update.
19680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19681
19682         * math/auto-libm-test-in: Add another test of asin.
19683         * math/auto-libm-test-out: Regenerated.
19684         * sysdeps/i386/fpu/libm-test-ulps: Update.
19685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686
19687         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19688         Remove macro.
19689         (LLL_EBX_REG): Likewise.
19690         (LLL_ENTER_KERNEL): Likewise.
19691
19692         * math/auto-libm-test-in: Add more tests of asin.
19693         * math/auto-libm-test-out: Regenerated.
19694         * sysdeps/i386/fpu/libm-test-ulps: Update.
19695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696
19697         [BZ #18138]
19698         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19699         libc_do_syscall_args): New structure.
19700         (INTERNAL_SYSCALL_MAIN_0): New macro.
19701         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19702         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19703         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19704         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19705         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19706         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19707         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19708         Replace conditional definitions by conditional definitions of ....
19709         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19710         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19711         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19712         (libpthread-sysdep_routines): Add libc-do-syscall.
19713         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19714         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19715         to __NR_futex not 240.
19716
19717 2015-03-25  Alan Modra  <amodra@gmail.com>
19718
19719         * NEWS: Advertise TLS optimization.
19720         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19721         (DT_PPC_NUM): Increment.
19722         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19723         (CHECK_STATIC_TLS): Use here.
19724         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19725         TLS descriptors.
19726         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19727         * sysdeps/powerpc/dl-tls.c: New file.
19728         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19729         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19730         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19731         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19735
19736 2015-03-25  Alan Modra  <amodra@gmail.com>
19737
19738         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19739         for overlapping .opd entries" to "support...".
19740         * sysdeps/powerpc/powerpc64/configure: Regenerate
19741
19742 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19743
19744         * math/auto-libm-test-in: Add more tests of acos.
19745         * math/auto-libm-test-out: Regenerated.
19746         * sysdeps/i386/fpu/libm-test-ulps: Update.
19747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19748
19749         * math/auto-libm-test-in: Add more tests of expm1.
19750         * math/auto-libm-test-out: Regenerated.
19751         * sysdeps/i386/fpu/libm-test-ulps: Update.
19752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19753
19754 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19755
19756         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19757         * math/auto-libm-test-out: Regenerated.
19758         * sysdeps/i386/fpu/libm-test-ulps: Update.
19759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19760
19761         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19763
19764         * math/auto-libm-test-in: Add more tests of log2.
19765         * math/auto-libm-test-out: Regenerated.
19766         * sysdeps/i386/fpu/libm-test-ulps: Update.
19767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768
19769 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19770
19771         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19772         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19773         _IO_IS_APPENDING bit in READ_WRITE instead.
19774
19775 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19776
19777         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19778         (__determine_cpumask_size): Replace extend_alloca with a
19779         variable-length array.  Do not treat res == 0 as an error.
19780
19781 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19782
19783         [BZ #18100]
19784         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19785         and integer overflow.
19786         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19787         (main): Add integer overflow tests.
19788         * manual/pattern.texi (Calling Wordexp): Document additional use
19789         for WRDE_SYNTAX.
19790
19791 2015-03-23  Alan Modra  <amodra@gmail.com>
19792
19793         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19794         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19795         and false branch of conditional.
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19797         Likewise.
19798
19799 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19800
19801         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19802         libc-modules.h
19803         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19804         unused declaration of _hurd_intr_rpc_msg_in_trap.
19805         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19806         defined instead of whether it is non-zero.
19807         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19808         input constraint instead of both input and output constraint.  Use ecx
19809         clobber instead of %ecx.
19810         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19811         mutex_unlock): Use a statement expression instead of an expression list.
19812         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19813         type to vm_size_t instead of vm_address_t.
19814         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19815         defined instead of whether it is non-zero.
19816         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19817         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19818         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19819         comparisons with mapaddr.
19820         * nscd/nscd-client.h: Include <time.h>.
19821         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19822         9th parameter to __vm_region instead of int.
19823         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19824         * scripts/check-local-headers.sh (exclude): Add device/,
19825         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19826         cthreads.h.
19827
19828 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19829
19830         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19831         to account for alignment padding.
19832         * sysdeps/arm/memmove.S: Likewise.
19833
19834 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19835
19836         * sysdeps/unix/sysv/linux/generic/README: New file.
19837
19838 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19839
19840         [BZ #18138]
19841         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19842         (futex_abstimed_wait)
19843         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19844         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19845         of lll_futex_timed_wait.
19846
19847 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19848
19849         [BZ #17542]
19850         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19851
19852 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19853
19854         [BZ #17090]
19855         [BZ #17620]
19856         [BZ #17621]
19857         [BZ #17628]
19858         * NEWS: Update.
19859         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19860         entries with Static TLS too.  Skip entries past the end of the
19861         allocated DTV, from Alan Modra.
19862         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19863         Static TLS DTV entry set up from...
19864         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19865         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19866         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19867         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19868         for Static TLS.
19869         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19870         that the slot we find is associated with the given map before
19871         using its generation count.
19872         * nptl_db/db_info.c: Include ldsodefs.h.
19873         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19874         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19875         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19876         (link_map::l_tls_offset): New struct field.
19877         (dtv_t::counter): Likewise.
19878         (rtld_global): New struct.
19879         (_rtld_global): New rtld variable.
19880         (dl_tls_dtv_slotinfo_list): New rtld global field.
19881         (dtv_slotinfo_list): New struct.
19882         (dtv_slotinfo): Likewise.
19883         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19884         (td_lookup): Rename to...
19885         (td_mod_lookup): ... this.  Use new mod parameter instead of
19886         LIBPTHREAD_SO.
19887         * nptl_db/td_thr_tlsbase.c: Include link.h.
19888         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19889         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19890         addresses even if the DTV is out of date or missing them.
19891         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19892         index zero-length arrays.
19893         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19894         (td_lookup): Make it a macro implemented in terms of...
19895         (td_mod_lookup): ... this declaration.
19896         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19897         (DB_MAIN_VARIABLE): Likewise.
19898
19899 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19900
19901         [BZ #18134]
19902         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19903
19904 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19905
19906         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19907
19908 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19909
19910         [BZ #18128]
19911         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19912         (atomic_add, atomic_increment_and_test)
19913         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19914
19915 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19916
19917         * stdlib/setenv.c (__add_to_environ):
19918         Dump core quickly if setenv (..., NULL, ...) is called.
19919
19920 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19921
19922         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19923         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19924         all the necessary asm magic in one place.
19925         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19926         using those.
19927
19928 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19929
19930         [BZ #14906]
19931         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19932         traced file mtime. Use consistent log message.
19933         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19934         (register_traced_file): Call install_watches. Always set mtime.
19935         (invalidate_cache): Iterate over all trace files. Call install_watches.
19936         (inotify_check_files): Don't inline. Handle watching parent
19937         directories and configuration file movement in and out.
19938         (handle_inotify_events): New function.
19939         (main_loop_poll): Call handle_inotify_events.
19940         (main_loop_epoll): Likewise.
19941         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19942         (struct traced_file): Use array of inotify fds. Add parent directory,
19943         and basename.
19944         (struct database_dyn): Remove unused file_mtime.
19945         (init_traced_file): New inline function.
19946         (define_traced_file): New macro.
19947         * nss/nss_db/db-init.c: Use define_traced_file.
19948         (_nss_db_init): Use init_traced_file.
19949         * nss/nss_files/files-init.c: Use define_traced_file.
19950         (_nss_files_init): Use init_traced_file.
19951
19952 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19953
19954         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19955         [_LIBC]: Do not include <stdlib.h>.
19956         [!_LIBC] (abort): Remove declaration.
19957         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19958         _FP_STATIC_ASSERT instead of conditionally calling abort.
19959         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19960         (_FP_EXTEND_CNAN): Likewise.
19961         (FP_TRUNC): Likewise.
19962         (__FP_CLZ): Likewise.
19963         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19964
19965 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19966
19967         * manual/string.texi (XPG basename): Fix prototype.
19968
19969 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19970
19971         [BZ #18080]
19972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19973         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19974         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19975         (__setcontext): Likewise.
19976         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19977         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19978         Call rt_sigprocmask syscall one time to set new signal mask
19979         and retrieve the current signal mask instead of two calls.
19980         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19981         (__swapcontext): Likewise.
19982         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19983         * stdlib/tst-setcontext2.c: New file.
19984
19985 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19986
19987         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19988
19989 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19990
19991         [BZ #18093]
19992         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19993         the wrong size.
19994
19995 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19996
19997         [BZ #18043]
19998         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19999
20000 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20001
20002         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20003         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20004         Remove define.
20005         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20006         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20007         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20008         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20009         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20010         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20011         define.
20012         * nptl_db/td_symbol_list.c (td_lookup): Remove
20013         HAVE_ASM_GLOBAL_DOT_NAME code.
20014         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20015         HAVE_ASM_GLOBAL_DOT_NAME check.
20016         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20017         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20018         (DOT_LABEL): Remove define.
20019         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20020         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20021         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20022         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20023         (__TLS_GET_ADDR): Likewise.
20024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20025         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20026
20027 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20028
20029         [BZ #18111]
20030         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20031         (_FPU_SETCW): Initialize cw from fpsr before storing.
20032         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20033         (fesetexceptflag): Rewrite using fpu_control.h.
20034         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20035
20036 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20037
20038         [BZ #18110]
20039         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20040         asms.
20041         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20042
20043 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20044
20045         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20046         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20047         abort.
20048         (_FP_FMA): Likewise.
20049         (_FP_DIV): Likewise.
20050
20051 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20052
20053         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20054         with 0 in that case.
20055         * Makefile (summarize-tests): New canned sequence, factored out of
20056         commands for targets tests and xtests.  Display summary lines that
20057         don't start with PASS: or XFAIL: rather than ones that do start with
20058         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20059         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20060         do start with ERROR: or FAIL:.
20061         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20062         (except for [$(build-shared) = yes]).
20063         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20064         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20065         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20066         * nptl/Makefile: Revert 2015-03-04 changes.
20067         [$(CXX) empty] (tests-unsupported): New variable.
20068         * debug/Makefile: Likewise.
20069
20070         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20071         gnulib file.  Replace __attribute with __attribute__ throughout.
20072
20073 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20074
20075         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20076
20077 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20078
20079         [BZ #18104]
20080         * math/auto-libm-test-in: Add another test of pow.
20081         * math/auto-libm-test-out: Regenerated.
20082
20083 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20084
20085         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20086         $(config-cflags-nofma).
20087
20088 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20089
20090         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20091         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20092         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20093         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20094         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20095         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20096         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20097         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20098         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20099         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20100         Add comment on closing #endif.
20101
20102 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20103
20104         * posix/wordexp.c (CHAR_IN_SET): New macro.
20105         (parse_param): Use it.
20106
20107 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20108
20109         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20110
20111 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20112
20113         [BZ #18043]
20114         * posix/wordexp.c (parse_param): Fix buffer overflow.
20115         * posix/wordexp-test.c (test_case): Add test case.
20116
20117 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20118
20119         [BZ #18042]
20120         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20121         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20122
20123 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20124
20125         [BZ #18043]
20126         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20127         (do_bz18043): Delete.
20128         (at_page_end): New.
20129         (testit): Refactor to have words at the edge of unreadable page.
20130
20131 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20132
20133         [BZ #16734]
20134         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20135         Cleanup read-only streams as well.
20136         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20137
20138 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20139
20140         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20141         <bits/libc-lockP.h>
20142
20143 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20144
20145         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20146         on [__KERNEL__].
20147         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20148         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20149         * soft-fp/op-common.h (_FP_DECL): Likewise.
20150
20151 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20152
20153         * elf/ifuncdep2.c (global): Replace
20154         __attribute__((visibility("protected"))) with
20155         asm (".protected global").
20156         * elf/ifuncmod1.c (global): Likewise.
20157         * elf/ifuncmod5.c (global): Likewise.
20158
20159 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20160
20161         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20162         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20163
20164 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20165
20166         * manual/install.texi (Configuring and compiling):
20167         Document test-wrapper-env-only.
20168         * INSTALL: Regenerated.
20169
20170 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20171
20172         [BZ #18043]
20173         * posix/wordexp.c (parse_param): Fix buffer overflow.
20174         * posix/wordexp-test.c (do_bz18043): Add test case.
20175
20176 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20177
20178         * time/tst-strptime2.c (do_test): Ensure failing tests are
20179         reported correctly.
20180         * time/tst-strptime3.c (do_test): Likewise.
20181
20182 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20183
20184         Fix aio_error thread-safety.
20185         * sysdeps/pthread/aio_error.c: New file
20186         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20187         synchronization.
20188
20189 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20190
20191         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20192         (group_number, vfprintf): Use it.
20193         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20194         (JUMP, REF): Use it.
20195         (WORK_BUFFER_SIZE): New enum constant.
20196         (process_arg, vfprintf): Use it.
20197
20198 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20199
20200         * manual/errno.texi (Error Messages): Complete example function
20201         by adding missing #define.
20202         (program_invocation_name): Add statement indicating GNU
20203         extension and reference which header file declares the variable.
20204         (program_invocation_short_name): Likewise.
20205
20206 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20207
20208         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20209         compatibility note.
20210
20211 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20212
20213         * Makeconfig (test-wrapper-env-only): New variable.
20214         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20215         then use that with $(test-wrapper-env-only) rather than using
20216         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20217
20218 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20219
20220         [BZ #18082]
20221         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20222         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20223         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20224         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20225         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20226         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20227         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20228         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20229         Likewise.
20230         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20231         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20232         Likewise.
20233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20234         Likewise.
20235         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20236         Likewise.
20237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20238         Likewise.
20239         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20240         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20241         Likewise.
20242         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20243         Likewise.
20244         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20245         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20246
20247 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20248
20249         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20250         (ETH_ALEN): New macro.
20251         (struct ether_addr): Use it for length of ether_addr_octet.
20252
20253         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20254         (setdb): Don't call __nss_configure_lookup for "rpc".
20255         (do_test): Don't call test_rpc.
20256         (output_rpcent, test_rpc): Functions moved ...
20257         * sunrpc/test-rpcent.c: ... to this new file.
20258         * sunrpc/Makefile (tests): Add it.
20259
20260         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20261         __xpg_sigpause.
20262         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20263         * nptl/tst-signal6.c: Likewise.
20264         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20265         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20266
20267         * configure.ac (libc_cv_cxx_link_ok): New check.
20268         Reset CXX to empty if it fails to link.
20269         * configure: Regenerated.
20270         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20271         bug-atexit3-lib only if $(CXX) is nonempty.
20272         * nptl/Makefile (tests): Likewise for tst-cancel24.
20273         (tests, tests-static): Likewise for tst-cancel24-static.
20274         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20275         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20276         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20277         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20278
20279 2015-03-04  Andreas Schwab  <schwab@suse.de>
20280
20281         [BZ #17631]
20282         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20283         for non-GCC compilers.
20284         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20285         Likewise.
20286
20287 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20288
20289         [BZ #17776]
20290         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20291         integer before bitwise and assembly operations.
20292         (feclearexcept): Likewise.
20293         * math/test-fenvinline.c: New file.
20294         * math/Makefile: Add test-fenvinline test.
20295
20296 2015-03-03  Alan Modra  <amodra@gmail.com>
20297
20298         [BZ #16512]
20299         * scripts/localplt.awk: Strip off symbol version.
20300         * NEWS: Mention bug fix.
20301
20302 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20303
20304         * sysdeps/pthread/timer_routines.c
20305         (timer_free_list, thread_free_list, thread_active_list): Make static.
20306
20307 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20308
20309         [BZ #17779]
20310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20311         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20312         Undefine.
20313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20314         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20315         Likewise.
20316         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20317         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20318         Likewise.
20319
20320 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20321
20322         [BZ #18036]
20323         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20324         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20325
20326 2015-03-02  Andreas Schwab  <schwab@suse.de>
20327
20328         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20329         variable name.
20330
20331 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20332
20333         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20334         Return error status.
20335
20336 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20337
20338         [BZ #15969]
20339         * locale/findlocale.c (_nl_find_locale): Introduce const
20340         version of loc_name and drop unsafe type casts.
20341
20342 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20343
20344         * dlfcn/tststatic2.c (main): Converted to ...
20345         (do_test): ... this.
20346         (TEST_FUNCTION): New macro.
20347         Include test-skeleton.c.
20348
20349 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20350
20351         [BZ #17711]
20352         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20353         (tests-pie): Add vismain.
20354         (CFLAGS-vismain.c): New.
20355         * elf/vismain.c: Add comments for PIE requirement.
20356
20357 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20358
20359         [BZ #18046]
20360         [BZ #18047]
20361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20362         0x1p-56L as threshold for just returning the argument.
20363         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20364         0x1p-32L as threshold for just returning the argument.
20365         * math/auto-libm-test-in: Add more tests of atanh.
20366         * math/auto-libm-test-out: Regenerated.
20367         * sysdeps/i386/fpu/libm-test-ulps: Update.
20368         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20369
20370 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20371
20372         * string/bcopy.c (bcopy): Call memmove for performance.
20373
20374 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20375
20376         * string/bzero.c (__bzero): Call memset for performance.
20377
20378 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20379
20380         [BZ #18068]
20381         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20382         to 00100000.
20383
20384 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20385
20386         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20387
20388 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20389
20390         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20391         (__kernel_standard): Use CSTR macro when setting exc.name.
20392         * sysdeps/ieee754/Makefile [$(subdir) = math]
20393         (CFLAGS-k_standard.c): Remove variable.
20394
20395         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20396         setting p and q from "else if" to "else".
20397         (qzero): Likewise.
20398         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20399         (qone): Likewise.
20400         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20401         (qzerof): Likewise.
20402         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20403         (qonef): Likewise.
20404         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20405         (qzero): Likewise.
20406         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20407         (qone): Likewise.
20408
20409         [BZ #18038]
20410         [BZ #18039]
20411         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20412         return pi/2 for arguments below 0x1p-113L.
20413         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20414         return pi/2 for arguments below 0x1p-106L.
20415         * math/auto-libm-test-in: Add more tests of acos.
20416         * math/auto-libm-test-out: Regenerated.
20417
20418         [BZ #16351]
20419         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20420         (MO): New macro.
20421         (__ieee754_asin): Force underflow exception for results with small
20422         absolute value.
20423         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20424         (MO): New macro.
20425         (__ieee754_asinf): Force underflow exception for results with
20426         small absolute value.
20427         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20428         (__ieee754_asin): Force underflow exception for results with small
20429         absolute value.
20430         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20431         (__ieee754_asinf): Force underflow exception for results with
20432         small absolute value.
20433         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20434         (__ieee754_asinl): Force underflow exception for results with
20435         small absolute value.
20436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20437         (__ieee754_asinl): Force underflow exception for results with
20438         small absolute value.
20439         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20440         (__ieee754_asinl): Force underflow exception for results with
20441         small absolute value.
20442         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20443         Include <math.h>.
20444         * math/auto-libm-test-in: Do not mark underflow exceptions as
20445         possibly missing for bug 16351.
20446         * math/auto-libm-test-out: Regenerated.
20447
20448         [BZ #18030]
20449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20450         of power of 2 down when low part has opposite sign.
20451         * math/libm-test.inc (logb_test_data): Add more tests.
20452
20453 2015-02-26  Andreas Schwab  <schwab@suse.de>
20454
20455         [BZ #18032]
20456         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20457         over collating symbol inside a bracket expression.  Minor cleanup.
20458         * posix/tst-fnmatch3.c (do_test): Add test case.
20459
20460 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20461
20462         [BZ #18029]
20463         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20464         Adjust exponent of power of 2 down when low part has opposite
20465         sign.
20466         * math/libm-test.inc (ilogb_test_data): Add more tests.
20467
20468 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20469
20470         [BZ #15969]
20471         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20472         the previous change.
20473
20474         [BZ #15969]
20475         * locale/findlocale.c (_nl_find_locale): Retry archive search
20476         after alias expansion.
20477
20478 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20479
20480         * iconv/tst-iconv3.c (main): Converted to ...
20481         (do_test): ... this.
20482         (TEST_FUNCTION): New macro.
20483         Include test-skeleton.c.
20484
20485         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20486         (convert): Make function static.
20487         (test_unalign): Likewise.  Add const to argument pointee types.
20488         (main): Replace with static function do_test.
20489         Print "Succeeded." only if RET is zero.
20490         (TEST_FUNCTION): New macro.
20491         Include test-skeleton.c.
20492
20493         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20494         returns a null pointer.
20495
20496 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20497
20498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20499         to __memcpy_ppc only for static builds.
20500
20501 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20502
20503         [BZ #18020]
20504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20505         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20506         * math/auto-libm-test-in: Add more tests of asinh.
20507         * math/auto-libm-test-out: Regenerated.
20508         * sysdeps/i386/fpu/libm-test-ulps: Update.
20509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20510
20511 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20512
20513         [BZ #15850]
20514         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20515         and ip6_mtuinfo definitions here.
20516         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20517         in this define too.  Update comment.
20518
20519 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20520
20521         * elf/sprof.c (load_shobj): Tweak error message to match others.
20522
20523 2015-02-24  Kevin Easton  <kevin@guarana.org>
20524
20525         [BZ #16145] (partial fix)
20526         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20527         to reduce lock contention.
20528
20529 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20530
20531         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20532         (struct timex): Update time comment.
20533         (ADJ_SETOFFSET): Define.
20534
20535 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20536
20537         [BZ #18019]
20538         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20539         2**56 not 2**28 as threshold for log (2x) formula.
20540         * math/auto-libm-test-in: Add more tests of acosh.
20541         * math/auto-libm-test-out: Regenerated.
20542         * sysdeps/i386/fpu/libm-test-ulps: Update.
20543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544
20545 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20546
20547         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20548         parenthesis around the buf assignment.
20549         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20550
20551 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20552
20553         [BZ #16783]
20554         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20555         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20556         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20557         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20558         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20559         * math/libm-test.inc (scalb_test_data): Add more tests.
20560
20561 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20562
20563         [BZ #17916]
20564         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20565         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20566
20567 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20568
20569         [BZ #17523]
20570         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20571         * io/bits/fcntl2.h (open): Use it.
20572         (openat): Likewise.
20573         * io/open.c (__libc_open): Likewise.
20574         * io/open64.c (__libc_open64): Likewise.
20575         * io/open64_2.c (__open64_2): Likewise.
20576         * io/open_2.c (__open_2): Likewise.
20577         * io/openat.c (__openat): Likewise.
20578         * io/openat64.c (__openat64): Likewise.
20579         * io/openat64_2.c (__openat64_2): Likewise.
20580         * io/openat_2.c (__openat_2): Likewise.
20581         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20582         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20583         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20584         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20585         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20586         (__open_nocancel): Likewise.
20587         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20588         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20589         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20590
20591 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20592
20593         [BZ #14841]
20594         * resolv/gethnamaddr.c (getanswer): Skip logging if
20595         RES_USE_DNSSEC is set.
20596         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20597
20598 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20599
20600         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20601
20602 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20603
20604         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20605         201304L, for Unicode 7.
20606
20607 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20608
20609         [BZ #17836]
20610         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20611         shared library.  Add gmon-start.os otherwise.
20612         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20613         $(objpfx)gmon-start.os if builing shared library.
20614         ($(objpfx)g$(static-start-installed-name)): Likewise.
20615
20616 2015-02-23  Andreas Schwab  <schwab@suse.de>
20617
20618         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20619
20620 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20621
20622         [BZ #17269]
20623         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20624         (enlarge_userbuf): Likewise.
20625
20626 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20627
20628         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20629         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20630         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20631         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20632
20633 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20634
20635         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20636         expression inside statement expression.
20637
20638 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20639
20640         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20641         <sysdeps/nptl/lowlevellock.h> and remove macros and
20642         functions that are now defined there.
20643         (SYS_futex): Remove.
20644         (lll_compare_and_swap): Remove.
20645         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20646
20647 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20648
20649         [BZ #17999]
20650         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20651         instead of scandirat.
20652         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20653         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20654         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20655         __scandirat.
20656         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20657         (__scandirat): Declare.  Use libc_hidden_proto.
20658         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20659         Remove variable.
20660         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20661
20662 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20663
20664         [BZ #15319]
20665         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20666         (MO): New macro.
20667         (__ieee754_atan2): For results with small absolute value, force
20668         underflow exception and remove excess range and precision from
20669         return value.
20670         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20671         (MO): New macro.
20672         (__ieee754_atan2f): For results with small absolute value, force
20673         underflow exception and remove excess range and precision from
20674         return value.
20675         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20676         (MO): New macro.
20677         (__atan): For results with small absolute value, force underflow
20678         exception and remove excess range and precision from return value.
20679         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20680         (MO): New macro.
20681         (__atanf): For results with small absolute value, force underflow
20682         exception and remove excess range and precision from return value.
20683         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20684         <math.h>.
20685         (__ieee754_atan2): Force underflow exception for results with
20686         small absolute value.
20687         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20688         <math_private.h>.
20689         (atan): Force underflow exception for results with small absolute
20690         value.
20691         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20692         (__atanf): Force underflow exception for results with small
20693         absolute value.
20694         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20695         <math.h>.
20696         (__atanl): Force underflow exception for results with small
20697         absolute value.
20698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20699         (__atanl): Force underflow exception for results with small
20700         absolute value.
20701         * sysdeps/x86/fpu/bits/mathinline.h
20702         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20703         (__ieee754_atan2): Only define inline for long double.
20704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20705         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20706         * math/auto-libm-test-in: Do not mark underflow exceptions as
20707         possibly missing for bug 15319.  Add more tests of atan2.
20708         * math/auto-libm-test-out: Regenerated.
20709         * math/libm-test.inc (casin_test_data): Do not mark underflow
20710         exceptions as possibly missing for bug 15319.
20711         (casinh_test_data): Likewise.
20712         * sysdeps/i386/fpu/libm-test-ulps: Update.
20713
20714 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20715
20716         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20717         * sysdeps/mips/bits/endian.h: Fix comments.
20718
20719 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20720
20721         [BZ #17996]
20722         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20723         (hdestroy_r): Likewise.
20724         (hsearch_r): Likewise.
20725         (__hcreate_r): Declare and use libc_hidden_proto.
20726         (__hdestroy_r): Likewise.
20727         (__hsearch_r): Likewise.
20728         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20729         (hcreate): Call __hcreate_r instead of hcreate_r.
20730         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20731         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20732         as weak alias of __hcreate_r.
20733         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20734         __hdestroy_r.
20735         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20736         __hsearch_r.
20737         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20738         Remove variable.
20739         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20740         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20741         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20742         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20743
20744 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20745
20746         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20747         arena_lock into a single arena_get.
20748
20749 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20750
20751         * dl-reloc.c: Inlucde libc-internal.h.
20752         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20753         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20754         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20755         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20756         (grow_heap): Likewise.
20757         * malloc/malloc.c: Include libc-internal.h.
20758         (do_check_malloc): Call powerof2.
20759         (sysmalloc): Use pagesize. Call ALIGN_UP.
20760         (systrim): Use pagesize.
20761         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20762         (__libc_valloc): Use pagesize.
20763         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20764
20765 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20766
20767         [BZ #17991]
20768         * include/sys/resource.h (__getrlimit64): Declare.  Use
20769         libc_hidden_proto.
20770         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20771         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20772         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20773         getrlimit64.
20774         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20775         __getrlimit64.
20776         [!getrlimit64] (getrlimit64): Define as weak alias of
20777         __getrlimit64.  Use libc_hidden_weak.
20778         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20779         using __getrlimit64 not __new_getrlimit64.
20780         (__GI_getrlimit64): Likewise.
20781         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20782         Likewise.
20783         (__GI_getrlimit64): Likewise.
20784         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20786         (getrlimit): Add __getrlimit64 alias.
20787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20788         Likewise.
20789         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20790         Remove variable.
20791         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20792         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20793
20794 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20795
20796         * libio/fileops.c: Add missing sys/mman.h
20797         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20798
20799 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20800
20801         * manual/math.texi (Errors in Math Functions): Clarify goals
20802         regarding inexact and underflow exceptions.
20803
20804 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20805
20806         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20807         * sysdeps/mips/memset.S: Ditto.
20808
20809 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20810
20811         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20812
20813 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20814
20815         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20816         (__v1longjmp): Remove versioned symbol.
20817         (__v1siglongjmp): Remove alias and versioned symbol.
20818         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20819         (__v2siglongjmp): Likewise.
20820
20821 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20822
20823         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20824
20825 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20826
20827         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20828
20829 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20830
20831         [BZ #17987]
20832         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20833         zero result does not depend on the sign resulting from
20834         subtraction.
20835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20836         Likewise.
20837         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20838         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20839         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20840         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20841         * math/libm-test.inc (remquo_test_data): Add more tests.
20842
20843 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20844
20845         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20846         Problem reported by J William Piggott.
20847
20848 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20849
20850         [BZ #17978]
20851         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20852         products 4 * y and 2 * y where those would overflow.
20853         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20854         Likewise.
20855         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20856         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20857         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20858         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20859         * math/libm-test.inc (remquo_test_data): Add more tests.
20860
20861         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20862
20863         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20864         [defined _COMPILING_NEWLIB].
20865         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20866         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20867
20868         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20869         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20870
20871 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20872
20873         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20874         acquired.
20875
20876 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20877
20878         [BZ #17792]
20879         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20880         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20881         HOST_STACK_END_ADDR): Likewise.
20882
20883 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20884
20885         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20886         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20887         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20888
20889 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20890
20891         * sysdeps/generic/c++-types.data: New file.
20892         * sysdeps/generic/ld.abilist: New file.
20893         * sysdeps/generic/libBrokenLocale.abilist: New file.
20894         * sysdeps/generic/libanl.abilist: New file.
20895         * sysdeps/generic/libc.abilist: New file.
20896         * sysdeps/generic/libcrypt.abilist: New file.
20897         * sysdeps/generic/libdl.abilist: New file.
20898         * sysdeps/generic/libm.abilist: New file.
20899         * sysdeps/generic/libpthread.abilist: New file.
20900         * sysdeps/generic/libresolv.abilist: New file.
20901         * sysdeps/generic/librt.abilist: New file.
20902
20903 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20904
20905         [BZ #17569]
20906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20907         Compute absolute value of x as modified by fmod, not original
20908         value of x.
20909         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20910         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20911         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20912         RUN_TEST_ffI_f1_mod8.
20913         (remquo_test_data): Add more tests.
20914
20915 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20916
20917         * sysdeps/init_array/pt-crti.S: New file.
20918
20919 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20920
20921         [BZ #17967]
20922         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20923         __builtin_fmaf instead of relying on contraction of a * b + c.
20924
20925 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20926
20927         [BZ #17969]
20928         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20929         node.
20930
20931 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20932
20933         [BZ #17964]
20934         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20935         __builtin_fma instead of relying on contraction of a * b + c.
20936
20937 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20938
20939         * Makeconfig (ASFLAGS): Add -Werror=undef.
20940         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20941         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20942         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20943
20944         * Makeconfig (after-link): New variable.
20945         (+link-pie, +link-pie-tests): Use it.
20946         (+link-static, +link-static-tests): Likewise.
20947         (+link, +link-tests): Likewise.
20948         * Makerules (build-module, build-module-asneeded): Likewise.
20949         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20950         Likewise.
20951         * elf/Makefile ($(objpfx)ld.so): Likewise.
20952
20953 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20954
20955         [BZ #17965]
20956         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20957         both struct timeval and struct timespec.
20958
20959 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20960
20961         [BZ #16560]
20962         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20963         and redefine.
20964         (__ieee754_exp2l): Do not multiply small fractional parts by
20965         M_LN2l.
20966         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20967         small argument.
20968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20969         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20970         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20971         * math/auto-libm-test-in: Add more tests of exp2.
20972         * math/auto-libm-test-out: Regenerated.
20973
20974 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20975
20976         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20977         unaligned path.
20978
20979 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20980
20981         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20982         little endian.
20983
20984 2015-02-12  Andreas Schwab  <schwab@suse.de>
20985
20986         [BZ #15790]
20987         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20988         Filter out elision flags from value returned in kind.
20989         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20990         * nptl/tst-pthread-mutexattr.c: New file.
20991
20992 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20993
20994         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20995         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20996         into gnu-gnu, and update comment to refer to abi-tags.
20997
20998 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20999
21000         [BZ #15467]
21001         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21002         (__sincos): Set errno to EDOM for infinite argument.
21003         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21004         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21005         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21006         (__sincosl): Set errno to EDOM for infinite argument.
21007         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21008         (__sincosl): Set errno to EDOM for infinite argument.
21009         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21010         (__sincosl): Set errno to EDOM for infinite argument.
21011         * math/libm-test.inc (sincos_test_data): Test errno setting.
21012
21013 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21014
21015         * string/strxfrm_l.c: Remove #define STRCMP.
21016         * string/strcoll_l.c: Remove #define STRLEN.
21017         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21018         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21019
21020 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21021
21022         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21023         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21024         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21025         * sysdeps/mips/mips64/Makefile: ... here.
21026         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21027         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21028         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21029         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21030         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21031         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21032         * sysdeps/mips/mips64/n64/Implies: Likewise.
21033
21034 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21035
21036         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21037         <sys/time.h>, <string.h>, and <errno.h>.
21038         (dest_offset, dest_address, value, zero): Remove unused variables.
21039         (ldouble): Remove typedef.
21040         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21041         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21042         1).  Fix code style.
21043         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21044         (check): Function removed.
21045         (CHECK): New macro.
21046         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21047         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21048         Don't call set_sigaction_FP and remove_sigaction_FP here.
21049         (ldouble_test): Just use 'long double' as macro argument, no need for
21050         the 'ldouble' typedef.
21051         (do_test): Set up SIGFPE handler at start, using plain signal rather
21052         than sigaction.  Fix code style.
21053
21054 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21055
21056         [BZ #17949]
21057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21058         jump label.
21059
21060 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21061
21062         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21063         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21064
21065         * sysdeps/powerpc/configure.ac: Remove file.
21066         * sysdeps/powerpc/configure: Likewise.
21067
21068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21069         [sysdep_routines]: Remove wordcopy-power6 object.
21070         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21071         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21072         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21073         (__memmove_ppc32): Likewise.
21074         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21075         file.
21076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21078         Remove preprocessor.
21079
21080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21081         [sysdep_routines]: Remove wide chars objects.
21082         [wcsmbs]: New rule for wide char objects.
21083
21084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21085         Remove wordcopy-power6 obejct.
21086         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21087         Use local call for wordcopy and memcpy symbols.
21088         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21089         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21090         implementation for loader.
21091         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21092
21093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21094         Remove wordcopy-power7 object.
21095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21097         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21098         (_wordcopy_fwd_dest_aligned): Likewise.
21099         (_wordcopy_bwd_aligned): Likewise.
21100         (_wordcopy_bwd_dest_aligned): Likewise.
21101
21102         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21103         Rewrite to call __memmove_ppc instead of include default
21104         implementation.
21105
21106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21107         Remove wide chars objects.
21108         [wcsmbs]: New rule for wide char objects.
21109
21110 2015-02-09  Andreas Schwab  <schwab@suse.de>
21111
21112         [BZ #17912]
21113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21114         in terms of __O_DIRECTORY.
21115
21116 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21117
21118         * time/getdate.c: Include <stdbool.h>.
21119         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21120         call PTR_MANGLE.
21121         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21122         PTR_DEMANGLE.
21123
21124 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21125
21126         Add ersatz _Static_assert on older C hosts
21127         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21128         pre-C11 C platform that is not known to support _Static_assert.
21129
21130 2015-02-07  Richard Braun  <rbraun@sceen.net>
21131
21132         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21133         sigstate.
21134         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21135
21136 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21137
21138         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21139         priority against unexistent AIO_PRIO_DELTA_MAX.
21140         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21141         instead of int.
21142         * misc/fchflags.c (fchflags): Likewise.
21143         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21144         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21145         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21146         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21147         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21148         Declare macros.
21149         [__USE_MISC] (chflags, fchflags): Declare functions.
21150         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21151         EINVAL when nfds is greater than FD_SETSIZE.
21152         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21153         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21154         45.
21155         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21156         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21157         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21158         MACH_RCV_TIMED_OUT.
21159         * hurd/hurd/signal.h (_hurd_self_sigstate,
21160         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21161         Explicit casts from void *.
21162         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21163         * abi-tags: Rename gnu-gnu os into gnu.
21164
21165         [BZ #4719]
21166         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21167         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21168         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21169         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21170         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21171         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21172
21173         [BZ #17944]
21174         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21175         duplicates ADDR->sun_path with sockaddr LEN limitation.
21176         * sysdeps/mach/hurd/connect.c: Include <string.h>
21177         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21178         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21179         * sysdeps/mach/hurd/sendto.c: Likewise.
21180         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21181         implementing it by hand.
21182
21183 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21184
21185         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21186         Use sfi_breg on ldr.
21187         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21188         Likewise.
21189
21190         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21191         it's defined.
21192         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21193         Test SIGSETXID only if it's defined.
21194
21195         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21196
21197         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21198         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21199
21200         * nptl/tst-align2.c: Moved ...
21201         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21202         * nptl/Makefile (tests): Remove tst-align2.
21203         * sysdeps/unix/sysv/linux/Makefile
21204         [$(subdir) = nptl] (tests): Add tst-align-clone.
21205         * nptl/tst-getpid1.c: Moved ...
21206         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21207         * nptl/tst-getpid2.c: Moved ...
21208         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21209         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21210         * sysdeps/unix/sysv/linux/Makefile
21211         [$(subdir) = nptl] (tests): ... here.
21212         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21213         * sysdeps/unix/sysv/linux/Makefile
21214         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21215
21216         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21217         Drop trailing \n from perror argument.  Use return rather than exit.
21218
21219         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21220         on [SA_SIGINFO].
21221         * nptl/tst-cancel21.c (do_test): Likewise.
21222         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21223         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21224         [!SA_SIGINFO]: Make it a stub test.
21225
21226         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21227         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21228
21229         * posix/tst-getlogin.c: Move to ...
21230         * login/tst-getlogin.c: ... here.
21231         * posix/Makefile (tests): Move tst-getlogin to ...
21232         * login/Makefile (tests): ... here.
21233
21234         * libio/tst-atime.c (do_test): Move local variables SV and E
21235         inside [ST_NOATIME] conditional.
21236
21237         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21238
21239         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21240
21241         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21242         (wait_code): New function replaces macro.
21243         Call nanosleep rather than syscall.
21244
21245         * nptl/pt-system.c: Rewritten.  Put everything under
21246         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21247         Use IFUNC to redirect when possible.
21248
21249         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21250         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21251         Use IFUNC to redirect when possible.
21252
21253         * nptl/pt-fork.c: Rewritten.  Put everything under
21254         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21255         Use IFUNC to redirect when possible.
21256         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21257
21258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21259         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21260         unconditionally nowadays.  This included the only reference to
21261         __vdso_clock_gettime that appears outside libc proper.
21262         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21263         Remove version set (containing only __vdso_clock_gettime).
21264         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21265         Add attribute_hidden.
21266         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21267         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21268         libc_hidden_data_def.
21269         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21270         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21271
21272         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21273         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21274         setrpcent, and getrpcport to ...
21275         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21276         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21277         getrpcbynumber_r, and getrpcent_r to ...
21278         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21279         * inet/getrpcbyname.c: Moved ...
21280         * sunrpc/getrpcbyname.c: ... here.
21281         * inet/getrpcbyname_r.c: Moved ...
21282         * sunrpc/getrpcbyname_r.c: ... here.
21283         * inet/getrpcbynumber.c: Moved ...
21284         * sunrpc/getrpcbynumber.c: ... here.
21285         * inet/getrpcbynumber_r.c: Moved ...
21286         * sunrpc/getrpcbynumber_r.c: ... here.
21287         * inet/getrpcent.c: Moved ...
21288         * sunrpc/getrpcent.c: ... here.
21289         * inet/getrpcent_r.c: Moved ...
21290         * sunrpc/getrpcent_r.c: ... here.
21291         * inet/Makefile (routines): Move those to ...
21292         * sunrpc/Makefile (routines): ... here.
21293         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21294         the $(subdirs) list.
21295         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21296         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21297         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21298         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21299
21300         * elf/Makefile (routines): Include $(all-dl-routines), not just
21301         $(dl-routines).
21302         (rtld-routines): Likewise.  Use = rather than :=.
21303         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21304         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21305         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21306         * sysdeps/arm/Makefile: Likewise.
21307         * sysdeps/i386/Makefile: Likewise.
21308         * sysdeps/x86_64/Makefile: Likewise.
21309         * sysdeps/hppa/Makefile [$(subdir) = elf]
21310         (sysdep_routines, sysdep-rtld-routines): Don't add
21311         $(sysdep-dl-routines) to these.
21312         * sysdeps/ia64/Makefile: Likewise.
21313         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21314         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21315         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21316         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21317         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21318         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21319         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21320         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21321         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21322         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21323         these; sysdep-dl-routines alone is enough.
21324
21325 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21326
21327         [BZ #17932]
21328         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21329         where multiplication results in zero and third argument is finite
21330         and nonzero.
21331         * math/auto-libm-test-in: Add more tests of fma.
21332         * math/auto-libm-test-out: Regenerated.
21333
21334         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21335         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21336         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21337         (_FP_CMP_EQ): Likewise.
21338         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21339
21340         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21341         extra argument CHECK_NAN.  Redefine as wrapper around
21342         _FP_EXTEND_CNAN.
21343
21344 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21345
21346         * version.h (RELEASE): Set to "stable".
21347         (VERSION): Set to "2.21"
21348         * include/features.h (__GLIBC_MINOR__): Set to 21.
21349
21350         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21351
21352 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21353             Paul Eggert  <eggert@cs.ucla.edu>
21354
21355         [BZ #16618]
21356         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21357         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21358         size in bytes. Store needed elements in wpmax. Use needed size
21359         in bytes for extend_alloca.
21360
21361 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21362
21363         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21364         binutls 2.25, and texinfo 5.2.
21365         * INSTALL: Regenerate.
21366         * sysdeps/nios2/configure: Regenerate.
21367         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21368         * manual/contrib.texi: Update.
21369         * po/be.po: Update.
21370         * po/bg.po: Update.
21371         * po/ca.po: Update.
21372         * po/cs.po: Update.
21373         * po/da.po: Update.
21374         * po/de.po: Update.
21375         * po/el.po: Update.
21376         * po/eo.po: Update.
21377         * po/es.po: Update.
21378         * po/fi.po: Update.
21379         * po/fr.po: Update.
21380         * po/gl.po: Update.
21381         * po/hr.po: Update.
21382         * po/hu.po: Update.
21383         * po/ia.po: Update.
21384         * po/id.po: Update.
21385         * po/it.po: Update.
21386         * po/ja.po: Update.
21387         * po/ko.po: Update.
21388         * po/lt.po: Update.
21389         * po/nb.po: Update.
21390         * po/nl.po: Update.
21391         * po/pl.po: Update.
21392         * po/pt_BR.po: Update.
21393         * po/ru.po: Update.
21394         * po/rw.po: Update.
21395         * po/sk.po: Update.
21396         * po/sl.po: Update.
21397         * po/sv.po: Update.
21398         * po/tr.po: Update.
21399         * po/uk.po: Update.
21400         * po/vi.po: Update.
21401         * po/zh_CN.po: Update.
21402         * po/zh_TW.po: Update.
21403
21404         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21405         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21406         * sysdeps/hppa/dl-irel.h: Remove #warning.
21407         * sysdeps/hppa/entry.h: Provide prototype for
21408         __canonicalize_funcptr_for_compare and cast argument.
21409         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21410         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21411         * sysdeps/hppa/sotruss-lib.c: New file.
21412         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21413         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21414         (atomic_compare_and_exchange_bool_acq): Likewise.
21415         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21416         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21417
21418         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21419         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21420         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21421
21422 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21423
21424         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21425         called function in non-PIC case.
21426
21427 2015-01-31  David S. Miller  <davem@davemloft.net>
21428
21429         * sysdeps/sparc/sparc32/bits/atomic.h
21430         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21431         unlock not after it.
21432         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21433         volatile register usage warnings from the compiler.
21434
21435         * sysdeps/sparc/nptl/sem_init.c: Delete.
21436         * sysdeps/sparc/nptl/sem_post.c: Delete.
21437         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21438         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21439         * sysdeps/sparc/sparc32/sem_init.c: New file.
21440         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21441         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21442         padding explicitly initialized.
21443         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21444         padding for in-semaphore spinlock.
21445         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21446         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21447         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21448         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21449         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21450         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21451         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21452         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21453         version.
21454         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21455         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21456
21457 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21458
21459         [BZ #17801]
21460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21461         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21462         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21463         New.
21464         (index_AVX_Fast_Unaligned_Load): Likewise.
21465         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21466         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21467         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21468         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21469         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21470         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21471         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21472         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21473         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21474
21475 2015-01-29  Andreas Schwab  <schwab@suse.de>
21476
21477         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21478
21479 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21480
21481         [BZ #17892]
21482         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21483
21484 2015-01-28  Martin Sebor  <msebor@redhat.com>
21485
21486         * math/README.libm-test: Clarify. Add "How to read the test output."
21487
21488 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21489
21490         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21491         Define to 0.
21492
21493 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21494
21495         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21496         (__HAVE_64B_ATOMICS): Define to 0.
21497
21498 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21499
21500         [BZ #17885]
21501         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21502         value to set as new flag.
21503
21504         [BZ #16576]
21505         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21506         and use _ARCH_PPCSQ instead.
21507         (__ieee754_sqrt): Likewise.
21508         (__ieee754_sqrtf): Likewise.
21509         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21510         _ARCH_PPCSQ is defined.
21511         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21512         fsqrt instruction.
21513         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21514         _ARCH_PPCSQ is defined.
21515         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21516         fsqrts instruction.
21517         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21518
21519 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21520
21521         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21522         bug (GCC BZ #64739).
21523
21524 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21525
21526         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21527         Mark _retval as used.
21528         (lll_futex_wake_unlock): Likewise.
21529         (lll_futex_timed_wait_requeue_pi): Likewise.
21530
21531         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21532         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21533         register variables.
21534
21535         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21536         libm_hidden_def.
21537
21538         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21539         (__bswap_64): Mark as __always_inline.
21540
21541 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21542
21543         [BZ #15378]
21544         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21545         when none of the search directories exist.
21546
21547 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21548
21549         [BZ #17869]
21550         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21551         power8 in .machine directive.
21552
21553         [BZ #17868]
21554         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21555         set dependency from opd value.
21556
21557 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21558
21559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21560         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21561         architecture.
21562
21563 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21564
21565         [BZ #17870]
21566         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21567         with uint64_t.
21568         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21569         (uint64_t) 1.
21570         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21571         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21572         Replace 1UL with (uint64_t) 1.
21573         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21574         int with uint64_t.
21575
21576 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21577
21578         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21579         (if_freenameindex): Likewise.
21580
21581         * resource/getrlimit64.c: Add missing libc_hidden_def.
21582
21583 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21584
21585         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21586         __label__.
21587         (_FP_FMA): Likewise.
21588         (_FP_TO_INT_ROUND): Likewise.
21589         (_FP_FROM_INT): Likewise.
21590
21591 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21592
21593         [BZ #16418]
21594         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21595         Make code racy and cancel safe.
21596
21597 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21598
21599         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21600         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21601         attribution.
21602
21603         * pwd/tst-getpw.c: Rewrite.
21604
21605         [BZ #17702]
21606         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21607         (modules-names): Add moddummy1 and moddummy2.
21608         ($(objpfx)tst-rec-dlopen): Define.
21609         * dlfcn/moddummy1.c: New file.
21610         * dlfcn/moddummy2.c: New file.
21611         * dlfcn/tst-rec-dlopen.c: New file.
21612         * elf/dl-cache.c (_dl_load_cache_lookup):
21613         Return char*. Copy result with alloca/strcpy/strdup.
21614         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21615         returns char*. Free cached. If not saving realname
21616         free cached.
21617         * elf/dl-open.c (dl_open_worker): Do not assert that
21618         _r_debug->r_state is RT_CONSISTENT.
21619         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21620         returns char*.
21621
21622 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21623             Carlos O'Donell  <carlos@redhat.com>
21624
21625         [BZ #12674]
21626         * nptl/sem_waitcommon.c: New file.
21627         * nptl/sem_wait.c: Include sem_waitcommon.c.
21628         (__sem_wait_cleanup, do_futex_wait): Remove.
21629         (__new_sem_wait): Adapt.
21630         (__new_sem_trywait): New function.
21631         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21632         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21633         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21634         (sem_timedwait): Adapt.
21635         * nptl/sem_post.c (__new_sem_post): Adapt.
21636         (futex_wake): New function.
21637         (__old_sem_post): Add release MO fence.
21638         * nptl/sem_open.c (sem_open): Adapt.
21639         * nptl/sem_init.c (__new_sem_init): Adapt.
21640         (futex_private_if_supported): New function.
21641         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21642         (__old_sem_getvalue): Add using previous code.
21643         * sysdeps/nptl/internaltypes.h: Adapt.
21644         * nptl/tst-sem13.c (do_test): Adapt.
21645         * nptl/tst-sem11.c (main): Adapt.
21646         * nptl/sem_trywait.c: Remove.
21647         * nptl/DESIGN-sem.txt: Remove.
21648         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21649         (gen-as-const-headers): Remove structsem.sym.
21650         * nptl/structsem.sym: Remove.
21651         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21652         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21653         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21654         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21655         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21656         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21657         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21658         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21659         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21660         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21661         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21662         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21663         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21664         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21665         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21666         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21667         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21668         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21669         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21670         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21671         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21672         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21673
21674 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21675
21676         * INSTALL: Regenerated.
21677
21678         * po/libc.pot: Regenerated.
21679
21680 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21681             Sandra Loosemore  <sandra@codesourcery.com>
21682             Andrew Jenner  <andrew@codesourcery.com>
21683             Joseph Myers  <joseph@codesourcery.com>
21684             Nathan Sidwell  <nathan@codesourcery.com>
21685
21686         * NEWS: Mention new Nios II port.
21687         * sysdeps/nios2/Implies: New file.
21688         * sysdeps/nios2/Makefile: New file.
21689         * sysdeps/nios2/Subdirs: New file.
21690         * sysdeps/nios2/Versions: New file.
21691         * sysdeps/nios2/__longjmp.S: New file.
21692         * sysdeps/nios2/abort-instr.h: New file.
21693         * sysdeps/nios2/backtrace.c: New file.
21694         * sysdeps/nios2/bits/endian.h: New file.
21695         * sysdeps/nios2/bits/fenv.h: New file.
21696         * sysdeps/nios2/bits/link.h: New file.
21697         * sysdeps/nios2/bits/setjmp.h: New file.
21698         * sysdeps/nios2/bsd-_setjmp.S: New file.
21699         * sysdeps/nios2/bsd-setjmp.S: New file.
21700         * sysdeps/nios2/configure: New generated file.
21701         * sysdeps/nios2/configure.ac: New file.
21702         * sysdeps/nios2/crti.S: New file.
21703         * sysdeps/nios2/crtn.S: New file.
21704         * sysdeps/nios2/dl-init.c: New file.
21705         * sysdeps/nios2/dl-machine.h: New file.
21706         * sysdeps/nios2/dl-sysdep.h: New file.
21707         * sysdeps/nios2/dl-tls.h: New file.
21708         * sysdeps/nios2/dl-trampoline.S: New file.
21709         * sysdeps/nios2/gccframe.h: New file.
21710         * sysdeps/nios2/gmp-mparam.h: New file.
21711         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21712         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21713         * sysdeps/nios2/ldsodefs.h: New file.
21714         * sysdeps/nios2/libc-tls.c: New file.
21715         * sysdeps/nios2/libm-test-ulps: New file.
21716         * sysdeps/nios2/machine-gmon.h: New file.
21717         * sysdeps/nios2/math-tests.h: New file.
21718         * sysdeps/nios2/math_private.h: New file.
21719         * sysdeps/nios2/memusage.h: New file.
21720         * sysdeps/nios2/nptl/Makefile: New file.
21721         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21722         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21723         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21724         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21725         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21726         * sysdeps/nios2/nptl/tls.h: New file.
21727         * sysdeps/nios2/preconfigure: New file.
21728         * sysdeps/nios2/s_fma.c: New file.
21729         * sysdeps/nios2/s_fmaf.c: New file.
21730         * sysdeps/nios2/setjmp.S: New file.
21731         * sysdeps/nios2/sfp-machine.h: New file.
21732         * sysdeps/nios2/sotruss-lib.c: New file.
21733         * sysdeps/nios2/stackguard-macros.h: New file.
21734         * sysdeps/nios2/stackinfo.h: New file.
21735         * sysdeps/nios2/start.S: New file.
21736         * sysdeps/nios2/sysdep.h: New file.
21737         * sysdeps/nios2/tls-macros.h: New file.
21738         * sysdeps/nios2/tst-audit.h: New file.
21739         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21740         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21741         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21742         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21743         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21744         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21745         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21746         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21747         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21748         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21749         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21750         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21751         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21752         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21753         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21754         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21755         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21756         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21757         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21758         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21759         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21760         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21761         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21762         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21763         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21764         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21765         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21766         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21767         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21768         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21769         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21770         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21771         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21772         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21773         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21774         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21775         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21776         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21777         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21778         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21779         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21780         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21781         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21782         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21783
21784 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21785
21786         [BZ #17844]
21787         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21788         (getutent): Use weak_alias in non SHARED case
21789         and default_symbol_version in SHARED case.
21790         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21791         (getutent_r, pututline): Likewise.
21792         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21793         (getutid): Likewise.
21794         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21795         (getutid_r): Likewise.
21796         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21797         (getutline): Likewise.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21799         (getutline_r): Likewise.
21800         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21801         (updwtmp): Likewise.
21802
21803 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21804
21805         [BZ #17848]
21806         * sysdeps/s390/s390-32/memcmp.S
21807         (memcmp_g5): Rename to __memcmp_g5.
21808         * sysdeps/s390/s390-32/memcpy.S
21809         (memcpy_g5): Rename to __memcpy_g5.
21810         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21811         (memcpy_mvcle) Rename to __memcpy_mvcle.
21812         * sysdeps/s390/s390-32/memset.S
21813         (memset_g5): Rename to __memset_g5.
21814         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21815         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21816         and use prefixed functions.
21817         * sysdeps/s390/s390-32/multiarch/memcmp.S
21818         (memcmp_z196): Rename to __memcmp_z196.
21819         (memcmp_z10): Rename to __memcmp_z10.
21820         (memcmp): Set alias to __memcmp_g5.
21821         (bcmp): Set alias to __memcmp_g5.
21822         * sysdeps/s390/s390-32/multiarch/memcpy.S
21823         (memcpy_z196): Rename to __memcpy_z196.
21824         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21825         (memcpy_z10): Rename to __memcpy_z10.
21826         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21827         (memcpy): Set alias to __memcpy_g5.
21828         * sysdeps/s390/s390-32/multiarch/memset.S
21829         (memset_z196): Rename to __memset_z196.
21830         Jump to __memset_mvcle instead of memset_mvcle.
21831         (memset_z10): Rename to __memset_z10.
21832         Jump to __memset_mvcle instead of memset_mvcle.
21833         (memset_mvcle) Rename to __memset_mvcle.
21834         (memset): Set alias to __memset_g5.
21835         * sysdeps/s390/s390-64/memcmp.S
21836         (memcmp_z900): Rename to __memcmp_z900.
21837         * sysdeps/s390/s390-64/memcpy.S
21838         (memcpy_z900): Rename to __memcpy_z900.
21839         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21840         (memcpy_mvcle) Rename to __memcpy_mvcle.
21841         * sysdeps/s390/s390-64/memset.S
21842         (memset_z900): Rename to __memset_z900.
21843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21844         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21845         and use prefixed functions.
21846         * sysdeps/s390/s390-64/multiarch/memcmp.S
21847         (memcmp_z196): Rename to __memcmp_z196.
21848         (memcmp_z10): Rename to __memcmp_z10.
21849         (memcmp): Set alias to __memcmp_z900.
21850         (bcmp): Set alias to __memcmp_z900.
21851         * sysdeps/s390/s390-64/multiarch/memcpy.S
21852         (memcpy_z196): Rename to __memcpy_z196.
21853         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21854         (memcpy_z10): Rename to __memcpy_z10.
21855         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21856         (memcpy): Set alias to __memcpy_z900.
21857         * sysdeps/s390/s390-64/multiarch/memset.S
21858         (memset_z196): Rename to __memset_z196.
21859         Jump to __memset_mvcle instead of memset_mvcle.
21860         (memset_z10): Rename to __memset_z10.
21861         Jump to __memset_mvcle instead of memset_mvcle.
21862         (memset_mvcle) Rename to __memset_mvcle.
21863         (memset): Set alias to __memset_z900.
21864
21865 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21866
21867         [BZ #17748]
21868         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21869         __fesetenv instead of fesetenv.
21870
21871 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21872
21873         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21874         macro.
21875
21876 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21877
21878         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21879         regression on LE.
21880
21881         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21882         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21884         strncmp-power8 object.
21885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21886         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21887         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21888         * NEWS: Update.
21889
21890 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21891             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21892
21893         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21894         trailing byte check.
21895
21896 2015-01-13  David S. Miller  <davem@davemloft.net>
21897
21898         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21899
21900 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21901
21902         * login/logout.c (logout): Use memset rather than bzero.
21903         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21904         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21905         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21906         (_gethtbyaddr): Likewise.
21907         * locale/programs/simple-hash.c (bcopy): Macro removed.
21908
21909 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21910
21911         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21912         Add strcmp-power8 object.
21913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21914         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21915         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21916         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21917         __strcmp_power8 implementation.
21918         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21919         * NEWS: Update.
21920
21921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21922         Add strncpy-power8 and stpncpy-power8 objects.
21923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21924         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21925         implementations.
21926         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21928         __stpncpy_power8 implementation.
21929         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21930         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21931         __strncpy_power8 implementation.
21932         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21933         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21934         * NEWS: Update.
21935
21936         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21937         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21938         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21939
21940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21941         strncat-power8 object.
21942         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21943         __strcat_power8 implementation.
21944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21945         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21947         optimized strcat for power8.
21948
21949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21950         strcpy-power8 and stpcpy-power8 objects.
21951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21952         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21953         implementations.
21954         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21955         multiarch stpcpy implementation for POWER8.
21956         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21957         multiarch strcpy implementation for POWER8.
21958         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21959         __strcpy_power8 function.
21960         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21961         stpcpy for POWER8.
21962         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21963         strcpy for POWER8.
21964         * NEWS: Update.
21965
21966 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21967
21968         [BZ #16009]
21969         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21970         weights and rules. Use do_xfrm_cached if data fits in cache,
21971         do_xfrm otherwise.  Moved former main loop to...
21972         * (do_xfrm_cached): New function.
21973         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21974         find_idx, find_position and stack_push.
21975         * (find_idx): New function.
21976         * (find_position): Likewise.
21977         * localedata/sort-test.sh: Added test run for do_xfrm.
21978         * localedata/xfrm-test.c (main): Added command line option
21979         -nocache to run the test with strings that are too large for
21980         the STRXFRM cache.
21981
21982 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21983
21984         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21985         variable to lll_futex_wake call, not the value itself.
21986
21987 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21988
21989         [BZ #17803]
21990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21991         twom64.  Adjust value to 0x1p-64L.
21992         (__scalblnl): Only return standard underflowing result for K <=
21993         -64 not K <= -63; adjust exponent for underflowing result by 64
21994         not 63.
21995         * math/libm-test.inc (scalbn_test_data): Add more tests.
21996         (scalbln_test_data): Likewise.
21997
21998         [BZ #17834]
21999         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22000         0x1p63L.
22001         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22002         not HX.
22003         * math/libm-test.inc (scalbn_test_data): Add more tests.
22004         (scalbln_test_data): Likewise.
22005
22006 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22007             Stefani Seibold  <stefani@seibold.net>
22008
22009         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22010         (sysdep_routines): Add dl-vdso here, ...
22011         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22012         (sysdep_routines): ... not here.
22013         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22014         fallback when vDSO is not presented.
22015         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22016         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22017         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22018         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22019         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22020         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22021         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22022         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22023         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22025         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22026         fallback configurable symbol when vDSO is not available.
22027         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22028         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22029         be able to redefine fallback symbol when vDSO is not available.
22030         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22031         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22032
22033 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22034
22035         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22036         (TLS_INIT_TP): Add tm_capable initialization.
22037         (TLS_DEFINE_INIT_TP): Likewise.
22038         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22039         TCB.
22040         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22041         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22042         calculation.
22043         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22044         transactoion is lock elision is built and TCB tm_capable is set.
22045         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22047         (INTERNAL_SYSCALL_NCS): Likewise.
22048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22049         (INTERNAL_SYSCALL_NCS): Likewise.
22050         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22051
22052         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22053         for powerpc.
22054         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22055         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22056         and remove it for 32 bits case.
22057         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22059         initialization.
22060         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22061         Disable lock elision with rdlocks if elision is not available.
22062
22063         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22064         (sysdep_routines): Add lock elision objects.
22065         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22066         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22067         [pthread_mutex_t] (__elision): Add field.
22068         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22069         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22070         elision definitions for powerpc.
22071         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22072         implementation of lock elision for powerpc.
22073         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22074         implementation of timed lock elision for powerpc.
22075         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22076         implementation of trylock with lock elision for powerpc.
22077         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22078         implementaion of unlock for lock elision for powerpc.
22079         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22080         automatic enable lock elision for mutexes.
22081         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22082         transaction execution definitions for powerpc.
22083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22084         definitions.
22085         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22086         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22087         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22088         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22089         * NEWS: Update.
22090
22091 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22092
22093         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22094         for #include of <shm-directory.h>.
22095
22096 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22097
22098         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22099         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22100
22101 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22102
22103         [BZ #17791]
22104         * NEWS: Mention bug fix.
22105         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22106         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22107         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22108
22109 2015-01-09  Torvald Riegel <triegel@redhat.com>
22110
22111         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22112
22113 2015-01-09  Torvald Riegel <triegel@redhat.com>
22114
22115         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22116
22117 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22118
22119         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22120         pointer and cast to uintptr_t.
22121
22122 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22123
22124         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22125         removed.
22126         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22127
22128 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22129
22130         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22131         of 0.
22132
22133 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22134
22135         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22136         <nptl/pthreadP.h> instead.
22137         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22138
22139         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22140         already defined.
22141         [__SIGRTMIN] (init): Function removed.
22142         [__SIGRTMIN] (initialized): Variable removed.
22143         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22144         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22145         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22146         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22147         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22148         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22149         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22150         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22151         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22152         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22153         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22154         * sysdeps/nptl/allocrtsig.c: New file.
22155         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22156         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22157         * sysdeps/generic/testrtsig.h: File removed.
22158
22159         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22160         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22161
22162         * nptl/nptl-init.c (pthread_functions): Conditionalize
22163         .ptr__nptl_setxid initialization on [SIGSETXID].
22164
22165         * sysdeps/nptl/sys/procfs.h: New file.
22166         * nptl_db/Makefile (headers): Add it.
22167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22168
22169         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22170         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22171         * nptl/pthread_attr_setaffinity.c: Include it.
22172         * nptl/pthread_setattr_default_np.c: Likewise.
22173         * nptl/check-cpuset.h: New file.
22174
22175 2015-01-08  Richard Henderson  <rth@redhat.com>
22176
22177         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22178         (CFLAGS-tst-execstack-prog.c): Likewise.
22179         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22180
22181 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22182             Sandra Loosemore  <sandra@codesourcery.com>
22183             Andrew Jenner  <andrew@codesourcery.com>
22184             Joseph Myers  <joseph@codesourcery.com>
22185             Nathan Sidwell  <nathan@codesourcery.com>
22186
22187         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22188         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22189         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22190         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22191         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22192         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22193         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22194         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22195         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22196         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22197         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22198         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22199         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22200         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22201         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22202         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22203         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22204
22205 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22206
22207         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22208         timespec struct member in syscall macro.
22209         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22210         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22211         first timeval struct member in syscall macro.
22212         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22213
22214 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22215
22216         [BZ #17748]
22217         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22218         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22219         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22220         __feupdateenv and define as weak alias of __feupdateenv.  Use
22221         libm_hidden_weak.
22222         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22223         libm_hidden_def.
22224         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22225         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22226         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22227         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22228         libm_hidden_def.
22229         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22230         __feupdateenv and define as weak alias of __feupdateenv.  Use
22231         libm_hidden_weak.
22232         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22233         libm_hidden_def.
22234         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22235         __feupdateenv and define as weak alias of __feupdateenv.  Use
22236         libm_hidden_weak.
22237         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22238         libm_hidden_def.
22239         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22240         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22241         (__feupdateenv): Likewise.
22242         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22243         __feupdateenv and define as weak alias of __feupdateenv.  Use
22244         libm_hidden_weak.
22245         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22246         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22247         libm_hidden_def.
22248         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22249         function.
22250         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22251         libm_hidden_def.
22252         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22253         __feupdateenv instead of feupdateenv.
22254         (default_libc_feupdateenv_test): Likewise.
22255         (libc_feresetround_ctx): Likewise.
22256
22257 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22258
22259         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22260         prototype.
22261
22262 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22263
22264         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22265         COLL_SYM in a couple of places to avoid uninitialized variable
22266         wanings on tilegx gcc 4.8.2.
22267
22268 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22269
22270         * sysdeps/aarch64/strcpy.S: New file.
22271         * sysdeps/aarch64/stpcpy.S: New file.
22272         * NEWS: Updated.
22273
22274 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22275
22276         * sysdeps/aarch64/strrchr.S: New file.
22277         * NEWS: Updated.
22278
22279 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22280
22281         [BZ #17658]
22282         * stdlib/setenv.c: Fix memory leak when setting large,
22283         duplicate string.
22284
22285 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22286
22287         [BZ #17273]
22288         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22289         and tabs from buffer before parsing fstab entry.
22290         * misc/tst-mntent.c (main): Add test for mount entry with
22291         trailing spaces and tabs.
22292
22293 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22294
22295         [BZ #17748]
22296         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22297         * math/fesetround.c (fesetround): Rename to __fesetround and
22298         define as weak alias of __fesetround.  Use libm_hidden_weak.
22299         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22300         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22301         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22302         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22303         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22304         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22305         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22306         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22307         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22308         __fesetround_inline.
22309         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22310         __fesetround_inline instead of __fesetround.
22311         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22312         __fesetround and define as weak alias of __fesetround.  Use
22313         libm_hidden_weak.  Call __fesetround_inline instead of
22314         __fesetround.
22315         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22316         __fesetround and define as weak alias of __fesetround.  Use
22317         libm_hidden_weak.
22318         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22319         Likewise.
22320         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22321         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22322         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22323         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22324         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22325         __fesetround and define as weak alias of __fesetround.  Use
22326         libm_hidden_weak.
22327         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22328         __fesetround instead of fesetround.
22329         (default_libc_feholdexcept_setround): Likewise.
22330         (libc_feholdsetround_ctx): Likewise.
22331         (libc_feholdsetround_noex_ctx): Likewise.
22332
22333         [BZ #17748]
22334         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22335         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22336         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22337         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22338         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22339         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22340         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22341         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22342         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22343         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22344         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22345         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22346         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22347         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22348         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22349         libm_hidden_def.
22350         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22351         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22352         Likewise.
22353         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22354         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22355         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22356         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22357         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22358         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22359         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22360         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22361         __fesetenv instead of fesetenv.
22362         (libc_feresetround_noex_ctx): Likewise.
22363         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22364         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22365         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22366         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22367         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22368         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22369         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22370         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22371         (__feupdateenv): Likewise.
22372         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22373         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22374         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22375         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22376
22377 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22378
22379         [BZ #17806]
22380         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22381         addresses have been freed.
22382
22383 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22384
22385         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22386         and nservall.
22387
22388 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22389
22390         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22391         Clean up check_pf allocation pattern. addresses
22392
22393 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22394
22395         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22396         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22397         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22398         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22399         * nptl/pthread_join.c (pthread_join): Likewise.
22400         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22401         * sysdeps/posix/waitid.c (__waitid): Likewise.
22402         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22403         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22404         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22405         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22407         Likewise.
22408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22409         (__libc_pread64): Likewise.
22410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22411         (__libc_pwrite): Likewise.
22412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22413         (__libc_pwrite64): Likewsie.
22414         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22415         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22416         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22417         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22418         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22419         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22420         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22424         (__libc_pread64): Likewise.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22428         (__libc_pwrite64): Likewise.
22429         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22430         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22431         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22432         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22433         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22434         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22435         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22436         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22437         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22438         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22439         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22440         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22441         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22442         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22443         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22445         Likewise.
22446
22447 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22448
22449         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22450         (CFLAGS-test-double.c): Likewise.
22451         (CFLAGS-test-ldouble.c): Likewise.
22452         (CPPFLAGS-test-ifloat.c): Likewise.
22453         (CPPFLAGS-test-idouble.c): Likewise.
22454         (CPPFLAGS-test-ildoubl.c): Likewise.
22455         (CFLAGS-test-test-fenv.c): Remove variable.
22456         (CFLAGS-test-misc.c): Likewise.
22457
22458 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22459
22460         [BZ #17797]
22461         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22462         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22463         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22464         CLOCKS_PER_SEC == 1000000.
22465         * time/clocktest.c (main): Replace %ld with %jd and cast to
22466         intmax_t.
22467
22468 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22469
22470         * sysdeps/generic/unwind-resume.h: New file.
22471         * sysdeps/gnu/unwind-resume.c: Include it.
22472         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22473         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22474         argument list.
22475         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22476         global rather than static.
22477         (_Unwind_Resume): Update user.
22478         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22479         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22480         rather than static.  Add __attribute__ ((cold)).
22481         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22482         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22483         * sysdeps/arm/arm-unwind-resume.S: New file.
22484         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22485         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22486         * sysdeps/arm/Makefile [$(subdir) = csu]
22487         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22488         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22489         Add rt-arm-unwind-resume.
22490         [$(subdir) = nptl]
22491         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22492         Add pt-arm-unwind-resume.
22493         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22494         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22495
22496 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22497
22498         [BZ #17748]
22499         * include/fenv.h (__feholdexcept): Declare.  Use
22500         libm_hidden_proto.
22501         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22502         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22503         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22504         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22505         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22506         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22507         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22508         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22509         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22510         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22511         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22512         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22513         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22514         (feholdexcept): Likewise.
22515         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22516         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22517         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22518         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22519         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22520         __feholdexcept instead of feholdexcept.
22521         (default_libc_feholdexcept_setround): Likewise.
22522
22523 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22524
22525         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22526         to avoid using stl/str to align destination.
22527
22528 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22529
22530         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22531
22532 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22533
22534         [BZ #17796]
22535         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22536         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22537         Define as weak alias not strong alias.
22538
22539 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22540
22541         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22542         bltzal with addiupc.
22543         (RTLD_START): Ditto.
22544
22545 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22546
22547         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22548         for __vdso_* functions in declarations.
22549         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22550         definitions.
22551         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22552         INTERNAL_VSYSCALL): Use struct return types to check for error.
22553
22554         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22555         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22556         function with cast from llround().
22557         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22558         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22559         Define.
22560
22561 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22562
22563         [BZ #17793]
22564         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22565         Define as weak alias not strong alias.
22566
22567         [BZ #17635]
22568         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22569         ...
22570         * ctype/ctype-extn.c: ... here.
22571         (__isblank_l): Move to ...
22572         * ctype/ctype-c99_l.c: ... here.  New file.
22573         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22574         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22575         Remove variable.
22576         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22577         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22578         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22579         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22580         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22581
22582         [BZ #17777]
22583         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22584         (posix_fadvise64): Define as weak alias not strong alias.
22585         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22586         (posix_fallocate64): Likewise.
22587         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22588         Remove variable.
22589         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22590         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22591         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22592         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22593         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22594
22595 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22596
22597         [BZ #16191]
22598         * NEWS: Mention bug fix.
22599         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22600         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22601         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22602         (HOST_STACK_END_ADDR): Likewise.
22603
22604 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22605
22606         [BZ #17748]
22607         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22608         * math/fegetround.c (fegetround): Rename to __fegetround and
22609         define as weak alias of __fegetround.  Use libm_hidden_weak.
22610         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22611         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22612         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22613         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22614         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22615         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22616         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22617         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22618         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22619         Undefine after rather than before function definition; use
22620         parentheses around function name in definition.
22621         (__fegetround): Also undefine macro after function definition.
22622         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22623         __fegetround and define as weak alias of __fegetround.  Use
22624         libm_hidden_weak.  Do not undefine as macro.
22625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22626         Likewise.
22627         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22628         __fegetround and define as weak alias of __fegetround.  Use
22629         libm_hidden_weak.
22630         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22631         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22632         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22633         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22634         __fegetround and define as weak alias of __fegetround.  Use
22635         libm_hidden_weak.
22636         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22637         __fegetround instead of fegetround.
22638
22639         [BZ #17782]
22640         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22641         Condition macro definition on [__USE_MISC].
22642
22643         [BZ #17781]
22644         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22645         (struct sigaction): Change type of sa_flags field to int.
22646
22647         [BZ #17780]
22648         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22649         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22650         __glibc_reserved0.
22651
22652         * nptl/version.c (banner): Use single year in copyright notice.
22653
22654         * NEWS: Update copyright dates.
22655         * catgets/gencat.c (print_version): Likewise.
22656         * csu/version.c (banner): Likewise.
22657         * debug/catchsegv.sh: Likewise.
22658         * debug/pcprofiledump.c (print_version): Likewise.
22659         * debug/xtrace.sh (do_version): Likewise.
22660         * elf/ldconfig.c (print_version): Likewise.
22661         * elf/ldd.bash.in: Likewise.
22662         * elf/pldd.c (print_version): Likewise.
22663         * elf/sotruss.sh: Likewise.
22664         * elf/sprof.c (print_version): Likewise.
22665         * iconv/iconv_prog.c (print_version): Likewise.
22666         * iconv/iconvconfig.c (print_version): Likewise.
22667         * locale/programs/locale.c (print_version): Likewise.
22668         * locale/programs/localedef.c (print_version): Likewise.
22669         * login/programs/pt_chown.c (print_version): Likewise.
22670         * malloc/memusage.sh (do_version): Likewise.
22671         * malloc/memusagestat.c (print_version): Likewise.
22672         * malloc/mtrace.pl: Likewise.
22673         * manual/libc.texinfo: Likewise.
22674         * nptl/version.c (banner): Likewise.
22675         * nscd/nscd.c (print_version): Likewise.
22676         * nss/getent.c (print_version): Likewise.
22677         * nss/makedb.c (print_version): Likewise.
22678         * posix/getconf.c (main): Likewise.
22679         * scripts/test-installation.pl: Likewise.
22680         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22681
22682 2015-01-02  Will Newton  <will.newton@linaro.org>
22683
22684         * sysdeps/arm/armv7/configure: Removed.
22685         * sysdeps/arm/armv7/configure.ac: Likewise.
22686
22687 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22688
22689         * All files with FSF copyright notices: Update copyright dates
22690         using scripts/update-copyrights.
22691         * intl/plural.c: Regenerated.
22692         * locale/programs/charmap-kw.h: Likewise.
22693         * locale/programs/locfile-kw.h: Likewise.
22694
22695 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22696
22697         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22698
22699 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22700
22701         [BZ #17748]
22702         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22703         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22704         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22705         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22706         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22707         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22708         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22709         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22710         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22711         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22712         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22713         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22714         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22715         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22716         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22717         libm_hidden_def.
22718         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22719         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22720         Likewise.
22721         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22722         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22723         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22724         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22725         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22726         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22727         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22728         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22729         __fegetenv instead of fegetenv.
22730         (libc_feholdsetround_noex_ctx): Likewise.
22731
22732 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22733
22734         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22735         (Elf_MIPS_ABIFlags_v0): New structure.
22736         (EF_MIPS_FP64): Define.
22737         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22738         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22739         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22740         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22741         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22742         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22743         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22744         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22745         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22746         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22747         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22748         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22749         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22750         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22751         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22752         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22753         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22754         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22755         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22756         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22757         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22758         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22759         field.
22760         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22761         EF_MIPS_FP64.
22762         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22763         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22764         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22765         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22766         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22767         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22768         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22769         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22770         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22771         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22772         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22773         record the current FP ABI extension.
22774         (mips-mode-switch): Define to show if kernel headers support mode
22775         switching.
22776         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22777         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22778         supported SYSV ABI version to 3.
22779         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22780         feature.
22781
22782 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22783             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22784
22785         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22786         path.
22787         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22788
22789 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22790
22791         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22792         __fegetround and redefine to call __fegetround.  Remove condition
22793         on [!__NO_MATH_INLINES].
22794         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22795         function.
22796         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22797         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22798         Remove macro.
22799         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22800         instead of <fenv_libc.h>.
22801         (__llrintl): Call fegetround instead of __fegetround.
22802         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22803         instead of <fenv_libc.h>.
22804         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22805         (__lrintl): Call fegetround instead of __fegetround.
22806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22807         instead of <fenv_libc.h>.
22808         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22809         (__rintl): Call fegetround instead of __fegetround.
22810
22811 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22812
22813         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22814         arrays.
22815
22816 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22817
22818         [BZ #17775]
22819         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22820         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22821         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22822
22823 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22824
22825         * sysdeps/i386/tls-macros.h: Include <features.h>.
22826         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22827         (TLS_IE): Likewise.
22828         (TLS_LD): Likewise.
22829         (TLS_GD): Likewise.
22830         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22831         define for GCC >= 5.0.
22832
22833 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22834
22835         * math/test-fenv.c (test_single_exception, set_single_exc,
22836         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22837         feexcp_mask_test, feenable_test, fe_single_test): Add
22838         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22839         case where they are not used.
22840         * math/libm-test.inc: Likewise.
22841         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22842         unused in the absence of FP rounding/exception support.
22843         * stdio-common/tst-printf-round.c: Likewise.
22844         * stdlib/tst-strtod-round.c: Likewise.
22845         * stdlib/tst-strtod-underflow.c: Likewise.
22846
22847 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22848
22849         [BZ #17723]
22850         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22851         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22852         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22853         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22854         libm_hidden_weak.
22855         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22856         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22857         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22858         libm_hidden_def.
22859         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22860         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22861         libm_hidden_weak.
22862         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22863         Likewise.
22864         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22865         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22866         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22867         libm_hidden_weak.
22868         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22869         libm_hidden_def.
22870         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22871         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22872         (__feraiseexcept): Likewise.
22873         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22874         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22875         libm_hidden_weak.
22876         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22877         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22878         libm_hidden_def.
22879         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22880         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22881         Use libm_hidden_def.
22882         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22883         libm_hidden_def.
22884         (feraiseexcept): Define as weak not strong alias.  Use
22885         libm_hidden_weak.
22886         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22887         New inline function.  Factored out of ...
22888         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22889         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22890         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22891         feraiseexcept.
22892         * math/w_acos.c (__acos): Likewise.
22893         * math/w_asin.c (__asin): Likewise.
22894         * math/w_ilogb.c (__ilogb): Likewise.
22895         * math/w_j0.c (y0): Likewise.
22896         * math/w_j1.c (y1): Likewise.
22897         * math/w_jn.c (yn): Likewise.
22898         * math/w_log.c (__log): Likewise.
22899         * math/w_log10.c (__log10): Likewise.
22900         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22901         * sysdeps/aarch64/fpu/math_private.h
22902         (libc_feupdateenv_test_aarch64): Likewise.
22903         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22904         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22905         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22906         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22907         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22908         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22909         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22910         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22911         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22912         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22913
22914 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22915
22916         [BZ #17732]
22917         * io/test-utime.c (main): Replace %ld with %jd and cast to
22918         intmax_t.
22919         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22920         * nptl/tst-mutex5.c: Include <stdint.h>.
22921         (do_test): Replace %ld with %jd and cast to intmax_t.
22922         * posix/tst-regex.c (run_test): Likewise.
22923         (run_test_backwards): Likewise.
22924         * rt/tst-clock.c: Include <stdint.h>.
22925         (clock_test): Replace %ld with %jd and cast to intmax_t.
22926         * rt/tst-cpuclock1.c: Include <stdint.h>.
22927         (do_test): Replace %lu with %ju and cast to uintmax_t.
22928         * rt/tst-cpuclock2.c: Include <stdint.h>.
22929         (do_test): Replace %lu with %ju and cast to uintmax_t.
22930         * rt/tst-mqueue1.c: Include <stdint.h>.
22931         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22932         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22933         intmax_t.
22934         * rt/tst-mqueue4.c (do_test): Likewise.
22935         * rt/tst-timer4.c: Include <stdint.h>.
22936         (check_ts): Replace %ld with %jd and cast to intmax_t.
22937         (do_test): Likewise.
22938         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22939         and cast to intmax_t.
22940         * sysdeps/pthread/tst-timer.c (main): Likewise.
22941         * time/clocktest.c (main): Likewise.
22942         * time/tst-posixtz.c (do_test): Likewise.
22943         * timezone/tst-timezone.c (main): Likewise.
22944
22945 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22946             H.J. Lu  <hongjiu.lu@intel.com>
22947
22948         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22949         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22950         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22951         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22952         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22953         version if bit_Fast_Unaligned_Load is set.
22954         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22955         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22956         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22957         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22958         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22959         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22961         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22962         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22963         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22964         to 4.
22965         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22966         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22967         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22968         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22969
22970 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22971
22972         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22973         instead of #if to avoid a Wundef warning.
22974         * stdlib/tst-limits.c (do_test): Likewise.
22975
22976         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22977         parallel other exception macros.
22978         (fegetenv): Convert from macro to extern inline so that it applies
22979         retroactively to inline functions already seen by the compiler.
22980         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22981
22982         * posix/Makefile (before-compile): Use $(objpfx) for
22983         posix-conf-vars-def.h.
22984
22985 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22986
22987         * posix/getconf.c (main): Use size_t for type of I.
22988         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22989         NSPEC.
22990
22991         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22992         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22993         * posix/posix-envs.def: Likewise.
22994         * sysdeps/posix/sysconf.c: Likewise.
22995         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22996         (specs): Remove array.
22997         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22998         array.
22999
23000         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23001         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23002         (__sysconf): Use CONF_IS_* macros.
23003
23004         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23005         ($(objpfx)posix-conf-vars-def.h): New target.
23006         * posix/posix-conf-vars.list: New file.
23007         * posix/posix-conf-vars.h: New file.
23008         * posix/confstr.c: Include posix-conf-vars.h.
23009         (confstr): Use CONF_IS_* macros.
23010         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23011         CONF_IS_* macros.
23012         * scripts/gen-posix-conf-vars.awk: New file.
23013
23014 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23015
23016         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23017         fegetround): Add no-op macros to avoid linknamespace issues.
23018
23019         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23020         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23021
23022         * sysdeps/unix/sysv/linux/tile/sysdep.h
23023         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23024         assembly-specific section to avoid a redefinition warning.
23025
23026         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23027         long before casting to pointer to avoid a cast warning.
23028
23029 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23030
23031         * sysdeps/tile/tilegx/Implies: New file.
23032
23033 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23034
23035         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23036
23037 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23038
23039         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23040
23041 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23042
23043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23044         not define.
23045         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23046         <kernel-features.h>.
23047         (__utimes) [__NR_utimes]: Make code unconditional.
23048         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23049         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23050         (__ASSUME_UTIMES): Do not undefine.
23051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23052         (__ASSUME_UTIMES): Likewise.
23053         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23054         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23055         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23056         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23057
23058 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23059
23060         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23061
23062 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23063
23064         [BZ #17747]
23065         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23066         alias to weak alias for j0l, y0l.
23067         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23068         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23069
23070         [BZ #17746]
23071         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23072         conversion.
23073
23074 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23075
23076         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23077         to zero if not already defined.
23078
23079 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23080
23081         [BZ #17724]
23082         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23083         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23084         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23085         (char *) casts added.
23086         * sysdeps/ieee754/k_standardf.c: New file.
23087         * sysdeps/ieee754/k_standardl.c: Likewise.
23088         * math/Makefile (libm-support): Remove k_standard.
23089         (libm-calls): Add k_standard.
23090
23091 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23092
23093         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23094         Optimize to avoid an unnecessary FPCR read.
23095
23096 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23097
23098         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23099         Optimize to reduce FPCR/FPSR accesses.
23100
23101 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23102
23103         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23104         Call libc_fetestexcept_aarch64.
23105
23106 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23107
23108         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23109         Call libc_fesetround_aarch64.
23110
23111 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23112
23113         [BZ #17733]
23114         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23115         (__bind): Do not define as weak alias.
23116         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23117         define.
23118         (__getsockname): Do not define as weak alias.
23119
23120 2014-12-22  Will Newton  <will.newton@linaro.org>
23121
23122         * manual/install.texi: Document that we require bison 2.7
23123         or above.
23124         * INSTALL: Regenerate.
23125         * configure.ac: Use AC_CHECK_PROG_VER instead of
23126         AC_PATH_PROG when checking for bison and check for
23127         version 2.7 or above.
23128         * configure: Regenerate.
23129
23130 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23131
23132         [BZ #17745]
23133         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23134         * sysdeps/tile/ffsll.c (ffsll): To here.
23135
23136         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23137
23138 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23139
23140         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23141         if not defined.
23142         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23143         definition.
23144         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23145         hidden ___tls_get_addr.
23146         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23147         hidden __tls_get_addr.
23148         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23149         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23150         Likewise.
23151
23152 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23153
23154         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23155         _dl_init call.
23156
23157 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23158
23159         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23160         from "call _dl_init@PLT".
23161         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23162
23163 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23164
23165         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23166         guarantees.
23167
23168 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23169
23170         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23171
23172 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23173
23174         [BZ #17744]
23175         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23176         strnlen.
23177
23178 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23179
23180         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23181         of multu on MIPSr6.
23182         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23183         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23184         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23185         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23186         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23187
23188 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23189
23190         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23191         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23192         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23193         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23194         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23195         mips32r6/mips64r6.
23196         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23197
23198 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23199
23200         * string/strncat.c (STRNCAT): Simplify implementation.
23201
23202 2014-12-19  David S. Miller  <davem@davemloft.net>
23203
23204         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23205         access the quad as both a long double and as a series of 4 words.
23206
23207         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23208         link_map->l_info array access.
23209
23210 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23211
23212         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23213
23214         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23215         * math/atest-exp2.c (TIMEOUT): Likewise.
23216         * math/atest-sincos.c (TIMEOUT): Likewise.
23217
23218 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23219
23220         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23221         -Wno-error with -fno-builtin-lround.
23222
23223 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23224
23225         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23226         Contains futex constants and functions moved over from ...
23227         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23228         <lowlevellock-futex.h>.
23229         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23230         (lll_timedwait_tid): Add comments and parentheses around macro
23231         arguments.
23232
23233 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23234
23235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23236         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23237         (__lll_private_flag): Remove.
23238         (lll_futex_wait): Likewise.
23239         (lll_futex_timed_wait): Likewise.
23240         (lll_futex_wake): Likewise.
23241         (lll_futex_requeue): Likewise.
23242         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23243         (__lll_timedwait_tid): Spell out argument names.
23244         (lll_timedwait_tid): Add comments and parentheses around macro
23245         arguments.
23246         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23247         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23248
23249 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23250
23251         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23252         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23253         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23254         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23255         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23256         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23257         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23258         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23259         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23262         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23265         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23266         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23267         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23268         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23269         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23270
23271 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23272
23273         * sysdeps/x86_64/x32/Makefile: New file.
23274
23275 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23276
23277         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23278         1L with (mp_limb_t) 1.
23279
23280 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23281
23282         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23283         * nptl/libc_pthread_init.c: ... here.
23284         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23285         * nptl/register-atfork.c: ... here.
23286
23287         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23288         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23289         Use assert_perror to check its return value.
23290         (__gai_create_helper_thread): Likewise.
23291
23292         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23293
23294         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23295
23296 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23297
23298         [BZ #17725]
23299         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23300         __profil_counter.
23301         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23302         Likewise.
23303         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23304         Likewise.
23305         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23308         (profil_counter): Likewise.
23309         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23310         (profil_counter): Likewise.
23311         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23314         Likewise.
23315         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23316         (profil_counter): Likewise.
23317         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23318         Likewise.
23319         [!__profil_counter] (profil_counter): Define as weak alias of
23320         __profil_counter.
23321         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23322         (profil_counter): Rename to __profil_counter.
23323         [!__profil_counter] (profil_counter): Define as weak alias of
23324         __profil_counter.
23325         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23326         (profil_counter): Rename to __profil_counter.
23327         [!__profil_counter] (profil_counter): Define as weak alias of
23328         __profil_counter.
23329         * sysdeps/posix/profil.c: Update comment referring to
23330         profil_counter.
23331         (__profil): Use __profil_counter instead of profil_counter.
23332         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23333         __profil_counter.  Use __profil_counter_ushort and
23334         __profil_counter_uint in definitions.
23335         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23336         instead of profil_counter_uint and profil_counter_ushort.
23337
23338         [BZ #17722]
23339         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23340         define as weak alias of __inet_makeaddr.
23341         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23342         as weak alias of __inet_addr.
23343         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23344         as weak alias of __inet_pton.  Use libc_hidden_weak.
23345         * include/arpa/inet.h (__inet_pton): Declare.  Use
23346         libc_hidden_proto.
23347         (inet_makeaddr): Don't use libc_hidden_proto.
23348         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23349         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23350         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23351         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23352         Remove variable.
23353         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23354         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23355
23356 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23357
23358         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23359
23360 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23361
23362         * stdio-common/bug-vfprintf-nargs.c (do_test):
23363         Cast value to intptr_t to avoid format warning
23364         for usage with PRIdPTR printing macro.
23365
23366 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23367
23368         * libio/tst-widetext.c (do_test):
23369         Use format type %td instead of %Zd for ptrdiff_t
23370         in order to avoid format warning.
23371
23372 2014-12-17  Andreas Schwab  <schwab@suse.de>
23373
23374         * nscd/mem.c (gc): Add size_t cast to match printf format.
23375
23376 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23377
23378         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23379         (init): Apply PTR_MANGLE to pointers before storing them.
23380         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23381         before using them.
23382
23383 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23384
23385         [BZ #17719]
23386         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23387         define as weak alias of __memrchr.
23388         (__memrchr): Do not define as strong alias of memrchr.
23389         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23390         Remove variable.
23391         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23392         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23393         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23394
23395         [BZ #17717]
23396         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23397         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23398         (if_indextoname): Rename to __if_indextoname and define as weak
23399         alias of __if_indextoname.  Use libc_hidden_weak.
23400         (if_freenameindex): Rename to __if_freenameindex and define as
23401         weak alias of __if_freenameindex.
23402         (if_nameindex): Rename to __if_nameindex and define as weak alias
23403         of __if_nameindex.
23404         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23405         __if_nametoindex and define as weak alias of __if_nametoindex.
23406         Use libc_hidden_weak.
23407         (if_freenameindex): Rename to __if_freenameindex and define as
23408         weak alias of __if_freenameindex.
23409         (if_nameindex): Rename to __if_nameindex and define as weak alias
23410         of __if_nameindex.
23411         (if_indextoname): Rename to __if_indextoname and define as weak
23412         alias of __if_indextoname.  Use libc_hidden_weak.
23413         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23414         __if_nametoindex and define as weak alias of __if_nametoindex.
23415         Use libc_hidden_weak.
23416         (if_freenameindex): Rename to __if_freenameindex and define as
23417         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23418         (if_nameindex_netlink): Use __if_freenameindex instead of
23419         if_freenameindex.
23420         (if_nameindex): Rename to __if_nameindex and define as weak alias
23421         of __if_nameindex.  Use libc_hidden_weak.
23422         (if_indextoname): Rename to __if_indextoname and define as weak
23423         alias of __if_indextoname.  Use libc_hidden_weak.
23424         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23425         libc_hidden_proto.
23426         [!_ISOMAC] (__if_freenameindex): Likewise.
23427         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23428         if_nametoindex.
23429         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23430         variable.
23431         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23432         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23433         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23434         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23435         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23436         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23437         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23438
23439         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23440         Remove variable.
23441         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23442         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23443
23444 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23445
23446         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23447         subscript above bounds'
23448
23449         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23450         bounds.
23451
23452 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23453
23454         * libio/tst-fopenloc.c: Use test-skeleton.c.
23455
23456         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23457         (entry): Rename to ITEM.
23458         (do_test, comp): Adjust.
23459
23460         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23461
23462 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23463
23464         * string/tester.c: Include <libc-internal.h>.
23465         (test_memset): Ignore -Wmemset-transposed-args.
23466
23467 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23468
23469         * misc/tst-mntent2.c (do_test): Fix warning.
23470
23471 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23472
23473         * elf/tst-unique4lib.cc(a): Mark as used.
23474
23475 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23476
23477         [BZ #17630]
23478         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23479         names.
23480
23481 2014-12-16  Allan McRae  <allan@archlinux.org>
23482
23483         * stdio-common/Makefile (tests): Re-add bug26.
23484
23485 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23486
23487         [BZ #17657]
23488         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23489         static array.
23490
23491 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23492
23493         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23494         (__lll_lock_wait): Likewise.
23495         (__lll_timedlock_wait): Likewise.
23496         (__lll_timedwait_tid): Likewise.
23497         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23498         (__lll_robust_timedlock_wait): Likewise.
23499         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23500         (lll_cond_trylock): Likewise.
23501         (__lll_lock): Likewise.
23502         (__lll_robust_lock): Likewise.
23503         (__lll_cond_lock): Likewise.
23504         (lll_robust_cond_lock): Likewise.
23505         (__lll_timedlock): Likewise.
23506         (__lll_robust_timedlock): Likewise.
23507         (__lll_unlock): Likewise.
23508         (__lll_robust_unlock): Likewise.
23509         (lll_wait_tid): Likewise.
23510         (lll_timedwait_tid): Likewise.
23511
23512 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23513
23514         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23515
23516 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23517
23518         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23519
23520 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23521
23522         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23523         * stdio-common/tst-sprintf.c: Likewise.
23524
23525 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23526
23527         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23528
23529 2014-12-15  Jeff Law  <law@redhat.com>
23530
23531         [BZ #16617]
23532         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23533         on the heap.  (CVE-2012-3406)
23534         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23535         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23536         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23537
23538 2014-12-15  Will Newton  <will.newton@linaro.org>
23539
23540         * manual/install.texi: Bump required version of texinfo
23541         to 4.7 from 4.5.
23542         * INSTALL: Regenerated.
23543         * configure.ac: Check for makeinfo version 4.7 and above.
23544         * configure: Regenerated.
23545
23546 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23547
23548         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23549         PREFIX, string constant to insert between directory and name.
23550         * sysdeps/posix/shm_open.c: Update caller.
23551         * sysdeps/posix/shm_unlink.c: Likewise.
23552         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23553         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23554         (SEM_SHM_PREFIX): New macro.
23555         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23556         [$(have-thread-library) = no].
23557         * nptl/Makefile (libpthread-routines): Add shm-directory.
23558         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23559         * sysdeps/nptl/shm-directory.h: New file.
23560         * sysdeps/posix/shm-directory.c
23561         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23562         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23563         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23564         INTERNAL_SYSCALL.
23565         (__where_is_shmfs): Function removed.
23566         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23567         Variables removed.
23568         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23569         Use SHM_GET_NAME.
23570         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23571
23572         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23573         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23574         unconditional for use inside libpthread.
23575         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23576
23577 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23578
23579         * nptl/pthread_getaffinity.c: New file.
23580         * nptl/pthread_setaffinity.c: New file.
23581         * nptl/pthread_getname.c: New file.
23582         * nptl/pthread_setname.c: New file.
23583
23584         * nptl/pthread_create.c (START_THREAD_DEFN)
23585         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23586
23587 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23588             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23589
23590         * resolv/res_send.c (send_vc): Disable warning resplen may
23591         be used uninitialized.
23592
23593 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23594
23595         * nptl/tst-mutex6.c
23596         (ATTR_NULL): New define checks ATTR against NULL.
23597         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23598         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23599
23600 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23601
23602         [BZ #17581]
23603         * malloc/hooks.c
23604         (mem2mem_check): Revert my previous change.
23605         (malloc_check_get_size): Revert my previous change.
23606         (mem2chunk_check): Revert my previous change.
23607
23608 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23609
23610         * sysdeps/posix/shm-directory.c: New file.
23611         * sysdeps/posix/shm-directory.h: New file.
23612         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23613         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23614         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23615         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23616         Transmute EPERM to EACCES.
23617         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23618         from ...
23619         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23620         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23621
23622 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23623
23624         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23625         pointer and cast to uintptr_t.
23626         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23628         Add cast to avoid warning.
23629         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23630
23631 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23632
23633         * nptl/semaphore.h: Move to ...
23634         * sysdeps/pthread/semaphore.h: ... here.
23635         * Makefile (installed-headers): Change nptl/semaphore.h to
23636         sysdeps/pthread/semaphore.h.
23637
23638 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23639
23640         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23641         generated error format strings.
23642
23643         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23644         -Wformat-extra-args warnings for scanf formats.
23645         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23646         test of zero-length format (duh).
23647         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23648         corner-case scanf format test.
23649         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23650         generated fprintf format string.
23651         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23652         corner-case sprintf format tests.
23653         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23654         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23655         -Wformat-extra-args warnings throughout.
23656         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23657         (CFLAGS-scanf4.c): Likewise.
23658         (CFLAGS-scanf7.c): Likewise.
23659         (CFLAGS-tst-sprintf.c): Likewise.
23660         (CFLAGS-tst-printf.c): Likewise.
23661         (CFLAGS-tst-printfsz.c): Likewise.
23662
23663 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23664
23665         * include/cpio.h: New file.
23666         * include/fmtmsg.h: Likewise.
23667
23668         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23669         corresponding format argument to size_t.
23670         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23671         arguments.
23672         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23673         corresponding format argument to size_t.
23674         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23675         arguments.
23676         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23677         corresponding format argument to size_t.
23678         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23679         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23680         (CFLAGS-tst-mbswcs2.c): Likewise.
23681         (CFLAGS-tst-mbswcs3.c): Likewise.
23682         (CFLAGS-tst-mbswcs4.c): Likewise.
23683         (CFLAGS-tst-mbswcs5.c): Likewise.
23684         (CFLAGS-tst-trans.c): Likewise.
23685
23686 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23687
23688         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23689         rather than assuming they won't contain any '%'s.
23690
23691 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23692
23693         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23694         inhibit_loop_to_libcall to avoid recursive calls.
23695         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23696         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23697
23698 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23699
23700         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23701         prototype.
23702
23703 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23704
23705         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23706         integer value instead of boolean.
23707
23708 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23709
23710         * malloc/malloc.c: Fix powerof2 check.
23711
23712 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23713
23714         * locale/programs/locfile.h (maybe_swap_uint32):
23715         Remove inline and add unused attribute.
23716
23717 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23718
23719         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23720         Truncating assembler expression to a .long expression.
23721
23722 2014-12-11  Andreas Schwab  <schwab@suse.de>
23723
23724         * elf/rtld.c (struct map_args): Constify str member.
23725         (do_preload): Constify fname argument.
23726
23727 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23728
23729         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23730         constants definition.
23731
23732 2014-12-11  Andreas Schwab  <schwab@suse.de>
23733
23734         [BZ #16657]
23735         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23736         FORCE_ELISION instead of DO_ELISION.
23737         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23738         Remove.
23739         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23740         Likewise.
23741
23742         * iconvdata/gconv-modules: Remove duplicate entry.
23743
23744 2014-12-11  Will Newton  <will.newton@linaro.org>
23745
23746         Merge gettext 0.19.3 into intl/.
23747
23748         This involves a number of cosmetic changes to comments
23749         and ANSI function definitions and prototypes throughout
23750         all the files. The gettext copyright header is used but
23751         with the date ranges taken from the glibc copy.
23752
23753         * NEWS: Add gettext merge to 2.21.
23754         * intl/bindtextdom.c: Switch to gettext copyright.
23755         Use ANSI definitions and prototypes.
23756         Use gl_* locking primitives rather than __libc_* ones.
23757         Use __builtin_expect rather than __glibc_likely/unlikely.
23758         * intl/dcgettext.c: Switch to gettext copyright.
23759         Use ANSI definitions and prototypes.
23760         * intl/dcigettext.c: Switch to gettext copyright.
23761         Use ANSI definitions and prototypes.
23762         (INTDIV0_RAISES_SIGFPE): New define.
23763         Use gl_* locking primitives rather than __libc_* ones.
23764         Include eval-plural.h instead of plural-eval.c.
23765         Use __builtin_expect rather than __glibc_likely/unlikely.
23766         * intl/dcngettext.c: Switch to gettext copyright.
23767         Use ANSI definitions and prototypes.
23768         * intl/dgettext.c: Likewise.
23769         * intl/dngettext.c: Likewise.
23770         * intl/plural-eval.c: Renamed to...
23771         * intl/eval-plural.h: ...this.
23772         * intl/explodename.c: Switch to gettext copyright.
23773         Use ANSI definitions and prototypes.
23774         (_nl_explode_name): Use strchr instead of __rawmemchr.
23775         * intl/finddomain.c: Switch to gettext copyright.
23776         Use ANSI definitions and prototypes.
23777         Use gl_* locking primitives rather than __libc_* ones.
23778         (_nl_find_domain): Use malloc rather than alloca for
23779         allocation of temporary locale name.
23780         * intl/gettext.c: Switch to gettext copyright.
23781         Use ANSI definitions and prototypes.
23782         * intl/gettextP.h: Switch to gettext copyright.
23783         Use ANSI definitions and prototypes.
23784         Use gl_* locking primitives rather than __libc_* ones.
23785         * intl/gmo.h: Switch to gettext copyright.
23786         (struct sysdep_string): Move struct segment_pair outside of
23787         struct definition.
23788         * intl/hash-string.c: Use ANSI definitions and prototypes.
23789         * intl/hash-string.h: Switch to gettext copyright.
23790         Use ANSI definitions and prototypes.
23791         * intl/l10nflist.c: Switch to gettext copyright.
23792         Use ANSI definitions and prototypes.
23793         (_nl_normalize_codeset): Avoid integer overflow.
23794         * intl/loadinfo.h: Switch to gettext copyright.
23795         Use ANSI definitions and prototypes.
23796         (LIBINTL_DLL_EXPORTED): New define.
23797         (PATH_SEPARATOR): New define.
23798         * intl/loadmsgcat.c: Switch to gettext copyright.
23799         * intl/localealias.c: Switch to gettext copyright.
23800         Use ANSI definitions and prototypes.
23801         (_nl_expand_alias): Use PATH_SEPARATOR.
23802         * intl/ngettext.c: Switch to gettext copyright.
23803         Use ANSI definitions and prototypes.
23804         * intl/plural-exp.c: Likewise.
23805         * intl/plural-exp.h: Switch to gettext copyright.
23806         Use ANSI definitions and prototypes.
23807         (struct expression): Move definition of enum operator outside
23808         of struct definition.
23809         * intl/plural.c: Regenerate.
23810         * intl/plural.y: Switch to gettext copyright.
23811         Use ANSI definitions and prototypes.
23812         Port to bison 3.0.
23813         * intl/textdomain.c: Switch to gettext copyright.
23814         Use ANSI definitions and prototypes.
23815         Use gl_* locking primitives rather than __libc_* ones.
23816
23817 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23818
23819         * debug/warning-nop.c: Add used atrribute.
23820
23821 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23822
23823         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23824
23825         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23826         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23827         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23828
23829 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23830             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23831
23832         [BZ #17634]
23833         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23834         Undefine after defining function.  Define as weak alias of
23835         __wcschr.  Use libc_hidden_weak.
23836         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23837         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23838         (libc_hidden_def): Also define __GI___wcschr alias.
23839         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23840         __wcschr and define as weak alias of __wcschr.
23841         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23842         __wcschr.
23843         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23844         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23845         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23846         libc_hidden_weak.  Do not use libc_hidden_def.
23847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23848         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23849         __GI___wcschr alias.
23850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23851         [IS_IN (libc)] (wcschr): Define as macro expanding to
23852         __redirect_wcschr.
23853         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23854         [IS_IN (libc)] (__wcschr_power6): Likewise.
23855         [IS_IN (libc)] (__wcschr_power7): Likewise.
23856         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23857         instead of wcschr.
23858         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23859         __libc_wcschr.
23860         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23861         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23862         __wcschr and define as weak alias of __wcschr.  Use
23863         libc_hidden_builtin_def.
23864         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23865         as weak alias of __wcschr.  Use libc_hidden_weak.
23866         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23867         wcschr.
23868         * time/era.c (_nl_init_era_entries): Likewise.
23869         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23870         variable.
23871         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23872         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23873
23874 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23875
23876         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23877         format for long int variable.
23878
23879 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23880
23881         [BZ #10672]
23882         * manual/search.texi: (Array Sort Function): Remove claim how to make
23883         qsort stable.
23884
23885 2014-12-10  Andreas Schwab  <schwab@suse.de>
23886
23887         [BZ #12847]
23888         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23889         user-controlled locks.
23890
23891 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23892
23893         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23894         register.
23895
23896 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23897
23898         * configure.ac (--disable-werror): New configure option.
23899         (enable_werror): New AC_SUBST.
23900         * configure: Regenerated.
23901         * config.make.in (enable-werror): New variable.
23902         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23903         -Wno-error=undef.
23904         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23905         * manual/install.texi (Configuring and compiling): Document
23906         --disable-werror.
23907         * INSTALL: Regenerated.
23908         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23909         (CFLAGS-tst-chk2.c): Likewise.
23910         (CFLAGS-tst-chk3.c): Likewise.
23911         (CFLAGS-tst-chk4.cc): Likewise.
23912         (CFLAGS-tst-chk5.cc): Likewise.
23913         (CFLAGS-tst-chk6.cc): Likewise.
23914         (CFLAGS-tst-lfschk1.c): Likewise.
23915         (CFLAGS-tst-lfschk2.c): Likewise.
23916         (CFLAGS-tst-lfschk3.c): Likewise.
23917         (CFLAGS-tst-lfschk4.cc): Likewise.
23918         (CFLAGS-tst-lfschk5.cc): Likewise.
23919         (CFLAGS-tst-lfschk6.cc): Likewise.
23920
23921         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23922         (main): Disable -Wdeprecated-declarations around calls to
23923         register_printf_function.
23924
23925         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23926         (do_test): Disable -Wdiv-by-zero around some calls to
23927         fwrite_unlocked and fread_unlocked.
23928
23929         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23930         (DIAG_POP_NEEDS_COMMENT): Likewise.
23931         (_DIAG_STR1): Likewise.
23932         (_DIAG_STR): Likewise.
23933         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23934         * stdio-common/bug21.c: Include <libc-internal.h>.
23935         (do_test): Disable -Wformat around call to sscanf.
23936         * stdio-common/scanf14.c: Include <libc-internal.h>.
23937         (main): Disable -Wformat around some calls to scanf functions.
23938
23939 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23940
23941         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23942
23943 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23944
23945         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23946         stack variable alignment.
23947
23948 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23949
23950         [BZ #17682]
23951         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23952         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23953         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23954         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23955         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23956         __getrlimit instead of getrlimit.
23957         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23958         __gettimeofday instead of gettimeofday.
23959         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23960         Likewise.
23961         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23962         Likewise.
23963         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23964         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23965         Remove variable.
23966         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23967         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23968
23969 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23970
23971         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23972         for wide-character tests.
23973
23974 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23975
23976         * io/openat64.c: #include <libc-internal.h>
23977         (__openat64): Prototypify.  Use ignore_value on MODE.
23978         * io/openat.c: Likewise.
23979         * misc/reboot.c: #include <libc-internal.h>
23980         (reboot): Prototypify.  Use ignore_value on HOWTO.
23981         * misc/ptrace.c: #include <libc-internal.h>
23982         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23983
23984 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23985
23986         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23987         XPG4, UNIX98 and XOPEN2K.
23988         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23989         Remove variable.
23990         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23991
23992 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23993
23994         * libio/fileops.c: Use ISO C style for function definitions.
23995         * libio/iofopen.c: Likewise.
23996         * libio/wfileops.c: Likewise.
23997
23998         [BZ #17653]
23999         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24000         offset on EOF.
24001         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24002         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24003         (fgets_func): Function pointer to fgets and fgetws.
24004         (do_ftell_test): Add test to verify ftell value after read
24005         EOF.
24006         (do_test): Set fgets_func.
24007
24008         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24009         O_TRUNC flag for w and w+ modes.
24010         (do_rewind_test): Likewise.
24011         (do_ftell_test): Likewise.
24012         (do_write_test): Likewise.
24013
24014         [BZ #17647]
24015         * libio/fileops.c (do_ftell): Seek only when there are
24016         unflushed writes.
24017         * libio/wfileops.c (do_ftell_wide): Likewise.
24018         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24019         test case.
24020         (do_one_test): Call it.
24021
24022 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24023
24024         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24025         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24026         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24027         Remove variable.
24028         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24029         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24030         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24031
24032 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24033
24034         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24035         Remove variable.
24036         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24037
24038         [BZ #17668]
24039         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24040         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24041         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24042         __freeifaddrs.  Use libc_hidden_weak.
24043         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24044         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24045         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24046         __freeifaddrs.  Use libc_hidden_weak.
24047         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24048         __getifaddrs and define as weak alias of __getifaddrs.  Use
24049         libc_hidden_weak.
24050         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24051         __freeifaddrs.  Use libc_hidden_weak.
24052         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24053         Remove variable.
24054         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24055         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24056
24057 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24058
24059         [BZ #17601]
24060         * sysdeps/mips/start.S (__start): Use indirect jump to call
24061         __libc_start_main.
24062
24063 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24064
24065         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24066
24067         * nptl/tst-mutex1.c: Include <stdbool.h>.
24068         [!ATTR] (ATTR_NULL): New macro.
24069         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24070         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24071         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24072
24073         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24074         to char *.
24075
24076         [BZ #17665]
24077         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24078         Change conditional to [__USE_MISC].
24079
24080         [BZ #17664]
24081         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24082         fgets_unlocked.
24083         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24084         __fgets_unlocked.
24085         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24086         fgets_unlocked.
24087         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24088         Remove variable.
24089         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24090         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24091         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24092         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24093         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24094         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24095         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24096         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24097         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24098
24099         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24100
24101 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24102
24103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24104         Remove strpbrk objects.
24105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24106         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24107         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24108         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24109         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24110         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24111
24112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24113         Remove strcspn objects.
24114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24115         (__libc_ifunc_impl_list): Remove strcspn implementation.
24116         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24117         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24118         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24119         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24120
24121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24122         Remove strspn objetcs.
24123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24124         (__libc_ifunc_impl_list): Remove strspn implementation.
24125         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24126         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24127         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24128         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24129
24130 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24131
24132         [BZ #17581]
24133         * malloc/hooks.c
24134         (mem2mem_check): Add a terminator to the chain of checking blocks.
24135         (malloc_check_get_size): Use it here.
24136         (mem2chunk_check): Ditto.
24137
24138 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24139
24140         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24141         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24142
24143 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24144
24145         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24146
24147         * nptl/nptl-init.c: Include libc-internal.h.
24148         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24149
24150         * elf/ldconfig.c (search_dir): Expand comment.
24151
24152 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24153
24154         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24155         variable.
24156         (linknamespace-symlist-stdlibs-tests): Likewise.
24157         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24158         instead of $(objpfx)symlist-stdlibs.
24159         (linknamespace-libs-isoc): New variable.
24160         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24161         (linknamespace-libs-ISO): New variable.
24162         (linknamespace-libs-ISO99): Likewise.
24163         (linknamespace-libs-ISO11): Likewise.
24164         (linknamespace-libs-XPG3): Likewise.
24165         (linknamespace-libs-XPG4): Likewise.
24166         (linknamespace-libs-POSIX): Likewise.
24167         (linknamespace-libs-UNIX98): Likewise.
24168         (linknamespace-libs-XOPEN2K): Likewise.
24169         (linknamespace-libs-POSIX2008): Likewise.
24170         (linknamespace-libs-XOPEN2K8): Likewise.
24171         ($(objpfx)symlist-stdlibs): Replace by
24172         $(linknamespace-symlist-stdlibs-tests).  Use
24173         $(linknamespace-libs-$*) as set of libraries.
24174         ($(linknamespace-header-tests)): Update dependencies.  Use
24175         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24176         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24177         * conform/linknamespace.pl: Remove comment about considering
24178         definitions of symbols from irrelevant libraries.
24179
24180 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24181
24182         [BZ #13862]
24183         * elf/dl-tls.c: Include <atomic.h>.
24184         (oom): Remove #ifdef SHARED/#endif.
24185         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24186         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24187         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24188         big enough.
24189         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24190         * nptl/Makefile (tests): Add tst-stack4.
24191         (modules-names): Add tst-stack4mod.
24192         ($(objpfx)tst-stack4): New.
24193         (tst-stack4mod.sos): Likewise.
24194         ($(objpfx)tst-stack4.out): Likewise.
24195         ($(tst-stack4mod.sos)): Likewise.
24196         (clean): Likewise.
24197         * nptl/tst-stack4.c: New file.
24198         * nptl/tst-stack4mod.c: Likewise.
24199
24200 2014-11-27  J. Brown  <jb999@gmx.de>
24201
24202         * sysdeps/x86/bits/string.h: Add recent CPUs.
24203
24204 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24205
24206         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24207         sigblock.
24208
24209         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24210         feof.
24211
24212         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24213         variable.
24214
24215 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24216
24217         * nscd/connections.c: Include libc-internal.h because of macro
24218         usage ignore_value.
24219
24220 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24221
24222         * string/bits/string3.h (__warn_memset_zero_len): Don't
24223         declare for gcc newer than 5.0.
24224         (memset): Don't test for zero-length __LEN for gcc newer than
24225         5.0.
24226
24227 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24228
24229         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24230         size_t for %zu format.
24231
24232         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24233         difference, not %ju.
24234
24235 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24236
24237         * include/libc-internal.h (ignore_value): New macro.
24238         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24239         with ignore_value.
24240
24241         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24242         definition.
24243
24244         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24245         pthread_cleanup_push to void *.
24246
24247         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24248         Undefine.
24249
24250         [BZ #16619]
24251         [BZ #16740]
24252         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24253         instead of 1L << 52.
24254
24255         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24256         * libio/bug-rewind2.c (do_test): Likewise.
24257
24258         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24259         * debug/test-strcpy_chk-ifunc.c: Likewise.
24260         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24266         * Rules [$(multi-arch) = no] (tests): Do not filter out
24267         $(tests-ifunc).
24268         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24269         * debug/Makefile (tests-ifunc): Remove variable.
24270         (tests): Do not add $(tests-ifunc).
24271         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24272         (tests): Do not add $(tests-ifunc).
24273         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24274         [TEST_IFUNC]: Remove conditionals.
24275         * string/test-string.h (TEST_IFUNC): Remove macro.
24276         [TEST_IFUNC]: Remove conditionals.
24277
24278         * string/test-strchr.c [!WIDE] (L): New macro.
24279         [WIDE] (L): Likewise.
24280         (check1): Use CHAR instead of char.  Use L on string and character
24281         constants.
24282
24283 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24284
24285         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24286         tests.
24287         * sysdeps/powerpc/bits/atomic.h
24288         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24289         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24290         (atomic_exchange_and_add_acq): Likewise.
24291         (atomic_exchange_and_add_rel): Likewise.
24292         * sysdeps/powerpc/powerpc32/bits/atomic.h
24293         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24294         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24295         * sysdeps/powerpc/powerpc64/bits/atomic.h
24296         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24297         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24298
24299 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24300
24301         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24302         Change synchronization of __sched_fifo_min_prio and
24303         __sched_fifo_max_prio.
24304         * nptl/pthread_mutexattr_getprioceiling.c
24305         (pthread_mutexattr_getprioceiling): Likewise.
24306         * nptl/pthread_mutexattr_setprioceiling.c
24307         (pthread_mutexattr_setprioceiling): Likewise.
24308         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24309         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24310         Likewise.
24311
24312 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24313
24314         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24315         void.
24316
24317 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24318
24319         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24320         third argument const.
24321
24322 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24323
24324         fnmatch: work around GCC compiler warning bug with uninit var
24325         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24326         This works around a bug with x86-64 GCC 4.9.2 and earlier
24327         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24328         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24329         used uninitialized in this function [-Wmaybe-uninitialized]".
24330
24331 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24332
24333         * posix/bug-regex31.c (main): Return RES not 0.
24334
24335 2014-11-25  Anton Blanchard <anton@samba.org>
24336
24337         * sysdeps/powerpc/bits/atomic.h
24338         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24339
24340 2014-11-24  Sterling Augustine  <saugustine@google.com>
24341
24342         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24343
24344 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24345
24346         [BZ #17608]
24347         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24348
24349 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24350
24351         [BZ #17633]
24352         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24353         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24354         variable.
24355         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24356         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24357
24358 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24359
24360         * string/strncpy.c (strncpy): Improve performance by using memset.
24361
24362 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24363
24364         * string/strcpy.c (strcpy):
24365         Improve performance by using strlen and memcpy.
24366
24367 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24368
24369         * string/strcoll_l.c (get_next_seq): __always_inline.
24370         * string/strcoll_l.c (do_compare): __always_inline.
24371
24372 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24373
24374         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24375         defined.
24376         * include/mqueue.h: Likewise.
24377         * include/stdlib.h: Likewise.
24378
24379         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24380         (get_null_defines): Adjust.
24381         * sunrpc/Makefile: Adjust comment.
24382         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24383         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24384         (CFLAGS-interp.c): Likewise.
24385         (CFLAGS-ldconfig.c): Likewise.
24386         (CPPFLAGS-.os): Likewise.
24387         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24388         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24389         * extra-modules.mk (extra-modules.mk): Likewise.
24390         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24391         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24392         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24393         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24394         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24395         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24396         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24397         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24398         * iconvdata/Makefile (CPPFLAGS): Likewise.
24399         (cpp-srcs-left): Add libof for all iconvdata routines.
24400         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24401         * include/assert.h: Likewise.
24402         * include/ctype.h: Likewise.
24403         * include/errno.h: Likewise.
24404         * include/libc-symbols.h: Likewise.
24405         * include/math.h: Likewise.
24406         * include/netdb.h: Likewise.
24407         * include/resolv.h: Likewise.
24408         * include/stdio.h: Likewise.
24409         * include/stdlib.h: Likewise.
24410         * include/string.h: Likewise.
24411         * include/sys/stat.h: Likewise.
24412         * include/wctype.h: Likewise.
24413         * intl/l10nflist.c: Likewise.
24414         * libidn/idn-stub.c: Likewise.
24415         * libio/libioP.h: Likewise.
24416         * nptl/libc_multiple_threads.c: Likewise.
24417         * nptl/pthreadP.h: Likewise.
24418         * posix/regex_internal.h: Likewise.
24419         * resolv/res_hconf.c: Likewise.
24420         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24421         * sysdeps/arm/memmove.S: Likewise.
24422         * sysdeps/arm/sysdep.h: Likewise.
24423         * sysdeps/generic/_itoa.h: Likewise.
24424         * sysdeps/generic/symbol-hacks.h: Likewise.
24425         * sysdeps/gnu/errlist.awk: Likewise.
24426         * sysdeps/gnu/errlist.c: Likewise.
24427         * sysdeps/i386/i586/memcpy.S: Likewise.
24428         * sysdeps/i386/i586/memset.S: Likewise.
24429         * sysdeps/i386/i686/memcpy.S: Likewise.
24430         * sysdeps/i386/i686/memmove.S: Likewise.
24431         * sysdeps/i386/i686/mempcpy.S: Likewise.
24432         * sysdeps/i386/i686/memset.S: Likewise.
24433         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24434         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24435         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24436         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24437         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24439         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24440         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24441         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24450         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24451         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24452         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24453         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24454         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24455         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24456         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24457         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24458         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24459         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24460         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24461         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24463         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24465         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24466         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24467         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24469         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24470         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24474         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24475         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24476         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24477         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24478         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24479         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24480         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24481         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24482         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24483         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24484         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24485         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24486         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24487         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24488         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24489         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24490         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24491         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24492         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24493         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24494         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24495         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24496         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24497         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24498         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24499         * sysdeps/posix/closedir.c: Likewise.
24500         * sysdeps/posix/opendir.c: Likewise.
24501         * sysdeps/posix/readdir.c: Likewise.
24502         * sysdeps/posix/rewinddir.c: Likewise.
24503         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24504         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24505         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24506         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24507         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24508         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24509         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24514         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24515         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24516         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24517         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24518         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24519         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24520         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24521         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24523         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24525         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24526         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24531         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24539         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24540         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24541         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24542         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24543         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24544         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24545         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24547         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24548         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24549         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24550         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24551         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24552         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24553         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24554         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24560         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24561         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24562         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24563         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24564         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24566         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24568         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24569         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24570         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24571         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24572         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24574         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24575         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24576         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24577         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24578         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24579         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24580         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24581         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24582         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24583         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24584         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24585         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24587         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24589         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24591         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24593         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24594         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24595         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24599         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24601         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24602         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24603         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24604         * sysdeps/unix/alpha/sysdep.S: Likewise.
24605         * sysdeps/unix/alpha/sysdep.h: Likewise.
24606         * sysdeps/unix/make-syscalls.sh: Likewise.
24607         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24609         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24610         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24611         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24612         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24613         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24614         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24615         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24616         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24618         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24621         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24622         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24623         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24624         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24625         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24626         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24627         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24629         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24630         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24631         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24632         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24636         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24641         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24643         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24645         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24646         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24649         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24650         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24651         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24654         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24657         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24658         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24659         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24660         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24662         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24665         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24666         * sysdeps/x86_64/memcpy.S: Likewise.
24667         * sysdeps/x86_64/memmove.c: Likewise.
24668         * sysdeps/x86_64/memset.S: Likewise.
24669         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24670         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24671         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24672         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24673         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24675         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24676         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24677         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24678         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24679         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24680         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24681         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24682         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24683         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24684         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24685         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24686         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24687         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24688         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24689         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24690         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24691         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24692         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24693         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24694         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24695         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24696         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24697         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24698         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24699         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24700         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24701         * sysdeps/x86_64/strcmp.S: Likewise.
24702
24703         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24704
24705         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24706         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24707         * elf/rtld-Rules: Likewise.
24708         * elf/setup-vdso.h: Likewise.
24709         * include/assert.h: Likewise.
24710         * include/bits/stdlib-float.h: Likewise.
24711         * include/errno.h: Likewise.
24712         * include/sys/stat.h: Likewise.
24713         * include/unistd.h: Likewise.
24714         * sysdeps/aarch64/setjmp.S: Likewise.
24715         * sysdeps/alpha/setjmp.S: Likewise.
24716         * sysdeps/arm/__longjmp.S: Likewise.
24717         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24718         * sysdeps/arm/setjmp.S: Likewise.
24719         * sysdeps/arm/sysdep.h: Likewise.
24720         * sysdeps/generic/_itoa.h: Likewise.
24721         * sysdeps/generic/dl-sysdep.h: Likewise.
24722         * sysdeps/generic/ldsodefs.h: Likewise.
24723         * sysdeps/i386/dl-tls.h: Likewise.
24724         * sysdeps/i386/setjmp.S: Likewise.
24725         * sysdeps/m68k/setjmp.c: Likewise.
24726         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24727         * sysdeps/mach/hurd/opendir.c: Likewise.
24728         * sysdeps/posix/getcwd.c: Likewise.
24729         * sysdeps/posix/opendir.c: Likewise.
24730         * sysdeps/posix/profil.c: Likewise.
24731         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24732         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24733         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24734         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24735         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24736         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24737         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24738         * sysdeps/s390/dl-tls.h: Likewise.
24739         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24740         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24741         * sysdeps/sh/sh3/setjmp.S: Likewise.
24742         * sysdeps/sh/sh4/setjmp.S: Likewise.
24743         * sysdeps/unix/alpha/sysdep.h: Likewise.
24744         * sysdeps/unix/arm/sysdep.S: Likewise.
24745         * sysdeps/unix/i386/sysdep.S: Likewise.
24746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24747         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24748         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24752         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24754         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24755         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24756         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24757         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24761         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24764         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24765         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24766         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24769         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24770         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24771         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24773         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24774         * sysdeps/x86_64/setjmp.S: Likewise.
24775
24776         * include/math.h: Use IS_IN instead of IS_IN_libm.
24777         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24778         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24779         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24780         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24785         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24786         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24787         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24788         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24789         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24790         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24791         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24792         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24793         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24794         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24795         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24796         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24797         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24798         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24799         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24800         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24801         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24802         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24803         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24804         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24805         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24806         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24807         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24808         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24809         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24811         Likewise.
24812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24813         Likewise.
24814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24815         Likewise.
24816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24817         Likewise.
24818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24819         Likewise.
24820         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24822         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24823         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24824         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24825         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24831         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24832         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24833         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24834         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24835         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24836         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24838         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24839         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24840         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24841         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24842         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24844         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24846         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24847
24848         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24849         * nptl/pthreadP.h: Likewise.
24850         * nptl_db/structs.def: Likewise.
24851         * sysdeps/arm/sysdep.h: Likewise.
24852         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24853         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24854         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24855         * sysdeps/unix/alpha/sysdep.h: Likewise.
24856         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24858         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24859         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24860         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24861         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24863         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24864         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24865         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24866         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24867         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24868         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24869         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24872         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24874         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24877         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24878         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24879         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24880         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24881         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24882
24883         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24884         * nptl/pthreadP.h: Likewise.
24885         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24886         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24887         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24888         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24889         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24891         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24898         Likewise.
24899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24900         Likewise.
24901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24903         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24906         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24907         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24909
24910         * dlfcn/dladdr.c: Use IS_IN.
24911         * dlfcn/dladdr1.c: Likewise.
24912         * dlfcn/dlclose.c: Likewise.
24913         * dlfcn/dlerror.c: Likewise.
24914         * dlfcn/dlinfo.c: Likewise.
24915         * dlfcn/dlmopen.c: Likewise.
24916         * dlfcn/dlopen.c: Likewise.
24917         * dlfcn/dlsym.c: Likewise.
24918         * dlfcn/dlvsym.c: Likewise.
24919
24920         * include/ifaddrs.h: Use IS_IN.
24921         * inet/check_pf.c: Likewise.
24922         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24923         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24924
24925         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24926         IS_IN_ldconfig.
24927         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24928         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24929
24930         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24931         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24932         IS_IN (libc).
24933
24934         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24935
24936         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24937         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24938         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24939         * include/libc-symbols.h (IS_IN_LIB): New macro.
24940         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24941         * include/netdb.h: Likewise.
24942         * include/stap-probe.h: Remove all uses of IN_LIB.
24943
24944         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24945         instead of IN_MODULE.
24946         * include/libc-symbols.h (IN_MODULE): Define using
24947         MODULE_NAME.
24948         (PASTE_NAME, PASTE_NAME1): New macros.
24949         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24950         of IN_LIB.
24951         (STAP_PROBE_ASM): Likewise.
24952
24953 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24954
24955         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24956         __mach_init in dlopened libc.
24957
24958 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24959
24960         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24961         * sysdeps/arm/preconfigure: Regenerate.
24962
24963 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24964
24965         * nptl/pthread_create.c (__pthread_create_2_1): Set
24966         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24967         when copying values from IATTR into PD.
24968
24969 2014-11-21  Will Newton  <will.newton@linaro.org>
24970             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24971
24972         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24973         Refactor inline-asm.  Also add comment.
24974
24975         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24976         ElfW macro instead of hardcoded Elf64 types.
24977         (la_aarch64_gnu_pltenter): Likewise.
24978         * sysdeps/aarch64/dl-machine.h
24979         (elf_machine_runtime_setup): Use ElfW(Addr).
24980
24981         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24982         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24983         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24984         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24985         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24986         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24987         (R_AARCH64_TLS_DTPMOD): This.
24988         (R_AARCH64_TLS_DTPREL64): Rename to ...
24989         (R_AARCH64_TLS_DTPREL): This.
24990         (R_AARCH64_TLS_TPREL64): Rename to ...
24991         (R_AARCH64_TLS_TPREL): This.
24992         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24993         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24994         R_AARCH64_TLS_TPREL64.
24995         (elf_machine_rela): Likewise.
24996
24997 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24998
24999         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25000         by setting it to 0.  64b atomics are not supported currently.
25001
25002 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25003
25004         [BZ #16469]
25005         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25006         search domain names.
25007
25008 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25009
25010         [BZ #16469]
25011         * NEWS: Update.
25012         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25013         trailing dot.
25014         * posix/tst-getaddrinfo5.c: New.
25015         * posix/Makefile (tests): Add it.
25016
25017 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25018
25019         [BZ #14498]
25020         * NEWS: Fixed.
25021         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25022         after parsing line but before break_if_match.
25023         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25024         if there is a protocol mismatch.
25025
25026 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25027
25028         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25029         because the potential race is on the user-supplied stream.
25030
25031 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25032
25033         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25034         string literal if not passed a buffer.
25035         * manual/job.texi (ctermid): Update reasoning, note deviation
25036         from posix, suggest mtasurace when not passed a buffer, for
25037         future non-preliminary safety notes.
25038
25039 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25040
25041         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25042         of not passing it a buffer.
25043         Reported by Peng Haitao.
25044
25045 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25046
25047         * manual/Makefile ($(objpfx)stamp-summary): Require
25048         check-safety.sh to pass.
25049         * manual/check-safety.sh: Wish for verification that every
25050         @deftypefn and @deftypefun is followed by a @safety remark.
25051
25052 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25053
25054         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25055
25056         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25057         PTHREAD_CANCEL_ASYNCHRONOUS.
25058         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25059         send SIGCANCEL.
25060
25061         * nptl/default-sched.h: New file.
25062         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25063         * nptl/pthread_create.c: Include it.
25064         (__pthread_create_2_1): Use collect_default_sched instead of making
25065         Linux syscalls here directly.
25066
25067 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25068
25069         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25070         __pthread_once): Use C11 atomics.
25071
25072 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25073
25074         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25075
25076 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25077
25078         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25079         atomic_thread_fence_acquire, atomic_thread_fence_release,
25080         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25081         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25082         atomic_compare_exchange_weak_relaxed,
25083         atomic_compare_exchange_weak_acquire,
25084         atomic_compare_exchange_weak_release,
25085         atomic_exchange_acquire, atomic_exchange_release,
25086         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25087         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25088         atomic_fetch_and_acquire,
25089         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25090
25091 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25092
25093         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25094         USE_ATOMIC_COMPILER_BUILTINS): Define.
25095         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25096         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25097         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25099         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25101         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25103         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25105         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25107         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25109         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25111         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25113         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25115         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25117         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25119         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25121         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25123         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25125         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25127         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25129         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25130         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25131         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25133         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25135
25136 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25137
25138         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25139         the sched_priority value here.  It was already checked when the user
25140         called pthread_attr_setschedparam.
25141
25142         * nptl/tst-bad-schedattr.c: New file.
25143         * nptl/Makefile (tests): Add it.
25144
25145 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25146             Florian Weimer  <fweimer@redhat.com>
25147             Joseph Myers  <joseph@codesourcery.com>
25148             Adam Conrad  <adconrad@0c3.net>
25149             Andreas Schwab  <schwab@suse.de>
25150             Brooks  <bmoses@google.com>
25151
25152         [BZ #17625]
25153         * wordexp-test.c (__dso_handle): Add prototype.
25154         (__register_atfork): Likewise.
25155         (__app_register_atfork): New function.
25156         (registered_forks): New global.
25157         (register_fork): New function.
25158         (test_case): Add 3 new tests for WRDE_CMDSUB.
25159         (main): Call __app_register_atfork.
25160         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25161         fork count is non-zero fail the test.
25162         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25163         is set.
25164         (parse_dollars): Remove check for WRDE_NOCMD.
25165         (parse_dquote): Likewise.
25166
25167 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25168
25169         * Makeconfig (built-modules): List non-library modules to be
25170         built.
25171         (module-cppflags): Include libc-modules.h for
25172         everything except shlib-versions.v.i.
25173         (CPPFLAGS): Use it.
25174         (before-compile): Add libc-modules.h.
25175         ($(common-objpfx)libc-modules.h,
25176         $(common-objpfx)libc-modules.stmp): New targets.
25177         (common-generated): Add libc-modules.h and libc-modules.stmp.
25178         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25179         * include/libc-symbols.h: Don't include libc-modules.h.
25180         * include/libc-modules.h: Remove file.
25181         * scripts/gen-libc-modules.awk: New script to generate
25182         libc-modules.h.
25183         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25184         Depend on libc-modules.stmp.
25185
25186         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25187
25188         * Makeconfig (in-module): Get value of libof set for the
25189         translation unit.
25190         (CPPFLAGS): Use $(in-module).
25191         * Makerules: Don't suffix routine names for nonlib.
25192         * include/libc-modules.h: New file.
25193         * include/libc-symbols.h: Include libc-modules.h
25194         (IS_IN): New macro to replace IS_IN_* macros.
25195         * elf/Makefile: Set libof-* for each routine.
25196         * elf/rtld-Rules: Likewise.
25197         * extra-modules.mk: Likewise.
25198         * iconv/Makefile: Likewise.
25199         * iconvdata/Makefile: Likewise.
25200         * locale/Makefile: Likewise.
25201         * malloc/Makefile: Likewise.
25202         * nss/Makefile: Likewise.
25203         * sysdeps/gnu/Makefile: Likewise.
25204         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25205         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25206         * sysdeps/s390/s390-64/Makefile: Likewise.
25207         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25208         CPPFLAGS for nscd instead of nonlib.
25209
25210 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25211
25212         * nptl/createthread.c: New file.
25213
25214         * nptl/createthread.c: Moved ...
25215         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25216
25217         * nptl/createthread.c: Add proper top-line comment.
25218         (do_clone): Folded into ...
25219         (create_thread): ... here.  Take new arguments STOPPED_START and
25220         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25221         increment __nptl_threads, do event-reporting logic, do
25222         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25223         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25224         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25225         just send SIGCANCEL.
25226         * nptl/pthread_create.c: Forward-declare create_thread before
25227         including createthread.c.
25228         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25229         declaration, and new macro START_THREAD_SELF to replace argument.
25230         Remove return statement.
25231         (report_thread_creation): New function.
25232         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25233         synchronization logic, and __nptl_nthreads increment here, around
25234         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25235         PD->parent_cancelhandling here, before create_thread.  When
25236         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25237         __deallocate_stack, and ENOMEM translation here.
25238
25239 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25240
25241         [BZ #17616]
25242         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25243         (mptwo): Rename to __mptwo.
25244         (__inv): Use __mptwo instead of mptwo.
25245         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25246         (mptwo): Rename to __mptwo.
25247         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25248         of mpone and __mptwo instead of mptwo.
25249         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25250         instead of mpone.
25251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25252         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25253         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25254         of mpone and __mptwo instead of mptwo.
25255         (__mpranred): Use __mpone instead of mpone.
25256         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25257         variable.
25258         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25259         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25260         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25261         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25262         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25263         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25264         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25265         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25266         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25267         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25268         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25269         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25270         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25271         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25272         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25273         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25274         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25275         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25276         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25277
25278 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25279
25280         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25281         replace BSD Handler xref with BSD Signal Handling.
25282
25283 2014-11-17  Richard Henderson  <rth@redhat.com>
25284
25285         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25286         (_FP_PACK_RAW_2): Remove.
25287         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25288         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25289         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25290         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25291         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25292         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25293         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25294         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25295         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25296         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25297         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25298         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25299         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25300         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25301         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25302         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25303
25304 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25305
25306         * signal/signal.h [__USE_MISC]
25307         (struct sigvec): Remove type.
25308         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25309         (sigvec): Remove declaration.
25310         * sysdeps/posix/sigvec.c: Moved ...
25311         * signal/sigvec.c: ... here, replacing old file.
25312         (struct sigvec): New type, copied from old signal.h definition.
25313         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25314         (__sigvec): Convert definition to prototype.
25315         (sigvec): Replace weak_alias with compat_symbol.
25316         * signal/Versions (libc: GLIBC_2.21): New version set.
25317         * include/signal.h: Remove __sigvec declaration.
25318         * sysdeps/unix/bsd/sigvec.c: Remove file.
25319         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25320         * manual/signal.texi (BSD Handler): Remove subsection.
25321         Move siginterrupt up to ...
25322         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25323         (Blocking in BSD): Fold subsection into its parent.
25324         * NEWS: Mention sigvec removal.
25325
25326 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25327
25328         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25329         (DLA_FMS): Make definition conditional only on [__FMA4__].
25330         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25331         definition.
25332
25333         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25334         Make definition conditional only on [PROF].
25335         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25336         definition.
25337         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25338         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25339
25340         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25341         !__GNUC__].
25342         * include/signal.h (__sigpause): Move declaration above call to
25343         libc_hidden_proto.
25344         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25345         variable.
25346         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25347         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25348
25349 2014-11-14  David S. Miller  <davem@davemloft.net>
25350
25351         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25352         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25353
25354 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25355
25356         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25357         * configure: Regenerated.
25358         * manual/install.texi (Tools for Compilation): Document a
25359         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25360         compiler verified to work.
25361         * INSTALL: Regenerated.
25362
25363         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25364         redeclare with asm name.
25365         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25366         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25367         including <string.h>.
25368         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25369         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25370         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25372         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25374         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25375
25376 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25377
25378         * stdlib/strtol.c (__strtol): Use prototype definition.
25379
25380         [BZ #17594]
25381         * stdlib/strtol.c (SYM__): New macro.
25382         (SYM__1): Likewise.
25383         (__strtol): Likewise.
25384         (strtol): Rename to __strtol and define as weak alias of
25385         __strtol.  Use libc_hidden_weak.
25386
25387 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25388
25389         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25390         Use numbered labels in inline assembly.
25391
25392 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25393
25394         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25395         Add setjmp LIBC_PROBE.
25396         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25397         Likewise.
25398         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25399         Add longjmp, longjmp_target LIBC_PROBE.
25400         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25401         Likewise.
25402
25403 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25404
25405         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25406         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25407         to get rid of unused variable warning.
25408
25409 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25410
25411         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25412         Check for unwind_backtrace ==  NULL only in SHARED case.
25413         (__backchain_backtrace): Compile only in SHARED case.
25414         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25415         Likewise.
25416         (__backchain_backtrace): Declare as static.
25417
25418 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25419
25420         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25421         (__libc_multiple_threads_ptr): Variable moved ...
25422         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25423
25424 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25425
25426         * conform/GlibcConform.pm: New file.
25427         * conform/conformtest.pl: Use GlibcConform module.
25428         * conform/linknamespace.pl: New file.
25429         * conform/list-header-symbols.pl: Likewise.
25430         * conform/Makefile (linknamespace-symlists-base): New variable.
25431         (linknamespace-symlists-tests): Likewise.
25432         (linknamespace-header-base): Likewise.
25433         (linknamespace-header-tests): Likewise.
25434         (tests-special): Add new tests.
25435         ($(linknamespace-symlists-tests)): New rule.
25436         (linknamespace-libs): New variable.
25437         ($(objpfx)symlist-stdlibs): New rule.
25438         ($(linknamespace-header-tests)): Likewise.
25439         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25440         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25441         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25442         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25443         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25444         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25445         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25446         (test-xfail-ISO/math.h/linknamespace): Likewise.
25447         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25448         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25449         (test-xfail-ISO/time.h/linknamespace): Likewise.
25450         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25451         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25452         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25453         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25454         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25455         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25456         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25457         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25458         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25459         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25460         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25461         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25462         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25463         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25464         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25465         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25466         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25467         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25468         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25469         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25470         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25471         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25472         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25473         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25474         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25475         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25476         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25477         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25478         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25479         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25480         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25481         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25482         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25483         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25484         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25485         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25486         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25487         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25488         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25489         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25490         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25491         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25492         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25493         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25494         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25495         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25496         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25497         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25498         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25499         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25500         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25501         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25502         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25503         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25504         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25505         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25506         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25507         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25508         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25509         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25510         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25511         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25512         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25513         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25514         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25515         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25516         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25517         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25518         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25519         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25520         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25521         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25522         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25523         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25524         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25525         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25526         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25527         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25528         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25529         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25530         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25531         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25532         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25533         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25534         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25535         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25536         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25537         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25538         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25539         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25540         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25541         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25542         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25543         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25544         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25545         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25546         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25547         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25548         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25549         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25550         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25551         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25552         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25553         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25554         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25555         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25556         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25557         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25558         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25559         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25560         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25561         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25562         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25563         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25564         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25565         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25566         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25567         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25568         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25569         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25570         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25571         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25572         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25573         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25574         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25575         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25576         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25577         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25578         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25579         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25580         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25581         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25582         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25583         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25584         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25585         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25586         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25587         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25588         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25589         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25590         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25591         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25592         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25593         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25594         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25595         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25596         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25597         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25598         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25599         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25600
25601         [BZ #17589]
25602         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25603         of fgets_unlocked.
25604
25605         [BZ #17585]
25606         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25607         (memmem): Rename to __memmem and define as weak alias of
25608         __memmem.  Use libc_hidden_weak.
25609         (__memmem): Use libc_hidden_def.
25610         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25611         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25612         memmem.
25613
25614         [BZ #17582]
25615         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25616         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25617         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25618         and define as weak alias of __fgets_unlocked.  Use
25619         libc_hidden_weak.
25620         (__fgets_unlocked): Use libc_hidden_def.
25621         * include/stdio.h (__fgets_unlocked): Declare.  Use
25622         libc_hidden_proto.
25623         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25624         __fgets_unlocked instead of fgets_unlocked.
25625         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25626         (GET_NPROCS_CONF_PARSER): Likewise.
25627         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25628         (GET_NPROCS_CONF_PARSER): Likewise.
25629
25630         [BZ #17574]
25631         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25632         weak alias of __wmemset.  Use libc_hidden_weak.
25633         (__wmemset): Use libc_hidden_def.
25634         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25635         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25636         of wmemset.
25637
25638         [BZ #17573]
25639         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25640         with asm name __mempcpy.
25641         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25642
25643         [BZ #17572]
25644         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25645         and define as weak alias of __rawmemchr.
25646         (__rawmemchr): Do not define as strong alias of rawmemchr.
25647
25648         [BZ #17571]
25649         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25650         alias of __qsort_r.
25651         (qsort): Call __qsort_r instead of qsort_r.
25652         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25653         (__qsort_r): Declare.  Call libc_hidden_proto.
25654         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25655         instead of qsort_r.
25656         * nscd/gai.c (__qsort_r): Define to qsort_r.
25657         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25658         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25659         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25660
25661         [BZ #17570]
25662         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25663         define as weak alias of __malloc_info.
25664
25665         [BZ #17584]
25666         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25667         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25668         (__rewinddir): Use libc_hidden_def.
25669         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25670         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25671         (__rewinddir): Use libc_hidden_def.
25672         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25673         weak alias of __rewinddir.  Don't use libc_hidden_def.
25674         (__rewinddir): Use libc_hidden_def.
25675         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25676         (__rewinddir): Use libc_hidden_proto.
25677         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25678         rewinddir.
25679         (__getcwd): Use __rewinddir instead of rewinddir.
25680
25681         [BZ #17583]
25682         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25683         alias of __fileno.  Use libc_hidden_weak.
25684         (__fileno): Use libc_hidden_def.
25685         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25686         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25687         alias of __ftello.
25688         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25689         __ftello.
25690         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25691         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25692         libc_hidden_def.
25693         (fread_unlocked): Don't use libc_hidden_ver.
25694         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25695         and define as weak alias of __fread_unlocked.  Don't use
25696         libc_hidden_def.
25697         (__fread_unlocked): Use libc_hidden_def.
25698         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25699         (ftello): Don't use libc_hidden_proto.
25700         (__ftello): Declare.  Use libc_hidden_proto.
25701         (fread_unlocked): Don't use libc_hidden_proto.
25702         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25703         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25704         and __ftello instead of fileno, fread_unlocked and ftello.
25705
25706 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25707
25708         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25709         GOT12.
25710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25711         Likewise.
25712         (_dl_start_user): Likewise.
25713         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25714
25715 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25716             Siddhesh Poyarekar  <siddhesh@redhat.com>
25717
25718         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25719         Move argv and envp down instead of moving argc up.
25720         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25721
25722 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25723
25724         [BZ #17506]
25725         * test-skeleton.c (main): Return successful if one of
25726         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25727         * string/tst-strcoll-overflow.c: Define expected status.
25728
25729 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25730
25731         [BZ #17475]
25732         * locale/iso-639.def: Define Bhili and Tulu language codes.
25733
25734 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25735
25736         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25737
25738 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25739
25740         [BZ #17555]
25741         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25742
25743 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25744
25745         * configure.ac: Updated check of minimal required version to
25746         2.22.
25747         * manual/install.texi (Tools for Compilation): Updated version
25748         number.
25749         * configure: Regenerated.
25750         * INSTALL: Likewise.
25751
25752 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25753
25754         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25755         __tls_get_addr.
25756
25757 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25760         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25761         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25762         libc_hidden_weak.
25763         (waitpid): Define as alias of __waitpid.
25764         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25765         __waitpid.
25766         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25767         libc_hidden_weak.
25768         (waitpid): Define as alias of __waitpid.
25769         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25770         __libc_waitpid alias.
25771         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25772         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25773         Likewise.
25774         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25775         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25776         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25777         alias.
25778         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25779         __waitpid.
25780         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25781         libc_hidden_weak.
25782         (waitpid): Define as alias of __waitpid.
25783
25784 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25785
25786         * manual/llio.texi: Add comment that write safety has been
25787         fixed in Linux.
25788
25789         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25790         (localplt-build-dso): Add elf/ld.so.
25791         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25792         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25793         and free for ld.so.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25795         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25797         Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25799         Likewise.
25800         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25801         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25802         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25803         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25804         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25805         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25806         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25807         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25808         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25809         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25810         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25811
25812 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25813
25814         [BZ #14132]
25815         * include/libc-symbols.h (INTUSE): Remove macro.
25816         (INTDEF): Likewise.
25817         (INTVARDEF): Likewise.
25818         (_INTVARDEF): Likewise.
25819         (INTDEF2): Likewise.
25820         (INTVARDEF2): Likewise.
25821         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25822         rtld_hidden_def instead of INTVARDEF.
25823         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25824         (_dl_starting_up_internal): Remove declaration.
25825         (_dl_starting_up): Use rtld_hidden_proto.
25826         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25827         declaration.
25828         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25829         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25830         _dl_starting_up.
25831         * elf/dl-writev.h (_dl_writev): Likewise.
25832         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25833         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25834         _dl_starting_up_internal.
25835
25836 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25837
25838         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25839         test-skeleton.c.
25840
25841 2014-11-05  Will Newton  <will.newton@linaro.org>
25842
25843         * benchtests/Makefile: (bench-malloc): Add malloc thread
25844         scalability benchmark.
25845         * benchtests/bench-malloc-threads.c: New file.
25846
25847 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25848
25849         * sysdeps/aarch64/strchrnul.S: New file.
25850
25851 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25852
25853         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25854         definition.
25855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25856         Likwise.
25857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25858         Likewise.
25859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25860         Likewise.
25861         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25862         Likewise.
25863         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25864         Likewise.
25865
25866 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25867
25868         * catgets/test-gencat.c: Use test-skeleton.c.
25869         * catgets/tst-catgets.c: Likewise.
25870         * csu/tst-empty.c: Likewise.
25871         * elf/tst-audit2.c: Likewise.
25872         * elf/tst-global1.c: Likewise.
25873         * elf/tst-pathopt.c: Likewise.
25874         * elf/tst-piemod1.c: Likewise.
25875         * elf/tst-tls10.c: Likewise.
25876         * elf/tst-tls11.c: Likewise.
25877         * elf/tst-tls12.c: Likewise.
25878         * gnulib/tst-gcc.c: Likewise.
25879         * iconvdata/tst-e2big.c: Likewise.
25880         * iconvdata/tst-loading.c: Likewise.
25881         * iconv/tst-iconv1.c: Likewise.
25882         * iconv/tst-iconv2.c: Likewise.
25883         * inet/test-inet6_opt.c: Likewise.
25884         * inet/tst-gethnm.c: Likewise.
25885         * inet/tst-network.c: Likewise.
25886         * inet/tst-ntoa.c: Likewise.
25887         * intl/tst-codeset.c: Likewise.
25888         * intl/tst-gettext2.c: Likewise.
25889         * intl/tst-gettext3.c: Likewise.
25890         * intl/tst-ngettext.c: Likewise.
25891         * intl/tst-translit.c: Likewise.
25892         * io/test-stat.c: Likewise.
25893         * libio/test-fmemopen.c: Likewise.
25894         * libio/tst-freopen.c: Likewise.
25895         * libio/tst-sscanf.c: Likewise.
25896         * libio/tst-ungetwc1.c: Likewise.
25897         * libio/tst-ungetwc2.c: Likewise.
25898         * libio/tst-widetext.c: Likewise.
25899         * localedata/tst-ctype.c: Likewise.
25900         * localedata/tst-digits.c: Likewise.
25901         * localedata/tst-leaks.c: Likewise.
25902         * localedata/tst-mbswcs1.c: Likewise.
25903         * localedata/tst-mbswcs2.c: Likewise.
25904         * localedata/tst-mbswcs3.c: Likewise.
25905         * localedata/tst-mbswcs4.c: Likewise.
25906         * localedata/tst-mbswcs5.c: Likewise.
25907         * localedata/tst-setlocale.c: Likewise.
25908         * localedata/tst-trans.c: Likewise.
25909         * localedata/tst-wctype.c: Likewise.
25910         * localedata/tst-xlocale1.c: Likewise.
25911         * login/tst-grantpt.c: Likewise.
25912         * malloc/tst-calloc.c: Likewise.
25913         * malloc/tst-malloc.c: Likewise.
25914         * malloc/tst-mallocstate.c: Likewise.
25915         * malloc/tst-mcheck.c: Likewise.
25916         * malloc/tst-mtrace.c: Likewise.
25917         * malloc/tst-obstack.c: Likewise.
25918         * math/atest-exp2.c: Likewise.
25919         * math/atest-exp.c: Likewise.
25920         * math/atest-sincos.c: Likewise.
25921         * math/test-matherr.c: Likewise.
25922         * math/test-misc.c: Likewise.
25923         * math/test-powl.c: Likewise.
25924         * math/tst-definitions.c: Likewise.
25925         * misc/tst-dirname.c: Likewise.
25926         * misc/tst-efgcvt.c: Likewise.
25927         * misc/tst-fdset.c: Likewise.
25928         * misc/tst-hsearch.c: Likewise.
25929         * misc/tst-mntent2.c: Likewise.
25930         * nptl/tst-sem7.c: Likewise.
25931         * nptl/tst-sem8.c: Likewise.
25932         * nptl/tst-sem9.c: Likewise.
25933         * nss/test-netdb.c: Likewise.
25934         * posix/tst-fnmatch.c: Likewise.
25935         * posix/tst-getlogin.c: Likewise.
25936         * posix/tst-gnuglob.c: Likewise.
25937         * posix/tst-mmap.c: Likewise.
25938         * pwd/tst-getpw.c: Likewise.
25939         * resolv/tst-inet_ntop.c: Likewise.
25940         * rt/tst-timer.c: Likewise.
25941         * stdio-common/test-fseek.c: Likewise.
25942         * stdio-common/test-popen.c: Likewise.
25943         * stdio-common/test-vfprintf.c: Likewise.
25944         * stdio-common/tst-cookie.c: Likewise.
25945         * stdio-common/tst-fileno.c: Likewise.
25946         * stdio-common/tst-gets.c: Likewise.
25947         * stdio-common/tst-obprintf.c: Likewise.
25948         * stdio-common/tst-perror.c: Likewise.
25949         * stdio-common/tst-sprintf2.c: Likewise.
25950         * stdio-common/tst-sprintf3.c: Likewise.
25951         * stdio-common/tst-sprintf.c: Likewise.
25952         * stdio-common/tst-swprintf.c: Likewise.
25953         * stdio-common/tst-tmpnam.c: Likewise.
25954         * stdio-common/tst-unbputc.c: Likewise.
25955         * stdio-common/tst-wc-printf.c: Likewise.
25956         * stdlib/tst-environ.c: Likewise.
25957         * stdlib/tst-fmtmsg.c: Likewise.
25958         * stdlib/tst-limits.c: Likewise.
25959         * stdlib/tst-rand48-2.c: Likewise.
25960         * stdlib/tst-rand48.c: Likewise.
25961         * stdlib/tst-random2.c: Likewise.
25962         * stdlib/tst-random.c: Likewise.
25963         * stdlib/tst-strtol.c: Likewise.
25964         * stdlib/tst-strtoll.c: Likewise.
25965         * stdlib/tst-tls-atexit.c: Likewise.
25966         * stdlib/tst-xpg-basename.c: Likewise.
25967         * string/test-ffs.c: Likewise.
25968         * string/tst-bswap.c: Likewise.
25969         * string/tst-inlcall.c: Likewise.
25970         * string/tst-strtok.c: Likewise.
25971         * string/tst-strxfrm.c: Likewise.
25972         * sysdeps/x86_64/tst-audit10.c: Likewise.
25973         * sysdeps/x86_64/tst-audit3.c: Likewise.
25974         * sysdeps/x86_64/tst-audit4.c: Likewise.
25975         * sysdeps/x86_64/tst-audit5.c: Likewise.
25976         * time/tst-ftime_l.c: Likewise.
25977         * time/tst-getdate.c: Likewise.
25978         * time/tst-mktime3.c: Likewise.
25979         * time/tst-mktime.c: Likewise.
25980         * time/tst-posixtz.c: Likewise.
25981         * time/tst-strptime2.c: Likewise.
25982         * time/tst-strptime3.c: Likewise.
25983         * wcsmbs/tst-btowc.c: Likewise.
25984         * wcsmbs/tst-mbrtowc.c: Likewise.
25985         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25986         * wcsmbs/tst-wchar-h.c: Likewise.
25987         * wcsmbs/tst-wcpncpy.c: Likewise.
25988         * wcsmbs/tst-wcrtomb.c: Likewise.
25989         * wcsmbs/tst-wcsnlen.c: Likewise.
25990         * wcsmbs/tst-wcstof.c: Likewise.
25991
25992 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25993
25994         [BZ #14132]
25995         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25996         INTDEF.
25997         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25998         declaration.
25999         (_dl_mcount): Use rtld_hidden_proto.
26000         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26001         _dl_mcount.
26002         * elf/rtld.c (_rtld_global_ro): Likewise.
26003
26004         [BZ #14132]
26005         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26006         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26007         of _dl_init_internal.
26008         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26009         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26010         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26011         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26012         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26013         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26014         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26015         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26016         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26017         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26018         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26019         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26020         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26021         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26022         * sysdeps/tile/dl-start.S (_start): Likewise.
26023         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26024         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26025
26026         [BZ #14132]
26027         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26028         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26029         (rtld_progname): Make macro definition unconditional.
26030         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26031         INTDEF.
26032         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26033         (dl_main): Likewise.
26034         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26035         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26036         instead of _dl_argv_internal.
26037         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26038         __GI__dl_argv instead of INTUSE(_dl_argv).
26039         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26040         __GI__dl_argv instead of _dl_argv_internal.
26041
26042         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26043         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26044         macro.
26045         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26046         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26047         New macro.
26048         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26049         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26050         macro.
26051         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26052         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26053
26054 2014-11-04  Andreas Schwab  <schwab@suse.de>
26055
26056         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26057
26058 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26059
26060         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26061         mtvsrd instruction in binary form.
26062
26063 2014-11-03  Andreas Schwab  <schwab@suse.de>
26064
26065         [BZ #17522]
26066         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26067         for less than MB_LEN_MAX use a local buffer of that size.
26068         * libio/tst-fputws.c: New file.
26069         * libio/Makefile (tests): Add tst-fputws.
26070
26071 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26072
26073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26074         the size of the fpu_fr.fpu_dregs[] array.
26075
26076 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26077
26078         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26079         (__nanosleep): Do not define as alias.
26080         (nanosleep): Define as alias of __nanosleep.
26081         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26082         __libc_nanosleep name.
26083
26084 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26085
26086         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26087         install.texi in comment.
26088
26089 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26090
26091         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26092         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26093         ... add here and use lwsync or sync ...
26094         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26095         ... and add here using lwsync.
26096
26097 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26098
26099         * elf/dl-machine-reject-phdr.h: New file.
26100         * elf/dl-load.c: #include that.
26101         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26102         if that returned true.
26103
26104 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26105
26106         [BZ #17496]
26107         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26108         gen-as-const-headers chunk.  Add a big scare comment after the last
26109         safe place to touch before-compile.
26110
26111 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26112
26113         * manual/install.texi (Tools for Compilation): Update autoconf
26114         version requirements.
26115         * INSTALL: Regenerated.
26116
26117         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26118         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26119         (__libc_pselect): Likewise.
26120
26121         [BZ #14138]
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26126
26127 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26128
26129         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26130         correct barrier instruction.
26131         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26132         Likewise.
26133         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26134         Likewise.
26135
26136 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26137
26138         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26139         after defining inlines.  Instead, just use parens to defeat macro
26140         expansion of __isctype in its declaration.
26141
26142 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26143
26144         * include/sys/uio.h (__libc_readv): Remove declaration.
26145         (__libc_writev): Likewise.
26146         * misc/readv.c (__libc_readv): Rename to __readv.
26147         (__readv): Do not define as alias.
26148         (readv): Define as alias of __readv.
26149         * misc/writev.c (__libc_writev): Rename to __writev.
26150         (__writev): Do not define as alias.
26151         (writev): Define as alias of __writev.
26152         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26153         (__readv): Do not define as alias.
26154         (readv): Define unconditionally as alias of __readv.
26155         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26156         (__writev): Do not define as alias.
26157         (writev): Define unconditionally as alias of __writev.
26158         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26159         name.
26160         (writev): Do not define __libc_writev name.
26161
26162 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26163
26164         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26165         (convert_charseq): New function, broken out of ...
26166         (use_from_charmap): ... here.  Call it.
26167         (use_to_charmap): Use convert_charseq and free instead of duplicating
26168         its code with a variable-length stack struct.
26169
26170 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26171
26172         * include/fcntl.h (__libc_creat): Remove declaration.
26173         * io/creat.c (__libc_creat): Rename to creat.
26174         (creat): Do not define as alias.
26175         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26176         of creat instead of __libc_creat.
26177         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26178         to creat.
26179         (creat): Do not define as alias.
26180         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26181         __libc_creat.
26182         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26183         __libc_creat name.
26184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26185         Likewise.
26186
26187 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26188
26189         * manual/llio.texi: Add comments discussing why write() may be
26190         considered MT-unsafe on Linux.
26191
26192 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26193
26194         * dl-load.c (local_strdup): Remove.
26195         (expand_dynamic_string_token): Use __strdup.
26196         (decompose_rpath): Likewise.
26197         (_dl_map_object): Likewise.
26198
26199 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26200
26201         [BZ #14132]
26202         * sysdeps/generic/unwind-dw2-fde.c
26203         (__register_frame_info_bases_internal): Do not declare.
26204         (__register_frame_info_table_bases_internal): Likewise.
26205         (__deregister_frame_info_bases_internal): Likewise.
26206         (__register_frame_info_bases): Declare and use hidden_proto before
26207         definition.  Use hidden_def instead of INTDEF.
26208         (__register_frame_info_table_bases): Likewise.
26209         (__deregister_frame_info_bases): Likewise.
26210         (__register_frame_info): Do not use INTUSE.
26211         (__register_frame): Likewise.
26212         (__register_frame_info_table): Likewise.
26213         (__register_frame_table): Likewise.
26214         (__deregister_frame_info): Likewise.
26215         (__deregister_frame): Likewise.
26216
26217 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26218
26219         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26220         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26221         not undefine.
26222         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26223         Likewise.
26224         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26225         Likewise.
26226
26227 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26228
26229         [BZ #14138]
26230         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26231         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26232         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26233         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26234         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26235         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26236         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26237         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26238         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26239         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26240         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26241         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26242         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26243         syscall.
26244         (setfsuid): Likewise.
26245         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26246         (setfsuid): Likewise.
26247         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26248         (setfsuid): Likewise.
26249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26250         Likewise.
26251         (setfsuid): Likewise.
26252         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26253         (setfsuid): Likewise.
26254         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26255         Likewise.
26256         (setfsuid): Likewise.
26257
26258 2014-10-27  Andreas Schwab  <schwab@suse.de>
26259
26260         [BZ #17501]
26261         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26262         check for Slow_SSE4_2 feature bit.
26263         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26264         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26265         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26266         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26267
26268 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26269
26270         * configure.ac: Validate compiler version with a empirical test of
26271         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26272         $CC -v output.
26273         * configure: Regenerated.
26274
26275         * inet/htons.c (htons): Prototypify.
26276         * inet/htonl.c (htonl): Likewise.
26277
26278 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26279
26280         * string/strncat.c (strncat): Improve performance by using strlen.
26281
26282 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26283
26284         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26285
26286 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26287
26288         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26289         Call libc_fetestexcept_aarch64.
26290
26291 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26292
26293         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26294         Call libc_feholdexcept_aarch64.
26295
26296 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26297
26298         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26299         Call get_rounding_mode.
26300
26301 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26302
26303         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26304         Simplify logic.
26305
26306 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26307
26308         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26309         Simplify logic.
26310
26311 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26312
26313         [BZ #14138]
26314         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26315         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26316         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26317         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26318         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26319         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26320         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26321         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26322         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26323         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26324         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26325         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26326         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26327         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26328         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26329         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26330         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26331         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26332         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26333         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26334         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26335         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26338         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26339         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26340         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26341         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26342         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26343         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26344         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26345         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26346         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26347         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26348         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26349         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26350         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26351         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26354         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26355         syscall.
26356         (geteuid): Likewise.
26357         (getgid): Likewise.
26358         (getuid): Likewise.
26359         (getresgid): Likewise.
26360         (getresuid): Likewise.
26361         (getgroups): Likewise.
26362         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26363         (geteuid): Likewise.
26364         (getgid): Likewise.
26365         (getuid): Likewise.
26366         (getresgid): Likewise.
26367         (getresuid): Likewise.
26368         (getgroups): Likewise.
26369         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26370         (geteuid): Likewise.
26371         (getgid): Likewise.
26372         (getuid): Likewise.
26373         (getresgid): Likewise.
26374         (getresuid): Likewise.
26375         (getgroups): Likewise.
26376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26377         Likewise.
26378         (geteuid): Likewise.
26379         (getgid): Likewise.
26380         (getuid): Likewise.
26381         (getresgid): Likewise.
26382         (getresuid): Likewise.
26383         (getgroups): Likewise.
26384         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26385         (geteuid): Likewise.
26386         (getgid): Likewise.
26387         (getuid): Likewise.
26388         (getresgid): Likewise.
26389         (getresuid): Likewise.
26390         (getgroups): Likewise.
26391         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26392         Likewise.
26393         (geteuid): Likewise.
26394         (getgid): Likewise.
26395         (getuid): Likewise.
26396         (getgroups): Likewise.
26397
26398         [BZ #14138]
26399         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26400         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26401         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26402         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26403         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26404         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26405         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26406         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26407         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26408         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26411         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26412         __chown.
26413         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26414         (lchown): Likewise.
26415         (fchown): Likewise.
26416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26417         Likewise.
26418         (lchown): Likewise.
26419         (fchown): Likewise.
26420         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26421         (lchown): Likewise.
26422         (fchown): Likewise.
26423         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26424         Likewise.
26425         (lchown): Likewise.
26426         (fchown): Likewise.
26427
26428 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26429
26430         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26431         Simplify logic.
26432
26433 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26434
26435         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26436         Cleanup logic.
26437
26438 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26439
26440         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26441         Remove unused include.
26442
26443 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26444
26445         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26446         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26447         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26448         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26449
26450 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26451             Helge Deller <deller@gmx.de>
26452
26453         [BZ #17508]
26454         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26455         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26456         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26457
26458 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26459
26460         [BZ #14132]
26461         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26462         Remove macro definition.
26463         (__ashrdi3_v_glibc20): Likewise.
26464         (__lshrdi3_v_glibc20): Likewise.
26465         (__cmpdi2_v_glibc20): Likewise.
26466         (__ucmpdi2_v_glibc20): Likewise.
26467         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26468         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26469         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26470         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26471         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26472         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26473
26474 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26475
26476         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26477         old GNU extension [0] syntax.
26478         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26479         alloca rather than an array member with variable length.
26480         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26481         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26482         (parse_opt): ... here.  Likewise use alloca there.
26483         Validate the -i argument before checking for rootness.
26484         (send_shutdown): New function, broken out of ...
26485         (parse_opt): ... here.
26486
26487 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26488
26489         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26490         macro to get at the _rt_local_ro field.
26491         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26492         ([PIC] case) or _dl_hwcap ([!PIC] case).
26493         * sysdeps/arm/setjmp.S: Likewise.
26494
26495         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26496         * sysdeps/arm/configure.ac: New check to define it.
26497         * sysdeps/arm/configure: Regenerated.
26498         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26499         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26500         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26501         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26502         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26503         Use move/movt pair instead of a load.
26504         (LDST_GLOBAL): Macro removed.
26505         (LDR_GLOBAL): New macro replaces it.
26506         (LDR_HIDDEN): New macro.
26507         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26508         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26509
26510         * setjmp/tst-setjmp-static.c: New file.
26511         * setjmp/Makefile (tests): Add it.
26512         (tests-static): New variable.
26513
26514 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26515
26516         [BZ #17485]
26517         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26518
26519 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26520
26521         [BZ #14132]
26522         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26523
26524 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26525
26526         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26527
26528 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26529
26530         * io/fts.c (dirent_not_directory): New function.
26531         (fts_build): Call it.
26532
26533 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26534
26535         * nptl/version.c (__nptl_main): Use normal __write rather than
26536         INTERNAL_SYSCALL.
26537         (banner): Update copyright years.
26538
26539         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26540         gettimeofday.
26541         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26542         * nptl/pthread_cond_timedwait.c: Likewise.
26543         * nptl/pthread_mutex_timedlock.c: Likewise.
26544         * nptl/sem_timedwait.c: Likewise.
26545
26546         * sysdeps/nptl/bits/libc-lock.h
26547         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26548         (__libc_lock_init_recursive): Return void, not 0.
26549         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26550         (__libc_rwlock_init): Likewise.
26551         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26552
26553 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26554
26555         [BZ #15215]
26556         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26557         (__pthread_once_slow): ... here.
26558         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26559         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26560
26561 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26562
26563         [BZ #15215]
26564         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26565         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26566         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26567         * nptl/pthread_once.c (__pthread_once): Likewise.
26568         Update comments.
26569
26570 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26571
26572         [BZ #14138]
26573         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26574         name.
26575         (writev): Use __libc_writev as strong name.
26576         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26577         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26578
26579 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26580
26581         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26582
26583         * sysdeps/i386/nptl/tls.h
26584         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26585         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26586         New macros.
26587         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26588         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26589         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26590         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26591         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26592         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26593
26594         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26595         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26596         on [__NR_futex].
26597         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26598         broken out of ...
26599         (__pthread_mutex_init): ... here.  Call it.
26600         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26601         Conditionalize PI cases on [__NR_futex].
26602         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26603         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26604         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26605
26606         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26607         conditional on [SIGSETXID].
26608         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26609         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26610         is defined.  Likewise for SIGSETXID.
26611         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26612         Conditionalize definitions on [SIGSETXID].
26613         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26614         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26615         unblocking on [SIGCANCEL].
26616
26617         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26618         [__NR_set_robust_list].
26619
26620 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26621
26622         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26623         (do_compare): Likewise.
26624
26625 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26626
26627         [BZ #15884]
26628         * string/strcoll_l.c: Don't include stdio.h.
26629         (coll_seq): Remove members idxarr and rulearr.
26630         (get_next_seq_cached): Remove function.
26631         (get_next_seq): Likewise.
26632         (get_next_seq_nocache): Rename to get_next_seq.
26633         (do_compare): Remove function.
26634         (do_compare_nocache): Rename to do_compare.
26635         (STRCOLL): Remove weight and rules cache.
26636
26637 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26638
26639         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26640         * sysdeps/arm/sfp-machine.h: ... to here.
26641         * sysdeps/arm/Implies: Remove arm/soft-fp.
26642
26643 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26644
26645         * conform/data/sys/utsname.h-data (*_t): Allow.
26646         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26647         [POSIX] (WEXITED): Do not expect constant.
26648         [POSIX] (WSTOPPED): Likewise.
26649         [POSIX] (WNOHANG): Likewise.
26650         [POSIX] (WNOWAIT): Likewise.
26651         [POSIX] (siginfo_t): Do not expect type or elements.
26652         [POSIX] (pid_t): Do not expect type.
26653         [POSIX] (signal.h): Do not allow header.
26654         [POSIX] (sys/resource.h): Likewise.
26655         [POSIX] (si_*): Do not allow pattern.
26656         [POSIX] (W*): Likewise.
26657         [POSIX] (P_*): Likewise.
26658         [POSIX] (BUS_*): Likewise.
26659         [POSIX] (CLD_*): Likewise.
26660         [POSIX] (FPE_*): Likewise.
26661         [POSIX] (ILL_*): Likewise.
26662         [POSIX] (POLL_*): Likewise.
26663         [POSIX] (SEGV_*): Likewise.
26664         [POSIX] (SI_*): Likewise.
26665         [POSIX] (TRAP_*): Likewise.
26666         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26667         variable.
26668
26669 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26670
26671         [BZ #12926]
26672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26673         infinite loop when __recvmsg returns 0.
26674
26675 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26676
26677         * CANCEL-FCT-WAIVE: Remove file.
26678         * CANCEL-FILE-WAIVE: Likewise.
26679
26680         [BZ #14132]
26681         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26682         instead of INTVARDEF.
26683         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26684         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26685         rtld_hidden_data_def instead of INTVARDEF.
26686         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26687         * elf/dl-deps.c (expand_dst): Likewise.
26688         * elf/dl-load.c (_dl_dst_count): Likewise.
26689         (_dl_dst_substitute): Likewise.
26690         (decompose_rpath): Likewise.
26691         (_dl_init_paths): Likewise.
26692         (open_path): Likewise.
26693         (_dl_map_object): Likewise.
26694         * elf/rtld.c (dl_main): Likewise.
26695         (process_dl_audit): Likewise.
26696         (process_envvars): Likewise.
26697         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26698         Remove declaration.
26699         (__libc_enable_secure): Use rtld_hidden_proto.
26700
26701 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26702
26703         * elf/dl-load.c
26704         (add_path): New function broken out of _dl_rtld_di_serinfo.
26705         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26706
26707 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26708
26709         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26710         parentheses around macro arguments.
26711         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26722         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26723         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26724         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26725         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26726         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26727         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26738         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26740         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26741         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26742         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26743         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26744         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26745         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26746         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26747         Likewise.
26748         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26751         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26755         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26756         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26757         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26758         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26759         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26760         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26769         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26772         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26773         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26774         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26775         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26776         (_FP_FRAC_SRS_1): Likewise.
26777         (_FP_FRAC_CLZ_1): Likewise.
26778         (_FP_MUL_MEAT_1_imm): Likewise.
26779         (_FP_MUL_MEAT_1_wide): Likewise.
26780         (_FP_MUL_MEAT_1_hard): Likewise.
26781         (_FP_SQRT_MEAT_1): Likewise.
26782         (_FP_FRAC_ASSEMBLE_1): Likewise.
26783         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26784         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26785         (__FP_CLZ_2): Likewise.
26786         (_FP_MUL_MEAT_2_wide): Likewise.
26787         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26788         (_FP_MUL_MEAT_2_gmp): Likewise.
26789         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26790         (_FP_SQRT_MEAT_2): Likewise.
26791         (_FP_FRAC_ASSEMBLE_2): Likewise.
26792         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26793         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26794         (_FP_FRAC_CLZ_4): Likewise.
26795         (_FP_MUL_MEAT_4_wide): Likewise.
26796         (_FP_MUL_MEAT_4_gmp): Likewise.
26797         (_FP_SQRT_MEAT_4): Likewise.
26798         (_FP_FRAC_ASSEMBLE_4): Likewise.
26799         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26800         * soft-fp/op-common.h (_FP_CMP): Likewise.
26801         (_FP_CMP_EQ): Likewise.
26802         (_FP_CMP_UNORD): Likewise.
26803         (_FP_TO_INT): Likewise.
26804         (_FP_FROM_INT): Likewise.
26805         [!__FP_CLZ] (__FP_CLZ): Likewise.
26806         (_FP_DIV_HELP_imm): Likewise.
26807         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26808         Likewise.
26809         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26811         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26820         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26822         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26823         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26824         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26825         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26834         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26838         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26839         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26840         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26841         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26842         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26843         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26844         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26845         (FP_UNPACK_RAW_SP): Likewise.
26846         (FP_PACK_RAW_S): Likewise.
26847         (FP_PACK_RAW_SP): Likewise.
26848         (FP_UNPACK_S): Likewise.
26849         (FP_UNPACK_SP): Likewise.
26850         (FP_UNPACK_SEMIRAW_S): Likewise.
26851         (FP_UNPACK_SEMIRAW_SP): Likewise.
26852         (FP_PACK_S): Likewise.
26853         (FP_PACK_SP): Likewise.
26854         (FP_PACK_SEMIRAW_S): Likewise.
26855         (FP_PACK_SEMIRAW_SP): Likewise.
26856         (_FP_SQRT_MEAT_S): Likewise.
26857         (FP_CMP_S): Likewise.
26858         (FP_CMP_EQ_S): Likewise.
26859         (FP_CMP_UNORD_S): Likewise.
26860         (FP_TO_INT_S): Likewise.
26861         (FP_FROM_INT_S): Likewise.
26862
26863         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26864
26865         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26866         (FP_EX_INVALID_IMZ): Likewise.
26867         (FP_EX_INVALID_IMZ_FMA): Likewise.
26868         (FP_EX_INVALID_ISI): Likewise.
26869         (FP_EX_INVALID_ZDZ): Likewise.
26870         (FP_EX_INVALID_IDI): Likewise.
26871         (FP_EX_INVALID_SQRT): Likewise.
26872         (FP_EX_INVALID_CVI): Likewise.
26873         (FP_EX_INVALID_VC): Likewise.
26874         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26875         "invalid" exceptions.
26876         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26877         (_FP_ADD_INTERNAL): Likewise.
26878         (_FP_MUL): Likewise.
26879         (_FP_FMA): Likewise.
26880         (_FP_DIV): Likewise.
26881         (_FP_CMP_CHECK_NAN): Likewise.
26882         (_FP_SQRT): Likewise.
26883         (_FP_TO_INT): Likewise.
26884         (FP_EXTEND): Likewise.
26885
26886 2014-10-09  Allan McRae  <allan@archlinux.org>
26887
26888         * po/fr.po: Update French translation from translation project.
26889
26890 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26891
26892         [BZ #14132]
26893         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26894         of INTDEF.
26895         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26896         (__cxa_atexit): Use libc_hidden_proto.
26897         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26898
26899         [BZ #14132]
26900         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26901         declaration.
26902         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26903         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26904         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26905         [!_ISOMAC] (__iswctype_internal): Likewise.
26906         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26907         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26908         alias.
26909         (fcntl): Remove __fcntl_internal alias.
26910         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26911         __connect_internal alias.
26912         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26913         Likewise.
26914
26915         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26916         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26917         FP_DENORM_ZERO.
26918         (_FP_CHECK_FLUSH_ZERO): New macro.
26919         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26920         (_FP_CMP): Likewise.
26921         (_FP_CMP_EQ): Likewise.
26922         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26923         FP_DENORM_ZERO.
26924         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26925         (FP_TRUNC): Likewise.
26926
26927         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26928         treated as invalid conversion, not as normal exponent.
26929
26930         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26931         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26932         (_FP_CMP_EQ): Likewise.
26933         (_FP_CMP_UNORD): Likewise.
26934         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26935         (FP_CMP_EQ_D): Likewise.
26936         (FP_CMP_UNORD_D): Likewise.
26937         * soft-fp/extended.h (FP_CMP_E): Likewise.
26938         (FP_CMP_EQ_E): Likewise.
26939         (FP_CMP_UNORD_E): Likewise.
26940         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26941         (FP_CMP_EQ_Q): Likewise.
26942         (FP_CMP_UNORD_Q): Likewise.
26943         * soft-fp/single.h (FP_CMP_S): Likewise.
26944         (FP_CMP_EQ_S): Likewise.
26945         (FP_CMP_UNORD_S): Likewise.
26946         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26947         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26948         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26949         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26950         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26951         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26952         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26953         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26954         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26955         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26956         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26957         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26958         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26959         to FP_CMP_Q.
26960         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26961         FP_CMP_Q.
26962         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26963         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26964         FP_CMP_EQ_Q.
26965         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26966         FP_CMP_Q.
26967         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26968         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26969         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26970         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26971         FP_CMP_EQ_Q.
26972         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26973         FP_CMP_Q.
26974         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26975         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26976         FP_CMP_EQ_Q.
26977         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26978         FP_CMP_Q.
26979         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26980         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26981         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26982         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26983         FP_CMP_EQ_Q.
26984
26985         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26986         a subnormal result, set the underflow exception if trapping on
26987         underflow is enabled.
26988         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26989         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26990         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26991         redefine to 0.
26992         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26993         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26994         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26995         * soft-fp/extendxftf2.c (__extendxftf2): Use
26996         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26997
26998         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26999         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27000         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27001         FP_HANDLE_EXCEPTIONS.
27002         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27003         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27004         FP_HANDLE_EXCEPTIONS.
27005         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27006         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27007         FP_HANDLE_EXCEPTIONS.
27008         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27009         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27010         FP_HANDLE_EXCEPTIONS.
27011
27012 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27013
27014         [BZ #14132]
27015         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27016         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27017         use INTUSE.
27018         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27019         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27020         Remove alias.
27021         (__adjtimex): Define using libc_hidden_ver.
27022         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27023         Remove declaration.
27024         (ntp_gettime): Call __adjtimex directly.
27025         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27026         Remove declaration.
27027         (ntp_gettimex): Call __adjtimex directly.
27028         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27029         __adjtimex_internal alias.
27030
27031 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27032
27033         [BZ #17460]
27034         * nscd/nscd.c (more_help): Rewrite list of tables collection
27035         using xstrdup and asprintf.
27036
27037         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27038
27039 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27040             Roland McGrath  <roland@hack.frob.com>
27041
27042         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27043         (do_lookup_unique): ... local function 'enter' here; update callers.
27044
27045 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27046
27047         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27048         compat_symbol calls on [SHARED].
27049         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27050         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27051         Remove.
27052         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27053         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27054         (oldsetrlimit): Remove.
27055         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27057         (lchown): New syscall entry.
27058         (oldsetrlimit): Remove.
27059         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27060         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27061         (oldsetrlimit): Remove.
27062         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27063
27064         [BZ #14138]
27065         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27066         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27067         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27068         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27069         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27070         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27071         (fchown): Likewise.
27072         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27073         (fchown): Likewise.
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27075         Likewise.
27076
27077 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27078
27079         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27080         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27081         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27082         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27083         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27084         Likewise.
27085         (__old_sem_post): Likewise.
27086
27087 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27088
27089         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27090         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27091         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27092         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27093         Use INLINE_VSYSCALL macro.
27094         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27095         __vdso_clock_gettime.
27096         * sysdeps/unix/sysv/linux/tile/init-first.c
27097         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27098         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27099         __vdso_clock_gettime.
27100
27101         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27102         to set up frame more cleanly.
27103
27104         * sysdeps/tile/memcmp.c: New file.
27105
27106         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27107
27108         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27109         * sysdeps/tile/tilegx/strcasestr.c: New file.
27110         * sysdeps/tile/tilegx/strnlen.c: New file.
27111         * sysdeps/tile/tilegx/strstr.c: New file.
27112
27113         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27114
27115 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27116
27117         * nptl/tst-setuid3.c: Write errors to stdout.
27118
27119 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27120
27121         * elf/dl-deps.c
27122         (preload): New functions broken out of _dl_map_object_deps.
27123         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27124
27125 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27126
27127         [BZ #14138]
27128         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27129         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27130
27131 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27132
27133         * sysdeps/mips/strcmp.S: New.
27134
27135 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27136
27137         [BZ #14138]
27138         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27139         (linkat): Likewise.
27140         (mkdirat): Likewise.
27141         (readlinkat): Likewise.
27142         (renameat): Likewise.
27143         (symlinkat): Likewise.
27144         (unlinkat): Likewise.
27145         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27146         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27147         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27148         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27149         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27150         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27151         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27152
27153 2014-09-30  Will Newton  <will.newton@linaro.org>
27154
27155         * math/math.h: Define long double math functions if
27156         _LIBC_TEST is defined.
27157         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27158
27159         * localedata/Makefile: Move assignment to tests-special
27160         into an ifdef testing run-built-tests.
27161         * timezone/Makefile: Likewise.
27162
27163 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27164
27165         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27166         with $(BASH) not $(SHELL).
27167
27168 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27169             Matthew LeGendre  <legendre1@llnl.gov>
27170
27171         [BZ #17411]
27172         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27173         l_reloc_result.
27174
27175 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27176
27177         * stdio-common/printf_fp.c
27178         (hack_digit): New function, broken out of ...
27179         (__printf_fp): ... local function here.  Update call sites.
27180         hack_digit now takes an additional parameter that is a pointer
27181         to a struct of the referenced locals.  Those locals moved inside
27182         the struct and references updated.
27183
27184 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27185
27186         * aclocal.m4: Require autoconf 2.69.
27187         * configure: Regenerated.
27188         * sysdeps/aarch64/configure: Likewise.
27189         * sysdeps/alpha/configure: Likewise.
27190         * sysdeps/arm/armv7/configure: Likewise.
27191         * sysdeps/arm/configure: Likewise.
27192         * sysdeps/ia64/configure: Likewise.
27193         * sysdeps/mach/configure: Likewise.
27194         * sysdeps/mips/configure: Likewise.
27195         * sysdeps/s390/configure: Likewise.
27196         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27198
27199         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27200         file.
27201         * sysdeps/ia64/configure.ac: Likewise.
27202
27203 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27204
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27206         specify symbol version for ld.so.  Do not include entry for
27207         libpthread.
27208         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27209         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27210         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27211
27212         [BZ #14171]
27213         * Makeconfig [$(build-shared) = yes]
27214         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27215         makefiles.
27216         [$(build-shared) = yes && $(soversions.mk-done) = t]
27217         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27218         [$(build-shared) = yes && $(soversions.mk-done) = t]
27219         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27220         to Makerules.
27221         [$(build-shared) = yes && $(soversions.mk-done) = t]
27222         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27223         here.
27224         [$(build-shared) = yes && $(soversions.mk-done) = t]
27225         (common-generated): Don't append gnu/lib-names.h and
27226         gnu/lib-names.stmp here.
27227         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27228         (lib-names-h-abi): New variable.
27229         [$(build-shared) = yes && $(soversions.mk-done) = t]
27230         (lib-names-stmp-abi): Likewise.
27231         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27232         abi-variants] (before-compile): Append
27233         $(common-objpfx)$(lib-names-h-abi).
27234         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27235         abi-variants] (common-generated): Append gnu/lib-names.h.
27236         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27237         abi-variants] (install-others-nosubdir): Depend on
27238         $(inst_includedir)/$(lib-names-h-abi).
27239         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27240         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27241         [$(build-shared) = yes && $(soversions.mk-done) = t]
27242         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27243         [$(build-shared) = yes && $(soversions.mk-done) = t]
27244         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27245         [$(build-shared) = yes && $(soversions.mk-done) = t]
27246         (common-generated): Append $(lib-names-h-abi) and
27247         $(lib-names-stmp-abi).
27248         * scripts/lib-names.awk: Do not handle multi being set.
27249         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27250         Remove variable.
27251         (abi-lp64_be-ld-soname): Likewise.
27252         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27253         Likewise.
27254         (abi-hard-ld-soname): Likewise.
27255         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27256         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27257         Remove variable.
27258         (abi-o32_hard-ld-soname): Likewise.
27259         (abi-o32_soft_2008-ld-soname): Likewise.
27260         (abi-o32_hard_2008-ld-soname): Likewise.
27261         (abi-n32_soft-ld-soname): Likewise.
27262         (abi-n32_hard-ld-soname): Likewise.
27263         (abi-n32_soft_2008-ld-soname): Likewise.
27264         (abi-n32_hard_2008-ld-soname): Likewise.
27265         (abi-n64_soft-ld-soname): Likewise.
27266         (abi-n64_hard-ld-soname): Likewise.
27267         (abi-n64_soft_2008-ld-soname): Likewise.
27268         (abi-n64_hard_2008-ld-soname): Likewise.
27269         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27270         Likewise.
27271         (abi-64-v2-ld-soname): Likewise.
27272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27273         ld.so entries.
27274         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27275         variable.
27276         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27277         entry.
27278         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27279         variable.
27280         (abi-64-ld-soname): Likewise.
27281         (abi-x32-ld-soname): Likewise.
27282         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27283         entry.
27284         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27285
27286 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27287
27288         [BZ #14138]
27289         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27290         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27291         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27292         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27293         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27294         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27295         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27296         syscall entry for GLIBC_2.2 symbol version.
27297         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27298         Likewise.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27300         (setrlimit): Likewise.
27301         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27302         Likewise.
27303
27304 2014-09-23  Will Newton  <will.newton@linaro.org>
27305
27306         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27307         _LINUX_ARM_SYSDEP_H include guard too.
27308         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27309         define.
27310
27311 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27312
27313         * sysdeps/unix/sysv/linux/eventfd.c:
27314         Make first argument unsigned.
27315         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27316         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27317
27318 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27319
27320         [BZ #16852]
27321         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27322         * socket/sys/socket.h: Likewise.
27323         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27324
27325 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27326
27327         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27328
27329 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27330
27331         * time/tst-ftime.c: New test.
27332         * time/Makefile (tests): Add tst-ftime.
27333
27334 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27335
27336         * soft-fp/extended.h: Fix comment formatting.
27337         * soft-fp/op-1.h: Likewise.
27338         * soft-fp/op-2.h: Likewise.
27339         * soft-fp/op-4.h: Likewise.
27340         * soft-fp/op-8.h: Likewise.
27341         * soft-fp/op-common.h: Likewise.
27342         * soft-fp/soft-fp.h: Likewise.
27343
27344         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27345
27346 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27347
27348         [BZ #6652]
27349         * Makeconfig (soversions-default-setname): Remove variable.
27350         ($(common-objpfx)soversions.i): Don't pass default_setname to
27351         soversions.awk.
27352         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27353         oldest_abi to abi-versions.awk.
27354         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27355         * config.make.in (oldest-abi): Remove variable.
27356         * configure.ac (--enable-oldest-abi): Remove configure option.
27357         * configure: Regenerated.
27358         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27359         text.
27360         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27361         * scripts/soversions.awk: Do not handle default_setname variable.
27362         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27363         variable.
27364         * sysdeps/mach/hurd/configure: Regenerated.
27365         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27366         variable.
27367         * sysdeps/unix/sysv/linux/configure: Regenerated.
27368
27369 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27370
27371         * elf/Makefile (CFLAGS-interp.c): Remove.
27372         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27373         path string.
27374         * elf/interp.c: Include generated runtime-linker.h
27375
27376         * Makerules (lib%.so): Don't include $(+interp) in
27377         prerequisites.
27378         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27379         * dlfcn/eval.c: Remove file.
27380
27381         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27382         macros.
27383
27384         [BZ #17266]
27385         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27386         4.2 and newer.
27387
27388         [BZ #17370]
27389         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27390
27391 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27392             Jakub Jelinek  <jakub@redhat.com>
27393
27394         [BZ #17266]
27395         * libio/stdio.h: Check definition of __fortify_function
27396         instead of __extern_always_inline to include bits/stdio2.h.
27397         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27398         check if __extern_always_inline is defined.
27399         [__USE_MISC || __USE_XOPEN]: Likewise.
27400         [__USE_ISOC99] Likewise.
27401         * misc/sys/cdefs.h (__fortify_function): Define only if
27402         __extern_always_inline is defined.
27403         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27404         __extern_always_inline and __extern_inline only for g++-4.3
27405         and newer or a compatible gcc.
27406
27407 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27408
27409         [BZ #17371]
27410         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27411         last change to handle zero prefix length.
27412
27413 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27414
27415         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27416         _SC_REGEX_VERSION.
27417
27418         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27419         _POSIX_RAW_SOCKETS.
27420
27421 2014-09-13  Allan McRae  <allan@archlinux.org>
27422
27423         * po/ru.po: Update Russian translation from translation project.
27424
27425 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27426
27427         * locale/programs/locale.c (show_locale_vars): Inline local function
27428         into its sole call site.  Clean up some style nits.
27429         (print_item): New function, broken out of ...
27430         (show_info): ... local function here.  Clean up style nits.
27431
27432         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27433         out of ...
27434         (set_class_defaults): ... local function set_default here.
27435         Define set_default as a macro locally to pass constant parameters.
27436         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27437         rather than a shared local.
27438
27439         * stdlib/rpmatch.c (try): New function, broken out of ...
27440         (rpmatch): ... local function here.  Also, prototypify definition.
27441
27442 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27443
27444         * scripts/soversions.awk: Do not handle configuration names.
27445         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27446         vendor and os variables to soversions.awk.
27447         * configure.ac: Do not modify gnu-* host_os.
27448         * configure: Regenerated
27449         * shlib-versions: Remove first column with configuration names.
27450         * nptl/shlib-versions: Likewise.
27451         * nptl_db/shlib-versions: Likewise.
27452         * sysdeps/hppa/shlib-versions: Likewise.
27453         * sysdeps/m68k/shlib-versions: Likewise.
27454         * sysdeps/mach/hurd/shlib-versions: Likewise.
27455         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27456         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27457         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27458         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27459         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27460         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27461         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27462         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27464         Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27466         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27467         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27468         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27469         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27470         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27471         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27472         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27473
27474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27475         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27477         Regenerated.
27478         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27480         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27481
27482         * shlib-versions: Remove OS-specific entries.  Moved to files in
27483         sysdeps.
27484         * sysdeps/mach/hurd/shlib-versions: New file.
27485         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27486
27487         * nptl/shlib-versions: Remove architecture-specific entries.
27488         Moved to files in sysdeps.
27489         * shlib-versions: Likewise.
27490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27491         file.
27492         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27493         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27494         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27495         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27496
27497         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27498         (UDP_NO_CHECK6_RX): Likewise.
27499
27500 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27501
27502         * sysdeps/posix/sysconf.c (__sysconf): Spell
27503         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27504
27505 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27506
27507         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27508         loading.
27509         * iconv/Versions (__gconv_transliterate): Export for use from
27510         gconv modules.
27511         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27512         (struct __gconv_trans_data, __gconv_trans_fct,
27513         __gconv_trans_context_fct, __gconv_trans_query_fct,
27514         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27515         definitions.
27516         (struct __gconv_step_data): Remove __trans member.
27517         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27518         longer hidden.  Remove unused trans_data argument.
27519         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27520         (__gconv_translit_find): Remove declaration.
27521         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27522         prototype.
27523         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27524         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27525         trans_data argument.  Add hidden definition.
27526         (__gconv_translit_find): Remove.
27527         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27528         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27529         * iconv/skeleton.c: Remove transliteration initialization.
27530         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27531         __gconv_step_data initialization.
27532         * libio/iofwide.c (__libio_translit_): Remove.
27533         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27534         * wcsmbs/btowc.c (__btowc): Likewise.
27535         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27536         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27537         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27538         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27539         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27540         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27541         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27542         * wcsmbs/wctob.c (wctob): Likewise.
27543
27544 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27545
27546         [BZ #16194]
27547         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27548         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27549         register usage.
27550         * sysdeps/x86/Makefile: Adjust.
27551
27552 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27553             Roland McGrath  <roland@hack.frob.com>
27554
27555         * locale/weight.h: Add include guard.
27556         (findidx): Make static rather than auto; take new parameters
27557         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27558         * locale/weightwc.h: Likewise.
27559         * posix/fnmatch_loop.c
27560         (FCT): Change type of EXTRA from int32_t to wint_t.
27561         Don't include either header inside the function.
27562         Call FINDIDX rather than findidx, and pass new arguments.
27563         #undef FINDIDX at the end of the file.
27564         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27565         FINDIDX before including fnmatch_loop.c for the non-wide version.
27566         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27567         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27568         for the wide version.
27569         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27570         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27571         Pass new arguments to findidx.
27572         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27573         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27574         Don't #include it inside the function.  Pass new arguments to findidx.
27575         * posix/regex_internal.h
27576         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27577         (re_string_elem_size_at): Don't #include it inside the function.
27578         Pass new arguments to findidx.
27579         * string/strcoll_l.c: #include WEIGHT_H at top level.
27580         (get_next_seq): Don't #include it inside the function.
27581         Pass new arguments to findidx.
27582         (get_next_seq_nocache): Likewise.
27583         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27584         (STRXFRM): Don't #include it inside the function.
27585         Pass new arguments to findidx.
27586
27587 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27588
27589         [BZ #17344]
27590         * malloc/malloc.c (unlink): Turn asserts into a call to
27591         malloc_printerr.
27592
27593 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27594
27595         [BZ #17370]
27596         * libio/wfileops (do_ftell_wide): Free OUT.
27597
27598 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27599
27600         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27601
27602 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27603
27604         [BZ #17363]
27605         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27606         group if the current group is empty.
27607
27608 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27609
27610         * benchtests/bench-memset.c (test_main): Add more test from size
27611         from 32 to 512 bytes.
27612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27613         Add POWER8 memset object.
27614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27615         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27616         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27617         implementation.
27618         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27619         Likewise.
27620         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27621         multiarch POWER8 memset optimization.
27622         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27623         POWER8 memset optimization.
27624
27625         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27626         Remove bzero multiarch objects.
27627         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27628         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27630         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27631         Remove define.
27632         [__bzero]: Redefine to specific name.
27633         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27634         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27635         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27636         define.
27637         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27638         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27639
27640 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27641
27642         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27643         warnings into errors.
27644
27645         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27646         __cxa_thread_atexit_impl prototype.
27647
27648 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27649
27650         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27651         Fix capitalization of error message.
27652
27653 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27654
27655         * sysdeps/mips/preconfigure: Modify ABI tests.
27656
27657 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27658
27659         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27660
27661 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27662             Carlos O'Donell  <carlos@systemhalted.org>
27663
27664         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27665         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27666         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27667         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27668         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27669         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27670         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27671         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27672         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27675         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27676         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27685         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27686         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27687         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27688         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27689         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27690         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27691         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27692         Deconditionalize the code that was previously under [RESET_PID].
27693         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27694         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27695         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27696         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27697         include sysdep.h.
27698
27699 2014-09-08  Allan McRae  <allan@archlinux.org>
27700
27701         * version.h (RELEASE): Set to "development".
27702         (VERSION): Set to "2.20.90"
27703
27704 2014-09-07  Allan McRae  <allan@archlinux.org
27705
27706         * version.h (RELEASE): Set to "stable".
27707         (VERSION): Set to "2.20"
27708         * include/features.h (__GLIBC_MINOR__): Set to 20.
27709
27710         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27711         Liebler.
27712
27713         * po/ko.po: Update Korean translation from translation project.
27714
27715 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27716
27717         [BZ #17354]
27718         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27719         macro for handling signed relocations.
27720
27721 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27722
27723         [BZ #17325]
27724         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27725         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27726         assert.
27727         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27728         * iconvdata/ibm935.c (BODY): Likewise.
27729         * iconvdata/ibm937.c (BODY): Likewise.
27730         * iconvdata/ibm939.c (BODY): Likewise.
27731         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27732         assert.
27733         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27734         script.
27735         * iconvdata/run-iconv-test.sh: New test loop for checking for
27736         decoder crashers.
27737
27738 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27739
27740         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27741         libm_hidden_ver.
27742
27743 2014-09-01  Allan McRae  <allan@archlinux.org>
27744
27745         * po/eo.po: Update Esperanto translation from translation project.
27746
27747         * po/ca.po: Update Catalan translation from translation project.
27748
27749 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27750
27751         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27752         __proc_dostop call.
27753
27754 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27755
27756         [BZ #17319]
27757         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27758         to call set_thread_area instead of hand written asm.
27759         (__NR_set_thread_area): Removed define.
27760         (TLS_FLAG_WRITABLE): Likewise.
27761         (__ASSUME_SET_THREAD_AREA): Remove check.
27762         (TLS_EBX_ARG): Remove define.
27763         (TLS_LOAD_EBX): Likewise.
27764
27765 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27766
27767         Simplify atomicity of socket creation in bind.
27768
27769         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27770         looking up the name after linking the file.
27771
27772 2014-08-27  Allan McRae  <allan@archlinux.org>
27773
27774         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27775
27776 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27777
27778         [BZ #17187]
27779         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27780         trans_compare, open_translit, __gconv_translit_find):
27781         Remove module loading code.
27782
27783 2014-08-26  Allan McRae  <allan@archlinux.org>
27784
27785         * po/vi.po: Update Vietnamese translation from translation project.
27786
27787         * po/uk.po: Update Ukrainian translation from translation project.
27788
27789         * po/fr.po: Update French translation from translation project.
27790
27791         * po/ru.po: Update Russian translation from translation project.
27792
27793         * po/pl.po: Update Polish translation from translation project.
27794
27795         * po/cs.po: Update Czech translation from translation project.
27796
27797         * po/de.po: Update German translation from translation project.
27798
27799         * po/bg.po: Update Bulgarian translation from translation project.
27800
27801         * po/sv.po: Update Sweedish translation from translation project.
27802
27803         * po/nl.po: Update Dutch translation from translation project.
27804
27805         * po/es.po: Update Spanish translation from translation project.
27806
27807 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27808
27809         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27810
27811         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27812         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27813         (CPPFLAGS-iconvconfig): Likewise.
27814         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27815
27816         * include/libc-symbols.h: Remove unnecessary check for
27817         NOT_IN_libc.
27818         * nptl/pthreadP.h: Likewise.
27819         * sysdeps/aarch64/setjmp.S: Likewise.
27820         * sysdeps/alpha/setjmp.S: Likewise.
27821         * sysdeps/arm/sysdep.h: Likewise.
27822         * sysdeps/i386/setjmp.S: Likewise.
27823         * sysdeps/m68k/setjmp.c: Likewise.
27824         * sysdeps/posix/getcwd.c: Likewise.
27825         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27827         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27828         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27829         * sysdeps/sh/sh3/setjmp.S: Likewise.
27830         * sysdeps/sh/sh4/setjmp.S: Likewise.
27831         * sysdeps/unix/alpha/sysdep.h: Likewise.
27832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27833         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27834         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27835         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27840         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27843         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27845         * sysdeps/x86_64/setjmp.S: Likewise.
27846
27847 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27848
27849         [BZ #17263]
27850         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27851         <stdint.h>.
27852         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27853         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27854
27855 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27856
27857         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27858
27859         [BZ #17262]
27860         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27861         and __x86_64__ when disabling x87 inline functions.
27862
27863 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27864
27865         [BZ #17259]
27866         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27867         asm statement with __cpuid_count.
27868
27869 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27870
27871         * configure.ac: Change __ehdr_start code to dereference the struct.
27872         Run readelf on the output to look for relocations.
27873         * configure: Regenerated.
27874
27875 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27876
27877         [BZ #17261]
27878         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27879         value to 0.
27880         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27881
27882 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27883
27884         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27885
27886 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27887
27888         [BZ #16892]
27889         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27890         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27891
27892 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27893
27894         * malloc/malloc.c: Fix typo in comment.
27895
27896 2014-08-09  Allan McRae  <allan@archlinux.org>
27897
27898         * Regenerate libc.po.
27899
27900 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27901
27902         * intl/tst-gettext2.sh: Check every lang file for creation.
27903
27904 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27905
27906         * sysdeps/aarch64/fpu/math_private.h
27907         (libc_feholdsetround_noex_aarch64_ctx): New function.
27908
27909 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27910
27911         * sysdeps/arm/armv6/strcpy.S (strcpy):
27912         Fix performance issue in misaligned cases.
27913
27914 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27915
27916         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27917         Move definition from termios.h.
27918         (struct termio): Likewise.
27919         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27920         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27921         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27922         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27923         Likewise.
27924         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27925         Move definition to ioctl-types.h
27926         (struct termio): Likewise.
27927         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27928         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27929         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27930         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27931         Likewise.
27932
27933 2014-08-05  Richard Henderson  <rth@redhat.com>
27934
27935         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27936         exceptions.
27937         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27938         Add fraiseexcpt.
27939         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27940         Use __feraiseexcept.
27941         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27942         Protect libm symbols with IS_IN_libm.
27943
27944         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27945
27946 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27947
27948         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27949
27950 2014-08-04  Will Newton  <will.newton@linaro.org>
27951
27952         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27953         file.
27954
27955 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27956
27957         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27958         variants for each function.
27959
27960 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27961
27962         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27963         appended ...
27964         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27965         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27966         appended ...
27967         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27968         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27969         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27970         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27971         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27972         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27973         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27974         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27975         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27976         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27979         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27980         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27981         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27985         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27986         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27987         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27988         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27989         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27990         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27991         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27992         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27993         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27995         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27996         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27997         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27998         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28001         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28002         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28003         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28004         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28005         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28006         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28007         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28008         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28009         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28010         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28011         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28013         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28015         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28017         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28018         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28019         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28020         Update #include.
28021         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28022         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28023
28024 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28025
28026         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28027         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28028         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28029         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28031         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28032
28033 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28034
28035         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28036         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28037         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28038         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28039
28040 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28041
28042         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28043         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28044         (__libc_vfork): Define function under this name.
28045         (__vfork): Define as an alias.
28046         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28047         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28048
28049 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28050
28051         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28052         that was previously under [RESET_PID].
28053         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28054
28055 2014-08-04  Andreas Schwab  <schwab@suse.de>
28056
28057         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28058
28059 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28060
28061         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28062         (main): Likewise.
28063
28064 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28065
28066         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28067
28068 2014-08-01  Richard Henderon  <rth@redhat.com>
28069
28070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28071         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28072         typo in exact zero test.
28073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28074         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28076
28077 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28078
28079         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28080         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28081         * sysdeps/arm/sysdep.h: ... here.
28082         [!__ASSEMBLER__]: Include <stdint.h>.
28083
28084 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28085
28086         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28087         (HAVE_WCTYPE_H): Likewise.
28088         (HAVE_ISWCTYPE): Likewise.
28089         (ENABLE_NLS): Likewise.
28090         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28091         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28092
28093         * posix/regex_internal.c: Check if DEBUG is defined and is
28094         set.
28095
28096         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28097         (HAVE_MBSRTOWCS): Likewise.
28098         * posix/fnmatch.c: Include string.h unconditionally.
28099
28100 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28101
28102         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28103         reversal.
28104
28105 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28106
28107         * sysdeps/generic/safe-fatal.h: New file.
28108         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28109         * nptl/forward.c: Include it.
28110         (__pthread_unwind): Use __safe_fatal as default action, rather
28111         than a bogus use of INTERNAL_SYSCALL that could never work.
28112
28113         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28114         * configure.ac (libc_cv_builtin_trap): New test.
28115         * configure: Regenerated.
28116         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28117         (ABORT_INSTRUCTION): Define using __builtin_trap.
28118
28119         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28120         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28121         * sysdeps/nptl/nptl-signals.h: New file.
28122         * nptl/pthreadP.h: Include <nptl-signals.h>.
28123
28124 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28125
28126         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28127         (ONE_DIRECTION): Define.
28128         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28129         (ONE_DIRECTION): Define.
28130         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28131         (ONE_DIRECTION): Define.
28132
28133 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28134
28135         * sysdeps/s390/Makefile: Delete file.
28136         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28137         * sysdeps/s390/__longjmp.c: Delete file.
28138         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28139         Remove fields __flags and __reserved.
28140         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28141         and add versioning.
28142         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28143         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28144         * sysdeps/s390/rtld-setjmp.S: Likewise.
28145         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28146         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28147         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28148         * sysdeps/s390/s390-32/setjmp.S: ... here.
28149         Add versioning.
28150         (__sigsetjmp): Remove setting __flags field.
28151         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28152         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28153         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28154         * sysdeps/s390/s390-64/setjmp.S: ... here.
28155         Add versioning.
28156         (__sigsetjmp): Remove setting __flags field.
28157         * sysdeps/s390/setjmp.S: Delete file.
28158         * sysdeps/s390/sigjmp.c: Likewise.
28159         * sysdeps/s390/v1-longjmp.c: Likewise.
28160         * sysdeps/s390/v1-setjmp.h: Likewise.
28161         * sysdeps/s390/v1-sigjmp.c: Likewise.
28162         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28163         Remove v1-longjmp_chk.
28164         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28165         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28166         Include debug/longjmp_chk.c and add versioning.
28167         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28168         Include nptl/pt-longjmp.c and add versioning.
28169         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28170         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28171         Include __longjmp.c.
28172         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28173         Move to ...
28174         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28175         (__getcontext): Remove setting __flags field.
28176         Add versioning.
28177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28178         Don't restore upper high grps.
28179         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28180         Likewise.
28181         (__swapcontext): Remove setting uc_flags field.
28182         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28183         Delete file.
28184         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28185         Include __longjmp.c.
28186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28187         Move to ...
28188         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28189         (__getcontext): Remove setting __flags field.
28190         Add versioning.
28191         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28192         (__swapcontext): Remove setting uc_flags field.
28193         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28195         Remove fields uc_high_gprs and __reserved.
28196         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28197         New file with reverted content.
28198         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28199         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28200         Regenerated.
28201         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28202         Regenerated.
28203
28204 2014-07-31  Andreas Schwab  <schwab@suse.de>
28205
28206         * config.h.in (HAVE_IFUNC): Define to 0.
28207         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28208         definedness.
28209
28210 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28211
28212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28213         memmove-avx-unaligned, memcpy-avx-unaligned and
28214         mempcpy-avx-unaligned.
28215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28216         Add tests for AVX memcpy functions.
28217         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28218         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28219         memcpy_chk.
28220         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28221         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28222         memmove_chk.
28223         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28224         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28225         mempcpy_chk.
28226         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28227         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28228         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28229
28230 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28231
28232         [BZ #17213]
28233         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28234         powerpc64le.
28235
28236 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28237
28238         [BZ #16839]
28239         * manual/llio.texi: Add section about open file description locks.
28240         * manual/examples/ofdlocks.c: Example of open file description
28241         lock usage.
28242         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28243         F_OFD_SETLK, and F_OFD_SETLKW.
28244
28245 2014-07-23  Allan McRae  <allan@archlinux.org>
28246
28247         * po/es.po: Update Spanish translation from translation project.
28248
28249 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28250
28251         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28252
28253 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28254
28255         [BZ #17078]
28256         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28257         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28258         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28259
28260 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28261
28262         [BZ #17088]
28263         * math/fesetenv.c (__fesetenv)
28264         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28265         * math/feupdateenv.c (__feupdateenv)
28266         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28267
28268         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28269         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28270         (__ASSUME_SOCKETCALL): Do not define.
28271
28272         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28273         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28274         (__ASSUME_SOCKETCALL): Do not define.
28275         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28276         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28277         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28278         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28280         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28281         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28282         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28283
28284         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28285         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28286         (__ASSUME_SOCKETCALL): Do not define.
28287         (__ASSUME_IPC64): Define unconditionally.
28288         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28289         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28290         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28292         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28294         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28295         Likewise.
28296
28297         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28298         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28299         (__ASSUME_SOCKETCALL): Do not define.
28300         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28301         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28302         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28303         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28304         (__ASSUME_REQUEUE_PI): Define unconditionally.
28305         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28306         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28307         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28308         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28310         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28311
28312         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28313         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28314         (__ASSUME_SOCKETCALL): Do not define.
28315         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28317         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28318         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28320         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28321
28322         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28323         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28324         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28325         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28327         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28329         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28330         (__ASSUME_GETCPU_SYSCALL): Likewise.
28331
28332         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28333         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28334         cases for individual architectures.
28335         * sysdeps/gnu/configure: Regenerated.
28336         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28337         LIBC_SLIBDIR_RTLDDIR.
28338         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28339         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28340         LIBC_SLIBDIR_RTLDDIR.
28341         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28343         LIBC_SLIBDIR_RTLDDIR.
28344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28345         Regenerated.
28346         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28347         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28348         file.
28349         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28350         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28351         file.
28352         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28353         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28354         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28355         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28356
28357         * sysdeps/aarch64/shlib-versions: Move to ...
28358         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28359         * sysdeps/alpha/shlib-versions: Move to ...
28360         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28361         * sysdeps/arm/shlib-versions: Move to ...
28362         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28363         * sysdeps/hppa/shlib-versions: Move all contents except for
28364         libgcc_s entry to ...
28365         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28366         entry from ...
28367         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28368         * sysdeps/ia64/shlib-versions: Move to ...
28369         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28370         entry from ...
28371         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28372         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28373         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28374         * sysdeps/microblaze/shlib-versions: Move to ...
28375         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28376         * sysdeps/mips/shlib-versions: Move to ...
28377         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28378         entry from ...
28379         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28380         * sysdeps/tile/shlib-versions: Move to ...
28381         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28382         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28383         from ...
28384         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28385         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28386         entry from ...
28387         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28388
28389 2014-07-17  Will Newton  <will.newton@linaro.org>
28390
28391         * sysdeps/arm/bits/atomic.h
28392         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28393         (__arch_compare_and_exchange_bool_16_int): Likewise.
28394         (__arch_compare_and_exchange_bool_64_int): Likewise.
28395
28396         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28397         into an #else block.
28398
28399 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28400
28401         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28402         just Linux configurations.  Test empirically that the compiler sets
28403         __ARM_EABI__, rather than using the tuple to decide.
28404         * sysdeps/arm/preconfigure: Regenerated.
28405         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28406         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28407         contents appended ...
28408         * sysdeps/arm/configure.ac: ... here.
28409         * sysdeps/arm/configure: Regenerated.
28410
28411 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28412
28413         * nptl/pthread_kill.c: New file.
28414         * nptl/pthread_sigmask.c: New file.
28415         * nptl/pthread_sigqueue.c: New file.
28416
28417         * sysdeps/nptl/lowlevellock.h: New file.
28418         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28419         * sysdeps/nptl/lowlevellock-futex.h: New file.
28420
28421         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28422         Remove dead declarations.
28423
28424 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28425
28426         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28427         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28428         config-cflags-avx2.
28429         * sysdeps/x86_64/configure.ac: Likewise.
28430         * sysdeps/i386/configure: Regenerated.
28431         * sysdeps/x86_64/configure: Likewise.
28432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28433         memset-avx2 only if config-cflags-avx2 is yes.
28434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28435         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28436         defined.
28437         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28438         only if HAVE_AVX2_SUPPORT is defined.
28439         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28440
28441 2014-07-14  Alan Modra  <amodra@gmail.com>
28442
28443         [BZ #17153]
28444         * elf/elf.h (DT_PPC64_NUM): Correct value.
28445         * NEWS: Add to fixed bug list.
28446
28447 2014-07-13  Jim Meyering  <meyering@fb.com>
28448
28449         [BZ 17150]
28450         regex: don't deref NULL upon heap allocation failure
28451         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28452         failure in one more place.
28453         To trigger the segfault, configure grep -with-included-regex,
28454         build it, and run these commands:
28455         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28456
28457 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28458
28459         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28460
28461 2014-07-11  Richard Henderson  <rth@redhat.com>
28462
28463         * sysdeps/aarch64/libm-test-ulps: Update.
28464
28465 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28466
28467         [BZ #17135]
28468         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28469         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28470         (__nptl_setxid): Initialize error member.  Call
28471         __nptl_setxid_error.
28472         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28473         * nptl/descr.h (struct xid_command): Add error member.
28474         * nptl/tst-setuid3.c: New file.
28475         * nptl/Makefile (tests): Add it.
28476
28477 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28478
28479         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28480         New define.
28481         (__lll_trylock): Use __lll_base_trylock.
28482         (__lll_cond_trylock): Likewise.
28483
28484 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28485
28486         * nptl/pthread_create.c (start_thread): Use atomic_or and
28487         lll_futex_wake directly rather than lll_robust_dead.
28488         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28489         (lll_robust_dead): Macro removed.
28490         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28491         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28492         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28493         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28494         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28495         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28496         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28497         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28498         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28499         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28500         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28503         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28505
28506         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28507         Use atomic_compare_and_exchange_val_acq directly rather than
28508         lll_robust_trylock.
28509         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28510         (__lll_robust_trylock, lll_robust_trylock): Removed.
28511         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28512         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28513         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28514         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28515         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28516         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28517         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28518         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28520         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28521         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28522         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28524         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28525
28526 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28527
28528         * manual/locale.texi (Locale Names): New section documenting
28529         locale name syntax.  Adjust menu and node chaining accordingly.
28530         (Choosing Locale): Reference Locale Names, Locale Categories.
28531         Mention setting LC_ALL=C.  Reflect that name syntax is now
28532         documented.
28533         (Locale Categories): New section title.  Reference Locale Names.
28534         LC_ALL is an environment variable, but not a category.
28535         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28536         description, now in Locale Name.  Reference that section.  Locale
28537         name syntax is now documented.
28538
28539 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28540
28541         [BZ #17137]
28542         * locale/findlocale.c (name_present, valid_locale_name): New
28543         functions.
28544         (_nl_find_locale): Use the loc_name variable to store name
28545         candidates.  Call name_present and valid_locale_name to check and
28546         validate locale names.  Return an error if the locale is invalid.
28547
28548 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28549
28550         * locale/setlocale.c (setlocale): Use strdup for allocating
28551         composite name copy.
28552
28553 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28554
28555         Sync up with gnulib.
28556         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28557         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28558         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28559         and _GL_ARG_NONNULL.
28560         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28561         [!_LIBC]: Include code for Windows and Cygwin.
28562         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28563         Include prototype for int strerror_r.
28564         [!_LIBC] (is_open): New function.
28565         (flush_stdout): New function.
28566         (print_errno_message): Use it.
28567         (error): Likewise.
28568         (error_at_line): Likewise.
28569         (error_tail) Add function attribute macros.  Use
28570         __builtin_expect.
28571
28572         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28573
28574         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28575
28576         * io/ftw.c: Include sys/param.h unconditionally.
28577
28578         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28579
28580         [BZ #17125]
28581         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28582         libc_freeres_ptr.
28583         (freecache): New function to free CACHE on exit.
28584
28585         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28586         initialization.
28587
28588 2014-07-09  David S. Miller  <davem@davemloft.net>
28589
28590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28591
28592         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28593         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28594         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28595         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28596         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28597         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28598         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28599         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28600         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28601         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28602         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28603         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28604         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28605
28606 2014-07-09  Andreas Schwab  <schwab@suse.de>
28607
28608         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28609         output.
28610         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28611         (do_test): Likewise.
28612
28613         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28614
28615 2014-07-09  Will Newton  <will.newton@linaro.org>
28616
28617         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28618         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28619         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28620         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28621         * sysdeps/hppa/start.S (_start): Likewise.
28622
28623 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28624
28625         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28626
28627         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28628         defined.
28629
28630 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631
28632         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28633         after checking that it is non-NULL.
28634
28635         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28636
28637 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28638
28639         * sysdeps/powerpc/memmove.c: Remove file.
28640         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28641         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28642         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28643         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28646         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28647         string memmove instead of removed powerpc one.
28648
28649         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28650         [weak_alias]: Fix compiler warning due trailing data.
28651         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28652         [weak_alias]: Likewise.
28653         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28654         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28655
28656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28657         (__libc_ifunc_impl_list): Add memmove functions.
28658
28659 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28660
28661         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28662         Remove code.
28663         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28664         Likewise.
28665         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28666         Likewise.
28667         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28668         Likewise.
28669         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28670         Likewise.
28671         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28672         Likewise.
28673         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28674         Likewise.
28675         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28676         Likewise.
28677         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28678         Likewise.
28679         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28680         Likewise.
28681         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28682         Likewise.
28683         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28684         Likewise.
28685         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28686         Likewise.
28687         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28688         Likewise.
28689         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28690         Likewise.
28691         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28692         Likewise.
28693         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28694         Likewise.
28695
28696 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28697
28698         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28699         to avoid alignment traps in non-cacheable memory.
28700         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28701
28702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28703         multiarch objects.
28704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28705         file: multiarch power7 memmove.
28706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28707         multiarch default memmove.
28708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28709         multiarch memove for powerpc32/power4.
28710
28711         * string/bcopy.c: Use full path to include memmove.c.
28712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28713         multiarch objects.
28714         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28715         bcopy for powerpc64.
28716         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28717         bcopy for powerpc64.
28718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28719         and memmove implementations.
28720         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28721         optimized multiarch memmove for POWER7/powerpc64.
28722         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28723         default multiarch memmove for powerpc64.
28724         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28725         multiarch for powerpc64.
28726         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28727         for POWER7/powerpc64.
28728         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28729         memmove for POWER7/powerpc64.
28730
28731         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28732         glibc default one.
28733
28734         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28735         __ELF_NATIVE_CLASS equal to 64.
28736
28737 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28738
28739         * sysdeps/nptl/lowlevellock.h: File removed.
28740
28741         * NEWS: NPTL is no longer an add-on!
28742         * nptl/internaltypes.h: Moved ...
28743         * sysdeps/nptl/internaltypes.h: ... here.
28744         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28745         * sysdeps/nptl/fork.c: Likewise.
28746         * sysdeps/nptl/gai_misc.h: Likewise.
28747         * sysdeps/nptl/librt-cancellation.c: Likewise.
28748         * sysdeps/nptl/jmp-unwind.c: Likewise.
28749         * sysdeps/nptl/setxid.h: Likewise.
28750         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28751         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28752         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28753         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28754         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28755         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28756         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28757         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28758         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28759         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28760         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28761         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28762         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28763         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28764         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28765         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28766         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28767         * nptl/Makeconfig: Moved ...
28768         * sysdeps/nptl/Makeconfig: ... here.
28769         * nptl/configure: File removed.
28770         * nptl/ANNOUNCE: File removed.
28771         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28772         * sysdeps/unix/sysv/linux/configure: Regenerated.
28773
28774         * nptl/Makefile (routines): Add libc_pthread_init,
28775         libc_multiple_threads, register-atfork and unregister-atfork.
28776         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28777         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28778         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28779         pthread-pi-defines.sym, structsem.sym.
28780         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28781         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28782         [$(subdir) = nptl] (tests): Add tst-setgetname.
28783         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28784         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28785         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28786         [!LIBC_SIGACTION]: Remove aliases.
28787         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28788         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28789         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28790         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28791         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28792         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28793         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28796         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28797         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28798         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28799         __libc_allocate_rtsig_private.
28800         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28801         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28802         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28804         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28805         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28806         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28807         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28808         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28809         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28810         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28811         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28812         * nptl/internaltypes.h: ... here.
28813         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28814         * sysdeps/nptl/jmp-unwind.c: ... here.
28815         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28816         * nptl/libc-lowlevellock.c: ... here.
28817         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28818         * nptl/libc_multiple_threads.c: ... here.
28819         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28820         * nptl/libc_pthread_init.c: ... here.
28821         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28822         * nptl/lowlevelbarrier.sym: ... here.
28823         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28824         * nptl/lowlevelcond.sym: ... here.
28825         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28826         * nptl/lowlevellock.c: ... here.
28827         * nptl/lowlevellock.h: Moved ...
28828         * sysdeps/nptl/lowlevellock.h: ... here.
28829         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28830         * nptl/lowlevelrobustlock.c: ... here.
28831         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28832         * nptl/lowlevelrobustlock.sym: ... here.
28833         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28834         * nptl/lowlevelrwlock.sym: ... here.
28835         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28836         * nptl/pt-fork.c: ... here.
28837         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28838         * nptl/pthread-pi-defines.sym: ... here.
28839         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28840         * nptl/pthread_attr_getaffinity.c: ... here.
28841         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28842         * nptl/pthread_attr_setaffinity.c: ... here.
28843         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28844         * nptl/pthread_mutex_cond_lock.c: ... here.
28845         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28846         Update #include.
28847         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28848         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28849         * nptl/pthread_once.c: ... here, replacing old file.
28850         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28851         * nptl/pthread_yield.c: ... here.
28852         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28853         * nptl/register-atfork.c: ... here.
28854         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28855         * nptl/sem_post.c: ... here.
28856         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28857         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28858         * nptl/sem_timedwait.c: ... here.
28859         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28860         * nptl/sem_trywait.c: ... here.
28861         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28862         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28863         * nptl/sem_wait.c: ... here.
28864         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28865         * nptl/structsem.sym: ... here.
28866         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28867         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28868         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28869         * nptl/unregister-atfork.c: ... here.
28870         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28871         * nptl/unwindbuf.sym: ... here.
28872         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28873         * sysdeps/nptl/fork.c: ... here.
28874         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28875         * sysdeps/nptl/fork.h: ... here.
28876         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28877         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28878         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28879         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28880         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28881         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28882         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28883         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28884         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28886         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28887         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28888         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28889         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28890         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28891         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28892         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28893         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28894         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28895         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28896         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28897         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28898         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28899         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28900         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28901         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28902         * sysdeps/unix/sysv/linux/raise.c: ... here.
28903         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28904         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28905         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28906         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28907         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28908         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28909         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28910         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28912         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28914         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28916         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28917         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28918
28919 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28920
28921         * sysdeps/generic/memcopy.h: Add comment for
28922         MEMCPY_OK_FOR_FWD_MEMMOVE.
28923
28924 2014-07-04  Will Newton  <will.newton@linaro.org>
28925
28926         * string/memchr.c: Merge from gnulib.
28927         [_LIBC]: Remove conditionals.
28928         (__ptr_t): Remove define.
28929         (LONG_MAX_32_BITS): Likewise.
28930         (LONG_MAX): Likewise.
28931         (MEMCHR): Use ANSI prototype and optimize algorithm.
28932
28933         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28934
28935 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28936
28937         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28938         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28939
28940         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28941         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28942         in a bare environment with no <stdlib.h> installed.
28943         * sysdeps/nptl/configure: Regenerated.
28944
28945         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28946
28947         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28948         AC_EGREP_CPP for kernel header checks, so they only succeed if
28949         including <linux/version.h> actually works right.
28950         * sysdeps/unix/sysv/linux/configure: Regenerated.
28951
28952         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28953         value so it's not diagnosed as unused.
28954
28955         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28956         thing) with "ifeq ($(subdir),rt)".
28957
28958 2014-07-03  Richard Henderson  <rth@redhat.com>
28959
28960         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28961         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28962         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28963
28964         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28965         (math_force_eval): New.
28966
28967         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28968         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28969
28970         * sysdeps/alpha/fpu/s_round.c: Remove file.
28971         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28972
28973         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28974         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28975         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28976         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28977         (_dl_start, print_statistics): Likewise.
28978         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28979         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28980
28981         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28982         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28983         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28984         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28986         (HP_SMALL_TIMING_AVAIL): Define.
28987         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28989         (HP_SMALL_TIMING_AVAIL): Define.
28990         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28991         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28992
28993         * sysdeps/aarch64/hp-timing.h: New file.
28994
28995         * sysdeps/generic/hp-timing.h: Remove dead comment.
28996         * sysdeps/generic/hp-timing-common.h: New file.
28997         * sysdeps/alpha/hp-timing.h: Include it.
28998         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28999         * sysdeps/i386/i686/hp-timing.h: Likewise.
29000         * sysdeps/ia64/hp-timing.h: Likewise.
29001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29002         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29003         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29004         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29005         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29006         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29007         (hp_timing_t): New.
29008
29009         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29010         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29011         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29012         * elf/rtld.c (_dl_start_final): Likewise.
29013         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29014         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29015         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29016         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29017         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29019         (HP_TIMING_DIFF_INIT): Remove.
29020         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29021         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29022         (HP_TIMING_DIFF_INIT): Remove.
29023         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29024         * sysdeps/i386/i686/hp-timing.c: Remove file.
29025         * sysdeps/x86_64/hp-timing.c: Remove file.
29026         * sysdeps/ia64/hp-timing.c: Remove file.
29027         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29028         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29029         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29030         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29031
29032         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29033         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29034         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29035         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29037         (HP_TIMING_ACCUM): Remove.
29038         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29039         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29040         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29041
29042         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29043         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29044         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29045         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29046         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29047         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29049         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29050
29051         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29052
29053 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29054
29055         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29056
29057 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29058
29059         Sync up with gettext.
29060         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29061         [_MSC_VER]: Include malloc.h
29062         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29063         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29064         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29065         TEMP_FAILURE_RETRY.  Cast return of alloca.
29066         [!_LIBC] Call gl_rwlock_init.
29067         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29068
29069 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29070
29071         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29072         before checking its value.
29073
29074 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29075
29076         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29077
29078         * debug/memcpy_chk.c: Don't include pagecopy.h.
29079         * debug/mempcpy_chk.c: Likewise.
29080         * string/memcpy.c: Likewise.
29081         * string/memmove.c: Likewise.
29082         * sysdeps/powerpc/memmove.c: Likewise.
29083         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29084         definition of PAGE_COPY_FWD_MAYBE here...
29085         * sysdeps/generic/pagecopy.h: ... from here.
29086         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29087
29088 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29089             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29090
29091         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29093         optimizations.
29094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29095         (__libc_ifunc_impl_list): Likewise.
29096         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29097         multiarch strcat for PPC64.
29098         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29099         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29100
29101 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29102
29103         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29104
29105 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29106
29107         * intl/loadmsgcat.c: Remove declaration of
29108         get_sysdep_segment_value.
29109         (get_sysdep_segment_value): Use ISO C style.
29110         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29111         semicolon.  Fix typo and formatting in comment.
29112         (_nl_unload_domain): Use ISO C style.
29113
29114         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29115
29116 2014-07-02  Will Newton  <will.newton@linaro.org>
29117
29118         * malloc/obstack.c: Merge from gnulib master.
29119         [HAVE_CONFIG_H]: Remove conditional code.
29120         [!_LIBC]: Include config.h.
29121         [!ELIDE_CODE]: Don't include inttypes.h, include
29122         stdint.h unconditionally.
29123         (print_and_abort): Mark as _Noreturn.
29124         (_obstack_allocated_p): Mark as __attribute_pure__.
29125         (obstack_free): Rename to __obstack_free.
29126         [!__attribute__]: Remove conditional code.
29127         * malloc/obstack.h: Merge from gnulib master.
29128         [__cplusplus]: Move conditional down.
29129         [!__attribute_pure__]: Define __attribute_pure__ here
29130         if it is not already defined.
29131         (_obstack_memory_used): Mark as __attribute_pure__.
29132         [!__obstack_free]: Define as obstack_free.
29133         [__GNUC__]: Remove check for ancient NeXT gcc.
29134
29135 2014-07-02  Will Newton  <will.newton@linaro.org>
29136             Paul Eggert  <eggert@cs.ucla.edu>
29137
29138         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29139
29140 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29141
29142         * resolv/gethnamaddr.c: Add comment warning that the file is
29143         not maintained.
29144
29145 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29146
29147         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29148         entries.
29149
29150         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29151         entry for aio_cancel and aio_cancel64.
29152         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29153         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29154         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29155         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29156         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29157         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29159         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29160         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29161         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29162         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29163         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29164         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29165
29166 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29167
29168         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29169         * nptl/pthread_mutex_lock.c: Likewise.
29170         * nptl/pthread_mutex_timedlock.c: Likewise.
29171         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29172
29173 2014-07-01  Richard henderson  <rth@redhat.com>
29174
29175         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29176         (__isnan, __isnanl): Remove.
29177         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29178
29179         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29180
29181 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29182
29183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29184
29185 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29186
29187         * resolv/nss_dns/dns-host.c (getanswer_r)
29188         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29189
29190 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29191
29192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29193         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29194         undefine.
29195         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29196         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29197
29198 2014-07-01  Roland McGrath <roland@hack.frob.com>
29199
29200         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29201         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29202
29203         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29204         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29205
29206         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29207         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29208         ... here.
29209         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29210         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29211
29212         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29213         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29214         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29215         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29216
29217         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29218         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29219         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29220         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29221         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29222         Moved ...
29223         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29224         ... here.
29225         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29226         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29227         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29228         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29229         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29230         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29232         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29234         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29236         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29237         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29238         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29239         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29240         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29241         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29242         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29244         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29245         ... here.
29246         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29247         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29248         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29249         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29251         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29252         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29253         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29254
29255 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29256
29257         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29258         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29259         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29260         Add sysdep.
29261
29262 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29263
29264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29265
29266 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29267
29268         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29270
29271         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29272
29273         * sysdeps/arm/libm-test-ulps: Regenerated.
29274
29275 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29276             Roland McGrath <roland@hack.frob.com>
29277
29278         * test-skeleton.c (signal_handler): Kill the whole process group
29279         before killing the child individually.
29280         (main): Report any failure on `setpgid'.
29281
29282 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29283
29284         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29285         from _TLS_H to _ARM_NPTL_TLS_H.
29286         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29287         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29288
29289 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29290
29291         [BZ #16539]
29292         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29293         (__expm1l): Return argument unchanged when small but not
29294         subnormal.
29295
29296         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29297         include macro name.
29298         (_FP_UNPACK_RAW_1_P): Likewise.
29299         (_FP_PACK_RAW_1): Likewise.
29300         (_FP_PACK_RAW_1_P): Likewise.
29301         (_FP_MUL_MEAT_1_wide): Likewise.
29302         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29303         (_FP_MUL_MEAT_1_hard): Likewise.
29304         (_FP_DIV_MEAT_1_imm): Likewise.
29305         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29306         (_FP_DIV_MEAT_1_udiv): Likewise.
29307         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29308         (_FP_UNPACK_RAW_2): Likewise.
29309         (_FP_UNPACK_RAW_2_P): Likewise.
29310         (_FP_PACK_RAW_2): Likewise.
29311         (_FP_PACK_RAW_2_P): Likewise.
29312         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29313         (_FP_MUL_MEAT_2_wide): Likewise.
29314         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29315         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29316         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29317         (_FP_MUL_MEAT_2_gmp): Likewise.
29318         (_FP_DIV_MEAT_2_udiv): Likewise.
29319         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29320         (_FP_FRAC_SRL_4): Likewise.
29321         (_FP_FRAC_SRST_4): Likewise.
29322         (_FP_FRAC_SRS_4): Likewise.
29323         (_FP_UNPACK_RAW_4): Likewise.
29324         (_FP_UNPACK_RAW_4_P): Likewise.
29325         (_FP_PACK_RAW_4): Likewise.
29326         (_FP_PACK_RAW_4_P): Likewise.
29327         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29328         (_FP_MUL_MEAT_4_wide): Likewise.
29329         (_FP_MUL_MEAT_4_gmp): Likewise.
29330         (umul_ppppmnnn): Likewise.
29331         (_FP_DIV_MEAT_4_udiv): Likewise.
29332         (__FP_FRAC_ADD_4): Likewise.
29333         (__FP_FRAC_SUB_3): Likewise.
29334         (__FP_FRAC_SUB_4): Likewise.
29335         (__FP_FRAC_DEC_3): Likewise.
29336         (__FP_FRAC_DEC_4): Likewise.
29337         (__FP_FRAC_ADDI_4): Likewise.
29338         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29339         (_FP_FRAC_SRL_8): Likewise.
29340         (_FP_FRAC_SRS_8): Likewise.
29341
29342         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29343         include macro name.
29344         (FP_UNPACK_RAW_EP): Likewise.
29345         (FP_PACK_RAW_E): Likewise.
29346         (FP_PACK_RAW_EP): Likewise.
29347         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29348         (_FP_ISSIGNAN): Likewise.
29349         (_FP_ADD_INTERNAL): Likewise.
29350         (_FP_FMA): Likewise.
29351         (_FP_CMP): Likewise.
29352         (_FP_SQRT): Likewise.
29353         (_FP_TO_INT): Likewise.
29354         (_FP_FROM_INT): Likewise.
29355         (FP_EXTEND): Likewise.
29356         (_FP_DIV_MEAT_N_loop): Likewise.
29357
29358 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29359
29360         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29361         throughout.
29362
29363 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29364
29365         [BZ #17097]
29366         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29367         result with correct sign in case of exponents that produce
29368         overflow except for X very close to 1.
29369
29370 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29371
29372         mktime: merge #if/#ifdef usage from glibc
29373         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29374         as that works with both Glibc's and Gnulib's style.
29375         See thread starting at Siddhesh Poyarekar's bug report at:
29376         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29377
29378 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29379
29380         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29381         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29382         * sysdeps/tile/tilegx/memmove.c: Remove file.
29383
29384 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29385
29386         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29387         abi-name definition.
29388         * scripts/soversions.awk: Do not handle or generate ABI lines.
29389         * shlib-versions: Remove ABI entries.
29390         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29391         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29392
29393 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29394
29395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29396         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29397         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29398         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29400         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29402         Moved ...
29403         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29404         ... here.
29405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29406         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29408         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29410         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29412         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29414         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29416         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29418         Moved ...
29419         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29421         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29425         Moved ...
29426         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29428         Moved ...
29429         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29431         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29433         Moved ...
29434         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29436         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29438         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29440         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29442         Moved ...
29443         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29445         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29446         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29447         Moved ...
29448         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29449         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29450         Moved ...
29451         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29453         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29455         Moved ...
29456         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29457         ... here.
29458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29459         Identical file removed.
29460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29461         Moved ...
29462         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29464         Identical file removed.
29465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29468         Moved ...
29469         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29471         Identical file removed.
29472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29473         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29475         Identical file removed.
29476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29477         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29479         Identical file removed.
29480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29481         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29483         Identical file removed.
29484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29485         Moved ...
29486         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29488         Identical file removed.
29489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29490         Moved ...
29491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29493         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29495         Identical file removed.
29496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29497         Moved ...
29498         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29499         ... here.
29500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29501         Identical file removed.
29502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29503         Moved ...
29504         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29506         Identical file removed.
29507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29508         Moved ...
29509         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29510         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29511         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29513         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29515         Moved ...
29516         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29518         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29519
29520         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29521         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29522         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29523         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29524         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29525
29526 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29527
29528         [BZ #17092]
29529         * nscd/nscd.c (monitor_child): Return exit status of child
29530         instead of return value from wait syscall.
29531
29532 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29533
29534         * configure.ac (libc_commonpagesize): Remove variable.
29535         (libc_relro_required): Likewise.
29536         (libc_cv_z_relro): Remove configure test.
29537         * configure: Regenerated.
29538         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29539         variable.
29540         (libc_relro_required): Likewise.
29541         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29542         (libc_relro_required): Likewise.
29543         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29544         (libc_relro_required): Likewise.
29545         * sysdeps/arm/preconfigure: Regenerated.
29546         * sysdeps/ia64/preconfigure: Remove file.
29547         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29548         variable.
29549         (libc_relro_required): Likewise.
29550
29551         [BZ #16561]
29552         [BZ #16562]
29553         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29554         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29555         recompute overflowing results in original rounding mode.
29556         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29557         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29558         recompute overflowing results in original rounding mode.
29559         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29560         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29561         recompute overflowing results in original rounding mode.
29562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29563         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29564         recompute overflowing results in original rounding mode.
29565         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29566         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29567         recompute overflowing results in original rounding mode.
29568         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29569         (libc_feholdsetround_ctx): New macro.
29570         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29571         * sysdeps/i386/fpu/libm-test-ulps: Update.
29572         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29573
29574 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29575
29576         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29577         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29578         corresponding .cpsetup call.
29579
29580 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29581
29582         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29583         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29584         * sysdeps/arm/Makefile [$(subdir) = csu]
29585         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29586         (static-only-routines): Add aeabi_read_tp here.
29587         (shared-only-routines): Add libc-aeabi_read_tp here.
29588         (CFLAGS-libc-start.c): Add -fexceptions here.
29589         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29590         (sysdep_routines, static-only-routines, shared-only-routines):
29591         Don't add to these here.
29592         (CFLAGS-libc-start.c): Likewise.
29593
29594         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29595         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29596         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29597         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29598         * sysdeps/arm/Makefile [$(subdir) = rt]
29599         (librt-sysdep_routines, librt-shared-only-routines):
29600         Append rt-aeabi_unwind_cpp_pr1 here.
29601         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29602         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29603         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29604         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29605         Append nptl-aeabi_unwind_cpp_pr1 here.
29606         (tests): Filter out tst-cleanupx4 here.
29607         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29608         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29609         Don't do those here.
29610
29611 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29612
29613         * scripts/list-sources.sh: Do not handle ports specially.
29614
29615 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29616
29617         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29618         * sysdeps/arm/feupdateenv.c: Likewise.
29619
29620         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29621
29622 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29623
29624         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29625         trailing whitespace removed.
29626         * scripts/config.guess: Update to version 2014-03-23.
29627         * scripts/config.sub: Update to version 2014-05-01
29628         * scripts/install-sh: Update to version 2013-12-25.23.
29629         * scripts/move-if-change: Update from gnulib.
29630
29631 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29632
29633         * debug/memmove_chk.c: Remove pagecopy.h include.
29634
29635 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29636
29637         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29638         identical to gnulib mktime.
29639
29640 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29641
29642         * configure.ac: Do not test for machine being rs6000.  Do not test
29643         for powerpc*-*soft.
29644         * configure: Regenerated.
29645
29646         [BZ #11505]
29647         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29648         test.
29649         * configure: Regenerated.
29650         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29651         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29652         Remove configure test.
29653         * sysdeps/arm/configure: Regenerated.
29654         * sysdeps/nptl/configure.ac: Do not check
29655         libc_cv_asm_cfi_directives.
29656         * sysdeps/nptl/configure: Regenerated.
29657         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29658         * sysdeps/x86_64/nptl/configure: Remove generated file.
29659         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29660         unconditional.
29661         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29662
29663 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29664
29665         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29666         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29667         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29668         it is defined.
29669
29670         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29671         instead of whether it is defined.
29672         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29673         * sysdeps/hppa/dl-machine.h: Likewise.
29674         * sysdeps/ia64/dl-machine.h: Likewise.
29675         * sysdeps/m68k/dl-machine.h: Likewise.
29676         * sysdeps/microblaze/dl-machine.h: Likewise.
29677         * sysdeps/mips/dl-machine.: Likewise.
29678         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29679         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29680         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29681         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29682         * sysdeps/sh/dl-machine.h: Likewise.
29683         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29684         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29685         * sysdeps/tile/dl-machine.h: Likewise.
29686         * sysdeps/x86_64/dl-machine.h: Likewise.
29687
29688         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29689         code.
29690         (verify_persistent_db): Likewise.
29691
29692 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29693
29694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29695         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29697         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29699         Moved ...
29700         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29701         ... here.
29702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29703         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29705         Identical file removed.
29706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29707         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29709         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29711         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29713         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29715         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29717         Moved ...
29718         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29720         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29722         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29724         Moved ...
29725         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29727         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29729         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29731         Identical file removed.
29732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29733         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29735         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29737         Moved ...
29738         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29739         ... here.
29740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29741         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29743         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29749         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29751         Moved ...
29752         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29754         Moved ...
29755         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29757         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29759         Moved ...
29760         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29763
29764         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29765         folded into ...
29766         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29767         * sysdeps/unix/sysv/linux/s390/Versions
29768         (libpthread: GLIBC_2.19): New version set.
29769         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29770         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29771         (librt: GLIBC_2.3.3): New version set.
29772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29773         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29774         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29775         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29776         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29777         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29778         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29779         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29780         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29782         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29784         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29785         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29786         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29787         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29788         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29790         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29791         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29792         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29793         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29794         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29795         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29796         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29798         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29799         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29800         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29802         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29803         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29808         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29810         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29812         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29814         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29816         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29817
29818         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29819         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29820         (__libc_vfork): Define the function under this name.
29821         [!NOT_IN_libc] (__vfork): Make this an alias.
29822         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29824         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29825         (__libc_vfork): Define the function under this name.
29826         [!NOT_IN_libc] (__vfork): Make this an alias.
29827         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29828         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29829         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29832         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29833
29834         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29835         code that was previously under [RESET_PID].
29836         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29837         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29838         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29839
29840         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29841         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29842         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29843         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29844         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29845         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29846         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29847         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29848         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29851         Moved ...
29852         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29853         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29854         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29855         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29856         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29857         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29858         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29859         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29860         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29861         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29862         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29863         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29864         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29865         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29866         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29867         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29868         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29872         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29874         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29875         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29876         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29877         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29878         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29880         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29881
29882 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29883
29884         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29885         that was previously under [RESET_PID].
29886         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29887
29888 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29889
29890         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29891         not undefine and redefine.
29892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29893         [O_CLOEXEC]: Make code unconditional.
29894         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29895         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29896         <kernel-features.h>.
29897         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29898         conditional variable definition.
29899         (shm_open) [O_CLOEXEC]: Make code unconditional.
29900         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29901         code.
29902
29903         * configure.ac (USE_REGPARMS): Don't define here.
29904         * configure: Regenerated.
29905         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29906         * sysdeps/i386/configure: Regenerated.
29907
29908         * nptl/createthread.c: Don't include kernel-features.h.
29909         * nptl/pthread_cancel.c: Likewise.
29910         * nptl/pthread_condattr_setclock.c: Likewise.
29911         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29912         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29913         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29914         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29915         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29917         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29920         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29921         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29922         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29923         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29924         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29925         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29926         * nscd/gai.c: Likewise.
29927         * nss/nss_db/db-open.c: Likewise.
29928         * sysdeps/generic/ldsodefs.h: Likewise.
29929         * sysdeps/sh/nptl/tls.h: Likewise.
29930         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29931         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29932         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29933         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29934         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29935         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29936         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29937         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29938         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29939         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29940         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29941         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29942         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29943         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29944         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29945         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29946         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29947         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29948         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29949         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29952         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29953         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29958         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29959         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29960         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29961         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29962         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29963         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29964         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29965         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29966         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29967         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29968         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29969         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29970         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29971         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29972         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29973         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29974         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29975         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29976         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29977         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29978         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29979         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29980         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29981         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29982         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29983         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29984         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29985         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29986         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29987         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30010         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30011         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30012         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30013         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30014         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30015         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30016         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30017         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30018         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30019         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30020         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30021         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30022         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30023         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30024         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30025         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30026         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30027         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30028         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30029         * sysdeps/unix/sysv/linux/system.c: Likewise.
30030         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30031         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30032         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30033         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30034         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30035         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30036         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30037
30038         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30039         * configure: Regenerated.
30040         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30041
30042         * configure.ac (base_machine): Do not set specially for particular
30043         machines here.
30044         * configure: Regenerated.
30045         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30046         settings from configure.ac.
30047         * sysdeps/i386/preconfigure: New file.
30048         * sysdeps/s390/preconfigure: Likewise.
30049         * sysdeps/sh/preconfigure: Likewise.
30050         * sysdeps/sparc/preconfigure: Likewise.
30051
30052 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30053
30054         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30055         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30056         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30057         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30058         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30059         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30060         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30061         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30062         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30063         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30064         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30065         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30066         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30067         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30069         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30070         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30071         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30072         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30073
30074         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30075         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30076         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30077         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30078         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30079         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30080         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30081         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30082         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30083         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30084         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30085         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30086         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30087         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30088         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30089         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30090         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30091         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30092         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30093         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30094         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30095         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30096         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30097         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30098         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30099         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30101         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30104         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30105         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30106         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30107         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30108         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30109         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30111         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30112
30113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30114         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30116         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30118         Moved ...
30119         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30120         ... here.
30121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30122         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30124         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30126         Moved ...
30127         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30129         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30131         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30133         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30135         Moved ...
30136         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30138         Moved ...
30139         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30141         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30143         Moved ...
30144         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30146         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30148         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30150         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30152         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30154         Moved ...
30155         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30156         ... here.
30157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30158         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30160         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30162         Moved ...
30163         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30165         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30167         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30171         Moved ...
30172         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30174         Moved ...
30175         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30177         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30182         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30184         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30185
30186 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30187
30188         * timezone/checktab.awk: Update from tzcode 2014e.
30189         * timezone/private.h: Likewise.
30190         * timezone/tzfile.h: Likewise.
30191         * timezone/zdump.c: Likewise.
30192         * timezone/zic.c: Likewise.
30193
30194         * sysdeps/unix/sysv/linux/kernel-features.h
30195         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30196         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30197         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30198         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30199         Remove conditional code.
30200
30201 2014-06-25  Will Newton  <will.newton@linaro.org>
30202
30203         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30204         (_dl_arm_cap_flags): Add HWCAP2 values.
30205         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30206         (_DL_HWCAP_COUNT): Increase to 37.
30207         (_DL_HWCAP_LAST): New define.
30208         (_DL_HWCAP2_LAST): New define.
30209         (_dl_procinfo): Add support for printing
30210         AT_HWCAP2 entries.
30211         (_dl_string_hwcap): Use _dl_hwcap_string.
30212
30213 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30214
30215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30216
30217 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30218
30219         * README: Do not mention ports directory.
30220
30221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30222         Remove macro.
30223         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30224         <kernel-features.h>.
30225         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30226         conditional variable definition.
30227         (__futimes): Update comment.
30228         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30229         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30230
30231         [BZ #16560]
30232         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30233         arguments close to 0.
30234         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30235         Likewise.
30236         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30237         Likewise.
30238         * math/auto-libm-test-in: Add more tests of exp10.
30239         * math/auto-libm-test-out: Regenerated.
30240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30241
30242         * sysdeps/unix/sysv/linux/kernel-features.h
30243         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30244         * sysdeps/unix/sysv/linux/readv.c: Do not include
30245         <kernel-features.h>.
30246         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30247         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30248         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30249         unconditional.
30250         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30251         conditional code.
30252         * sysdeps/unix/sysv/linux/writev.c: Do not include
30253         <kernel-features.h>.
30254         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30255         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30256         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30257         unconditional.
30258         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30259         conditional code.
30260
30261 2014-06-25  Will Newton  <will.newton@linaro.org>
30262
30263         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30264         comment changes throughout the file.  Remove checks
30265         for HAVE_*_H definitions that are not required.
30266         (__gen_tempname): Call abort if an unknown kind value is
30267         passed.
30268
30269 2014-06-25  Andreas Schwab  <schwab@suse.de>
30270
30271         [BZ #17086]
30272         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30273         scalbln, scalblnf, scalblnl in libc.
30274
30275 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30276
30277         [BZ #17086]
30278         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30279         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30280         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30281
30282 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30283
30284         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30285         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30286         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30287         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30288         Update #include.
30289         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30290         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30291         Update #include.
30292         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30293         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30294         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30295         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30296         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30297         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30298         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30299         * sysdeps/x86/bits/semaphore.h: ... here.
30300         * sysdeps/x86/nptl/elide.h: Moved ...
30301         * sysdeps/x86/elide.h: ... here.
30302         * sysdeps/x86_64/nptl/Implies: File removed.
30303         * sysdeps/i386/nptl/Implies: File removed.
30304
30305 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30306
30307         [BZ #16539]
30308         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30309         return the argument for normal arguments with exponent below -64.
30310         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30311         Likewise.
30312         * math/auto-libm-test-in: Add another test of expm1.
30313         * math/auto-libm-test-out: Regenerated.
30314
30315         [BZ #16287]
30316         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30317         calling __erfcl for arguments at least 16.
30318         * math/auto-libm-test-in: Add more tests of erf.
30319         * math/auto-libm-test-out: Regenerated.
30320
30321         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30322         individual architectures.
30323         * sysdeps/unix/sysv/linux/configure: Regenerated.
30324         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30325         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30326         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30327         (ldd_rewrite_script): Define variable.
30328         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30330         file.
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30332         generated file.
30333         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30334         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30335         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30336         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30337         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30338         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30339         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30340         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30341
30342 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30343
30344         [BZ #17084]
30345         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30346         Rename member __data.d to __data.__elision_data.
30347
30348 2014-06-24  Wilco  <wdijkstr@arm.com>
30349
30350         * NEWS: Add 16918 to fixed bug list.
30351
30352 2014-06-24  Wilco  <wdijkstr@arm.com>
30353
30354         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30355
30356 2014-06-24  Wilco  <wdijkstr@arm.com>
30357
30358         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30359         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30360         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30361         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30362         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30363         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30364         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30365         Use _FPU_MASK_RM.
30366
30367 2014-06-24  Wilco  <wdijkstr@arm.com>
30368
30369         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30370
30371 2014-06-24  Wilco  <wdijkstr@arm.com>
30372
30373         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30374         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30375         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30376         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30377
30378 2014-06-24  Wilco  <wdijkstr@arm.com>
30379
30380         [BZ #16918]
30381         * sysdeps/arm/feupdateenv.c (feupdateenv):
30382         Rewrite to reduce FPSCR accesses and fix return value.
30383
30384 2014-06-24  Wilco  <wdijkstr@arm.com>
30385
30386         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30387         Optimize to avoid unnecessary FPSCR writes.
30388         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30389         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30390         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30391         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30392
30393 2014-06-24  Wilco  <wdijkstr@arm.com>
30394
30395         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30396         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30397         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30398         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30399         Call libc_fetestexcept_vfp.
30400         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30401         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30402         __SOFTFP__ ifdef so that they can be built for softfp.
30403
30404 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30405
30406         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30407         argument type signed char.
30408
30409         * Makerules (check-abi): Dump diff of symlist if the test
30410         fails.
30411
30412 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30413
30414         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30415         using abort.
30416
30417         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30418         Remove unused variable ST.
30419
30420 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30421
30422         [BZ #16354]
30423         [BZ #17061]
30424         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30425         small arguments before calling __expm1.
30426         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30427         small arguments before calling __expm1f.
30428         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30429         small arguments before calling __expm1l.
30430         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30431         Likewise.
30432         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30433         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30434         spurious underflow for some cosh tests.
30435         * math/auto-libm-test-out: Regenerated.
30436         * sysdeps/i386/fpu/libm-test-ulps: Update.
30437
30438         [BZ #17050]
30439         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30440         (__ieee754_y1): Set errno if return value overflows.
30441         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30442         (__ieee754_y1f): Set errno if return value overflows.
30443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30444         (__ieee754_y1l): Set errno if return value overflows.
30445         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30446         (__ieee754_y1l): Set errno if return value overflows.
30447         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30448         * math/auto-libm-test-out: Regenerated.
30449
30450         * math/gen-auto-libm-tests.c: Document use of
30451         ignore-zero-inf-sign.
30452         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30453         (input_flags): Add ignore-zero-inf-sign.
30454         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30455         * math/gen-libm-test.pl (generate_testfile): Handle
30456         ignore-zero-inf-sign.
30457         * math/auto-libm-test-in: Mark some cpow tests with
30458         ignore-zero-inf-sign and some with xfail-rounding.
30459         * math/auto-libm-test-out: Regenerated.
30460         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30461         * sysdeps/i386/fpu/libm-test-ulps: Update.
30462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30463
30464         [BZ #16315]
30465         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30466         overflowing or underflowing operations take place with sign of
30467         result.
30468         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30469         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30470         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30471         (__ieee754_pow): Recompute overflowing and underflowing results in
30472         original rounding mode.
30473         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30474         (__powl_helper): Allow negative argument X and scale negated value
30475         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30476         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30477         overflowing or underflowing operations take place with sign of
30478         result.
30479         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30480         Include <math.h>.
30481         * math/auto-libm-test-in: Add more tests of pow.
30482         * math/auto-libm-test-out: Regenerated.
30483         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30484         (pow_tonearest_test_data): Remove.
30485         (pow_test_tonearest): Likewise.
30486         (pow_towardzero_test_data): Likewise.
30487         (pow_test_towardzero): Likewise.
30488         (pow_downward_test_data): Likewise.
30489         (pow_test_downward): Likewise.
30490         (pow_upward_test_data): Likewise.
30491         (pow_test_upward): Likewise.
30492         (main): Don't call removed functions.
30493         * sysdeps/i386/fpu/libm-test-ulps: Update.
30494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495
30496 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30497
30498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30499         Moved ...
30500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30502         Moved ...
30503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30505         Moved ...
30506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30508         Moved ...
30509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30511         File removed.
30512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30513         File removed.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30515         File removed.
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30517         File removed.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30519         File removed.
30520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30521         File removed.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30523         File removed.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30525         File removed.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30527         File removed.
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30529         File removed.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30531         File removed.
30532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30533         File removed.
30534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30538         Moved ...
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30540         ... here.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30545         Moved ...
30546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30548         Moved ...
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30551         Moved ...
30552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30554         Moved ...
30555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30557         Moved ...
30558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30560         Moved ...
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30564         ... here.
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30566         Moved ...
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30569         Moved ...
30570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30571         ... here.
30572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30573         Moved ...
30574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30575         ... here.
30576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30577         Moved ...
30578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30579         ... here.
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30581         Moved ...
30582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30584         Moved ...
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30589         Moved ...
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30591         ... here.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30593         Moved ...
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30595         ... here.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30597         Moved ...
30598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30600         Moved ...
30601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30603         Moved ...
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30606         Moved ...
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30609         Moved ...
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30611         ... here.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30613         Moved ...
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30616         Moved ...
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30619         Moved ...
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30622         Moved ...
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30627         Moved ...
30628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30630         Moved ...
30631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30633         Moved ...
30634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30635         ... here.
30636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30637         Moved ...
30638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30639         ... here.
30640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30641         Moved ...
30642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30643         ... here.
30644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30645         Moved ...
30646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30648         Moved ...
30649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30651         Moved ...
30652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30654         Moved ...
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30656         ... here.
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30658         Moved ...
30659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30660         ... here.
30661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30662         Moved ...
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30664         ... here.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30666         Moved ...
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30669         Moved ...
30670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30671
30672 2014-06-23  Will Newton  <will.newton@linaro.org>
30673             Wilco  <wdijkstr@arm.com>
30674
30675         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30676         implementation.  Include get-rounding-mode.h.
30677         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30678         [!libc_feholdsetround_noex_ctx]: Define
30679         libc_feholdsetround_noex_ctx.
30680         [!libc_feholdsetround_noexf_ctx]: Define
30681         libc_feholdsetround_noexf_ctx.
30682         [!libc_feholdsetround_noexl_ctx]: Define
30683         libc_feholdsetround_noexl_ctx.
30684         (libc_feholdsetround_ctx): New function.
30685         (libc_feresetround_ctx): New function.
30686         (libc_feholdsetround_noex_ctx): New function.
30687         (libc_feresetround_noex_ctx): New function.
30688
30689 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30690
30691         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30692         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30693         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30694         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30695         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30696         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30697
30698         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30699         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30700         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30701         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30702         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30703         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30704         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30705         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30706         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30707         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30709         Moved ...
30710         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30711         ... here.
30712         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30713         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30714         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30715         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30717         Moved ...
30718         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30719         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30720         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30721         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30722         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30723         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30724         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30726         Moved ...
30727         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30729         Moved ...
30730         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30732         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30734         Moved ...
30735         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30736         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30737         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30738         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30739         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30740         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30741         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30742         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30743         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30744         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30745         Moved ...
30746         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30747         ... here.
30748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30749         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30751         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30752         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30753         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30755         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30757         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30759         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30761         Moved ...
30762         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30764         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30765         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30766         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30767         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30768         Moved ...
30769         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30771         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30772         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30773         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30774
30775         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30776         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30777         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30778         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30779         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30780         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30781         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30782         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30784         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30785         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30786         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30787         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30788         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30789         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30790         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30791         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30792         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30793         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30794         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30795         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30796         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30798         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30799         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30800         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30802         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30803
30804 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30805
30806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30807         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30808         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30809         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30810         (IPV6_PMTUDISC_INTERFACE): Likewise.
30811         (IPV6_PMTUDISC_OMIT): Likewise.
30812
30813 2014-06-23  Andreas Schwab  <schwab@suse.de>
30814
30815         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30816         Remove unused errout label.
30817
30818 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30819
30820         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30821         macro: hardware supports Vector Crypto instructions.
30822
30823 2014-06-23  Will Newton  <will.newton@linaro.org>
30824
30825         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30826         rather than __builtin_expect.
30827
30828         * elf/dl-lookup.c (undefined_msg): Remove variable.
30829         (_dl_lookup_symbol_x): Replace undefined_msg with string
30830         literal.
30831
30832         * elf/dl-lookup.c (do_lookup_unique): New function.
30833         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30834         to a separate function.
30835
30836 2014-06-23  Andreas Schwab  <schwab@suse.de>
30837
30838         [BZ #17079]
30839         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30840         before reading the next line.
30841
30842 2014-06-23  Will Newton  <will.newton@linaro.org>
30843
30844         * test-skeleton.c (signal_handler): Use printf and %m
30845         rather than perror.  Use printf rather than fprintf to
30846         stderr.  Use puts rather than fputs to stderr.
30847         (main): Likewise.
30848
30849 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30850
30851         * nscd/nscd.c (thread_info_t): Remove typedef.
30852         (thread_info): Remove variable.
30853
30854 2014-06-21  Allan McRae  <allan@archlinux.org>
30855
30856         * NEWS: Mention CVE-2014-4043.
30857
30858 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30859
30860         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30861         * nptl/smp.h: ... here.
30862
30863         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30864
30865         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30866         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30867         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30868         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30869
30870         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30871         * nptl/stack-aliasing.h: New file.
30872         * sysdeps/i386/i686/stack-aliasing.h: New file.
30873         * sysdeps/i386/i686/nptl/Makefile: File removed.
30874         * sysdeps/x86_64/stack-aliasing.h: New file.
30875         * sysdeps/x86_64/nptl/Makefile
30876         (CFLAGS-pthread_create.c): Variable removed.
30877
30878         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30879         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30880         old file.
30881         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30882         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30883         old file.
30884
30885 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30886
30887         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30888         (__ASSUME_SIGFRAME_V2): Remove macro.
30889         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30890         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30891         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30892         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30893         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30894         Declare as function.  Remove conditional macro definitions.
30895         (__default_rt_sa_restorer): Likewise.
30896         (__default_sa_restorer_v1): Remove declaration.
30897         (__default_sa_restorer_v2): Likewise.
30898         (__default_rt_sa_restorer_v1): Likewise.
30899         (__default_rt_sa_restorer_v2): Likewise.
30900         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30901         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30902         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30903
30904 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30905
30906         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30907         (libpthread-routines): Add sysdep.
30908         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30909         * sysdeps/unix/sysv/linux/sparc/Versions
30910         (libpthread: GLIBC_2.3.3): New version set.
30911         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30912         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30913         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30914         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30915         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30916         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30917         Moved ...
30918         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30919         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30920         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30921         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30922         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30923         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30924         * sysdeps/sparc/nptl/sem_init.c: ... here.
30925         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30926         * sysdeps/sparc/nptl/sem_post.c: ... here.
30927         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30928         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30929         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30930         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30931         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30932         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30933         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30934         (libpthread-routines): Add cpu_relax.
30935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30936         File removed.
30937         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30938         (librt: GLIBC_2.3.3): New version set.
30939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30940         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30942         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30945         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30947         Moved ...
30948         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30950         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30952         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30954         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30956         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30958         Moved ...
30959         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30960         Update #include.
30961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30962         Moved ...
30963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30964         Update #include.
30965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30966         Moved ...
30967         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30968         Update #include.
30969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30970         Moved ...
30971         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30972         Update #include.
30973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30974         Moved ...
30975         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30976         Update #include.
30977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30978         Moved ...
30979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30980         Update #include.
30981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30982         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30988         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30990         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30992         Moved ...
30993         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30995         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30998
30999 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31000
31001         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31002         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31003         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31004         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31005         * nscd/nscd.c: Likewise.
31006         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31007         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31008         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31009         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31010
31011         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31012         <kernel-features.h>.
31013         (init_mq_netlink): Remove conditional have_sock_cloexec
31014         definitions.  Remove code conditional on have_sock_cloexec < 0.
31015         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31016         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31017         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31018         <kernel-features.h>.
31019         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31020         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31021
31022 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31023
31024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31025         Add tests for memset_chk and memset.
31026
31027         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31028         with AVX2_Usable.
31029
31030 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31031
31032         [BZ #16046]
31033         * elf/tst-dl-iter-static.c: New file.
31034         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31035
31036         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31037         error.
31038
31039 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31040
31041         * sysdeps/unix/sysv/linux/kernel-features.h
31042         (__ASSUME_F_GETOWN_EX): Remove macro.
31043         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31044         <kernel-features.h>.
31045         (miss_F_GETOWN_EX): Remove variable or macro.
31046         (do_fcntl): Do not check miss_F_GETOWN_EX.
31047         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31048
31049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31050         Remove macro.
31051         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31052         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31053         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31054
31055         * sysdeps/unix/sysv/linux/kernel-features.h
31056         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31057         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31058         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31059         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31060
31061 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31062
31063         [BZ #17075]
31064         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31065         Fix calculation of the symbol's value.
31066         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31067         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31068         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31069         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31070         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31071         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31072         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31073         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31074         (modules-names): Add `tst-armtlsdescmod',
31075         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31076         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31077         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31078         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31079         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31080         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31081         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31082         ($(objpfx)tst-armtlsdescloc): New dependency.
31083         ($(objpfx)tst-armtlsdescextnow): Likewise.
31084         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31085         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31086         TLS scheme support.
31087         * sysdeps/arm/configure: Regenerate.
31088
31089 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31090
31091         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31092         (__atfct_seterrno_2): Likewise.
31093         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31094         <kernel-features.h>.
31095         (__ASSUME_ATFCTS): Do not undefine and redefine.
31096         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31097         (__have_atfcts): Remove conditional definition.
31098         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31099         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31100         unreachable if [__ASSUME_ATFCTS].
31101         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31102         not undefine and redefine.
31103         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31104         <kernel-features.h>.
31105         (faccessat) [__NR_faccessat]: Make code unconditional.
31106         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31107         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31108         <kernel-features.h>.
31109         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31110         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31111         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31112         <kernel-features.h>.
31113         (fchownat) [__NR_fchownat]: Make code unconditional.
31114         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31115         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31116         <kernel-features.h>.
31117         (futimesat) [__NR_futimesat]: Make code unconditional.
31118         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31119         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31120         <kernel-features.h>.
31121         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31122         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31123         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31124         <kernel-features.h>.
31125         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31126         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31127         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31128         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31129         <kernel-features.h>.
31130         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31131         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31132         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31133         <kernel-features.h>.
31134         (linkat) [__NR_linkat]: Make code unconditional.
31135         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31136         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31137         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31138         <kernel-features.h>.
31139         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31140         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31141         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31142         <kernel-features.h>.
31143         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31144         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31145         * sysdeps/unix/sysv/linux/openat.c: Do not include
31146         <kernel-features.h>.
31147         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31148         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31149         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31150         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31151         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31152         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31153         <kernel-features.h>.
31154         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31155         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31156         result of INLINE_SYSCALL directly, not via int variable.
31157         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31158         <kernel-features.h>.
31159         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31160         (renameat) [__NR_renameat]: Make code unconditional.
31161         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31162         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31163         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31164         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31165         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31166         (__ASSUME_ATFCTS): Do not undefine and redefine.
31167         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31168         <kernel-features.h>.
31169         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31170         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31171         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31172         <kernel-features.h>.
31173         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31174         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31175         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31176         (__ASSUME_ATFCTS): Do not undefine and redefine.
31177         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31178         <kernel-features.h>.
31179         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31180         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31181         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31182         <kernel-features.h>.
31183         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31184         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31185
31186 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31187
31188         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31189
31190 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31191
31192         [BZ #17069]
31193         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31194         constructed tree before returning error.
31195         * posix/bug-regexp36.c: Expand test case.
31196
31197 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31198
31199         [BZ #6803]
31200         * math/libm-test.inc (scalbln_test_date):
31201         Add errno expectations.
31202         * math/w_scalblnf.c: New File.
31203         Add wrapper which checks for setting errno to ERANGE.
31204         Add weak_alias for corresponding scalbln function.
31205         * math/w_scalbln.c: Likewise.
31206         * math/w_scalblnl.c: Likewise.
31207         * math/Makefile (libm-calls): Add w_scalbln.
31208         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31209         Remove weak_alias for corresponding scalbln function.
31210         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31212         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31214         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31215         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31216         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31217         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31218         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31219         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31220         Remove long_double_symbol for scalblnl function in libm, libc.
31221         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31222         Add wrapper which checks for setting errno to ERANGE.
31223         Add long_double_symbol for scalblnl function in libm, libc.
31224         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31225         Remove long_double_symbol for scalblnl in libm.
31226         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31227         Add wrapper which checks for setting errno to ERANGE.
31228         Add long_double_symbol for scalblnl function in libm.
31229         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31230         Do not use wrapper because of own implementation.
31231
31232 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31233
31234         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31235         3 bytes for __pad1 for x32.
31236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31237
31238 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31239             H.J. Lu  <hongjiu.lu@intel.com>
31240
31241         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31242         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31243         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31244         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31245         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31246
31247 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31248
31249         [BZ #17069]
31250         * posix/regcomp.c (parse_expression): Deallocate partially
31251         constructed tree before returning error.
31252         * posix/Makefile.c (tests): Add bug-regex36.
31253         (generated): Add bug-regex36.mtrace.
31254         (tests-special): Add $(objpfx)bug-regex36-mem.out
31255         (bug-regex36-ENV): New variable.
31256         ($(objpfx)bug-regex36-mem.out): New rule.
31257         * posix/bug-regex36.c: New file.
31258
31259 2014-06-19  Will Newton  <will.newton@linaro.org>
31260
31261         * malloc/malloc.c (systrim): If extra is zero then return
31262         early.
31263
31264 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31265
31266         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31267
31268 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31269
31270         * sysdeps/aarch64/strchr.S: New file.
31271
31272 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31273
31274         [BZ #17022]
31275         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31276         from arguments -2 or below.
31277         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31278         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31279
31280 2014-06-18  Andreas Schwab  <schwab@suse.de>
31281
31282         [BZ #17062]
31283         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31284         of a bracket expr not to run off the end of the string.
31285         * posix/Makefile (tests): Add tst-fnmatch3.
31286         * posix/tst-fnmatch3.c: New file.
31287
31288 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31289
31290         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31291         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31292         [$(cross-compiling) = no]: Likewise.
31293         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31294         [$(cross-compiling) = no]: Likewise.
31295
31296 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31297
31298         [BZ #17031]
31299         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31300         double, adjusted for any remainder from the high double.
31301         * math/libm-test.inc (nearbyint): Add tests.
31302         (rint): Likewise.
31303
31304 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31305
31306         * nptl/sysdeps/powerpc/Makefile: Moved ...
31307         * sysdeps/powerpc/nptl/Makefile: ... here.
31308         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31309         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31310         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31311         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31312         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31313         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31314         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31315         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31316         * nptl/sysdeps/powerpc/tls.h: Moved ...
31317         * sysdeps/powerpc/nptl/tls.h: ... here.
31318
31319 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31320
31321         [BZ #16681]
31322         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31323         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31324         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31325         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31326         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31327         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31328         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31329         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31330         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31331
31332 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31333
31334         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31335
31336 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31337
31338         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31339         defined operator.
31340
31341         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31342         $TIMEOUTFACTOR.
31343
31344 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31345
31346         [BZ #17058]
31347         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31348         non-executed part of the test.
31349
31350 2014-06-16  Andreas Schwab  <schwab@suse.de>
31351
31352         * string/bits/string2.h (strdup, strndup): Update feature guard.
31353
31354 2014-06-14  David S. Miller  <davem@davemloft.net>
31355
31356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31357
31358 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31359
31360         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31361         that was previously under [RESET_PID].
31362         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31363
31364         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31365         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31366         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31367         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31368         (__libc_vfork): New strong alias.
31369         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31370
31371 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31372
31373         * sysdeps/generic/elide.h: New file.
31374
31375 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31376
31377         * Makefile (installed-headers): Adjust path of pthread.h header.
31378
31379 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31380
31381         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31382         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31384         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31385
31386         * nptl/sysdeps/s390/Makefile: Moved ...
31387         * sysdeps/s390/nptl/Makefile: ... here.
31388         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31389         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31390         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31391         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31392         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31393         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31394         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31395         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31396         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31397         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31398         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31399         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31400         * nptl/sysdeps/s390/tls.h: Moved ...
31401         * sysdeps/s390/nptl/tls.h: ... here.
31402
31403         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31404         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31405
31406 2014-06-13  David S. Miller  <davem@davemloft.net>
31407
31408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31411         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31415         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31416         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31417         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31418         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31419         Remove RESET_PID cpp guards.
31420         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31421         Remove RESET_PID cpp guards.
31422         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31423
31424 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31425
31426         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31427         __sp to uintptr_t.
31428
31429 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31430
31431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31437         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31441         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31443         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31446         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31447         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31448         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31450         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31451
31452         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31453         (pthread_rwlock_rdlock): Add elision.
31454         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31455         (pthread_rwlock_wrlock): Add elision.
31456         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31457         (pthread_rwlock_trywrlock): Add elision.
31458         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31459         (pthread_rwlock_tryrdlock): Add elision.
31460         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31461         (pthread_rwlock_tryrdlock): Add elision unlock.
31462         * nptl/sysdeps/pthread/pthread.h:
31463         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31464         (PTHREAD_RWLOCK_INITIALIZER,
31465         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31466         Handle new elision field.
31467         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31468         * sysdeps/arm/nptl/bits/pthreadtypes.h
31469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31470         * sysdeps/sh/nptl/bits/pthreadtypes.h
31471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31472         * sysdeps/tile/nptl/bits/pthreadtypes.h
31473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31474         * sysdeps/a/nptl/bits/pthreadtypes.h
31475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31476         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31478         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31480         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31482         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31484         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31486         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31488         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31490         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31492         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31493         (elision_init): Set try_xbegin to zero when no RTM.
31494         * sysdeps/x86/nptl/bits/pthreadtypes.h
31495         (pthread_rwlock_t): Change __pad1 to __rwelision.
31496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31497
31498 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31499
31500         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31501         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31502         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31503         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31504
31505 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31506
31507         [BZ #16996]
31508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31509         that the cached result has been set before returning it.
31510
31511 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31512
31513         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31514         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31516         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31517         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31518         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31519
31520         * nptl/sysdeps/sparc/Makefile: Moved ...
31521         * sysdeps/sparc/nptl/Makefile: ... here.
31522         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31523         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31524         * nptl/sysdeps/sparc/tls.h: Moved ...
31525         * sysdeps/sparc/nptl/tls.h: ... here.
31526         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31527         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31528         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31529         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31530         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31531         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31532         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31533         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31534         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31535         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31536         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31537         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31538         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31539         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31540         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31541         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31542         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31543         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31544         Update #include.
31545         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31547         Update #include.
31548         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31550         Update #include.
31551         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31553         Update #include.
31554
31555         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31556
31557         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31558         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31559
31560         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31561         (struct list_links): Type removed.
31562         (struct thread_node, struct timer_node): Replace struct list_links
31563         with struct list_head.
31564         (list_unlink_ip): Likewise.
31565         * sysdeps/pthread/timer_routines.c
31566         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31567         (list_append, list_insbefore): Likewise.
31568         (list_init): Function removed.
31569         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31570         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31571         * sysdeps/pthread/Makefile: ... here, new file.
31572
31573         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31574         * sysdeps/nptl/Implies: ... here.
31575         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31576         * nptl/sysdeps/pthread/list.h: Moved ...
31577         * include/list.h: ... here.
31578         * nptl/sysdeps/pthread/createthread.c: Moved ...
31579         * nptl/createthread.c: ... here.
31580         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31581         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31582         * nptl/pt-longjmp.c: ... here.
31583         * nptl/sysdeps/pthread/Makefile: Moved ...
31584         * sysdeps/nptl/Makefile: ... here.
31585         * nptl/sysdeps/pthread/Subdirs: Moved ...
31586         * sysdeps/nptl/Subdirs: ... here.
31587         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31588         * sysdeps/nptl/aio_misc.h: ... here.
31589         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31590         * sysdeps/nptl/bits/libc-lock.h: ... here.
31591         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31592         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31593         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31594         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31595         * nptl/sysdeps/pthread/configure: Moved ...
31596         * sysdeps/nptl/configure: ... here.
31597         * nptl/sysdeps/pthread/configure.ac: Moved ...
31598         * sysdeps/nptl/configure.ac: ... here.
31599         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31600         * sysdeps/nptl/gai_misc.h: ... here.
31601         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31602         * sysdeps/nptl/librt-cancellation.c: ... here.
31603         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31604         * sysdeps/nptl/malloc-machine.h: ... here.
31605         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31606         * sysdeps/nptl/pthread-functions.h: ... here.
31607         * nptl/sysdeps/pthread/pthread.h: Moved ...
31608         * sysdeps/nptl/pthread.h: ... here.
31609         * nptl/sysdeps/pthread/setxid.h: Moved ...
31610         * sysdeps/nptl/setxid.h: ... here.
31611         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31612         * sysdeps/nptl/sigfillset.c: ... here.
31613         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31614         * sysdeps/nptl/tcb-offsets.h: ... here.
31615         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31616         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31617         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31618         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31619         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31620         * sysdeps/pthread/allocalim.h: ... here.
31621         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31622         * sysdeps/pthread/bits/sigthread.h: ... here.
31623         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31624         * sysdeps/pthread/flockfile.c: ... here.
31625         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31626         * sysdeps/pthread/ftrylockfile.c: ... here.
31627         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31628         * sysdeps/pthread/funlockfile.c: ... here.
31629         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31630         * sysdeps/pthread/posix-timer.h: ... here.
31631         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31632         * sysdeps/pthread/timer_create.c: ... here.
31633         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31634         * sysdeps/pthread/timer_delete.c: ... here.
31635         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31636         * sysdeps/pthread/timer_getoverr.c: ... here.
31637         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31638         * sysdeps/pthread/timer_gettime.c: ... here.
31639         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31640         * sysdeps/pthread/timer_routines.c: ... here.
31641         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31642         * sysdeps/pthread/timer_settime.c: ... here.
31643         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31644         * sysdeps/pthread/tst-timer.c: ... here.
31645         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31646         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31647
31648         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31649         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31650
31651         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31652         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31653         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31654         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31655         Update #include target.
31656         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31657         * sysdeps/i386/i686/nptl/Makefile: ... here.
31658         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31659         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31660         Update #include target.
31661         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31662         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31663         * nptl/sysdeps/i386/Makefile: Moved ...
31664         * sysdeps/i386/nptl/Makefile: ... here.
31665         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31666         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31667         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31668         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31669         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31670         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31671         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31672         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31673         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31674         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31675         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31676         * nptl/sysdeps/i386/tls.h: Moved ...
31677         * sysdeps/i386/nptl/tls.h: ... here.
31678
31679         * sysdeps/sh/Makefile [$(subdir) = csu]
31680         (gen-as-const-headers): Add tcb-offsets.sym.
31681         * nptl/sysdeps/sh/Makefile: File removed.
31682         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31683         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31684         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31685         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31686         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31687         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31688         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31689         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31690         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31691         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31692         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31693         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31694         * nptl/sysdeps/sh/tls.h: Moved ...
31695         * sysdeps/sh/nptl/tls.h: ... here.
31696         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31697         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31698         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31699         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31700         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31701         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31702         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31704         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31705         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31707         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31708         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31709         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31711         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31712         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31713         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31714         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31715         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31716         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31717         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31719         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31721         Moved ...
31722         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31723         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31724         Moved ...
31725         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31727         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31730         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31731         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31732         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31733         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31734         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31735         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31737         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31738         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31739         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31740         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31741         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31742         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31743         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31744
31745 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31746
31747         * posix/spawn_faction_addopen.c: Include string.h.
31748
31749 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31750
31751         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31752         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31753         * nptl/sysdeps/x86_64/Makefile: Moved ...
31754         * sysdeps/x86_64/nptl/Makefile: ... here.
31755         * nptl/sysdeps/x86_64/configure: Moved ...
31756         * sysdeps/x86_64/nptl/configure: ... here.
31757         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31758         * sysdeps/x86_64/nptl/configure.ac: ... here.
31759         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31760         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31761         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31762         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31763         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31764         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31765         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31766         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31767         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31768         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31769         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31770         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31771         * nptl/sysdeps/x86_64/tls.h: Moved ...
31772         * sysdeps/x86_64/nptl/tls.h: ... here.
31773         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31774         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31775         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31776         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31777
31778         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31779
31780 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31781
31782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31783
31784 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31785
31786         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31787         type.
31788         [POSIX] (off_t): Likewise.
31789         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31790         [POSIX] (S_ISBLK): Require macro.
31791         [POSIX] (S_ISCHR): Likewise.
31792         [POSIX] (S_ISDIR): Likewise.
31793         [POSIX] (S_ISFIFO): Likewise.
31794         [POSIX] (S_ISREG): Likewise.
31795         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31796         optional-macro.
31797         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31798         type.
31799         [POSIX] (time_t): Likewise.
31800         [POSIX] (timer_t): Likewise.
31801
31802 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31803
31804         [BZ #17048]
31805         * posix/spawn_int.h (struct __spawn_action): Make the path string
31806         non-const to support deallocation.
31807         * posix/spawn_faction_addopen.c
31808         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31809         * posix/spawn_faction_destroy.c
31810         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31811         path in all spawn_do_open actions.
31812         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31813         posix_spawn_file_actions_addopen.
31814
31815 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31816
31817         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31818         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31819         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31820         conditional code always true.
31821         (__libc_vfork): New alias.
31822
31823 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31824
31825         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31826         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31827
31828         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31829
31830         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31831         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31832
31833         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31834         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31835
31836         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31837         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31838
31839 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31840
31841         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31842         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31843         multiarch strcmp for PPC64.
31844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31845         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31847         multiarch optimizations.
31848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31849         (__libc_ifunc_impl_list): Likewise.
31850
31851 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31852
31853         * benchtests/scripts/validate_benchout.py: New script.
31854         * benchtests/Makefile (bench-func): Call it.
31855         * benchtests/scripts/benchout.schema.json: New file.
31856
31857 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31858
31859         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31860         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31861         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31862         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31863         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31864         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31865         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31866         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31867         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31868         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31869         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31870         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31871         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31872         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31873         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31874         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31876         Moved ...
31877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31878         ... here.
31879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31880         Moved ...
31881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31883         Moved ...
31884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31885         ... here.
31886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31887         Moved ...
31888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31889         ... here.
31890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31891         Moved ...
31892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31894         Moved ...
31895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31896         ... here.
31897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31898         Moved ...
31899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31900         ... here.
31901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31902         Moved ...
31903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31905         Moved ...
31906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31907         ... here.
31908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31909         Moved ...
31910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31911         ... here.
31912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31913         Moved ...
31914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31915         ... here.
31916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31917         Moved ...
31918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31920         Moved ...
31921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31922         ... here.
31923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31924         Moved ...
31925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31926         ... here.
31927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31928         Moved ...
31929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31930         ... here.
31931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31932         Moved ...
31933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31935         Moved ...
31936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31937         ... here.
31938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31939         Moved ...
31940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31941         ... here.
31942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31943         Moved ...
31944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31946         Moved ...
31947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31948         ... here.
31949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31950         Moved ...
31951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31956         Moved ...
31957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31958         ... here.
31959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31960         Moved ...
31961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31962         ... here.
31963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31966         ... here.
31967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31971         Moved ...
31972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31973         ... here.
31974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31975         Moved ...
31976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31977         ... here.
31978         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31979         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31980         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31981         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31983         Moved ...
31984         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31985         ... here.
31986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31987         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31988         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31989         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31990         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31991         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31999         Moved ...
32000         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32001         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32002         Moved ...
32003         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32005         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32007         Moved ...
32008         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32010         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32011         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32012         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32013         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32014         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32015
32016 2014-06-10  Wilco  <wdijkstr@arm.com>
32017
32018         * math/test-fenv-return.c: New file.
32019         * math/Makefile: Add new test test-fenv-return.
32020
32021 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32022
32023         [BZ #17042]
32024         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32025         when x - 1 is zero.
32026         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32027         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32028         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32029         0.0L for an argument of 1.0L.
32030         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32031         Likewise.
32032         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32033         value when x - 1 is zero.
32034         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32035         * sysdeps/i386/fpu/libm-test-ulps: Update.
32036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32037
32038 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32039
32040         [BZ #15119]
32041         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32042
32043 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32044
32045         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32046         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32047
32048 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32049
32050         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32051         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32052
32053         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32054         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32055
32056         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32057         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32058
32059         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32060         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32061
32062         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32063         if not already defined.
32064         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32065         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32066         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32067         (TLS_INIT_TP): Use it.
32068         (TLS_DEFINE_INIT_TP): New macro.
32069         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32070
32071 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32072
32073         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32074         constant.
32075         [POSIX] (IXANY): Likewise.
32076         [POSIX] (OLCUC): Likewise.
32077         [POSIX || POSIX2008] (CBAUD): Do not allow.
32078         [POSIX || POSIX2008] (DEFECHO): Likewise.
32079         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32080         [POSIX || POSIX2008] (ECHOKE): Likewise.
32081         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32082         [POSIX || POSIX2008] (EXTA): Likewise.
32083         [POSIX || POSIX2008] (EXTB): Likewise.
32084         [POSIX || POSIX2008] (FLUSHO): Likewise.
32085         [POSIX || POSIX2008] (LOBLK): Likewise.
32086         [POSIX || POSIX2008] (PENDIN): Likewise.
32087         [POSIX || POSIX2008] (SWTCH): Likewise.
32088         [POSIX || POSIX2008] (VDISCARD): Likewise.
32089         [POSIX || POSIX2008] (VDSUSP): Likewise.
32090         [POSIX || POSIX2008] (VLNEXT): Likewise.
32091         [POSIX || POSIX2008] (VREPRINT): Likewise.
32092         [POSIX || POSIX2008] (VSTATUS): Likewise.
32093         [POSIX || POSIX2008] (VWERASE): Likewise.
32094         (B*): Change to B[0123456789]*.
32095         * conform/data/time.h-data [POSIX || UNIX98]
32096         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32097         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32098         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32099         [POSIX] (tm_*): Do not allow.
32100
32101 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32102
32103         * Makefile (install): Don't set LANGUAGE.
32104         * Makefile.in (install): Likewise.
32105         * assert/Makefile (test-assert-ENV): Remove variable.
32106         (test-assert-perr-ENV): Likewise.
32107         * elf/Makefile (neededtest4-ENV): Likewise.
32108         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32109         [$(cross-compiling) = no]: Don't set LANGUAGE.
32110         * io/ftwtest-sh (LANG): Remove variable.
32111         * libio/Makefile (tst-widetext-ENV): Likewise.
32112         * manual/install.texi (Running make install): Don't refer to
32113         environment settings for make install.
32114         * INSTALL: Regenerated.
32115         * nptl/tst-tls6.sh: Don't set LANG.
32116         * posix/globtest.sh (LANG): Remove variable.
32117         * string/Makefile (tester-ENV): Likewise.
32118         (inl-tester-ENV): Likewise.
32119         (noinl-tester-ENV): Likewise.
32120         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32121         [$(cross-compiling) = no]: Don't set LANGUAGE.
32122         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32123         without explicit environment settings.
32124
32125 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32126
32127         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32128         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32130         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32131
32132 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32133
32134         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32135         other files in the crypt directory.
32136         * crypt/crypt.c: Remove duplicate includes.
32137         * crypt/crypt-entry.c: Likewise.
32138         * crypt/crypt_util.c: Likewise.
32139
32140 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32141
32142         * Makeconfig (run-program-env): New variable.
32143         (run-program-prefix-before-env): Likewise.
32144         (run-program-prefix-after-env): Likewise.
32145         (run-program-prefix): Define in terms of new variables.
32146         (built-program-cmd-before-env): New variable.
32147         (built-program-cmd-after-env): Likewise.
32148         (built-program-cmd): Define in terms of new variables.
32149         (test-program-prefix-before-env): New variable.
32150         (test-program-prefix-after-env): Likewise.
32151         (test-program-prefix): Define in terms of new variables.
32152         (test-program-cmd-before-env): New variable.
32153         (test-program-cmd-after-env): Likewise.
32154         (test-program-cmd): Define in terms of new variables.
32155         * Rules (make-test-out): Use $(run-program-env).
32156         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32157         (help): Do not mention environment variables.  Mention
32158         --timeoutfactor option.
32159         (timeoutfactor): New variable.
32160         (blacklist_exports): Remove function.
32161         (exports): Remove variable.
32162         (command): Do not include ${exports}.
32163         * manual/install.texi (Configuring and compiling): Do not mention
32164         test wrappers preserving environment variables.  Mention that last
32165         assignment to a variable must take precedence.
32166         * INSTALL: Regenerated.
32167         * benchtests/Makefile (run-bench): Use $(run-program-env).
32168         * catgets/Makefile ($(objpfx)test1.cat): Use
32169         $(built-program-cmd-before-env), $(run-program-env) and
32170         $(built-program-cmd-after-env).
32171         ($(objpfx)test2.cat): Do not specify environment variables
32172         explicitly.
32173         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32174         $(run-program-env) and $(built-program-cmd-after-env).
32175         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32176         $(run-program-env) and $(test-program-cmd-after-env).
32177         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32178         explicitly.
32179         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32180         run_program_env and test_program_cmd_after_env arguments.
32181         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32182         * elf/tst-pathopt.sh: Use run_program_env argument.
32183         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32184         $(test-wrapper-env) and $(run-program-env).
32185         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32186         run_program_env arguments.
32187         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32188         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32189         $(test-program-prefix-before-env), $(run-program-env) and
32190         $(test-program-prefix-after-env).
32191         ($(objpfx)tst-gettext2.out): Likewise.
32192         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32193         run_program_env and test_program_prefix_after_env arguments.
32194         * intl/tst-gettext2.sh: Likewise.
32195         * intl/tst-gettext4.sh: Do not set environment variables
32196         explicitly.
32197         * intl/tst-gettext6.sh: Likewise.
32198         * intl/tst-translit.sh: Likewise.
32199         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32200         $(test-program-prefix-before-env), $(run-program-env) and
32201         $(test-program-prefix-after-env).
32202         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32203         run_program_env and test_program_prefix_after_env arguments.
32204         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32205         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32206         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32207         explicitly with each use of ${test_wrapper_env}.
32208         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32209         $(test-program-prefix-before-env), $(run-program-env) and
32210         $(test-program-prefix-after-env).
32211         * posix/tst-getconf.sh: Do not set environment variables
32212         explicitly.
32213         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32214         run_program_env and test_program_prefix_after_env arguments.
32215         * stdio-common/tst-printf.sh: Do not set environment variables
32216         explicitly.
32217         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32218         $(test-program-prefix-before-env), $(run-program-env) and
32219         $(test-program-prefix-after-env).
32220         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32221         run_program_env and test_program_prefix_after_env arguments.
32222         Split $test calls into $test_pre and $test.
32223         * timezone/Makefile (build-testdata): Use
32224         $(built-program-cmd-before-env), $(run-program-env) and
32225         $(built-program-cmd-after-env).
32226
32227 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32228
32229         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32230         strlen for non SHARED builds.
32231
32232 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32233
32234         * nptl/allocatestack.c (check_list): Inlined function...
32235         (__reclaim_stacks): ... here.
32236
32237 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32238
32239         [BZ #15698]
32240         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32241         memory overrun.
32242
32243 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32244
32245         * Rules (make-test-out): Include
32246         LOCPATH=$(common-objpfx)localedata in default environment.
32247         * debug/Makefile (tst-chk1-ENV): Remove variable.
32248         (tst-chk2-ENV): Likewise.
32249         (tst-chk3-ENV): Likewise.
32250         (tst-chk4-ENV): Likewise.
32251         (tst-chk5-ENV): Likewise.
32252         (tst-chk6-ENV): Likewise.
32253         (tst-lfschk1-ENV): Likewise.
32254         (tst-lfschk2-ENV): Likewise.
32255         (tst-lfschk3-ENV): Likewise.
32256         (tst-lfschk4-ENV): Likewise.
32257         (tst-lfschk5-ENV): Likewise.
32258         (tst-lfschk6-ENV): Likewise.
32259         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32260         (tst-iconv7-ENV): Likewise.
32261         * intl/Makefile (LOCPATH-ENV): Likewise.
32262         (tst-codeset-ENV): Likewise.
32263         (tst-gettext3-ENV): Likewise.
32264         (tst-gettext5-ENV): Likewise.
32265         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32266         (tst-fopenloc-ENV): Likewise.
32267         (tst-fgetws-ENV): Remove variable.
32268         (tst-ungetwc1-ENV): Likewise.
32269         (tst-ungetwc2-ENV): Likewise.
32270         (bug-ungetwc2-ENV): Likewise.
32271         (tst-swscanf-ENV): Likewise.
32272         (bug-ftell-ENV): Likewise.
32273         (tst-fgetwc-ENV): Likewise.
32274         (tst-fseek-ENV): Likewise.
32275         (tst-ftell-partial-wide-ENV): Likewise.
32276         (tst-ftell-active-handler-ENV): Likewise.
32277         (tst-ftell-append-ENV): Likewise.
32278         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32279         (tst-regexloc-ENV): Likewise.
32280         (bug-regex1-ENV): Likewise.
32281         (tst-regex-ENV): Likewise.
32282         (tst-regex2-ENV): Likewise.
32283         (bug-regex5-ENV): Likewise.
32284         (bug-regex6-ENV): Likewise.
32285         (bug-regex17-ENV): Likewise.
32286         (bug-regex18-ENV): Likewise.
32287         (bug-regex19-ENV): Likewise.
32288         (bug-regex20-ENV): Likewise.
32289         (bug-regex22-ENV): Likewise.
32290         (bug-regex23-ENV): Likewise.
32291         (bug-regex25-ENV): Likewise.
32292         (bug-regex26-ENV): Likewise.
32293         (bug-regex30-ENV): Likewise.
32294         (bug-regex32-ENV): Likewise.
32295         (bug-regex33-ENV): Likewise.
32296         (bug-regex34-ENV): Likewise.
32297         (bug-regex35-ENV): Likewise.
32298         (tst-rxspencer-ENV): Likewise.
32299         (tst-rxspencer-no-utf8-ENV): Likewise.
32300         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32301         (tst-sscanf-ENV): Likewise.
32302         (tst-swprintf-ENV): Likewise.
32303         (tst-swscanf-ENV): Likewise.
32304         (test-vfprintf-ENV): Likewise.
32305         (scanf13-ENV): Likewise.
32306         (bug14-ENV): Likewise.
32307         (tst-grouping-ENV): Likewise.
32308         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32309         (tst-strtod3-ENV): Likewise.
32310         (tst-strtod4-ENV): Likewise.
32311         (tst-strtod5-ENV): Likewise.
32312         (testmb2-ENV): Likewise./
32313         * string/Makefile (tst-strxfrm-ENV): Likewise.
32314         (tst-strxfrm2-ENV): Likewise.
32315         (bug-strcoll1-ENV): Likewise.
32316         (test-strcasecmp-ENV): Likewise.
32317         (test-strncasecmp-ENV): Likewise.
32318         * time/Makefile (tst-strptime-ENV): Likewise.
32319         (tst-ftime_l-ENV): Likewise.
32320         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32321         (tst-mbrtowc-ENV): Likewise.
32322         (tst-wcrtomb-ENV): Likewise.
32323         (tst-mbrtowc2-ENV): Likewise.
32324         (tst-c16c32-1-ENV): Likewise.
32325         (tst-mbsnrtowcs-ENV): Likewise.
32326
32327 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32328
32329         * manual/resource.texi (How to get information about the memory
32330         subsystem?): Fix typo.
32331         Reported by Peon de la Parra Ivan <peon@keba.com>
32332
32333 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32334
32335         [BZ #16882]
32336         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32337         (pthread_spin_lock): Branch out of spin loop to proper location.
32338         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32339         (pthread_spin_lock): Likewise.
32340
32341         * nptl/tst-spin4.c: New test.
32342         * nptl/Makefile (tests): Add tst-spin4.
32343
32344 2014-06-03  Andreas Schwab  <schwab@suse.de>
32345
32346         [BZ #15946]
32347         * resolv/res_send.c (send_dg): Reload file descriptor after
32348         calling reopen.
32349
32350 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32351
32352         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32353
32354 2014-06-03  Richard Henderson  <rth@redhat.com>
32355
32356         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32357         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32358         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32359         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32360         in the SAVE_PID block.
32361         (__libc_vfork): New alias.
32362         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32363
32364         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32365         child in registers, not on the stack.  Remove RESET_PID conditionals.
32366         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32367
32368 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32369
32370         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32371
32372 2014-06-03  Wilco  <wdijkstr@arm.com>
32373
32374         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32375         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32376         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32377         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32378         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32379         Likewise.
32380
32381 2014-06-03  Wilco  <wdijkstr@arm.com>
32382
32383         * sysdeps/aarch64/fpu/math_private.h
32384         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32385         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32386         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32387         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32388         Fix declarations.
32389
32390 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32391
32392         * crypt/crypt-private.h: Include ufc-crypt.h.
32393         (__b64_from_24bit): Declare extern.
32394         * crypt/crypt_util.c(__b64_from_24bit): New function.
32395         (b64t): New static const variable.
32396         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32397         (b64t): Remove variable.
32398         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32399         * crypt/sha256-crypt.c: Include crypt-private.h.
32400         (b64t): Remove variable.
32401         (__sha256_crypt_r): Remove b64_from_24bit and replace
32402         with __b64_from_24bit.
32403         * crypt/sha512-crypt.c: Likewise.
32404
32405 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32406
32407         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32408         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32409         Label the code __libc_vfork rather than __vfork.
32410         [!NOT_IN_libc] (vfork): Define as weak alias.
32411         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32412         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32413         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32414
32415 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32416
32417         * malloc/malloc.c (malloc_info): Fix format specifier for
32418         n_mmaps.
32419
32420 2014-06-02  Wilco  <wdijkstr@arm.com>
32421
32422         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32423         FPCR write.
32424
32425 2014-06-02  Wilco  <wdijkstr@arm.com>
32426
32427         [BZ #17009]
32428         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32429         Rewrite to reduce FPCR/FPSR accesses.
32430
32431 2014-06-01  David S. Miller  <davem@davemloft.net>
32432
32433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32434
32435 2014-05-31  David S. Miller  <davem@davemloft.net>
32436
32437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32438         to occur in round to nearest mode when |x| >= 2.0
32439
32440 2014-05-30  Richard Henderson  <rth@twiddle.net>
32441
32442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32443         (PSEUDO_RET_NOERRNO): Remove.
32444         (ret): Don't redefine.
32445         (ret_NOERRNO): Define in terms of ret.
32446         (ret_ERRVAL): Likewise.
32447
32448         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32449         use of PSEUDO_RET; perform the error check directly.
32450
32451 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32452
32453         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32454         with __int128_t.
32455
32456 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32457
32458         * malloc/malloc (malloc_info): Fix formatting.
32459
32460 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32461             Roland McGrath  <roland@hack.frob.com>
32462
32463         * malloc/malloc (malloc_info): Also print mmapped statistics.
32464
32465 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32466
32467         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32468         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32469
32470 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32471
32472         * malloc/malloc.c (malloc_info): Inline mi_arena.
32473
32474 2014-05-29  Richard Henderson  <rth@twiddle.net>
32475
32476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32477         Remove comma before expanding ASM_ARGS_##nr.
32478         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32479         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32480         of ASM_ARGS_##nr.
32481         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32482         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32483         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32484         (ASM_ARGS_1): Add leading comma.
32485
32486         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32487         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32488         to __errno_location.
32489         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32490         Remove the expected plt for __errno_location.
32491
32492         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32493         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32494         call to __read_tp.
32495
32496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32497         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32498         it and break it down.
32499         (DOCARGS_0, DOCARGS_1): Do nothing.
32500         (DOCARGS_2): Update to store into the new stack frame.
32501         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32502         (UNDOCARGS_1): Update to restore from the new stack frame.
32503         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32504         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32505
32506         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32507         (SINGLE_THREAD_P): New parameter for result regno.
32508         (PSEUDO): Update to match; use cbz instead of beq.
32509
32510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32511         Use ENTRY to define the _nocancel entry point.  Share the syscall
32512         and syscall error check paths with the cancel path.
32513         (PSEUDO_END): New.
32514
32515         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32516         whitespace; tabs before and after asm mnemonics.
32517
32518 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32519
32520         [BZ #15132]
32521         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32522         Call fstat64 or stat64 internally, depending on arguments passed.
32523         Replace stat buffer argument with file descriptor argument.
32524         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32525         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32526         Pass fd to __internal_statvfs instead of calling fstat64.
32527         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32528         Pass fd to __internal_statvfs64 instead of calling fstat64.
32529         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32530         Pass -1 to __internal_statvfs instead of calling stat64.
32531         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32532         Pass -1 to __internal_statvfs64 instead of calling stat64.
32533
32534 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32535
32536         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32537         that was previously under [RESET_PID].
32538         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32539
32540         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32541         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32542
32543 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32544
32545         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32546
32547         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32548         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32549
32550 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32551
32552         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32553
32554 2014-05-27  Andreas Schwab  <schwab@suse.de>
32555
32556         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32557         TLS_INIT_TP macro.
32558         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32559         * elf/rtld.c (init_tls, dl_main): Likewise.
32560         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32561         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32562         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32563         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32564         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32565         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32566         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32567         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32568         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32569         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32570         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32571         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32572         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32573         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32574         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32575         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32576         * sysdeps/generic/tls.h: Update description.
32577
32578 2014-05-27  Will Newton  <will.newton@linaro.org>
32579
32580         [BZ #16990]
32581         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32582         and restore r2 rather than just restoring.
32583
32584 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32585
32586         [BZ #16724]
32587         * libio/tst-ftell-append.c: New test case.
32588         * libio/Makefile (tests): Add test case.
32589         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32590         append mode.
32591         * libio/wfileops.c (do_ftell_wide): Likewise.
32592
32593 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32594
32595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32596
32597         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32598         ...
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32601         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32602         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32603         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32604         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32605         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32606         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32608         Moved ...
32609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32611         Moved ...
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32613         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32614         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32615         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32616         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32617         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32618         ...
32619         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32620         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32621         Moved ...
32622         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32623         here.
32624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32625         ...
32626         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32627         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32628         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32629
32630         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32631         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32632         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32633         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32634
32635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32636         merge into ...
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32639         ...
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32642         ...
32643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32645         Moved ...
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32647         here.
32648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32649         Moved ...
32650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32652         Moved ...
32653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32654
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32656         conditional [RESET_PID].
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32659         removed.
32660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32661         removed.
32662
32663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32664         <tcb-offsets.h>.
32665         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32666         (__libc_vfork): New strong alias.
32667         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32668         removed.
32669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32670         Removed.
32671
32672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32673         <tcb-offsets.h>.
32674         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32675         (__libc_vfork): New strong alias.
32676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32677         removed.
32678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32679         removed.
32680
32681 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32682
32683         * malloc/malloc.c (mi_arena): New function.
32684         (malloc_info): Remove nested function mi_arena. Call non-nosted
32685         function mi_arena.
32686
32687 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32688
32689         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32690         by insrwi.
32691         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32692         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32693         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32694         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32696         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32697         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32698
32699 2014-05-26  Andreas Schwab  <schwab@suse.de>
32700
32701         [BZ #16984]
32702         * locale/programs/repertoire.c (repertoire_read): Add slash
32703         between I18NPATH element and file name.
32704         * locale/programs/locfile.c (locfile_read): Likewise.
32705
32706 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32707
32708         * nptl/pthread_mutexattr_settype.c
32709         (__pthread_mutexattr_settype):
32710         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32711
32712 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32713
32714         * nptl/tst-mutex5 (do_test):
32715         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32716
32717 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32718
32719         * benchtests/README: Document 'init' directive.
32720         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32721         BENCH_INIT.
32722         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32723         (parse_file): Recognize 'init' directive.
32724
32725 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32726
32727         [BZ #16796]
32728         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32729         alignment of struct pthread.
32730
32731 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32732
32733         [BZ #16878]
32734         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32735         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32736         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32737         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32738
32739 2014-05-25  Richard Henderson  <rth@twiddle.net>
32740
32741         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32742         (SINGLE_THREAD_P_PIC): Remove.
32743         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32744         (SINGLE_THREAD_P_PIC): Remove.
32745
32746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32747         branch to syscall error ...
32748         (PSEUDO): ... here.
32749         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32750         from __local_syscall_error to .Lsyscall_error.
32751         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32752         (SYSCALL_ERROR): Update label name.
32753
32754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32755         Do not use DOARGS/UNDOARGS.
32756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32757         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32758         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32759         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32760         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32761
32762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32763         block comment.
32764
32765         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32766         define if !NOT_IN_libc.
32767         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32768         define with non-default symbol versions.
32769
32770 2014-05-23  Richard Henderson  <rth@twiddle.net>
32771
32772         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32773         (vfork, __vfork): Define via compat_symbol.
32774
32775         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32776         [!HAVE_IFUNC] (vfork_compat): Remove.
32777         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32778
32779 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32780
32781         [BZ #16978]
32782         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32783         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32784         variable.
32785
32786 2014-05-23  Richard Henderson  <rth@twiddle.net>
32787
32788         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32789         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32790         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32791         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32792
32793         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32794         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32795         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32796         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32797         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32798         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32799         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32800         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32801         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32802         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32803         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32804         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32805         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32806         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32807         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32808         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32809         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32810         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32811         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32812         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32813         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32814         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32815         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32816         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32818         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32832         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32833         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32834         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32835         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32836         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32837         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32838         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32839         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32840         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32841         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32842         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32843         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32844         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32846         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32848         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32849
32850         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32851         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32852         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32853         before exiting on error.
32854         (__libc_vfork): New strong alias.
32855         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32856         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32857
32858         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32859         that was previously under [RESET_PID].
32860         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32861
32862         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32863
32864 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32865
32866         [BZ #16977]
32867         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32868         value when x - 1 is zero.
32869         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32870         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32871         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32872         0.0L for an argument of 1.0L.
32873         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32874         Likewise.
32875         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32876         value when x - 1 is zero.
32877         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32878         * sysdeps/i386/fpu/libm-test-ulps: Update.
32879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32880
32881 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32882
32883         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32884         alphasort and versionsort.
32885
32886 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32887
32888         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32889         macro.
32890         [copysignf]: Likewise.
32891
32892 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32893
32894         * crypt/md5-crypt.c: Fix formatting.
32895
32896 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32897
32898         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32899         (b64_from_24bit): New function.
32900
32901 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32902
32903         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32904         libc_hidden_builtin_def to ifunc.
32905         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32906         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32907
32908 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32909
32910         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32911         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32912
32913 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32914
32915         * nscd/Depend (linuxthreads): Remove.
32916         (nptl): Add.
32917         * resolv/Depend (linuxthreads): Remove.
32918         * rt/Depend (linuxthreads): Remove.
32919
32920         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32921         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32922         $(common-objpfx)elf/.
32923         (link-libc-before-gnulib): Likewise.
32924         (elfobjdir): Remove variable.
32925         * Makefile (install): Use $(elf-objpfx) instead of
32926         $(common-objpfx)elf/.
32927         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32928         $(elfobjdir)/.
32929         (link-libc-deps): Likewise.
32930         ($(common-objpfx)libc.so): Likewise.
32931         ($(common-objpfx)linkobj/libc.so): Likewise.
32932         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32933         instead of $(common-objpfx)elf/.
32934         (symbolic-link-list): Likewise.
32935         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32936         [$(cross-compiling) = no]: Likewise.
32937         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32938         $(elfobjdir)/.
32939         (static-gnulib-arch): Likewise.
32940         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32941         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32942         $(common-objpfx)elf/.
32943
32944 2014-05-21  Richard Henderson  <rth@redhat.com>
32945
32946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32947         (SINGLE_THREAD_P): Use the correct width load.  Fold
32948         into the ldr offset.
32949
32950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32951         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32952
32953 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32954
32955         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32956         (libgcc_s_resume): Use __attribute_used__.
32957         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32958         Likewise.
32959
32960 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32961
32962         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32963         optimization when used with float constants.
32964
32965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32966
32967 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32968
32969         [BZ #16915]
32970         * locale/nl_langinfo_l.c: Make direct reference to every
32971         _nl_current_CATEGORY symbol.
32972         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32973         (tests-static): Add tst-langinfo-static.
32974         (tests-special): Add tst-langinfo-static.out.
32975         ($(objpfx)tst-langinfo.out): Redirect output.
32976         ($(objpfx)tst-langinfo-static.out): New.
32977         * localedata/tst-langinfo.sh: Send output to stdout.
32978         * localedata/tst-langinfo-static.c: New file.
32979
32980         [BZ #16965]
32981         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32982         when the shift amount is modulo the limb size.
32983
32984 2014-05-20  Richard Henderson  <rth@redhat.com>
32985
32986         [BZ #16967]
32987         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32988         Change type of sa_flags from unsigned int to int.
32989
32990         [BZ #16966]
32991         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32992
32993         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32994
32995 2014-05-20  Will Newton  <will.newton@linaro.org>
32996
32997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32998         Test the return value of the system call in the nocancel case.
32999
33000 2014-05-20  Will Newton  <will.newton@linaro.org>
33001             Yvan Roux  <yvan.roux@linaro.org>
33002
33003         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33004         #include of asm/ptrace.h.
33005         (PTRACE_GET_THREAD_AREA): Remove #undef.
33006         (PTRACE_GETHBPREGS): Likewise.
33007         (PTRACE_SETHBPREGS): Likewise.
33008         (struct user_regs_struct): New structure.
33009         (struct user_fpsimd_struct): New structure.
33010         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33011         #include of asm/ptrace.h and second #include of sys/user.h.
33012         (PTRACE_GET_THREAD_AREA): Remove #undef.
33013         (PTRACE_GETHBPREGS): Likewise.
33014         (PTRACE_SETHBPREGS): Likewise.
33015         (ELF_NGREG): Use new struct user_regs_struct.
33016         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33017
33018 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33019
33020         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33021         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33022
33023 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33024
33025         [BZ #16958]
33026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33027         membar to avoid block loads/stores to overlap previous stores.
33028
33029 2014-05-17  Richard Henderson  <rth@redhat.com>
33030
33031         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33032         Create the __##syscall_name##_nocancel entry point.
33033         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33034         Remove; let the sysdep-cancel.h code create it.
33035
33036 2014-05-17  David S. Miller  <davem@davemloft.net>
33037
33038         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33039         Protect with __USE_GNU.
33040         (TIOCSET_TEMPT): Likewise.
33041         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33042         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33043         these are already provided in bits/ioctl-types.h
33044
33045 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33046
33047         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33048         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33049
33050         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33051         Use wait4 regardless of [__NR_waitpid].
33052
33053 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33054
33055         PR libgcc/60166
33056         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33057         (_FP_NANSIGN_Q): Set the quiet bit.
33058
33059 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33060
33061         * benchtests/Makefile
33062         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33063         not $(common-objpfx)math/libm.so.
33064         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33065         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33066         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33067         $(common-objpfx)dlfcn/libdl.so.
33068         ($(objpfx)tst-audit8): Depend on $(libm), not
33069         $(common-objpfx)math/libm.so.
33070         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33071         not $(common-objpfx)dlfcn/libdl.so.
33072         * math/Makefile
33073         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33074         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33075         [$(build-shared) = yes].
33076         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33077         $(common-objpfx)nptl/libpthread.so.
33078         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33079         $(common-objpfx)math/libm.so$(libm.so-version) or
33080         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33081         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33082         $(common-objpfx)dlfcn/libdl.so.
33083         * setjmp/Makefile (link-libm): Remove variable.
33084         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33085         * stdio-common/Makefile (link-libm): Remove variable.
33086         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33087         * stdlib/Makefile (link-libm): Remove variable.
33088         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33089         ($(objpfx)tst-strtod-round): Likewise.
33090         ($(objpfx)tst-tininess): Likewise.
33091         ($(objpfx)tst-strtod-underflow): Likewise.
33092         ($(objpfx)tst-strtod6): Likewise.
33093         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33094         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33095         $(common-objpfx)dlfcn/libdl.so.
33096
33097 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33098
33099         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33100         BSD terminal modes definitions.
33101
33102 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33103
33104         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33105         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33106
33107         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33108         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33109         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33110         Don't do #include_next.
33111         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33112         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33113         Don't do #include_next.
33114         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33115         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33116         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33117         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33118
33119 2014-05-16  Allan McRae  <allan@archlinux.org>
33120
33121         * po/sv.po: Update Swedish translation from translation project.
33122
33123         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33124         in sed expression.
33125
33126 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33127
33128         [BZ #16917]
33129         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33130         errno if the TIOCGPTN ioctl fails with an error different than
33131         EINVAL.
33132         * login/tst-ptsname.c: New file.
33133         * login/Makefile (tests): Add tst-ptsname.
33134
33135         [BZ #16943]
33136         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33137         and prlimit64.
33138
33139 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33140
33141         [BZ #16849]
33142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33143         herrno to return EAI_AGAIN.
33144
33145 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33146
33147         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33148         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33149         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33150         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33152         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33153         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33154         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33156         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33158         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33159         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33160         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33161         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33162         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33164         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33165         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33166         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33167         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33168         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33170         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33171         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33172         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33173         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33174         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33176         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33178         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33180         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33182         Moved ...
33183         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33185         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33187         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33189         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33193         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33197         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33199         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33201         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33203         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33205         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33207         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33211         Moved ...
33212         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33214         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33218         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33220         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33222         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33224         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33226         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33228         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33230         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33232         Moved ...
33233         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33235         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33236
33237         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33238         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33239         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33240         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33241         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33242         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33243         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33244         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33245         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33247         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33249         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33250         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33251         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33252         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33253         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33254         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33255         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33257         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33258         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33259         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33260         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33261         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33262         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33263         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33264         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33265         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33266         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33267         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33268
33269         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33270         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33271
33272         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33273         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33274         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33275         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33276         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33277         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33278         Moved ...
33279         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33281         Moved ...
33282         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33283         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33284         Moved ...
33285         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33286         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33287         Moved ...
33288         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33289         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33290         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33291         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33292         Moved ...
33293         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33294         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33295         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33296         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33297         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33298         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33299         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33300         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33301         Moved ...
33302         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33303         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33304         Moved ...
33305         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33306         ... here.
33307         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33308         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33309         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33310         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33311         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33312         Moved ...
33313         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33314         ... here.
33315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33316         Moved ...
33317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33318         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33319         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33320         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33321         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33322         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33323         Moved ...
33324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33326         Moved ...
33327         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33328         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33329         Moved ...
33330         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33331         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33332         Moved ...
33333         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33334         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33335         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33336         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33337         Moved ...
33338         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33339         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33340         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33341         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33343         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33344         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33345         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33346         Moved ...
33347         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33348         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33349         Moved ...
33350         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33351         ... here.
33352         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33353         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33354         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33355         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33356         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33357         Moved ...
33358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33359         ... here.
33360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33361         Moved ...
33362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33363         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33364         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33365         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33366         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33367         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33368         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33369         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33370         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33371         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33372         Moved ...
33373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33374         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33375         Moved ...
33376         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33377         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33378         Moved ...
33379         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33380         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33381         Moved ...
33382         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33383         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33384         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33385         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33386         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33388         Moved ...
33389         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33390         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33391         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33392         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33393         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33394         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33395         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33397         Moved ...
33398         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33399         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33400         Moved ...
33401         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33402         ... here.
33403         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33404         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33406         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33408         Moved ...
33409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33410         ... here.
33411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33412         Moved ...
33413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33414         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33415         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33416         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33417         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33419         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33421         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33423         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33424
33425         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33426         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33427
33428         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33429         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33430
33431         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33432         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33433         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33434         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33435         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33436         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33437         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33439         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33443         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33444         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33445         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33446         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33447         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33448         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33449         Moved ...
33450         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33451         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33452         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33453         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33454         Moved ...
33455         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33456         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33457         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33458         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33459         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33463         Moved ...
33464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33465         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33466         Moved ...
33467         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33469         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33470         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33473         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33474         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33475         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33477         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33478         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33479         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33480         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33481         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33482         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33483         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33484
33485         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33486         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33487         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33488         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33489         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33490
33491         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33492         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33493         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33494         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33495         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33496         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33497         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33498         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33499         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33500         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33501
33502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33504
33505         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33506         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33507         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33508         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33509         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33510         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33511         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33512         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33513         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33514         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33515         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33516         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33517         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33518         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33520         Update #include.
33521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33522         Likewise.
33523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33524         Likewise.
33525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33526         Likewise.
33527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33528         Likewise.
33529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33530         Likewise.
33531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33532         Likewise.
33533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33534         Likewise.
33535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33536         Likewise.
33537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33538         Likewise.
33539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33544         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33549         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33554
33555         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33556         that was previously under [RESET_PID].
33557         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33558         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33559         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33560
33561         * sysdeps/i386/nptl/Implies: New file.
33562         * sysdeps/x86_64/nptl/Implies: New file.
33563         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33564         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33565         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33566         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33567
33568         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33569         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33570         (__libc_vfork): New strong alias.
33571         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33572         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33573
33574         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33575         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33576         (__libc_vfork): New strong alias.
33577         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33578         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33579
33580         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33581         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33582         (__libc_vfork): New strong alias.
33583         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33584         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33585         * nptl/pt-vfork.c: New file.
33586         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33587         (libpthread: GLIBC_2.20): New version set (empty).
33588
33589 2014-05-14  Will Newton  <will.newton@linaro.org>
33590
33591         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33592         rather than #if.
33593
33594 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33595
33596         [BZ #16564]
33597         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33598         arguments with exponent 65 or above.
33599         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33600         arguments 0x1p113L or above.
33601         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33602         to arguments 0x1p107L or above.
33603         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33604         positive arguments with exponent 65 or above.
33605         * math/auto-libm-test-in: Add more tests of log1p.
33606         * math/auto-libm-test-out: Regenerated.
33607
33608         [BZ #16928]
33609         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33610         non-finite arguments is +0.
33611         * math/s_cacosf.c (__cacosf): Likewise.
33612         * math/s_cacosl.c (__cacosl): Likewise.
33613         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33614         * sysdeps/i386/fpu/libm-test-ulps: Update.
33615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33616
33617         [BZ #16927]
33618         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33619         value.
33620         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33621         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33622         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33623         for explicit high bit of mantissa when testing for argument equal
33624         to 1.
33625         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33626         * sysdeps/i386/fpu/libm-test-ulps: Update.
33627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33628
33629         [BZ #16516]
33630         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33631         (__erf): Scale by 16 instead of 8 in potentially underflowing
33632         case.  Ensure exception if result actually underflows.
33633         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33634         (__erff): Scale by 16 instead of 8 in potentially underflowing
33635         case.  Ensure exception if result actually underflows.
33636         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33637         (efx8): Remove variable.
33638         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33639         case.  Ensure exception if result actually underflows.
33640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33641         (efx8): Remove variable.
33642         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33643         case.  Ensure exception if result actually underflows.
33644         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33645         (efx8): Remove variable.
33646         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33647         case.  Ensure exception if result actually underflows.
33648         * math/auto-libm-test-in: Add more tests of erf.
33649         * math/auto-libm-test-out: Regenerated.
33650
33651 2014-05-14  Andreas Schwab  <schwab@suse.de>
33652
33653         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33654         Remove code conditionalized on USE___THREAD.
33655
33656         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33657         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33658         not definedness.
33659
33660 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33661
33662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33663         Define unconditionally.
33664         (__ASSUME_O_CLOEXEC): Likewise.
33665         (__ASSUME_SOCK_CLOEXEC): Likewise.
33666         (__ASSUME_IN_NONBLOCK): Likewise.
33667         (__ASSUME_PIPE2): Likewise.
33668         (__ASSUME_EVENTFD2): Likewise.
33669         (__ASSUME_SIGNALFD4): Likewise.
33670         (__ASSUME_DUP3): Likewise.
33671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33672         (__ASSUME_DUP3): Do not define.
33673         (__ASSUME_EVENTFD2): Likewise.
33674         (__ASSUME_IN_NONBLOCK): Likewise.
33675         (__ASSUME_O_CLOEXEC): Likewise.
33676         (__ASSUME_PIPE2): Likewise.
33677         (__ASSUME_SIGNALFD4): Likewise.
33678         (__ASSUME_SOCK_CLOEXEC): Likewise.
33679         (__ASSUME_UTIMES): Undefine.
33680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33681         (__ASSUME_UTIMES): Do not define.
33682         (__ASSUME_O_CLOEXEC): Likewise.
33683         (__ASSUME_SOCK_CLOEXEC): Likewise.
33684         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33685         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33686         0x020621].
33687         (__ASSUME_PIPE2): Likewise.
33688         (__ASSUME_EVENTFD2): Likewise.
33689         (__ASSUME_SIGNALFD4): Likewise.
33690         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33691         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33692         Do not define.
33693         (__ASSUME_EVENTFD2): Likewise.
33694         (__ASSUME_SIGNALFD4): Likewise.
33695         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33696         (__ASSUME_32BITUIDS): Likewise.
33697         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33698         (__ASSUME_IPC64): Likewise.
33699         (__ASSUME_ST_INO_64_BIT): Likewise.
33700         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33701         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33702         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33703         (__ASSUME_UTIMES): Do not define.
33704         (__ASSUME_PSELECT): Likewise.
33705         (__ASSUME_PPOLL): Likewise.
33706         (__ASSUME_O_CLOEXEC): Likewise.
33707         (__ASSUME_SOCK_CLOEXEC): Likewise.
33708         (__ASSUME_IN_NONBLOCK): Likewise.
33709         (__ASSUME_PIPE2): Likewise.
33710         (__ASSUME_EVENTFD2): Likewise.
33711         (__ASSUME_SIGNALFD4): Likewise.
33712         (__ASSUME_DUP3): Likewise.
33713         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33714         (__ASSUME_UTIMES): Likewise.
33715         (__ASSUME_O_CLOEXEC): Likewise.
33716         (__ASSUME_SOCK_CLOEXEC): Likewise.
33717         (__ASSUME_IN_NONBLOCK): Likewise.
33718         (__ASSUME_PIPE2): Likewise.
33719         (__ASSUME_EVENTFD2): Likewise.
33720         (__ASSUME_SIGNALFD4): Likewise.
33721         (__ASSUME_DUP3): Likewise.
33722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33723         (__ASSUME_UTIMES): Likewise.
33724         (__ASSUME_O_CLOEXEC): Likewise.
33725         (__ASSUME_SOCK_CLOEXEC): Likewise.
33726         (__ASSUME_IN_NONBLOCK): Likewise.
33727         (__ASSUME_PIPE2): Likewise.
33728         (__ASSUME_EVENTFD2): Likewise.
33729         (__ASSUME_SIGNALFD4): Likewise.
33730         (__ASSUME_DUP3): Likewise.
33731         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33732         Likewise.
33733         (__ASSUME_UTIMES): Likewise.
33734         (__ASSUME_EVENTFD2): Likewise.
33735         (__ASSUME_SIGNALFD4): Likewise.
33736         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33737         (__ASSUME_O_CLOEXEC): Likewise.
33738         (__ASSUME_SOCK_CLOEXEC): Likewise.
33739         (__ASSUME_IN_NONBLOCK): Likewise.
33740         (__ASSUME_PIPE2): Likewise.
33741         (__ASSUME_EVENTFD2): Likewise.
33742         (__ASSUME_SIGNALFD4): Likewise.
33743         (__ASSUME_DUP3): Likewise.
33744         (__ASSUME_UTIMES): Undefine.
33745
33746         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33747         feclearexcept.  Remove symbol versioning code.
33748         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33749         symbol versioning code.
33750         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33751         symbol versioning code.
33752         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33753         feupdateenv.  Remove symbol versioning code.
33754         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33755         fegetexceptflag.  Remove symbol versioning code.
33756         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33757         fesetexceptflag.  Remove symbol versioning code.
33758         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33759         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33760         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33761         (__posix_fadvise64_l32): Remove prototype.
33762         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33763         code.
33764
33765 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33766
33767         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33768         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33769         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33770         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33771
33772 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33773
33774         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33775         current working directory
33776
33777 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33778
33779         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33780         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33781         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33782         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33783         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33784         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33785         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33786         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33788         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33792         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33793         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33796         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33800         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33804         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33808         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33809         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33810         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33812         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33813         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33814         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33815         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33816         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33817         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33818         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33819         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33820         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33821
33822         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33823         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33824
33825         * sysdeps/unix/sysv/linux/arm/Makefile
33826         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33827         Add rt-aeabi_unwind_cpp_pr1.
33828         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33829         Add nptl-aeabi_unwind_cpp_pr1.
33830         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33831         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33832         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33833         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33834         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33835         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33836
33837         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33838         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33839         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33840         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33841
33842         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33843         Deconditionalize the code that was previously under [RESET_PID].
33844         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33845
33846         * sysdeps/generic/exit-thread.h: New file.
33847         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33848         * include/unistd.h (__exit_thread): Remove declaration.
33849         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33850         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33851         * csu/libc-start.c: Include <exit-thread.h>.
33852         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33853         * nptl/pthread_create.c: Include <exit-thread.h>.
33854         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33855         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33856         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33857         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33858         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33859         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33860         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33861         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33862         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33863         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33864         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33865         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33866         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33867         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33868         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33869         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33870         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33871
33872 2014-05-13  Andreas Schwab  <schwab@suse.de>
33873
33874         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33875
33876 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33877
33878         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33879         (__ASSUME_UTIMES): Do not condition on kernel version.
33880         (__ASSUME_PSELECT): Define unconditionally.
33881         (__ASSUME_PPOLL): Likewise.
33882         (__ASSUME_ATFCTS): Likewise.
33883         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33884         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33885         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33886         (__ASSUME_UTIMENSAT): Define unconditionally.
33887         (__ASSUME_PRIVATE_FUTEX): Likewise.
33888         (__ASSUME_FALLOCATE): Likewise.
33889         (__ASSUME_O_CLOEXEC): Likewise.
33890         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33891         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33892         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33893         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33894         (__ASSUME_IN_NONBLOCK): Likewise.
33895         (__ASSUME_PIPE2): Likewise.
33896         (__ASSUME_EVENTFD2): Likewise.
33897         (__ASSUME_SIGNALFD4): Likewise.
33898         (__ASSUME_DUP3): Likewise.
33899         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33900         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33901         (__ASSUME_AT_RANDOM): Likewise.
33902         (__ASSUME_PREADV): Likewise.
33903         (__ASSUME_PWRITEV): Likewise.
33904         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33905         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33906         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33907         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33908         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33909         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33910         (__ASSUME_O_CLOEXEC): Define unconditionally.
33911         (__ASSUME_PSELECT): Do not undefine conditionally.
33912         (__ASSUME_PPOLL): Likewise.
33913         (__ASSUME_ATFCTS): Likewise.
33914         (__ASSUME_SET_ROBUST_LIST): Likewise.
33915         (__ASSUME_UTIMENSAT): Likewise.
33916         (__ASSUME_FDATASYNC): Define unconditionally.
33917         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33918         (__ASSUME_SIGFRAME_V2): Likewise.
33919         )__ASSUME_EVENTFD2): Likewise.
33920         (__ASSUME_SIGNALFD4): Likewise.
33921         (__ASSUME_PSELECT): Do not undefine conditionally.
33922         (__ASSUME_PPOLL): Likewise.
33923         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33924         (__ASSUME_PSELECT): Define unconditionally.
33925         (__ASSUME_PPOLL): Likewise.
33926         (__ASSUME_O_CLOEXEC): Likewise.
33927         (__ASSUME_SOCK_CLOEXEC): Likewise.
33928         (__ASSUME_IN_NONBLOCK): Likewise.
33929         (__ASSUME_PIPE2): Likewise.
33930         (__ASSUME_EVENTFD2): Likewise.
33931         (__ASSUME_SIGNALFD4): Likewise.
33932         (__ASSUME_DUP3): Likewise.
33933         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33934         (__ASSUME_O_CLOEXEC): Likewise.
33935         (__ASSUME_SOCK_CLOEXEC): Likewise.
33936         (__ASSUME_IN_NONBLOCK): Likewise.
33937         (__ASSUME_PIPE2): Likewise.
33938         (__ASSUME_EVENTFD2): Likewise.
33939         (__ASSUME_SIGNALFD4): Likewise.
33940         (__ASSUME_DUP3): Likewise.
33941         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33942         (__ASSUME_EVENTFD2): Likewise.
33943         (__ASSUME_SIGNALFD4): Likewise.
33944         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33945
33946 2014-05-12  Andreas Schwab  <schwab@suse.de>
33947
33948         [BZ #16932]
33949         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33950         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33951         than maximum RPC packet size.
33952         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33953         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33954         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33955         (_nss_nis_getservbyport_r): Likewise.
33956
33957 2014-05-12  Will Newton  <will.newton@linaro.org>
33958
33959         * malloc/Makefile (tests): Add tst-mallopt.
33960         * malloc/tst-mallopt.c: New file.
33961
33962 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33963
33964         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33965         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33966
33967 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33968
33969         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33970         (tst-tlsmod6.so): Likewise.
33971
33972 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33973
33974         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33975
33976 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33977
33978         [BZ #16064]
33979         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33980         and <dl-procinfo.h>.
33981         (__fegetenv): Save SSE state in envp->__eip if supported.
33982         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33983         envp->__eip if supported.
33984         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33985         and <dl-procinfo.h>.
33986         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33987         __data_offset and __data_selector in environment to 0.  Set SSE
33988         state if supported.
33989         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33990         test-fenv-sse.
33991         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33992         -mfpmath=sse.
33993         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33994
33995 2014-05-09  Will Newton  <will.newton@linaro.org>
33996
33997         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33998         and libc_relro_required for ARM.
33999         * sysdeps/arm/preconfigure: Regenerate.
34000
34001 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34002             Stefan Liebler  <stli@linux.vnet.ibm.com>
34003
34004         * config.make.in (enable-lock-elision): New Makefile variable.
34005         * configure.ac: Likewise.
34006         * configure: Regenerate.
34007         * sysdeps/s390/configure.ac:
34008         Add check for gcc transactions support.
34009         * sysdeps/s390/configure: Regenerate.
34010         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34011         Build elision files if enabled.
34012         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34013         Add lock elision support for s390.
34014         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34015         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34016         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34017         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34018         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34019         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34020         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34021         Likewise.
34022         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34023         Likewise.
34024         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34025         Likewise.
34026         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34027         Likewise.
34028         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34029         (__lll_timedlock_elision, __lll_lock_elision)
34030         (__lll_unlock_elision, __lll_trylock_elision)
34031         (lll_timedlock_elision, lll_lock_elision)
34032         (lll_unlock_elision, lll_trylock_elision): Add.
34033         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34034         (pthread_mutex_t): Add lock elision support for s390.
34035
34036 2014-05-14  Wilco  <wdijkstr@arm.com>
34037
34038         * sysdeps/arm/fclrexcpt.c: Cleanup.
34039         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34040         * sysdeps/arm/feenablxcpt.c: Cleanup.
34041         * sysdeps/arm/fegetenv.c: Cleanup.
34042         * sysdeps/arm/fegetexcept.c: Cleanup.
34043         * sysdeps/arm/fegetround.c: Cleanup.
34044         * sysdeps/arm/feholdexcpt.c: Cleanup.
34045         * sysdeps/arm/fesetenv.c: Cleanup.
34046         * sysdeps/arm/fesetround.c: Cleanup.
34047         * sysdeps/arm/feupdateenv.c: Cleanup.
34048         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34049         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34050         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34051         * sysdeps/arm/ftestexcept.c: Cleanup.
34052         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34053         * sysdeps/arm/setfpucw.c: Cleanup.
34054
34055 2014-05-09  Will Newton  <will.newton@linaro.org>
34056
34057         * sysdeps/arm/armv7/strcmp.S: New file.
34058         * NEWS: Mention addition of ARMv7 optimized strcmp.
34059
34060 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34061
34062         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34063         look for %.ac rather than %.in.
34064
34065         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34066         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34067         * sysdeps/mach/hurd/configure: Regenerated.
34068         * sysdeps/unix/sysv/linux/configure: Regenerated.
34069
34070         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34071
34072 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34073
34074         [BZ# 16922]
34075         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34076         (LONG_SUB): Ditto.
34077         (PTR_SUB): Ditto.
34078
34079 2014-05-07  Andreas Schwab  <schwab@suse.de>
34080
34081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34082         when skipping over non-matching result from nscd.
34083
34084 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34085
34086         [BZ #16876]
34087         * nptl/sockperf.c (client): Check socket return value.
34088
34089         [BZ #16877]
34090         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34091         nscd security class.
34092
34093 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34094
34095         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34096         * sysdeps/arm/unwind.h: ... here.
34097
34098 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34099
34100         [BZ# 16916]
34101         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34102         Define.
34103
34104 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34105
34106         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34107         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34108         multiarch strncpy for PPC64.
34109         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34110         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34112         multiarch optimizations.
34113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34114         (__libc_ifunc_impl_list): Likewise.
34115         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34116         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34117         multiarch stpncpy for PPC64.
34118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34119         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34120
34121 2014-05-06  Andreas Schwab  <schwab@suse.de>
34122
34123         [BZ #16912]
34124         * gmon/mcount.c (_MCOUNT_DECL): Use
34125         atomic_compare_and_exchange_bool_acq instead of
34126         catomic_compare_and_exchange_bool_acq.
34127
34128 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34129
34130         * elf/Makefile (others, install-bin): Remove pldd.
34131         (pldd-modules): Variable removed.
34132         ($(objpfx)pldd): Target removed.
34133         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34134         (others, install-bin): Append pldd here.
34135         ($(objpfx)pldd): New target.
34136
34137         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34138         to 0, so the first #if test emitted later doesn't see it undefined.
34139         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34140         * sysdeps/gnu/errlist.c: Regenerated.
34141
34142 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34143
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34145         [libc_hidden_builtin_def]: Define to empty value.
34146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34147         [libc_hidden_builtin_def]: Likewise.
34148         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34149         [libc_hidden_builtin_def]: Likewise.
34150         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34151         [libc_hidden_builtin_def]: Likewise.
34152         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34153         __redirect_memcpy and define ifunc as default hidden symbol.
34154         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34155         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34156
34157 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34158
34159         * locale/iso-4217.def: Reintroduce XDR currency.
34160
34161 2014-05-04  Allan McRae  <allan@archlinux.org>
34162
34163         * po/eo.po: Update Esperanto translation from translation project.
34164
34165 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34166
34167         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34168         and FEATURE_INDEX_MAX to 1.
34169         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34170
34171 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34172
34173         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34174         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34175         * iconvdata/big5.c (ONE_DIRECTION): Define.
34176         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34177         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34178         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34179         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34180         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34181         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34182         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34183         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34184         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34185         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34186         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34187         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34188         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34189         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34190         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34191         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34192         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34193         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34194         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34195         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34196         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34197         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34198         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34199         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34200         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34201         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34202         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34203         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34204         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34205         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34206         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34207         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34208         * iconvdata/johab.c (ONE_DIRECTION): Define.
34209         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34210         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34211         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34212         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34213         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34214         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34215         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34216         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34217         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34218         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34219
34220 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34221
34222         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34223         (_IO_JUMPS_OFFSET): Define to 0.
34224
34225         * nptl/sysdeps/pthread/bits/libc-lock.h
34226         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34227         (__libc_lock_define_initialized_recursive): Always define using
34228         initializer.  Modern compilers treat uninitialized (implicit zero) and
34229         explicit zero initializers the same (i.e. put the datum in bss).
34230
34231 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34232
34233         * nscd/nscd-client.h: Include <string.h>.
34234
34235 2014-05-01  David S. Miller  <davem@davemloft.net>
34236
34237         [BZ #16885]
34238         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34239         multiple zero bytes exist at the end of a string.
34240         Reported by Aurelien Jarno <aurelien@aurel32.net>
34241
34242         * string/test-strcmp.c (check): Add explicit test for situations where
34243         there are multiple zero bytes after the first.
34244
34245 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34246
34247         [BZ #16890]
34248         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34249         when compiling wprintf.
34250         * stdio-common/tstdiomisc.c (t3): New function.
34251         (main): Call it.
34252
34253 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34254
34255         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34256         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34257         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34258         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34259
34260 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34261
34262         * stdlib/longlong.h: Updated from GCC.
34263
34264 2014-05-01  Will Newton  <will.newton@linaro.org>
34265             Bernard Ogden  <bernie.ogden@linaro.org>
34266
34267         * NEWS: Update fixed bug list.
34268
34269         [BZ #15119]
34270         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34271
34272 2014-04-30  David S. Miller  <davem@davemloft.net>
34273
34274         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34275         (libc_feholdexcept_setround_sparc_ctx): New function.
34276         (libc_fesetenv_sparc_ctx): Likewise.
34277         (libc_feupdateenv_sparc_ctx): Likewise.
34278         (libc_feholdsetround_sparc_ctx): Likewise.
34279         (libc_feholdexcept_setround_ctx): Define.
34280         (libc_feholdexcept_setroundf_ctx): Likewise.
34281         (libc_feholdexcept_setroundl_ctx): Likewise.
34282         (libc_fesetenv_ctx): Likewise.
34283         (libc_fesetenvf_ctx): Likewise.
34284         (libc_fesetenvl_ctx): Likewise.
34285         (libc_feupdateenv_ctx): Likewise.
34286         (libc_feupdateenvf_ctx): Likewise.
34287         (libc_feupdateenvl_ctx): Likewise.
34288         (libc_feresetround_ctx): Likewise.
34289         (libc_feresetroundf_ctx): Likewise.
34290         (libc_feresetroundl_ctx): Likewise.
34291         (libc_feholdsetround_ctx): Likewise.
34292         (libc_feholdsetroundf_ctx): Likewise.
34293         (libc_feholdsetroundl_ctx): Likewise.
34294
34295         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34296         with __USE_GNU instead of XOPEN cpp guards.
34297
34298         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34299         0.
34300
34301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34302         with XOPEN cpp guards.
34303
34304 2014-04-30  Julian Brown  <julian@codesourcery.com>
34305
34306         [BZ #16888]
34307         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34308         handling.
34309
34310 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34311
34312         [BZ #9894]
34313         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34314         Change to 2.6.32.
34315         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34316         * sysdeps/unix/sysv/linux/configure: Regenerated.
34317         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34318         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34319         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34320         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34321         * README: Update reference to required Linux kernel version.
34322         * manual/install.texi (Linux): Update reference to required Linux
34323         kernel headers version.
34324         * INSTALL: Regenerated.
34325
34326         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34327         header inclusion.
34328         [POSIX] (limits.h): Likewise.
34329         [POSIX] (math.h): Likewise.
34330         [POSIX] (sys/wait.h): Likewise.
34331         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34332         function.
34333         [POSIX] (stddef.h): Do not allow header inclusion.
34334
34335 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34336
34337         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34338
34339 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34340
34341         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34342         Return immediately after lll_futex_wake.
34343
34344 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34345
34346         [BZ #16791]
34347         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34348         structure.
34349         (datahead_init_pos): Call datahead_init_common early.
34350         (datahead_init_neg): Likewise.
34351
34352         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34353         datahead_init_neg): New functions.
34354         * nscd/aicache.c (addhstaiX): Use them.
34355         * nscd/grpcache.c (cache_addgr): Likewise.
34356         * nscd/hstcache.c (cache_addhst): Likewise.
34357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34358         * nscd/netgroupcache.c (do_notfound): Likewise.
34359         (addgetnetgrentX): Likewise.
34360         (addinnetgrX): Likewise.
34361         * nscd/pwdcache.c (cache_addpw): Likewise.
34362         * nscd/servicescache.c (cache_addserv): Likewise.
34363
34364 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34365             Atsushi Onoe  <atsushi@onoe.org>
34366
34367         [BZ #14308]
34368         [BZ #12994]
34369         [BZ #13651]
34370         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34371         one response is valid.
34372         * resolv/res_send.c (send_dg): Check for validity of other
34373         response if the current response is a referral.
34374
34375 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34376
34377         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34378
34379 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34380
34381         [BZ #16823]
34382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34383         Always divide by positive zero when computing -Inf result.
34384         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34385         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34386
34387 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34388
34389         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34390         FPSCR if value do not change.
34391         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34392         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34393         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34394         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34395         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34396         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34397         function.
34398
34399 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34400
34401         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34402         * sysdeps/unix/sysv/linux/hppa: Move directory from
34403         ports/systeps/unix/sysv/linux/hppa.
34404         * README: Update listing for hppa-*-linux-gnu.
34405
34406 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34407
34408         [BZ #16754]
34409         * manual/stdio.texi (Hook functions): Fix types of stream hook
34410         functions.
34411         [BZ #16854]
34412         * socket/sys/socket.h: Fix typo in comment.
34413
34414 2014-04-28  Wilco  <wdijkstr@arm.com>
34415
34416         * sysdeps/arm/fenv_private.h: New file.
34417         * sysdeps/arm/math_private.h: New file.
34418         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34419
34420 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34421
34422         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34423         with __int128_t.
34424         (La_x86_64_retval): Likewise.
34425
34426 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34427
34428         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34429         fpsr if value didn't change.
34430         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34431         to fpcr if value didn't change.
34432         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34433         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34434         fpsr or fpcr if value didn't change.
34435         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34436         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34437         fpcr if value didn't change.
34438         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34439         to fpsr if value didn't change.
34440
34441 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34442
34443         * nptl/tst-sem3.c: Use test-skeleton.c
34444         (main): Rename to do_test.  Use return instead of
34445         exit.
34446         * nptl/tst-sem4.c: Use test-skeleton.c
34447         (main): Rename to do_test.
34448
34449 2014-04-22  David S. Miller  <davem@davemloft.net>
34450
34451         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34452         (struct sigaction): New struct member __glibc_reserved0, change
34453         type of sa_flags to int.
34454
34455 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34456
34457         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34458         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34459
34460 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34461
34462         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34463         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34464
34465 2014-04-22  Will Newton  <will.newton@linaro.org>
34466             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34467
34468         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34469         (__longjmp): Add longjmp and longjmp_target SystemTap
34470         probes.
34471         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34472         (__sigsetjmp): Add setjmp SystemTap probe.
34473
34474 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34475
34476         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34477         match manual order.
34478
34479 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34480
34481         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34482
34483         * sysdeps/powerpc/fpu/fenv_private.h
34484         (libc_feholdexcept_setroundl_ctx): Define to
34485         libc_feholdexcept_setround_ppc_ctx.
34486         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34487         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34488         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34489         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34490
34491 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34492
34493         * sysdeps/aarch64/math-tests.h: New file.
34494
34495 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34496
34497         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34498         New.
34499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34500         Check and set bit_AVX2_Usable.
34501         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34502         macro.
34503         (bit_AVX2): Likewise.
34504         (index_AVX2_Usable): Likewise.
34505         (CPUID_AVX2): Likewise.
34506         (HAS_AVX2): Likewise.
34507
34508 2014-04-17  Will Newton  <will.newton@linaro.org>
34509
34510         * manual/setjmp.texi (System V contexts): Add note that
34511         calling setcontext on a context created by a call to a
34512         signal handler is undefined.  Update text to note that
34513         setcontext from a signal handler is possible but not
34514         recommended.
34515
34516         [BZ #16629]
34517         * stdlib/tst-setcontext.c: Include signal.h.
34518         (main): Check that the signal stack before and
34519         after swapcontext is the same.
34520
34521         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34522         Re-implement to restore registers in user code and avoid
34523         rt_sigreturn system call.
34524
34525 2014-04-17  Wilco  <wdijkstr@arm.com>
34526
34527         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34528         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34529         * math/test-fenv.c: Skip exception trap tests on targets which only
34530         support non-stop mode.
34531
34532 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34533             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34534
34535         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34536         (libc_feholdsetround_aarch64_ctx)
34537         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34538         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34539         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34540         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34541         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34542         (libc_feresetround_noexl_ctx): Define.
34543
34544 2014-04-16  Richard Henderson  <rth@redhat.com>
34545
34546         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34547
34548         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34549         unwind tables.
34550
34551         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34552         const from the non-libc, non-ldso copy.
34553
34554         * sysdeps/alpha/libm-test-ulps: Regenerate.
34555
34556 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34557             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34558
34559         * sysdeps/aarch64/fpu/math_private.h: New file.
34560
34561 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34562
34563         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34564
34565 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34566
34567         [BZ #16275]
34568         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34569         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34571         Intel MPX bound registers before _dl_profile_fixup.
34572         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34573         registers after _dl_profile_fixup.  Save and restore bound
34574         registers bnd0/bnd1 when calling _dl_call_pltexit.
34575         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34576         (LR_BND_OFFSET): Likewise.
34577         (LRV_BND0_OFFSET): Likewise.
34578         (LRV_BND1_OFFSET): Likewise.
34579
34580 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34581
34582         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34583         to...
34584         * sysdeps/mach/hurd/i386/tls.h: ... here.
34585         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34586         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34587         fields.
34588
34589 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34590
34591         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34592
34593 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34594
34595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34596
34597 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34598
34599         [BZ #14770]
34600         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34601         * sysdeps/s390/configure: Regenerate.
34602
34603         [BZ #16824]
34604         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34605         Set round-to-nearest internally to reduce error accumulation.
34606
34607 2014-04-16  Alan Modra  <amodra@gmail.com>
34608
34609         [BZ #16740]
34610         [BZ #16619]
34611         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34612         * math/libm-test.inc (frexp_test_data): Add tests.
34613         * NEWS: Update fixed bug list.
34614
34615 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34616
34617         * benchtests/Makefile: Depend on libraries in build directory.
34618         (bench-math): Separate out math tests.
34619         (bench-pthread): Separate out pthread tests.
34620         (bench): Include math and pthread tests.
34621
34622 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34623
34624         [BZ #16831]
34625         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34626         _dl_debug_initialize.
34627
34628         * configure.ac: Remove SELinux header check.
34629         * configure: Regenerate.
34630         * nscd/selinux.c (perms): Array of const char* to permission names.
34631         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34632         default policy. Call string_to_security_class and string_to_av_perm to
34633         translate strings. Enforce default policy and call avs_has_perm with
34634         results of translated strings.
34635
34636 2014-04-13  David S. Miller  <davem@davemloft.net>
34637
34638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34639
34640 2014-04-12  Allan McRae  <allan@archlinux.org>
34641
34642         [BZ #16838]
34643         * manual/string.texi (Collation Functions): Fix qsort argument
34644         order in example.
34645         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34646
34647 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34648
34649         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34650         Make the test a no-op if there are no exceptions defined.
34651
34652 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34653
34654         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34655         enable-hardcoded-path-in-tests
34656
34657 2014-04-11  Will Newton  <will.newton@linaro.org>
34658
34659         * benchtests/Makefile (extra-objs): Add json-lib.o.
34660         (bench-func): Tidy up JSON output.
34661         * benchtests/bench-skeleton.c: Include json-lib.h.
34662         (main): Use JSON library functions to do output of
34663         benchmark results.
34664         * benchtests/bench-timing-type.c (main): Output the
34665         timing type simply, leaving formatting to the user.
34666         * benchtests/json-lib.c: New file.
34667         * benchtests/json-lib.h: Likewise.
34668
34669 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34670
34671         [BZ #15215]
34672         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34673         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34674         memory barriers.  Add comments.
34675         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34676         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34677         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34678         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34679         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34680         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34681
34682 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34683
34684         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34685         * sysdeps/s390/s390-64/configure.ac: ... this ...
34686         * sysdeps/s390/configure.ac: ... to here.
34687         * sysdeps/s390/s390-32/configure: Delete file.
34688         * sysdeps/s390/s390-64/configure: Delete file.
34689         * sysdeps/s390/configure: Regenerate.
34690
34691 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34692
34693         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34694
34695 2014-04-11  Will Newton  <will.newton@linaro.org>
34696
34697         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34698         to zero if it is not defined elsewhere.  (mtrim): Test
34699         the value of MALLOC_DEBUG with #if rather than #ifdef.
34700
34701 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34702
34703         * benchtests/pthread_once-inputs: New file.
34704         * benchtests/pthread_once-source.c: New file.
34705         * benchtests/README: Update documentation.
34706
34707 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34708             H.J. Lu  <hongjiu.lu@intel.com>
34709
34710         [BZ #16275]
34711         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34712         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34713         * sysdeps/x86_64/configure: Regenerated.
34714         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34715         macro.
34716         (REGISTER_SAVE_RAX): Likewise.
34717         (REGISTER_SAVE_RCX): Likewise.
34718         (REGISTER_SAVE_RDX): Likewise.
34719         (REGISTER_SAVE_RSI): Likewise.
34720         (REGISTER_SAVE_RDI): Likewise.
34721         (REGISTER_SAVE_R8): Likewise.
34722         (REGISTER_SAVE_R9): Likewise.
34723         (REGISTER_SAVE_BND0): Likewise.
34724         (REGISTER_SAVE_BND1): Likewise.
34725         (REGISTER_SAVE_BND2): Likewise.
34726         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34727         bound registers when calling _dl_fixup.
34728
34729 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34730
34731         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34732         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34733         of its definition.
34734         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34735         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34736         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34737         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34738         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34739         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34740         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34741
34742 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34743
34744         [BZ #15514]
34745         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34746         pathconf(_PC_NAME_MAX).
34747
34748 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34749
34750         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34751         Remove macro usage.
34752         (__PTHREAD_SPINS): Move definition to ...
34753         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34754         (__PTHREAD_SPINS): ... here.
34755         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34756         (__PTHREAD_SPIN): Likewise.
34757         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34758         (__PTHREAD_SPIN): Likewise.
34759         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34760         (__PTHREAD_SPIN): Likewise.
34761         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34762         (__PTHREAD_SPIN): Likewise.
34763         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34764         (__PTHREAD_SPIN): Likewise.
34765         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34766         (__PTHREAD_SPIN): Likewise.
34767         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34768         (__PTHREAD_SPIN): Likewise.
34769         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34770         (__PTHREAD_SPIN): Likewise.
34771         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34772         (__PTHREAD_SPIN): Likewise.
34773         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34774         (__PTHREAD_SPIN): Likewise.
34775         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34776         (__PTHREAD_SPIN): Likewise.
34777         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34778         (__PTHREAD_SPIN): Likewise.
34779
34780         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34781         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34782         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34783         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34784         imply folder.
34785         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34786         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34787         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34788         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34789         correct imply path.
34790         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34791         strlen symbol for non multi-arch builds.
34792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34793         missing hidden_def and weak_alias.
34794
34795 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34796
34797         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34798
34799 2014-04-07  Will Newton  <will.newton@linaro.org>
34800
34801         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34802         and contents.  [!_LIBC] Remove #ifndef and contents.
34803         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34804         * string/memccpy.c (__memccpy): Use ANSI prototype.
34805         * string/memfrob.c (memfrob): Likewise.
34806         * string/strcoll.c (STRCOLL): Likewise.
34807         * string/strlen.c (strlen): Likewise.
34808         * string/strtok.c (STRTOK): Likewise.
34809         * string/strcat.c: Remove unused #include of memcopy.h.
34810         (strcat): Use ANSI prototype.
34811         * string/strchr.c: Remove unused #include of memcopy.h.
34812         (strchr): Use ANSI prototype.
34813         * string/strcmp.c: Remove unused #include of memcopy.h.
34814         (strcmp): Use ANSI prototype.
34815         * string/strcpy.c: Remove unused #include of memcopy.h.
34816         (strcpy): Use ANSI prototype.
34817
34818 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34819
34820         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34821         * config.make.in (config-extra-cppflags): Set it from
34822         libc_extra_cppflags.
34823         * configure.ac (libc_extra_cflags): Make it accumulate over
34824         configure fragments.
34825         (libc_extra_cppflags): New flag.
34826         * configure. Regenerate.
34827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34828         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34829         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34831
34832         [BZ #16815]
34833         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34834         result for FE_DOWNWARD rounding mode.
34835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34836         Likewise.
34837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838
34839 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34840
34841         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34842         in function argument name.
34843
34844 2014-04-03  David Svoboda  <svoboda@cert.org>
34845
34846         [BZ #5666]
34847         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34848         explicitly.
34849
34850 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34851
34852         * elf/dl-unmap-segments.h: New file.
34853         * sysdeps/generic/ldsodefs.h
34854         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34855         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34856         * elf/dl-fptr.c: Likewise.
34857         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34858         * sysdeps/aarch64/tlsdesc.c: Likewise.
34859         * sysdeps/arm/tlsdesc.c: Likewise.
34860         * sysdeps/i386/tlsdesc.c: Likewise.
34861         * sysdeps/tile/dl-runtime.c: Likewise.
34862         * sysdeps/x86_64/tlsdesc.c: Likewise.
34863         * elf/dl-load.h: New file.
34864         * elf/dl-load.c: Include it.
34865         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34866         Macros moved to dl-load.h.
34867         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34868         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34869         Use _dl_unmap_segments in place of __munmap.
34870         Break out segment-mapping loop into ...
34871         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34872
34873 2014-04-03  Will Newton  <will.newton@linaro.org>
34874
34875         * elf/dl-lookup.c (do_lookup_x): Remove comment
34876         referring to nested function and move variable
34877         declarations down to before first use.
34878
34879 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34880
34881         [BZ #16799]
34882         [BZ #16800]
34883         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34884         with 0 numerator.
34885         * math/s_catanf.c (__catanf): Likewise.
34886         * math/s_catanh.c (__catanh): Likewise.
34887         * math/s_catanhf.c (__catanhf): Likewise.
34888         * math/s_catanhl.c (__catanhl): Likewise.
34889         * math/s_catanl.c (__catanl): Likewise.
34890         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34891         by positive zero when computing -Inf result.
34892         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34893         (catanh_test): Likewise.
34894         * sysdeps/i386/fpu/libm-test-ulps: Update.
34895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34896
34897         [BZ #16789]
34898         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34899         instead of using underflowing value in computing result.
34900         * math/s_clog10.c (__clog10): Likewise.
34901         * math/s_clog10f.c (__clog10f): Likewise.
34902         * math/s_clog10l.c (__clog10l): Likewise.
34903         * math/s_clogf.c (__clogf): Likewise.
34904         * math/s_clogl.c (__clogl): Likewise.
34905         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34906         (clog10_test): Likewise.
34907         * sysdeps/i386/fpu/libm-test-ulps: Update.
34908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34909
34910 2014-04-02  Alan Modra  <amodra@gmail.com>
34911
34912         [BZ #16739]
34913         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34914         output when value is near a power of two.  Use int64_t for lx and
34915         remove casts.  Use decimal rather than hex exponent constants.
34916         Don't use long double multiplication when double will suffice.
34917         * math/libm-test.inc (nextafter_test_data): Add tests.
34918         * NEWS: Add 16739 and 16786 to bug list.
34919
34920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34921
34922         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34923
34924 2014-04-01  Will Newton  <will.newton@linaro.org>
34925
34926         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34927         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34928
34929 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34930
34931         [BZ #13347]
34932         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34933         * nptl/tst-setuid2.c: New file.
34934         * nptl/Makefile (xtests): Add tst-setuid2.
34935
34936 2014-04-01  Alan Modra  <amodra@gmail.com>
34937
34938         [BZ #16786]
34939         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34940
34941 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34942
34943         [BZ #6803]
34944         [BZ #6804]
34945         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34946         set errno as appropriate.
34947         * math/w_scalbf.c (__scalbf): Likewise.
34948         * math/w_scalbl.c (__scalbl): Likewise.
34949         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34950         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34951         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34952         Add more NaN tests.
34953
34954         [BZ #16349]
34955         * math/w_atan2.c: Include <errno.h>.
34956         (__atan2): Set errno for result underflowing to zero.
34957         * math/w_atan2f.c: Include <errno.h>.
34958         (__atan2f): Set errno for result underflowing to zero.
34959         * math/w_atan2l.c: Include <errno.h>.
34960         (__atan2l): Set errno for result underflowing to zero.
34961         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34962         tests.
34963         * math/auto-libm-test-out: Regenerated.
34964
34965 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34966
34967         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34968         Encode instruction correctly in little endian.
34969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34970         Likewise.
34971         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34972         Likewise.
34973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34974         Likewise.
34975         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34976         Likewise.
34977
34978 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34979
34980         [BZ #9894]
34981         * sysdeps/unix/sysv/linux/kernel-features.h
34982         [__sparc__ && !__arch64__ && !__sparc_v9__]
34983         (__ASSUME_SET_ROBUST_LIST): Do not define.
34984         [__sparc__ && !__arch64__ && !__sparc_v9__]
34985         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34986         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34987         Likewise.
34988         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34989         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34990         (__ASSUME_REQUEUE_PI): Likewise.
34991         (__ASSUME_SET_ROBUST_LIST): Likewise.
34992         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34993         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34994         Undefine.
34995         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34996         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34997         Likewise.
34998         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34999         Likewise.
35000         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35001         Likewise.
35002         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35003         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35004         Undefine.
35005         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35006         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35007         Likewise.
35008
35009         [BZ #16648]
35010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35011         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35012         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35013
35014 2014-03-31  Will Newton  <will.newton@linaro.org>
35015
35016         * benchtests/Makefile (bench): Add ffs and ffsll to list
35017         of tests.
35018         * benchtests/ffs-inputs: New file.
35019         * benchtests/ffsll-inputs: Likewise.
35020
35021 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35022
35023         [BZ #16770]
35024         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35025         too large before casting to int.
35026         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35027         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35028         * math/libm-test.inc (scalb_test_data): Add more tests.
35029
35030 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35031
35032         * benchtests/Makefile (DETAILED_OPT): New make option.
35033         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35034         set.
35035         * benchtests/bench-skeleton.c: Include stdbool.h.
35036         (main): Store and print timings per input.
35037         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35038         member to each argument value.
35039         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35040         (_print_arg_data): Initialize per-input timing to 0.
35041
35042         * benchtests/Makefile (timing-type): New binary.
35043         (bench-clean): Also remove bench-timing-type.
35044         (bench): New target for timing-type.
35045         (bench-func): Print output in JSON format.
35046         * benchtests/bench-skeleton.c (main): Print output in JSON
35047         format.
35048         * benchtests/bench-timing-type.c: New file.
35049         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35050         (TIMING_PRINT_STATS): Remove.
35051         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35052         name separately.
35053
35054         * benchtests/bench-modf.c: Remove.
35055         * benchtests/modf-inputs: New inputs file.
35056
35057 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35058
35059         [BZ #16362]
35060         * math/s_clog10.c (M_PI_LOG10E): New macro.
35061         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35062         imaginary parts are 0.
35063         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35064         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35065         imaginary parts are 0.
35066         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35067         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35068         imaginary parts are 0.
35069         * math/libm-test.inc (clog10_test_data): Update expected results
35070         for when real and imaginary parts are 0.
35071
35072 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35073
35074         * elf/dl-load.c: Finish conversion of __builtin_expect into
35075         __glibc_{un}likely.
35076
35077 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35078
35079         [BZ #16348]
35080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35081         1+x for argument with exponent below -67.
35082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35083         Likewise.
35084         * math/auto-libm-test-in: Add more tests of exp.
35085         * math/auto-libm-test-out: Regenerated.
35086
35087 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35088
35089         [BZ #16759]
35090         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35091         (nscd_getnetgrent): Use it.
35092
35093         [BZ #16760]
35094         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35095         of stpcpy.
35096
35097 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35098
35099         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35100         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35101         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35102         (lll_robust_unlock): Remove out of line section. Use cfi
35103         intrinsics.
35104         (LLL_STUB_UNWIND_INFO*): Remove.
35105         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35106         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35107         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35108         (lll_robust_unlock): Remove out of line section. Use cfi
35109         intrinsics.
35110         (LLL_STUB_UNWIND_INFO*): Remove.
35111
35112 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35113
35114         [BZ #16758]
35115         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35116         blank values.
35117
35118 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35119
35120         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35121
35122 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35123
35124         [BZ #16198]
35125         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35126         fnstenv.
35127         * math/test-fenv-preserve.c: New file.
35128         * math/Makefile (tests): Add test-fenv-preserve.
35129
35130 2014-03-26  Will Newton <will.newton@linaro.org>
35131
35132         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35133
35134 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35135
35136         * scripts/versionlist.awk: Partition the version sets and emit all
35137         GLIBC_* (sorted) before all others (sorted).
35138
35139 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35140
35141         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35142         GLIBC_2.2.5 version.
35143
35144 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35145
35146         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35147         calls.
35148
35149         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35150         previous change.
35151
35152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35153
35154 2014-03-25  Andreas Schwab  <schwab@suse.de>
35155
35156         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35157         label to be used after in6ailist is initialized.
35158
35159 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35160
35161         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35162         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35163
35164 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35165
35166         [BZ #16357]
35167         [BZ #16599]
35168         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35169         min_plus_half.
35170         (fp_formats): Update initializers.
35171         (init_fp_formats): Initialize new field.
35172         (output_for_one_input_case): Allow underflow for results up to
35173         min_plus_half.
35174         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35175         * math/auto-libm-test-in: Don't mark some underflows from asin and
35176         atanh as spurious.
35177         * math/auto-libm-test-out: Regenerated.
35178         * sysdeps/i386/fpu/libm-test-ulps: Update.
35179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35180
35181 2014-03-25  Andreas Schwab  <schwab@suse.de>
35182
35183         * libio/Makefile (tst-ftell-partial-wide-ENV)
35184         (tst-ftell-active-handler-ENV): Define.
35185
35186 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35187
35188         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35189
35190 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35191
35192         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35193
35194 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35195
35196         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35197         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35198         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35199
35200 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35201
35202         [BZ #16634]
35203         * elf/dl-load.c (open_verify): Add mode parameter.
35204         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35205         (open_path): Change from boolean 'secure' to complete flag 'mode'
35206         (_dl_map_object): Adjust.
35207         * elf/Makefile (tests): Add tst-dlopen-aout.
35208         * elf/tst-dlopen-aout.c: New test.
35209
35210 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35211
35212         [BZ #16714]
35213         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35214         (struct stat): Rename member pad0 to __glibc_reserved0.
35215
35216         [BZ #16712]
35217         * sysdeps/s390/s390-32/bits/wordsize.h
35218         (__WORDSIZE32_SIZE_ULONG): New define.
35219         * sysdeps/s390/s390-64/bits/wordsize.h
35220         (__WORDSIZE32_SIZE_ULONG): Likewise.
35221         * sysdeps/generic/stdint.h (SIZE_MAX):
35222         Define as UL if __WORDSIZE32_SIZE_ULONG.
35223
35224         [BZ #16713]
35225         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35226         (__glibc_reserved0): New variable.
35227         (sa_flags): Change type to int.
35228
35229         * posix/Makefile (before-compile): Use += before-compile instead
35230         of a :=.
35231
35232         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35233         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35234
35235 2014-03-20  Andreas Schwab  <schwab@suse.de>
35236
35237         [BZ #16743]
35238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35239         non-matching result from nscd.
35240
35241 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35242
35243         * scripts/bench.py: Moved to ...
35244         * benchtests/scripts/bench.py: ... here.
35245         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35246
35247 2014-03-24  Andreas Schwab  <schwab@suse.de>
35248
35249         [BZ #16002]
35250         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35251         alloca_account and account alloca use for struct in6ailist.
35252
35253 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35254
35255         [BZ #16284]
35256         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35257         rounding mode to recompute results that overflow to infinity or
35258         underflow to zero.
35259         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35260         bug 16284.
35261         * math/auto-libm-test-out: Regenerated.
35262         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35263         (ccosh_test): Likewise.
35264         (csin_test_data): Use plus_oflow.
35265         (csin_test): Use ALL_RM_TEST.
35266         (csinh_test_data): Use plus_oflow.
35267         (csinh_test): Use ALL_RM_TEST.
35268         * sysdeps/i386/fpu/libm-test-ulps: Update.
35269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35270
35271 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35272
35273         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35274         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35275         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35276
35277         [BZ #16731]
35278         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35279         when x - 1 is zero.
35280         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35281         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35282         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35283         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35284         argument is 1.
35285         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35286         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35287         zero.
35288         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35289         * sysdeps/i386/fpu/libm-test-ulps: Update.
35290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35291
35292 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35293
35294         * scripts/bench.pl: Remove file.
35295         * scripts/bench.py: New benchmark script.
35296         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35297         * benchtests/README: Mention python dependency.
35298         * scripts/pylintrc: New file.
35299         * scripts/pylint: New file.
35300
35301         * bits/mathdef.h: Use #ifdef instead of #if.
35302         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35303         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35304         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35305         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35306         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35307         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35308
35309 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35310             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35311
35312         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35314         and strpbrk-ppc64 objects.
35315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35316         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35317         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35318         multiarch strpbrk for POWER7.
35319         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35320         multiarch strpbrk for PPC64.
35321         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35322         ifunc selector.
35323         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35324         strpbrk for POWER7.
35325
35326 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35327
35328         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35329         (atan_test): Likewise.
35330         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35331         (atanh_test): Use ALL_RM_TEST.
35332         (atan2_test_data): Likewise.
35333         (cabs_test): Likewise.
35334         (cacosh_test): Likewise.
35335         (carg_test): Likewise.
35336         (casin_test): Likewise.
35337         (casinh_test): Likewise.
35338         (cbrt_test): Likewise.
35339         (csqrt_test): Likewise.
35340         (erf_test): Likewise.
35341         (erfc_test): Likewise.
35342         (pow10_test): Likewise.
35343         (exp2_test): Likewise.
35344         (hypot_test): Likewise.
35345         (j0_test): Likewise.
35346         (j1_test): Likewise.
35347         (lgamma_test): Likewise.
35348         (gamma_test): Likewise.
35349         (sincos_test): Likewise.
35350         (tanh_test): Likewise.
35351         (y0_test): Likewise.
35352         (y1_test): Likewise.
35353         * sysdeps/i386/fpu/libm-test-ulps: Update.
35354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35355
35356 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35357
35358         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35360         and strcspn-ppc64 objects.
35361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35362         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35363         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35364         multiarch strcspn for POWER7.
35365         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35366         multiarch strcspn for PPC64.
35367         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35368         ifunc selector.
35369         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35370         strcspn for POWER7.
35371
35372 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35373
35374         * math/gen-libm-test.pl (generate_testfile): Expect only function
35375         name as argument to AUTO_TESTS_* and pass results for all rounding
35376         modes to parse_args.
35377         (parse_auto_input): Separate inputs of automatic tests from
35378         outputs before storing in %auto_tests.
35379         * math/libm-test.inc (acos_test_data): Update call to
35380         AUTO_TESTS_f_f.
35381         (acos_test): Use ALL_RM_TEST.
35382         (acos_tonearest_test_data): Remove.
35383         (acos_test_tonearest): Likewise.
35384         (acos_towardzero_test_data): Likewise.
35385         (acos_test_towardzero): Likewise.
35386         (acos_downward_test_data): Likewise.
35387         (acos_test_downward): Likewise.
35388         (acos_upward_test_data): Likewise.
35389         (acos_test_upward): Likewise.
35390         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35391         (asin_test_data): Likewise.
35392         (asin_test): Use ALL_RM_TEST.
35393         (asin_tonearest_test_data): Remove.
35394         (asin_test_tonearest): Likewise.
35395         (asin_towardzero_test_data): Likewise.
35396         (asin_test_towardzero): Likewise.
35397         (asin_downward_test_data): Likewise.
35398         (asin_test_downward): Likewise.
35399         (asin_upward_test_data): Likewise.
35400         (asin_test_upward): Likewise.
35401         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35402         (atan_test_data): Likewise.
35403         (atanh_test_data): Likewise.
35404         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35405         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35406         (carg_test_data): Likewise.
35407         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35408         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35409         (ccosh_test_data): Likewise.
35410         (cexp_test_data): Likewise.
35411         (clog_test_data): Likewise.
35412         (clog10_test_data): Likewise.
35413         (cos_test_data): Update call to AUTO_TESTS_f_f.
35414         (cos_test): Use ALL_RM_TEST.
35415         (cos_tonearest_test_data): Remove.
35416         (cos_test_tonearest): Likewise.
35417         (cos_towardzero_test_data): Likewise.
35418         (cos_test_towardzero): Likewise.
35419         (cos_downward_test_data): Likewise.
35420         (cos_test_downward): Likewise.
35421         (cos_upward_test_data): Likewise.
35422         (cos_test_upward): Likewise.
35423         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35424         (cosh_test): Use ALL_RM_TEST.
35425         (cosh_tonearest_test_data): Remove.
35426         (cosh_test_tonearest): Likewise.
35427         (cosh_towardzero_test_data): Likewise.
35428         (cosh_test_towardzero): Likewise.
35429         (cosh_downward_test_data): Likewise.
35430         (cosh_test_downward): Likewise.
35431         (cosh_upward_test_data): Likewise.
35432         (cosh_test_upward): Likewise.
35433         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35434         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35435         (ctan_test_data): Likewise.
35436         (ctan_test): Use ALL_RM_TEST.
35437         (ctan_tonearest_test_data): Remove.
35438         (ctan_test_tonearest): Likewise.
35439         (ctan_towardzero_test_data): Likewise.
35440         (ctan_test_towardzero): Likewise.
35441         (ctan_downward_test_data): Likewise.
35442         (ctan_test_downward): Likewise.
35443         (ctan_upward_test_data): Likewise.
35444         (ctan_test_upward): Likewise.
35445         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35446         (ctanh_test): Use ALL_RM_TEST.
35447         (ctanh_tonearest_test_data): Remove.
35448         (ctanh_test_tonearest): Likewise.
35449         (ctanh_towardzero_test_data): Likewise.
35450         (ctanh_test_towardzero): Likewise.
35451         (ctanh_downward_test_data): Likewise.
35452         (ctanh_test_downward): Likewise.
35453         (ctanh_upward_test_data): Likewise.
35454         (ctanh_test_upward): Likewise.
35455         (erf_test_data): Update call to AUTO_TESTS_f_f.
35456         (erfc_test_data): Likewise.
35457         (exp_test_data): Likewise.
35458         (exp_test): Use ALL_RM_TEST.
35459         (exp_tonearest_test_data): Remove.
35460         (exp_test_tonearest): Likewise.
35461         (exp_towardzero_test_data): Likewise.
35462         (exp_test_towardzero): Likewise.
35463         (exp_downward_test_data): Likewise.
35464         (exp_test_downward): Likewise.
35465         (exp_upward_test_data): Likewise.
35466         (exp_test_upward): Likewise.
35467         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35468         (exp10_test): Use ALL_RM_TEST.
35469         (exp10_tonearest_test_data): Remove.
35470         (exp10_test_tonearest): Likewise.
35471         (exp10_towardzero_test_data): Likewise.
35472         (exp10_test_towardzero): Likewise.
35473         (exp10_downward_test_data): Likewise.
35474         (exp10_test_downward): Likewise.
35475         (exp10_upward_test_data): Likewise.
35476         (exp10_test_upward): Likewise.
35477         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35478         (expm1_test_data): Likewise.
35479         (expm1_test): Use ALL_RM_TEST.
35480         (expm1_tonearest_test_data): Remove.
35481         (expm1_test_tonearest): Likewise.
35482         (expm1_towardzero_test_data): Likewise.
35483         (expm1_test_towardzero): Likewise.
35484         (expm1_downward_test_data): Likewise.
35485         (expm1_test_downward): Likewise.
35486         (expm1_upward_test_data): Likewise.
35487         (expm1_test_upward): Likewise.
35488         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35489         (fma_test): Use ALL_RM_TEST.
35490         (fma_towardzero_test_data): Remove.
35491         (fma_test_towardzero): Likewise.
35492         (fma_downward_test_data): Likewise.
35493         (fma_test_downward): Likewise.
35494         (fma_upward_test_data): Likewise.
35495         (fma_test_upward): Likewise.
35496         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35497         (j0_test_data): Update call to AUTO_TESTS_f_f.
35498         (j1_test_data): Likewise.
35499         (jn_test_data): Update call to AUTO_TESTS_if_f.
35500         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35501         (log_test_data): Update call to AUTO_TESTS_f_f.
35502         (log10_test_data): Likewise.
35503         (log1p_test_data): Likewise.
35504         (log2_test_data): Likewise.
35505         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35506         (pow_tonearest_test_data): Likewise.
35507         (sin_test_data): Update call to AUTO_TESTS_f_f.
35508         (sin_test): Use ALL_RM_TEST.
35509         (sin_tonearest_test_data): Remove.
35510         (sin_test_tonearest): Likewise.
35511         (sin_towardzero_test_data): Likewise.
35512         (sin_test_towardzero): Likewise.
35513         (sin_downward_test_data): Likewise.
35514         (sin_test_downward): Likewise.
35515         (sin_upward_test_data): Likewise.
35516         (sin_test_upward): Likewise.
35517         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35518         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35519         (sinh_test): Use ALL_RM_TEST.
35520         (sinh_tonearest_test_data): Remove.
35521         (sinh_test_tonearest): Likewise.
35522         (sinh_towardzero_test_data): Likewise.
35523         (sinh_test_towardzero): Likewise.
35524         (sinh_downward_test_data): Likewise.
35525         (sinh_test_downward): Likewise.
35526         (sinh_upward_test_data): Likewise.
35527         (sinh_test_upward): Likewise.
35528         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35529         (sqrt_test): Use ALL_RM_TEST.
35530         (sqrt_tonearest_test_data): Remove.
35531         (sqrt_test_tonearest): Likewise.
35532         (sqrt_towardzero_test_data): Likewise.
35533         (sqrt_test_towardzero): Likewise.
35534         (sqrt_downward_test_data): Likewise.
35535         (sqrt_test_downward): Likewise.
35536         (sqrt_upward_test_data): Likewise.
35537         (sqrt_test_upward): Likewise.
35538         (tan_test_data): Update call to AUTO_TESTS_f_f.
35539         (tan_test): Use ALL_RM_TEST.
35540         (tan_tonearest_test_data): Remove.
35541         (tan_test_tonearest): Likewise.
35542         (tan_towardzero_test_data): Likewise.
35543         (tan_test_towardzero): Likewise.
35544         (tan_downward_test_data): Likewise.
35545         (tan_test_downward): Likewise.
35546         (tan_upward_test_data): Likewise.
35547         (tan_test_upward): Likewise.
35548         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35549         (tgamma_test_data): Likewise.
35550         (y0_test_data): Likewise.
35551         (y1_test_data): Likewise.
35552         (yn_test_data): Update call to AUTO_TESTS_if_f.
35553         (main): Do not call removed functions.
35554
35555 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35556
35557         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35558         (ldexp_test_data): Remove.
35559         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35560         scalbn_test_data.
35561         (scalb_test): Use ALL_RM_TEST.
35562
35563 2014-03-19  Andreas Schwab  <schwab@suse.de>
35564
35565         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35566
35567 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35568
35569         [BZ #16649]
35570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35574         (__ASSUME_PREADV): Undefine.
35575         (__ASSUME_PWRITEV): Likewise.
35576
35577 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35578
35579         * bits/mman-linux.h: Add comment about non-Linux use.
35580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35581         bits/mman-linux.h resting place.
35582
35583         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35584         * bits/mman-linux.h: ... here.
35585
35586 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35587
35588         * conform/conformtest.pl: Add standard definition when calling C
35589         preprocessor on data files.
35590         (checknamespace): Remove unused variable.
35591
35592 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35593
35594         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35595         minus_oflow, plus_uflow and minus_uflow in expected results.
35596         * math/libm-test.inc (scalbn_test_data): Add more tests of
35597         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35598         minus_uflow.
35599         (scalbn_test): Use ALL_RM_TEST.
35600         (scalbln_test_data): Add more tests of negative arguments.  Use
35601         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35602         (scalbln_test): Use ALL_RM_TEST.
35603
35604 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35605
35606         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35607
35608 2014-03-18  Will Newton  <will.newton@linaro.org>
35609
35610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35611         inaccurate comment.
35612
35613 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35614
35615         * Makerules [!subdir] (check-abi): Exit with error status if a
35616         test failed.
35617
35618 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35619
35620         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35621         for rint.  Include results for all rounding modes.
35622         (nearbyint_test): Use ALL_RM_TEST.
35623         (rint_test_data): Include all tests used for nearbyint.
35624
35625 2014-03-17  Will Newton  <will.newton@linaro.org>
35626
35627         * nptl/sysdeps/pthread/pthread.h: Revert previous
35628         change.
35629
35630         * sysdeps/generic/ldsodefs.h: Revert previous
35631         change.
35632
35633         * libio/genops.c: Revert previous change.
35634         * libio/libioP.h: Likewise.
35635         * stdio-common/vfprintf.c: Likewise.
35636
35637         * sysdeps/generic/math_private.h: Revert previous
35638         change.
35639
35640         * sysdeps/generic/math_private.h: Check whether
35641         HAVE_RM_CTX is defined with #ifdef rather
35642         than #if.
35643
35644         * argp/argp-fmtstream.h: Check whether
35645         __STRICT_ANSI__ is defined with #ifdef rather
35646         than #if.
35647         * argp/argp.h: Likewise.
35648
35649         * libio/genops.c: Check whether
35650         _IO_JUMPS_OFFSET is defined with #ifdef rather
35651         than #if.
35652         * libio/libioP.h: Likewise.
35653         * stdio-common/vfprintf.c: Likewise.
35654
35655         * sysdeps/generic/ldsodefs.h: Check whether
35656         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35657         than #if.
35658
35659         * nptl/sysdeps/pthread/pthread.h: Check
35660         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35661         its value.
35662
35663 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35664
35665         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35666         setting O_APPEND.
35667         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35668         test case.
35669
35670         [BZ #16680]
35671         * libio/fileops.c (_IO_file_open): Seek to end of file but
35672         don't cache the offset.
35673         (get_file_offset): Remove function.
35674         (do_ftell): Use cached offset when available.
35675         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35676         don't cache the offset.
35677         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35678         case.
35679         (do_one_test): Call it.
35680         (do_ftell_test): Fix up expected old offset for a+ mode.
35681         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35682         available.
35683
35684         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35685         up test status with function return status.
35686         (do_write_test): Likewise.
35687         (do_append_test): Likewise.
35688
35689         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35690         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35691         Remove.
35692
35693 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35694
35695         * math/gen-libm-test.pl (parse_args): Handle results specified for
35696         each rounding mode separately.
35697         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35698         tests and results from lrint_tonearest_test_data,
35699         lrint_towardzero_test_data, lrint_downward_test_data and
35700         lrint_upward_test_data.
35701         (lrint_test): Use ALL_RM_TEST.
35702         (lrint_tonearest_test_data): Remove.
35703         (lrint_test_tonearest): Likewise.
35704         (lrint_towardzero_test_data): Likewise.
35705         (lrint_test_towardzero): Likewise.
35706         (lrint_downward_test_data): Likewise.
35707         (lrint_test_downward): Likewise.
35708         (lrint_upward_test_data): Likewise.
35709         (lrint_test_upward): Likewise.
35710         (llrint_test_data): Merge in per-rounding-mode tests and results
35711         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35712         llrint_downward_test_data and llrint_upward_test_data.
35713         (llrint_test): Use ALL_RM_TEST.
35714         (llrint_tonearest_test_data): Remove.
35715         (llrint_test_tonearest): Likewise.
35716         (llrint_towardzero_test_data): Likewise.
35717         (llrint_test_towardzero): Likewise.
35718         (llrint_downward_test_data): Likewise.
35719         (llrint_test_downward): Likewise.
35720         (llrint_upward_test_data): Likewise.
35721         (llrint_test_upward): Likewise.
35722         (rint_test_data): Merge in per-rounding-mode tests and results
35723         from rint_tonearest_test_data, rint_towardzero_test_data,
35724         rint_downward_test_data and rint_upward_test_data.  Add
35725         per-rounding-mode results for tests not in those arrays.
35726         (rint_test): Use ALL_RM_TEST.
35727         (rint_tonearest_test_data): Remove.
35728         (rint_test_tonearest): Likewise.
35729         (rint_towardzero_test_data): Likewise.
35730         (rint_test_towardzero): Likewise.
35731         (rint_downward_test_data): Likewise.
35732         (rint_test_downward): Likewise.
35733         (rint_upward_test_data): Likewise.
35734         (rint_test_upward): Likewise.
35735         (main): Don't call removed functions.
35736
35737 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35738
35739         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35740         "Compiled on ..." crapola.  It is anti-useful.
35741
35742 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35743
35744         * scripts/evaluate-test.sh: Handle fourth argument to determine
35745         whether test run should stop on failure.
35746         * Makeconfig (stop-on-test-failure): New variable.
35747         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35748         $(stop-on-test-failure).
35749         * Makefile (tests): Give a summary of results from testing and
35750         exit with failure status if they include an ERROR or FAIL.
35751         (xtests): Likewise.
35752         * manual/install.texi (Configuring and compiling): Mention
35753         stop-on-test-failure=y.
35754         * INSTALL: Regenerated.
35755
35756 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35757
35758         * scripts/versionlist.awk: New file.
35759         * Makerules [$(build-shared) = yes]
35760         (postclean-generated): Add Versions.def, not Versions.def.v and
35761         Versions.def.v.i.
35762         ($(common-objpfx)Versions.def.v.i): Target removed.
35763         ($(common-objpfx)Versions.def): New target.
35764         ($(common-objpfx)Versions.all): Depend on that rather that
35765         $(common-objpfx)Versions.def.v.
35766         * Versions.def: File removed.
35767
35768         * Makeconfig (+gccwarn): Add -Wundef.
35769         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35770         a dl-sysdep.h breaking its contract.
35771         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35772         * include/stackinfo.h: New file.
35773         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35774         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35775         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35776         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35777         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35778         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35779         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35780         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35781         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35782         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35783         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35784         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35785         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35786         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35787         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35788
35789 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35790
35791         [BZ #16707]
35792         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35793         implementation.
35794         * math/libm-test.inc (round_test_data): Add more tests.
35795
35796         [BZ #16706]
35797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35798         implementation.
35799         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35800
35801         [BZ #16701]
35802         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35803         implementation.
35804         * math/libm-test.inc (ceil_test_data): Add more tests.
35805
35806         * math/libm-test.inc (trunc_test_data): Add more tests related to
35807         BZ#16414.
35808
35809 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35810
35811         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35812         with #if rather than #ifdef.
35813         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35814
35815 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35816
35817         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35818         first.  Disable AVX-512 GCC support if assembler doesn't support
35819         it.
35820         * sysdeps/x86_64/configure: Regenerated.
35821
35822 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35823
35824         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35825         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35826         (__old_pthread_attr_setstack): Likewise.
35827         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35828         [!_STACK_GROWS_DOWN]: Likewise.
35829
35830 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35831
35832         * config.make.in (have-bash2): Delete.
35833         * configure.ac (libc_cv_have_bash2): Delete.
35834         * configure: Regenerate.
35835         * elf/Makefile (common-ldd-rewrite): Rename to ...
35836         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35837         (sh-ldd-rewrite): Delete.
35838         (bash-ldd-rewrite): Delete.
35839         (have-bash2): Delete checks.
35840         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35841         ldd-rewrite.
35842
35843         * config.make.in (have-ksh): Delete.
35844         (KSH): Delete.
35845         * configure.ac (libc_cv_have_ksh): Delete.
35846         * configure: Regenerate.
35847
35848         * elf/Makefile: Delete $(have-ksh) check.
35849         ($(objpfx)sotruss): Change KSH to BASH.
35850         * elf/sotruss.ksh: Rename to ...
35851         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35852         function style to match POSIX.  Drop ksh vim mode setting.
35853
35854         * manual/time.texi (Specifying the Time Zone with TZ): Change
35855         Tuesday to Thursday.
35856
35857         * debug/tst-longjmp_chk2.c: Update header comment.
35858         (stackoverflow_handler): Add comment.  Call assert on pass value.
35859
35860 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35861
35862         [BZ #16194]
35863         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35864         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35865         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35866         (La_x86_64_vector): Add zmm.
35867         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35868         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35869         ($(objpfx)tst-audit10): New target.
35870         ($(objpfx)tst-audit10.out): Likewise.
35871         (tst-audit10-ENV): New.
35872         (AVX512-CFLAGS): Likewise.
35873         (CFLAGS-tst-audit10.c): Likewise.
35874         (CFLAGS-tst-auditmod10a.c): Likewise.
35875         (CFLAGS-tst-auditmod10b.c): Likewise.
35876         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35877         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35878         * sysdeps/x86_64/configure: Regenerated.
35879         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35880         AVX-512 zmm register support.
35881         (_dl_x86_64_save_sse): Likewise.
35882         (_dl_x86_64_restore_sse): Likewise.
35883         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35884         size vector registers.
35885         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35886         (ZMM_SIZE): Likewise.
35887         * sysdeps/x86_64/tst-audit10.c: New file.
35888         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35889         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35890
35891 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35892
35893         * configure.ac (HAVE_EHDR_START): New check.
35894         * configure: Regenerated.
35895         * config.h.in (HAVE_EHDR_START): New #undef.
35896         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35897         assuming the lowest-addressed segment maps the start of the file.
35898
35899 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35900
35901         * INSTALL: Regenerated.
35902
35903 2014-03-13  Will Newton  <will.newton@linaro.org>
35904
35905         * manual/setjmp.texi (System V contexts): Improve
35906         clarity and grammar of documentation.
35907
35908 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35909
35910         [BZ #16381]
35911         * elf/Makefile (tests): Add tst-pie2.
35912         (tests-pie): Add tst-pie2.
35913         * elf/tst-pie2.c: New file.
35914         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35915         for ET_EXEC.
35916         * elf/rtld.c (map_doit): Load executable as lt_executable.
35917         (dl_main): Likewise.
35918
35919 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35920
35921         [BZ #16642]
35922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35923         (__ASSUME_PSELECT): Undefine.
35924
35925 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35926
35927         [BZ #16689]
35928         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35929         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35930         static build.
35931         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35932         selector for static builds.
35933
35934 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35935
35936         [BZ #16695]
35937         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35938         key in the buffer.
35939
35940 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35941
35942         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35943         IFUNC selector for static builds.
35944
35945 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35946
35947         * sysdeps/mips/math_private.h [__mips_hard_float]
35948         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35949         libc_feresetround_mips_ctx.
35950         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35951         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35952         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35953
35954         [BZ #16677]
35955         * math/s_nextafter.c (__nextafter): Do not return value from
35956         overflowing computation.
35957         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35958         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35959         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35960         Likewise.
35961         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35962         Likewise.
35963         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35964         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35965
35966 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35967
35968         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35969         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35970         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35971         the new mov targetting sp.
35972
35973 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35974
35975         [BZ #16683]
35976         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35977         Define it for static builds as well.
35978         (NO_BZERO_IMPL): Likewise.
35979
35980 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35981
35982         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35983         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35984         multiarch strspn for PPC64.
35985         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35986         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35988         (__libc_ifunc_impl_list): Likewise.
35989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35990         multiarch optimizations
35991         * string/strspn.c (strspn): Using macro to redefine symbol name.
35992
35993 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35994             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35995
35996         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35997         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35998         multiarch strncat for PPC64.
35999         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36002         (__libc_ifunc_impl_list): Likewise.
36003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36004         multiarch optimizations
36005
36006 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36007
36008         [BZ #16639]
36009         * nscd/nscd.service: Make service type forking.
36010
36011 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36012
36013         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36014         sign in non default rounding modes.
36015         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36016
36017 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36018
36019         * math/libm-test.inc (ALL_RM_TEST): New macro.
36020         (ceil_test): Use ALL_RM_TEST.
36021         (cimag_test): Likewise.
36022         (conj_test): Likewise.
36023         (copysign_test): Likewise.
36024         (cproj_test): Likewise.
36025         (creal_test): Likewise.
36026         (fabs_test): Likewise.
36027         (floor_test): Likewise.
36028         (fmax_test): Likewise.
36029         (fmin_test): Likewise.
36030         (fmod_test): Likewise.
36031         (fpclassify_test): Likewise.
36032         (frexp_test): Likewise.
36033         (ilogb_test): Likewise.
36034         (isfinite_test): Likewise.
36035         (finite_test): Likewise.
36036         (isgreater_test): Likewise.
36037         (isgreaterequal_test): Likewise.
36038         (isinf_test): Likewise.
36039         (isless_test): Likewise.
36040         (islessequal_test): Likewise.
36041         (islessgreater_test): Likewise.
36042         (isnan_test): Likewise.
36043         (isnormal_test): Likewise.
36044         (issignaling_test): Likewise.
36045         (isunordered_test): Likewise.
36046         (logb_test): Likewise.
36047         (logb_downward_test_data): Remove.
36048         (logb_test_downward): Likewise.
36049         (lround_test): Use ALL_RM_TEST.
36050         (llround_test): Likewise.
36051         (modf_test): Likewise.
36052         (nexttoward_test): Likewise.
36053         (remainder_test): Likewise.
36054         (drem_test): Likewise.
36055         (remainder_tonearest_test_data): Likewise.
36056         (remainder_test_tonearest): Likewise.
36057         (drem_test_tonearest): Likewise.
36058         (remainder_towardzero_test_data): Likewise.
36059         (remainder_test_towardzero): Likewise.
36060         (drem_test_towardzero): Likewise.
36061         (remainder_downward_test_data): Likewise.
36062         (remainder_test_downward): Likewise.
36063         (drem_test_downward): Likewise.
36064         (remainder_upward_test_data): Likewise.
36065         (remainder_test_upward): Likewise.
36066         (drem_test_upward): Likewise.
36067         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36068         (round_test): Use ALL_RM_TEST.
36069         (signbit_test): Likewise.
36070         (trunc_test): Likewise.
36071         (significand_test): Likewise.
36072         (main): Don't call removed functions.
36073
36074 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36075
36076         [BZ #16674]
36077         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36078         || __USE_XOPEN2K8].
36079         (ILL_ILLOPN): Likewise.
36080         (ILL_ILLADR): Likewise.
36081         (ILL_ILLTRP): Likewise.
36082         (ILL_PRVOPC): Likewise.
36083         (ILL_PRVREG): Likewise.
36084         (ILL_COPROC): Likewise.
36085         (ILL_BADSTK): Likewise.
36086         (FPE_INTDIV): Likewise.
36087         (FPE_INTOVF): Likewise.
36088         (FPE_FLTDIV): Likewise.
36089         (FPE_FLTOVF): Likewise.
36090         (FPE_FLTUND): Likewise.
36091         (FPE_FLTRES): Likewise.
36092         (FPE_FLTINV): Likewise.
36093         (FPE_FLTSUB): Likewise.
36094         (SEGV_MAPERR): Likewise.
36095         (SEGV_ACCERR): Likewise.
36096         (BUS_ADRALN): Likewise.
36097         (BUS_ADRERR): Likewise.
36098         (BUS_OBJERR): Likewise.
36099         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36100         (TRAP_TRACE): Likewise.
36101         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36102         __USE_XOPEN2K8].
36103         (CLD_KILLED): Likewise.
36104         (CLD_DUMPED): Likewise.
36105         (CLD_TRAPPED): Likewise.
36106         (CLD_STOPPED): Likewise.
36107         (CLD_CONTINUED): Likewise.
36108         (POLL_IN): Likewise.
36109         (POLL_OUT): Likewise.
36110         (POLL_MSG): Likewise.
36111         (POLL_ERR): Likewise.
36112         (POLL_PRI): Likewise.
36113         (POLL_HUP): Likewise.
36114         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36115         Likewise.
36116         (ILL_ILLOPN): Likewise.
36117         (ILL_ILLADR): Likewise.
36118         (ILL_ILLTRP): Likewise.
36119         (ILL_PRVOPC): Likewise.
36120         (ILL_PRVREG): Likewise.
36121         (ILL_COPROC): Likewise.
36122         (ILL_BADSTK): Likewise.
36123         (FPE_INTDIV): Likewise.
36124         (FPE_INTOVF): Likewise.
36125         (FPE_FLTDIV): Likewise.
36126         (FPE_FLTOVF): Likewise.
36127         (FPE_FLTUND): Likewise.
36128         (FPE_FLTRES): Likewise.
36129         (FPE_FLTINV): Likewise.
36130         (FPE_FLTSUB): Likewise.
36131         (SEGV_MAPERR): Likewise.
36132         (SEGV_ACCERR): Likewise.
36133         (BUS_ADRALN): Likewise.
36134         (BUS_ADRERR): Likewise.
36135         (BUS_OBJERR): Likewise.
36136         (BUS_MCEERR_AR): Likewise.
36137         (BUS_MCEERR_AO): Likewise.
36138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36139         (TRAP_TRACE): Likewise.
36140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36141         __USE_XOPEN2K8].
36142         (CLD_KILLED): Likewise.
36143         (CLD_DUMPED): Likewise.
36144         (CLD_TRAPPED): Likewise.
36145         (CLD_STOPPED): Likewise.
36146         (CLD_CONTINUED): Likewise.
36147         (POLL_IN): Likewise.
36148         (POLL_OUT): Likewise.
36149         (POLL_MSG): Likewise.
36150         (POLL_ERR): Likewise.
36151         (POLL_PRI): Likewise.
36152         (POLL_HUP): Likewise.
36153         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36154         (ILL_ILLOPN): Likewise.
36155         (ILL_ILLADR): Likewise.
36156         (ILL_ILLTRP): Likewise.
36157         (ILL_PRVOPC): Likewise.
36158         (ILL_PRVREG): Likewise.
36159         (ILL_COPROC): Likewise.
36160         (ILL_BADSTK): Likewise.
36161         (FPE_INTDIV): Likewise.
36162         (FPE_INTOVF): Likewise.
36163         (FPE_FLTDIV): Likewise.
36164         (FPE_FLTOVF): Likewise.
36165         (FPE_FLTUND): Likewise.
36166         (FPE_FLTRES): Likewise.
36167         (FPE_FLTINV): Likewise.
36168         (FPE_FLTSUB): Likewise.
36169         (SEGV_MAPERR): Likewise.
36170         (SEGV_ACCERR): Likewise.
36171         (BUS_ADRALN): Likewise.
36172         (BUS_ADRERR): Likewise.
36173         (BUS_OBJERR): Likewise.
36174         (BUS_MCEERR_AR): Likewise.
36175         (BUS_MCEERR_AO): Likewise.
36176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36177         (TRAP_TRACE): Likewise.
36178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36179         __USE_XOPEN2K8].
36180         (CLD_KILLED): Likewise.
36181         (CLD_DUMPED): Likewise.
36182         (CLD_TRAPPED): Likewise.
36183         (CLD_STOPPED): Likewise.
36184         (CLD_CONTINUED): Likewise.
36185         (POLL_IN): Likewise.
36186         (POLL_OUT): Likewise.
36187         (POLL_MSG): Likewise.
36188         (POLL_ERR): Likewise.
36189         (POLL_PRI): Likewise.
36190         (POLL_HUP): Likewise.
36191         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36192         Likewise.
36193         (ILL_ILLOPN): Likewise.
36194         (ILL_ILLADR): Likewise.
36195         (ILL_ILLTRP): Likewise.
36196         (ILL_PRVOPC): Likewise.
36197         (ILL_PRVREG): Likewise.
36198         (ILL_COPROC): Likewise.
36199         (ILL_BADSTK): Likewise.
36200         (ILL_BADIADDR): Likewise.
36201         (ILL_BREAK): Likewise.
36202         (FPE_INTDIV): Likewise.
36203         (FPE_INTOVF): Likewise.
36204         (FPE_FLTDIV): Likewise.
36205         (FPE_FLTOVF): Likewise.
36206         (FPE_FLTUND): Likewise.
36207         (FPE_FLTRES): Likewise.
36208         (FPE_FLTINV): Likewise.
36209         (FPE_FLTSUB): Likewise.
36210         (FPE_DECOVF): Likewise.
36211         (FPE_DECDIV): Likewise.
36212         (FPE_DECERR): Likewise.
36213         (FPE_INVASC): Likewise.
36214         (FPE_INVDEC): Likewise.
36215         (SEGV_MAPERR): Likewise.
36216         (SEGV_ACCERR): Likewise.
36217         (SEGV_PSTKOVF): Likewise.
36218         (BUS_ADRALN): Likewise.
36219         (BUS_ADRERR): Likewise.
36220         (BUS_OBJERR): Likewise.
36221         (BUS_MCEERR_AR): Likewise.
36222         (BUS_MCEERR_AO): Likewise.
36223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36224         (TRAP_TRACE): Likewise.
36225         (TRAP_BRANCH): Likewise.
36226         (TRAP_HWBKPT): Likewise.
36227         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36228         __USE_XOPEN2K8].
36229         (CLD_KILLED): Likewise.
36230         (CLD_DUMPED): Likewise.
36231         (CLD_TRAPPED): Likewise.
36232         (CLD_STOPPED): Likewise.
36233         (CLD_CONTINUED): Likewise.
36234         (POLL_IN): Likewise.
36235         (POLL_OUT): Likewise.
36236         (POLL_MSG): Likewise.
36237         (POLL_ERR): Likewise.
36238         (POLL_PRI): Likewise.
36239         (POLL_HUP): Likewise.
36240         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36241         (ILL_ILLOPN): Likewise.
36242         (ILL_ILLADR): Likewise.
36243         (ILL_ILLTRP): Likewise.
36244         (ILL_PRVOPC): Likewise.
36245         (ILL_PRVREG): Likewise.
36246         (ILL_COPROC): Likewise.
36247         (ILL_BADSTK): Likewise.
36248         (FPE_INTDIV): Likewise.
36249         (FPE_INTOVF): Likewise.
36250         (FPE_FLTDIV): Likewise.
36251         (FPE_FLTOVF): Likewise.
36252         (FPE_FLTUND): Likewise.
36253         (FPE_FLTRES): Likewise.
36254         (FPE_FLTINV): Likewise.
36255         (FPE_FLTSUB): Likewise.
36256         (SEGV_MAPERR): Likewise.
36257         (SEGV_ACCERR): Likewise.
36258         (BUS_ADRALN): Likewise.
36259         (BUS_ADRERR): Likewise.
36260         (BUS_OBJERR): Likewise.
36261         (BUS_MCEERR_AR): Likewise.
36262         (BUS_MCEERR_AO): Likewise.
36263         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36264         (TRAP_TRACE): Likewise.
36265         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36266         __USE_XOPEN2K8].
36267         (CLD_KILLED): Likewise.
36268         (CLD_DUMPED): Likewise.
36269         (CLD_TRAPPED): Likewise.
36270         (CLD_STOPPED): Likewise.
36271         (CLD_CONTINUED): Likewise.
36272         (POLL_IN): Likewise.
36273         (POLL_OUT): Likewise.
36274         (POLL_MSG): Likewise.
36275         (POLL_ERR): Likewise.
36276         (POLL_PRI): Likewise.
36277         (POLL_HUP): Likewise.
36278         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36279         (ILL_ILLOPN): Likewise.
36280         (ILL_ILLADR): Likewise.
36281         (ILL_ILLTRP): Likewise.
36282         (ILL_PRVOPC): Likewise.
36283         (ILL_PRVREG): Likewise.
36284         (ILL_COPROC): Likewise.
36285         (ILL_BADSTK): Likewise.
36286         (FPE_INTDIV): Likewise.
36287         (FPE_INTOVF): Likewise.
36288         (FPE_FLTDIV): Likewise.
36289         (FPE_FLTOVF): Likewise.
36290         (FPE_FLTUND): Likewise.
36291         (FPE_FLTRES): Likewise.
36292         (FPE_FLTINV): Likewise.
36293         (FPE_FLTSUB): Likewise.
36294         (SEGV_MAPERR): Likewise.
36295         (SEGV_ACCERR): Likewise.
36296         (BUS_ADRALN): Likewise.
36297         (BUS_ADRERR): Likewise.
36298         (BUS_OBJERR): Likewise.
36299         (BUS_MCEERR_AR): Likewise.
36300         (BUS_MCEERR_AO): Likewise.
36301         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36302         (TRAP_TRACE): Likewise.
36303         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36304         __USE_XOPEN2K8].
36305         (CLD_KILLED): Likewise.
36306         (CLD_DUMPED): Likewise.
36307         (CLD_TRAPPED): Likewise.
36308         (CLD_STOPPED): Likewise.
36309         (CLD_CONTINUED): Likewise.
36310         (POLL_IN): Likewise.
36311         (POLL_OUT): Likewise.
36312         (POLL_MSG): Likewise.
36313         (POLL_ERR): Likewise.
36314         (POLL_PRI): Likewise.
36315         (POLL_HUP): Likewise.
36316         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36317         (ILL_ILLOPN): Likewise.
36318         (ILL_ILLADR): Likewise.
36319         (ILL_ILLTRP): Likewise.
36320         (ILL_PRVOPC): Likewise.
36321         (ILL_PRVREG): Likewise.
36322         (ILL_COPROC): Likewise.
36323         (ILL_BADSTK): Likewise.
36324         (FPE_INTDIV): Likewise.
36325         (FPE_INTOVF): Likewise.
36326         (FPE_FLTDIV): Likewise.
36327         (FPE_FLTOVF): Likewise.
36328         (FPE_FLTUND): Likewise.
36329         (FPE_FLTRES): Likewise.
36330         (FPE_FLTINV): Likewise.
36331         (FPE_FLTSUB): Likewise.
36332         (SEGV_MAPERR): Likewise.
36333         (SEGV_ACCERR): Likewise.
36334         (BUS_ADRALN): Likewise.
36335         (BUS_ADRERR): Likewise.
36336         (BUS_OBJERR): Likewise.
36337         (BUS_MCEERR_AR): Likewise.
36338         (BUS_MCEERR_AO): Likewise.
36339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36340         (TRAP_TRACE): Likewise.
36341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36342         __USE_XOPEN2K8].
36343         (CLD_KILLED): Likewise.
36344         (CLD_DUMPED): Likewise.
36345         (CLD_TRAPPED): Likewise.
36346         (CLD_STOPPED): Likewise.
36347         (CLD_CONTINUED): Likewise.
36348         (POLL_IN): Likewise.
36349         (POLL_OUT): Likewise.
36350         (POLL_MSG): Likewise.
36351         (POLL_ERR): Likewise.
36352         (POLL_PRI): Likewise.
36353         (POLL_HUP): Likewise.
36354         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36355         (ILL_ILLOPN): Likewise.
36356         (ILL_ILLADR): Likewise.
36357         (ILL_ILLTRP): Likewise.
36358         (ILL_PRVOPC): Likewise.
36359         (ILL_PRVREG): Likewise.
36360         (ILL_COPROC): Likewise.
36361         (ILL_BADSTK): Likewise.
36362         (ILL_DBLFLT): Likewise.
36363         (ILL_HARDWALL): Likewise.
36364         (FPE_INTDIV): Likewise.
36365         (FPE_INTOVF): Likewise.
36366         (FPE_FLTDIV): Likewise.
36367         (FPE_FLTOVF): Likewise.
36368         (FPE_FLTUND): Likewise.
36369         (FPE_FLTRES): Likewise.
36370         (FPE_FLTINV): Likewise.
36371         (FPE_FLTSUB): Likewise.
36372         (SEGV_MAPERR): Likewise.
36373         (SEGV_ACCERR): Likewise.
36374         (BUS_ADRALN): Likewise.
36375         (BUS_ADRERR): Likewise.
36376         (BUS_OBJERR): Likewise.
36377         (BUS_MCEERR_AR): Likewise.
36378         (BUS_MCEERR_AO): Likewise.
36379         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36380         (TRAP_TRACE): Likewise.
36381         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36382         __USE_XOPEN2K8].
36383         (CLD_KILLED): Likewise.
36384         (CLD_DUMPED): Likewise.
36385         (CLD_TRAPPED): Likewise.
36386         (CLD_STOPPED): Likewise.
36387         (CLD_CONTINUED): Likewise.
36388         (POLL_IN): Likewise.
36389         (POLL_OUT): Likewise.
36390         (POLL_MSG): Likewise.
36391         (POLL_ERR): Likewise.
36392         (POLL_PRI): Likewise.
36393         (POLL_HUP): Likewise.
36394         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36395         (ILL_ILLOPN): Likewise.
36396         (ILL_ILLADR): Likewise.
36397         (ILL_ILLTRP): Likewise.
36398         (ILL_PRVOPC): Likewise.
36399         (ILL_PRVREG): Likewise.
36400         (ILL_COPROC): Likewise.
36401         (ILL_BADSTK): Likewise.
36402         (FPE_INTDIV): Likewise.
36403         (FPE_INTOVF): Likewise.
36404         (FPE_FLTDIV): Likewise.
36405         (FPE_FLTOVF): Likewise.
36406         (FPE_FLTUND): Likewise.
36407         (FPE_FLTRES): Likewise.
36408         (FPE_FLTINV): Likewise.
36409         (FPE_FLTSUB): Likewise.
36410         (SEGV_MAPERR): Likewise.
36411         (SEGV_ACCERR): Likewise.
36412         (BUS_ADRALN): Likewise.
36413         (BUS_ADRERR): Likewise.
36414         (BUS_OBJERR): Likewise.
36415         (BUS_MCEERR_AR): Likewise.
36416         (BUS_MCEERR_AO): Likewise.
36417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36418         (TRAP_TRACE): Likewise.
36419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36420         __USE_XOPEN2K8].
36421         (CLD_KILLED): Likewise.
36422         (CLD_DUMPED): Likewise.
36423         (CLD_TRAPPED): Likewise.
36424         (CLD_STOPPED): Likewise.
36425         (CLD_CONTINUED): Likewise.
36426         (POLL_IN): Likewise.
36427         (POLL_OUT): Likewise.
36428         (POLL_MSG): Likewise.
36429         (POLL_ERR): Likewise.
36430         (POLL_PRI): Likewise.
36431         (POLL_HUP): Likewise.
36432         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36433         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36434
36435         [BZ #16670]
36436         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36437         before #include of <time.h>.
36438         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36439         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36440         (test-xfail-UNIX98/sched.h/conform): Likewise.
36441
36442 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36443
36444         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36445         error absence of trapping exception support.
36446         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36447
36448 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36449
36450         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36451         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36452         * timezone/Makefile (testdata): Move definition above include of
36453         Rules.
36454         (test-zones): New variable.
36455         (tests-special): Add zone files.
36456         (build-testdata): Use $(evaluate-test).
36457
36458         * elf/Makefile (tests-special): Rename tests to end with .out.
36459         ($(objpfx)noload-mem): Likewise.
36460         ($(objpfx)tst-leaks1-mem): Likewise.
36461         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36462         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36463         $(objpfx)test-iconvconfig.out.
36464         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36465         set -e inside subshell and redirect output to file.
36466         * iconvdata/Makefile (generated): Rename tests to end with .out.
36467         Correct type.
36468         (tests-special): Rename tests to end with .out.
36469         ($(objpfx)mtrace-tst-loading): Likewise.
36470         * intl/Makefile (generated): Likewise.
36471         (tests-special): Likewise.
36472         ($(objpfx)mtrace-tst-gettext): Likewise.
36473         * misc/Makefile (generated): Likewise.
36474         (tests-special): Likewise.
36475         ($(objpfx)tst-error1-mem): Likewise.
36476         * nptl/Makefile (tests-special): Likewise.
36477         ($(objpfx)tst-stack3-mem): Likewise.
36478         (generated): Likewise.
36479         * posix/Makefile (generated): Likewise.
36480         (tests-special): Likewise.
36481         (xtests-special): Likewise.
36482         ($(objpfx)tst-fnmatch-mem): Likewise.
36483         ($(objpfx)bug-regex2-mem): Likewise.
36484         ($(objpfx)bug-regex14-mem): Likewise.
36485         ($(objpfx)bug-regex21-mem): Likewise.
36486         ($(objpfx)bug-regex31-mem): Likewise.
36487         ($(objpfx)tst-vfork3-mem): Likewise.
36488         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36489         ($(objpfx)tst-pcre-mem): Likewise.
36490         ($(objpfx)tst-boost-mem): Likewise.
36491         ($(objpfx)bug-ga2-mem): Likewise.
36492         ($(objpfx)bug-glob2-mem): Likewise.
36493         * resolv/Makefile (generate): Likewise.
36494         (tests-special): Likewise.
36495         (xtests-special): Likewise.
36496         (generated): Likewise.
36497         ($(objpfx)mtrace-tst-leaks): Likewise.
36498         ($(objpfx)mtrace-tst-leaks2): Likewise.
36499
36500         * scripts/merge-test-results.sh: New file.
36501         * Makefile (tests-special-notdir): New variable.
36502         (tests): Run merge-test-results.sh.
36503         (xtests): Likewise.
36504         * Rules (tests-special-notdir): New variable.
36505         (xtests-special-notdir): Likewise.
36506         (tests): Run merge-test-results.sh
36507         (xtests): Likewise.
36508
36509         * Makeconfig (test-xfail-name): New variable.
36510         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36511         compute variable name for expected failures.
36512         * conform/Makefile (conformtest-headers-data): New variable.
36513         (conformtest-standards): Likewise.
36514         (conformtest-headers-ISO): Likewise.
36515         (conformtest-headers-ISO99): Likewise.
36516         (conformtest-headers-ISO11): Likewise.
36517         (conformtest-headers-POSIX): Likewise.
36518         (conformtest-headers-XPG3): Likewise.
36519         (conformtest-headers-XPG4): Likewise.
36520         (conformtest-headers-UNIX98): Likewise.
36521         (conformtest-headers-XOPEN2K): Likewise.
36522         (conformtest-headers-POSIX2008): Likewise.
36523         (conformtest-headers-XOPEN2K8): Likewise.
36524         (conformtest-header-list-base): Likewise.
36525         (conformtest-header-list-tests): Likewise.
36526         (conformtest-header-base): Likewise.
36527         (conformtest-header-tests): Likewise.
36528         (tests-special): Add $(conformtest-header-list-tests).  If
36529         [$(fast-check) && !$(cross-compiling)], add
36530         $(conformtest-header-tests) instead of
36531         $(objpfx)run-conformtest.out.
36532         (generated): Add $(conformtest-header-list-base).  If
36533         [$(fast-check) && !$(cross-compiling)], add
36534         $(conformtest-header-base).  Remove previous setting.
36535         ($(conformtest-header-list-tests)): New target.
36536         (test-xfail-run-conformtest): Remove variable.
36537         ($(objpfx)run-conformtest.out): Remove target.
36538         (test-xfail-ISO11/complex.h/conform): New variable.
36539         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36540         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36541         (test-xfail-XPG3/varargs.h/conform): Likewise.
36542         (test-xfail-XPG4/varargs.h/conform): Likewise.
36543         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36544         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36545         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36546         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36547         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36548         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36549         (test-xfail-XPG3/ftw.h/conform): Likewise.
36550         (test-xfail-XPG3/grp.h/conform): Likewise.
36551         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36552         (test-xfail-XPG3/limits.h/conform): Likewise.
36553         (test-xfail-XPG3/pwd.h/conform): Likewise.
36554         (test-xfail-XPG3/search.h/conform): Likewise.
36555         (test-xfail-XPG3/signal.h/conform): Likewise.
36556         (test-xfail-XPG3/stdio.h/conform): Likewise.
36557         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36558         (test-xfail-XPG3/string.h/conform): Likewise.
36559         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36560         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36561         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36562         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36563         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36564         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36565         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36566         (test-xfail-XPG3/termios.h/conform): Likewise.
36567         (test-xfail-XPG3/time.h/conform): Likewise.
36568         (test-xfail-XPG3/unistd.h/conform): Likewise.
36569         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36570         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36571         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36572         (test-xfail-XPG4/netdb.h/conform): Likewise.
36573         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36574         (test-xfail-XPG4/signal.h/conform): Likewise.
36575         (test-xfail-XPG4/stdio.h/conform): Likewise.
36576         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36577         (test-xfail-XPG4/stropts.h/conform): Likewise.
36578         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36579         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36580         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36581         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36582         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36583         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36584         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36585         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36586         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36587         (test-xfail-XPG4/termios.h/conform): Likewise.
36588         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36589         (test-xfail-XPG4/unistd.h/conform): Likewise.
36590         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36591         (test-xfail-POSIX/sched.h/conform): Likewise.
36592         (test-xfail-POSIX/signal.h/conform): Likewise.
36593         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36594         (test-xfail-POSIX/tar.h/conform): Likewise.
36595         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36596         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36597         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36598         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36599         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36600         (test-xfail-UNIX98/sched.h/conform): Likewise.
36601         (test-xfail-UNIX98/signal.h/conform): Likewise.
36602         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36603         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36604         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36605         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36606         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36607         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36608         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36609         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36610         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36611         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36612         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36613         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36614         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36615         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36616         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36617         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36618         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36619         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36620         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36621         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36622         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36623         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36624         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36625         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36626         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36627         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36628         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36629         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36630         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36631         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36632         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36633         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36634         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36635         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36636         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36637         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36638         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36639         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36640         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36641         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36642         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36643         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36644         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36645         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36646         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36647         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36648         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36649         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36650         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36651         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36652         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36653         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36654         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36655         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36656         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36657         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36658         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36659         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36660         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36661         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36662         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36663         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36664         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36665         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36666         (conformtest-cc-flags): Likewise.
36667         ($(conformtest-header-tests): New target.
36668         * conform/check-header-lists.sh: New file.
36669         * conform/run-conformtest.sh: Remove.
36670
36671         * conform/conformtest.pl: Allow ' and \ in values given for
36672         constants.
36673         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36674         inclusion.
36675         [POSIX] (sys/types.h): Likewise.
36676         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36677         inclusion.
36678         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36679         inclusion.
36680         * conform/data/signal.h-data (SIGIO): Remove expectation.
36681         [XPG3] (SIGBUS): Do not expect.
36682         [POSIX || XPG3] (SIGPOLL): Likewise.
36683         [POSIX || XPG3] (SIGPROF): Likewise.
36684         [POSIX || XPG3] (SIGSYS): Likewise.
36685         [XPG3] (SIGTRAP): Likewise.
36686         [POSIX || XPG3] (SIGURG): Likewise.
36687         [POSIX || XPG3] (SIGVTALRM): Likewise.
36688         [POSIX || XPG3] (SIGXCPU): Likewise.
36689         [POSIX || XPG3] (SIGXFSZ): Likewise.
36690         [POSIX] (SA_SIGINFO): Expect.
36691         [XPG3] (siginfo_t): Do not expect type or contents.
36692         [POSIX] (si_pid): Do not expect element.
36693         [POSIX] (si_uid): Likewise.
36694         [POSIX] (si_addr): Likewise.
36695         [POSIX] (si_status): Likewise.
36696         [POSIX] (si_band): Likewise.
36697         [XPG4] (si_value): Likewise.
36698         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36699         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36700         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36701         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36702         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36703         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36704         [POSIX || XPG3] (ILL_COPROC): Likewise.
36705         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36706         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36707         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36708         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36709         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36710         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36711         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36712         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36713         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36714         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36715         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36716         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36717         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36718         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36719         [POSIX || XPG3] (CLD_EXITED): Likewise.
36720         [POSIX || XPG3] (CLD_KILLED): Likewise.
36721         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36722         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36723         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36724         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36725         [POSIX || XPG3] (POLL_IN): Likewise.
36726         [POSIX || XPG3] (POLL_OUT): Likewise.
36727         [POSIX || XPG3] (POLL_MSG): Likewise.
36728         [POSIX || XPG3] (POLL_ERR): Likewise.
36729         [POSIX || XPG3] (POLL_PRI): Likewise.
36730         [POSIX || XPG3] (POLL_HUP): Likewise.
36731         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36732         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36733         (SIG*): Do not allow.
36734         [XPG3] (si_*): Likewise.
36735         [XPG3] (SI_*): Likewise.
36736         [XPG3 || XPG4] (sigev_*): Likewise.
36737         [XPG3 || XPG4] (SIGEV_*): Likewise.
36738         [XPG3 || XPG4] (sival_*): Likewise.
36739         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36740         [POSIX || XPG3] (BUS_*): Likewise.
36741         [POSIX || XPG3] (CLD_*): Likewise.
36742         [POSIX || XPG3] (FPE_*): Likewise.
36743         [POSIX || XPG3] (ILL_*): Likewise.
36744         [POSIX || XPG3] (POLL_*): Likewise.
36745         [POSIX || XPG3] (SEGV_*): Likewise.
36746         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36747         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36748         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36749         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36750         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36751         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36752         Specify type and value.
36753         (TVERSLEN): Likewise.
36754         (REGTYPE): Likewise.
36755         (AREGTYPE): Likewise.
36756         (LNKTYPE): Likewise.
36757         (SYMTYPE): Likewise.
36758         (CHRTYPE): Likewise.
36759         (BLKTYPE): Likewise.
36760         (DIRTYPE): Likewise.
36761         (FIFOTYPE): Likewise.
36762         (CONTTYPE): Likewise.
36763         (TSUID): Likewise.
36764         (TSGID): Likewise.
36765         (TSVTX): Likewise.
36766         (TUREAD): Likewise.
36767         (TUWRITE): Likewise.
36768         (TUEXEC): Likewise.
36769         (TGREAD): Likewise.
36770         (TGWRITE): Likewise.
36771         (TGEXEC): Likewise.
36772         (TOREAD): Likewise.
36773         (TOWRITE): Likewise.
36774         (TOEXEC): Likewise.
36775         [POSIX] (TSVTX): Expect constant.
36776
36777 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36778
36779         * Makefile (tests): Change dependencies to ....
36780         (tests-special): ... additions to this variable.
36781         (tests): Depend on $(tests-special).
36782         * Makerules (check-abi-list): New variable.
36783         (check-abi): Depend on $(check-abi-list).
36784         [$(subdir) = elf] (tests-special): Add
36785         $(objpfx)check-abi-libc.out.
36786         [$(build-shared) = yes && subdir] (tests-special): Add
36787         $(check-abi-list).
36788         [$(build-shared) = yes && subdir] (tests): Do not depend on
36789         check-abi.
36790         * Rules (tests): Depend on $(tests-special).
36791         (xtests): Depend on $(xtests-special).
36792         * catgets/Makefile (tests): Change dependencies to ....
36793         (tests-special): ... additions to this variable.
36794         * conform/Makefile (tests): Change dependencies to ....
36795         (tests-special): ... additions to this variable.
36796         * elf/Makefile (tests): Change dependencies to ....
36797         (tests-special): ... additions to this variable.
36798         * grp/Makefile (tests): Change dependencies to ....
36799         (tests-special): ... additions to this variable.
36800         * iconv/Makefile (xtests): Change dependencies to ....
36801         (xtests-special): ... additions to this variable.
36802         * iconvdata/Makefile (tests): Change dependencies to ....
36803         (tests-special): ... additions to this variable.
36804         * intl/Makefile (tests): Change dependencies to ....
36805         (tests-special): ... additions to this variable.  Also add
36806         $(objpfx)tst-gettext.out.
36807         * io/Makefile (tests): Change dependencies to ....
36808         (tests-special): ... additions to this variable.
36809         * libio/Makefile (tests): Change dependencies to ....
36810         (tests-special): ... additions to this variable.
36811         * malloc/Makefile (tests): Change dependencies to ....
36812         (tests-special): ... additions to this variable.
36813         * misc/Makefile (tests): Change dependencies to ....
36814         (tests-special): ... additions to this variable.
36815         * nptl/Makefile (tests): Change dependencies to ....
36816         (tests-special): ... additions to this variable.
36817         * nptl_db/Makefile (tests): Change dependencies to ....
36818         (tests-special): ... additions to this variable.
36819         * posix/Makefile (tests): Change dependencies to ....
36820         (tests-special): ... additions to this variable.
36821         (xtests): Change dependencies to ....
36822         (xtests-special): ... additions to this variable.
36823         * resolv/Makefile (tests): Change dependencies to ....
36824         (tests-special): ... additions to this variable.
36825         (xtests): Change dependencies to ....
36826         (xtests-special): ... additions to this variable.
36827         * stdio-common/Makefile (tests): Change dependencies to ....
36828         (tests-special): ... additions to this variable.
36829         (do-tst-unbputc): Remove target.
36830         (do-tst-printf): Likewise.
36831         * stdlib/Makefile (tests): Change dependencies to ....
36832         (tests-special): ... additions to this variable.
36833         * string/Makefile (tests): Change dependencies to ....
36834         (tests-special): ... additions to this variable.
36835         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36836         (tests-special): ... additions to this variable.
36837
36838         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36839         whole file.
36840         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36841         whole file.
36842         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36843         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36844
36845         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36846         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36847         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36848         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36849         * conform/data/libgen.h-data [XPG3]: Likewise.
36850         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36851         * conform/data/ndbm.h-data [XPG3]: Likewise.
36852         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36853         * conform/data/netdb.h-data [XPG3]: Likewise.
36854         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36855         * conform/data/poll.h-data [XPG3]: Likewise.
36856         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36857         * conform/data/strings.h-data [XPG3]: Likewise.
36858         * conform/data/stropts.h-data [XPG3]: Likewise.
36859         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36860         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36861         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36862         Likewise.
36863         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36864         * conform/data/sys/time.h-data [XPG3]: Likewise.
36865         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36866         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36867         * conform/data/sys/un.h-data [XPG3]: Likewise.
36868         * conform/data/syslog.h-data [XPG3]: Likewise.
36869         * conform/data/ucontext.h-data [XPG3]: Likewise.
36870         * conform/data/utmpx.h-data [XPG3]: Likewise.
36871         * conform/data/varargs.h-data [UNIX98]: Enable file.
36872
36873         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36874
36875         * math/libm-test.inc (struct test_f_f_data): Move expected results
36876         into structure for each rounding mode.
36877         (struct test_ff_f_data): Likewise.
36878         (struct test_ff_f_data_nexttoward): Likewise.
36879         (struct test_fi_f_data): Likewise.
36880         (struct test_fl_f_data): Likewise.
36881         (struct test_if_f_data): Likewise.
36882         (struct test_fff_f_data): Likewise.
36883         (struct test_c_f_data): Likewise.
36884         (struct test_f_f1_data): Likewise.
36885         (struct test_fF_f1_data): Likewise.
36886         (struct test_ffI_f1_data): Likewise.
36887         (struct test_c_c_data): Likewise.
36888         (struct test_cc_c_data): Likewise.
36889         (struct test_f_i_data): Likewise.
36890         (struct test_ff_i_data): Likewise.
36891         (struct test_f_l_data): Likewise.
36892         (struct test_f_L_data): Likewise.
36893         (struct test_fFF_11_data): Likewise.
36894         (RM_): New macro.
36895         (RM_FE_DOWNWARD): Likewise.
36896         (RM_FE_TONEAREST): Likewise.
36897         (RM_FE_TOWARDZERO): Likewise.
36898         (RM_FE_UPWARD): Likewise.
36899         (RUN_TEST_LOOP_f_f): Update references to expected results.
36900         (RUN_TEST_LOOP_2_f): Likewise.
36901         (RUN_TEST_LOOP_fff_f): Likewise.
36902         (RUN_TEST_LOOP_c_f): Likewise.
36903         (RUN_TEST_LOOP_f_f1): Likewise.
36904         (RUN_TEST_LOOP_fF_f1): Likewise.
36905         (RUN_TEST_LOOP_fI_f1): Likewise.
36906         (RUN_TEST_LOOP_ffI_f1): Likewise.
36907         (RUN_TEST_LOOP_c_c): Likewise.
36908         (RUN_TEST_LOOP_cc_c): Likewise.
36909         (RUN_TEST_LOOP_f_i): Likewise.
36910         (RUN_TEST_LOOP_f_i_tg): Likewise.
36911         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36912         (RUN_TEST_LOOP_f_b): Likewise.
36913         (RUN_TEST_LOOP_f_b_tg): Likewise.
36914         (RUN_TEST_LOOP_f_l): Likewise.
36915         (RUN_TEST_LOOP_f_L): Likewise.
36916         (RUN_TEST_LOOP_fFF_11): Likewise.
36917         * math/gen-libm-test.pl (parse_args): Output four copies of
36918         expected results for each test.
36919
36920         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36921         (__ASSUME_UTIMES): Remove.
36922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36923         (__ASSUME_UTIMES): Likewise.
36924
36925         * math/gen-auto-libm-tests.c: Update comment on output format.
36926         (output_for_one_input_case): Generate before-rounding and
36927         after-rounding information as conditions on output flags not
36928         floating-point format.
36929         * math/auto-libm-test-out: Regenerated.
36930         * math/gen-libm-test.pl (cond_value): New function.
36931         (or_cond_value): Use cond_value.
36932         (generate_testfile): Handle conditional exceptions.
36933
36934 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36935
36936         * math/libm-test.inc (max_valid_error): New variable.
36937         (init_max_error): Take new argument specifying whether function
36938         results are exactly determined.  Set max_valid_error and bound
36939         other variables for errors based on this argument.
36940         (set_max_error): Do not record results above max_valid_error.
36941         (check_float_internal): Only accept errors of up to 0.5ulps if
36942         also at most max_valid_error.
36943         (START): Take new argument EXACT and pass it to init_max_error.
36944         (acos_test): Update call to START.
36945         (acos_test_tonearest): Likewise.
36946         (acos_test_towardzero): Likewise.
36947         (acos_test_downward): Likewise.
36948         (acos_test_upward): Likewise.
36949         (acosh_test): Likewise.
36950         (asin_test): Likewise.
36951         (asin_test_tonearest): Likewise.
36952         (asin_test_towardzero): Likewise.
36953         (asin_test_downward): Likewise.
36954         (asin_test_upward): Likewise.
36955         (asinh_test): Likewise.
36956         (atan_test): Likewise.
36957         (atanh_test): Likewise.
36958         (atan2_test): Likewise.
36959         (cabs_test): Likewise.
36960         (cacos_test): Likewise.
36961         (cacosh_test): Likewise.
36962         (carg_test): Likewise.
36963         (casin_test): Likewise.
36964         (casinh_test): Likewise.
36965         (catan_test): Likewise.
36966         (catanh_test): Likewise.
36967         (cbrt_test): Likewise.
36968         (ccos_test): Likewise.
36969         (ccosh_test): Likewise.
36970         (ceil_test): Likewise.
36971         (cexp_test): Likewise.
36972         (cimag_test): Likewise.
36973         (clog_test): Likewise.
36974         (clog10_test): Likewise.
36975         (conj_test): Likewise.
36976         (copysign_test): Likewise.
36977         (cos_test): Likewise.
36978         (cos_test_tonearest): Likewise.
36979         (cos_test_towardzero): Likewise.
36980         (cos_test_downward): Likewise.
36981         (cos_test_upward): Likewise.
36982         (cosh_test): Likewise.
36983         (cosh_test_tonearest): Likewise.
36984         (cosh_test_towardzero): Likewise.
36985         (cosh_test_downward): Likewise.
36986         (cosh_test_upward): Likewise.
36987         (cpow_test): Likewise.
36988         (cproj_test): Likewise.
36989         (creal_test): Likewise.
36990         (csin_test): Likewise.
36991         (csinh_test): Likewise.
36992         (csqrt_test): Likewise.
36993         (ctan_test): Likewise.
36994         (ctan_test_tonearest): Likewise.
36995         (ctan_test_towardzero): Likewise.
36996         (ctan_test_downward): Likewise.
36997         (ctan_test_upward): Likewise.
36998         (ctanh_test): Likewise.
36999         (ctanh_test_tonearest): Likewise.
37000         (ctanh_test_towardzero): Likewise.
37001         (ctanh_test_downward): Likewise.
37002         (ctanh_test_upward): Likewise.
37003         (erf_test): Likewise.
37004         (erfc_test): Likewise.
37005         (exp_test): Likewise.
37006         (exp_test_tonearest): Likewise.
37007         (exp_test_towardzero): Likewise.
37008         (exp_test_downward): Likewise.
37009         (exp_test_upward): Likewise.
37010         (exp10_test): Likewise.
37011         (exp10_test_tonearest): Likewise.
37012         (exp10_test_towardzero): Likewise.
37013         (exp10_test_downward): Likewise.
37014         (exp10_test_upward): Likewise.
37015         (pow10_test): Likewise.
37016         (exp2_test): Likewise.
37017         (expm1_test): Likewise.
37018         (expm1_test_tonearest): Likewise.
37019         (expm1_test_towardzero): Likewise.
37020         (expm1_test_downward): Likewise.
37021         (expm1_test_upward): Likewise.
37022         (fabs_test): Likewise.
37023         (fdim_test): Likewise.
37024         (floor_test): Likewise.
37025         (fma_test): Likewise.
37026         (fma_test_towardzero): Likewise.
37027         (fma_test_downward): Likewise.
37028         (fma_test_upward): Likewise.
37029         (fmax_test): Likewise.
37030         (fmin_test): Likewise.
37031         (fmod_test): Likewise.
37032         (fpclassify_test): Likewise.
37033         (frexp_test): Likewise.
37034         (hypot_test): Likewise.
37035         (ilogb_test): Likewise.
37036         (isfinite_test): Likewise.
37037         (finite_test): Likewise.
37038         (isgreater_test): Likewise.
37039         (isgreaterequal_test): Likewise.
37040         (isinf_test): Likewise.
37041         (isless_test): Likewise.
37042         (islessequal_test): Likewise.
37043         (islessgreater_test): Likewise.
37044         (isnan_test): Likewise.
37045         (isnormal_test): Likewise.
37046         (issignaling_test): Likewise.
37047         (isunordered_test): Likewise.
37048         (j0_test): Likewise.
37049         (j1_test): Likewise.
37050         (jn_test): Likewise.
37051         (ldexp_test): Likewise.
37052         (lgamma_test): Likewise.
37053         (gamma_test): Likewise.
37054         (lrint_test): Likewise.
37055         (lrint_test_tonearest): Likewise.
37056         (lrint_test_towardzero): Likewise.
37057         (lrint_test_downward): Likewise.
37058         (lrint_test_upward): Likewise.
37059         (llrint_test): Likewise.
37060         (llrint_test_tonearest): Likewise.
37061         (llrint_test_towardzero): Likewise.
37062         (llrint_test_downward): Likewise.
37063         (llrint_test_upward): Likewise.
37064         (log_test): Likewise.
37065         (log10_test): Likewise.
37066         (log1p_test): Likewise.
37067         (log2_test): Likewise.
37068         (logb_test): Likewise.
37069         (logb_test_downward): Likewise.
37070         (lround_test): Likewise.
37071         (llround_test): Likewise.
37072         (modf_test): Likewise.
37073         (nearbyint_test): Likewise.
37074         (nextafter_test): Likewise.
37075         (nexttoward_test): Likewise.
37076         (pow_test): Likewise.
37077         (pow_test_tonearest): Likewise.
37078         (pow_test_towardzero): Likewise.
37079         (pow_test_downward): Likewise.
37080         (pow_test_upward): Likewise.
37081         (remainder_test): Likewise.
37082         (drem_test): Likewise.
37083         (remainder_test_tonearest): Likewise.
37084         (drem_test_tonearest): Likewise.
37085         (remainder_test_towardzero): Likewise.
37086         (drem_test_towardzero): Likewise.
37087         (remainder_test_downward): Likewise.
37088         (drem_test_downward): Likewise.
37089         (remainder_test_upward): Likewise.
37090         (drem_test_upward): Likewise.
37091         (remquo_test): Likewise.
37092         (rint_test): Likewise.
37093         (rint_test_tonearest): Likewise.
37094         (rint_test_towardzero): Likewise.
37095         (rint_test_downward): Likewise.
37096         (rint_test_upward): Likewise.
37097         (round_test): Likewise.
37098         (scalb_test): Likewise.
37099         (scalbn_test): Likewise.
37100         (scalbln_test): Likewise.
37101         (signbit_test): Likewise.
37102         (sin_test): Likewise.
37103         (sin_test_tonearest): Likewise.
37104         (sin_test_towardzero): Likewise.
37105         (sin_test_downward): Likewise.
37106         (sin_test_upward): Likewise.
37107         (sincos_test): Likewise.
37108         (sinh_test): Likewise.
37109         (sinh_test_tonearest): Likewise.
37110         (sinh_test_towardzero): Likewise.
37111         (sinh_test_downward): Likewise.
37112         (sinh_test_upward): Likewise.
37113         (sqrt_test): Likewise.
37114         (sqrt_test_tonearest): Likewise.
37115         (sqrt_test_towardzero): Likewise.
37116         (sqrt_test_downward): Likewise.
37117         (sqrt_test_upward): Likewise.
37118         (tan_test): Likewise.
37119         (tan_test_tonearest): Likewise.
37120         (tan_test_towardzero): Likewise.
37121         (tan_test_downward): Likewise.
37122         (tan_test_upward): Likewise.
37123         (tanh_test): Likewise.
37124         (tgamma_test): Likewise.
37125         (trunc_test): Likewise.
37126         (y0_test): Likewise.
37127         (y1_test): Likewise.
37128         (yn_test): Likewise.
37129         (significand_test): Likewise.
37130
37131         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37132         individual tests in comment.
37133         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37134         (prev_max_error): New variable.
37135         (prev_real_max_error): Likewise.
37136         (prev_imag_max_error): Likewise.
37137         (compare_ulp_data): Don't refer to test names in comment.
37138         (find_test_ulps): Remove function.
37139         (find_function_ulps): Likewise.
37140         (find_complex_function_ulps): Likewise.
37141         (init_max_error): Take function name as argument.  Look up ulps
37142         for that function.
37143         (print_ulps): Remove function.
37144         (print_max_error): Use prev_max_error instead of calling
37145         find_function_ulps.
37146         (print_complex_max_error): Use prev_real_max_error and
37147         prev_imag_max_error instead of calling find_complex_function_ulps.
37148         (check_float_internal): Take max_ulp parameter instead of calling
37149         find_test_ulps.  Don't call print_ulps.
37150         (check_float): Update call to check_float_internal.
37151         (check_complex): Update calls to check_float_internal.
37152         (START): Pass argument to init_max_error.
37153         * math/gen-libm-test.pl (%results): Don't include "kind"
37154         information.
37155         (parse_ulps): Don't handle ulps of individual tests.
37156         (print_ulps_file): Likewise.
37157         (output_ulps): Likewise.
37158         * math/README.libm-test: Update.
37159         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37160         individual tests.
37161         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37162         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37163         * sysdeps/arm/libm-test-ulps: Likewise.
37164         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37165         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37166         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37167         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37168         * sysdeps/microblaze/libm-test-ulps: Likewise.
37169         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37170         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37171         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37172         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37174         * sysdeps/sh/libm-test-ulps: Likewise.
37175         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37176         * sysdeps/tile/libm-test-ulps: Likewise.
37177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37178
37179 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37180
37181         * math/libm-test.inc (print_complex_max_error): Check separately
37182         whether real and imaginary errors are within allowed range and
37183         pass 0 to print_complex_function_ulps instead of value within
37184         allowed range.
37185
37186 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37187
37188         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37189         formatting.
37190         (get_handles_fopen): Likewise.
37191         (do_write_test): Likewise.
37192
37193         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37194
37195         * libio/fileops.c (do_ftell): Use cached offset when
37196         available.
37197         * libio/iofwide.c (do_ftell_wide): Likewise.
37198         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37199         _IO_file_attach.
37200         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37201
37202         [BZ #16532]
37203         * libio/libioP.h (get_file_offset): New function.
37204         * libio/fileops.c (get_file_offset): Likewise.
37205         (do_ftell): Likewise.
37206         (_IO_new_file_seekoff): Split out ftell logic.
37207         * libio/wfileops.c (do_ftell_wide): Likewise.
37208         (_IO_wfile_seekoff): Split out ftell logic.
37209         * libio/tst-ftell-active-handler.c: New test case.
37210         * libio/Makefile (tests): Add it.
37211
37212 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37213
37214         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37215         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37216
37217 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37218
37219         [BZ #16639]
37220         * nscd/connections.c (nscd_init): Call do_exit.
37221         (start_threads): Call do_exit and notify_parent.
37222         (begin_drop_privileges): Call do_exit.
37223         (finish_drop_privileges): Likewise.
37224         * nscd/selinux.c (preserve_capabilities): Likewise.
37225         (install_real_capabilities): Likewise.
37226         (nscd_selinux_enabled): Likewise.
37227         (avc_create_thread): Likewise.
37228         (avc_alloc_lock): Likewise.
37229         (nscd_avc_init): Likewise.
37230         * nscd/nscd.c (parent_fd): New static variable.
37231         (main): Create a pipe between parent and child processes.
37232         Skip closing parent_fd.
37233         (monitor_child): New function.
37234         (do_exit): Likewise.
37235         (notify_parent): Likewise.
37236         * nscd/nscd.h (notify_parent): Likewise.
37237         (do_exit): Likewise.
37238
37239 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37240
37241         * malloc/malloc.c (__libc_calloc): Revert last change.
37242
37243 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244
37245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37246
37247 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37248
37249         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37251         implementation.
37252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37253         (__libc_ifunc_impl_list): Likewise.
37254         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37255         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37256         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37257         * string/strrchr.c: Define STRRCHR.
37258
37259 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37260
37261         * benchtest/bench-strtok.c (simple_strtok): Delete.
37262         (strtok_string): Use as benchmark.
37263         * string/strtok (STRTOK): New macro.
37264
37265 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37266
37267         * manual/threads.texi: Add header and standard comments to all
37268         functions.
37269
37270         * elf/dl-lookup.c (check_match): New function.
37271         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37272         (do_lookup_x): Remove nested function check_match. Use non-nested
37273         function check_match.
37274
37275 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37276
37277         * csu/Makefile (generated, before-compile): Use += rather than =.
37278         * catgets/Makefile (generated, generated-dirs): Likewise.
37279         * debug/Makefile (generated): Likewise.
37280         * dlfcn/Makefile (generated): Likewise.
37281         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37282         * iconvdata/Makefile (before-compile, generated): Likewise.
37283         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37284         * libio/Makefile (generated): Likewise.
37285         * malloc/Makefile (generated): Likewise.
37286         * manual/Makefile (generated, generated-dirs): Likewise.
37287         * misc/Makefile (generated): Likewise.
37288         * posix/Makefile (generated): Likewise.
37289         * resolv/Makefile (generated): Likewise.
37290         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37291         * timezone/Makefile (generated, generated-dirs): Likewise.
37292
37293         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37294
37295 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37296
37297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37298         power8 implementation.
37299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37300         file: POWER8 llround ifunc implementation.
37301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37302         (__lllround): Add POWER8 implementation.
37303         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37304         POWER8 llround implementation.
37305
37306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37307         power8 implementation.
37308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37309         file: POWER8 llrint ifunc implementation.
37310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37311         Add POWER8 implementation.
37312         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37313         POWER8 llrint implementation.
37314
37315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37316         power8 implementation.
37317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37318         file: POWER8 finite ifunc implementation.
37319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37320         Add POWER8 implementation.
37321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37322         Likewise.
37323         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37324         POWER8 finite implementation.
37325         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37326
37327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37328         power8 implementation.
37329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37330         file: POWER8 isinf ifunc implementation.
37331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37332         POWER8 implementation.
37333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37334         Likewise.
37335         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37336         isinf implementation.
37337         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37338
37339         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37340         (INIT_ARCH): Add hwcap2 initialization.
37341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37342         power8 implementation.
37343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37344         file: POWER8 isnan ifunc implementation.
37345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37346         POWER8 implementation.
37347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37348         Likewise.
37349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37350         isnan implementation.
37351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37352
37353 2014-02-27  Joey Ye  <joey.ye@arm.com>
37354
37355         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37356         (_FP_NANFRAC_Q): Set to zero.
37357
37358 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37359
37360         [BZ #16623]
37361         * math/auto-libm-test-in: New test inputs.
37362         * math/auto-libm-test-out: Regenerate.
37363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37364         and DA.
37365         (__cos): Likewise.
37366         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37367
37368 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37369
37370         * scripts/evaluate-test.sh: Take new argument indicating whether
37371         failure is expected.
37372         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37373         indicating whether failure is expected.
37374         * conform/Makefile (test-xfail-run-conformtest): New variable.
37375         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37376         level.
37377         * posix/Makefile (test-xfail-annexc): New variable.
37378         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37379
37380 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37381
37382         * argp/Makefile: Include Makeconfig immediately after defining
37383         subdir.
37384         * assert/Makefile: Likewise.
37385         * benchtests/Makefile: Likewise.
37386         * catgets/Makefile: Likewise.
37387         * conform/Makefile: Likewise.
37388         * crypt/Makefile: Likewise.
37389         * csu/Makefile: Likewise.
37390         (all): Remove target.
37391         * ctype/Makefile: Include Makeconfig immediately after defining
37392         subdir.
37393         * debug/Makefile: Likewise.
37394         * dirent/Makefile: Likewise.
37395         * dlfcn/Makefile: Likewise.
37396         * gmon/Makefile: Likewise.
37397         * gnulib/Makefile: Likewise.
37398         * grp/Makefile: Likewise.
37399         * gshadow/Makefile: Likewise.
37400         * hesiod/Makefile: Likewise.
37401         * hurd/Makefile: Likewise.
37402         (all): Remove target.
37403         * iconvdata/Makefile: Include Makeconfig immediately after
37404         defining subdir.
37405         * inet/Makefile: Likewise.
37406         * intl/Makefile: Likewise.
37407         * io/Makefile: Likewise.
37408         * libio/Makefile: Likewise.
37409         (all): Remove target.
37410         * locale/Makefile: Include Makeconfig immediately after defining
37411         subdir.
37412         * login/Makefile: Likewise.
37413         * mach/Makefile: Likewise.
37414         (all): Remove target.
37415         * malloc/Makefile: Include Makeconfig immediately after defining
37416         subdir.
37417         (all): Remove target.
37418         * manual/Makefile: Include Makeconfig immediately after defining
37419         subdir.
37420         * math/Makefile: Likewise.
37421         * misc/Makefile: Likewise.
37422         * nis/Makefile: Likewise.
37423         * nss/Makefile: Likewise.
37424         * po/Makefile: Likewise.
37425         (all): Remove target.
37426         * posix/Makefile: Include Makeconfig immediately after defining
37427         subdir.
37428         * pwd/Makefile: Likewise.
37429         * resolv/Makefile: Likewise.
37430         * resource/Makefile: Likewise.
37431         * rt/Makefile: Likewise.
37432         * setjmp/Makefile: Likewise.
37433         * shadow/Makefile: Likewise.
37434         * signal/Makefile: Likewise.
37435         * socket/Makefile: Likewise.
37436         * soft-fp/Makefile: Likewise.
37437         * stdio-common/Makefile: Likewise.
37438         * stdlib/Makefile: Likewise.
37439         * streams/Makefile: Likewise.
37440         * string/Makefile: Likewise.
37441         * sunrpc/Makefile: Likewise.
37442         (all): Remove target.
37443         * sysvipc/Makefile: Include Makeconfig immediately after defining
37444         subdir.
37445         * termios/Makefile: Likewise.
37446         * time/Makefile: Likewise.
37447         * timezone/Makefile: Likewise.
37448         (all): Remove target.
37449         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37450         subdir.
37451         * wctype/Makefile: Likewise.
37452
37453 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37454
37455         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37456         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37457         (libc_feholdexcept_setround_mips): Ditto.
37458         (libc_feholdsetround): New.
37459         (libc_feholdsetroundf): New.
37460         (libc_feholdsetroundl): New.
37461         (libc_feupdateenv_test_mips): New.
37462         (libc_feupdateenv_test): New.
37463         (libc_feupdateenv_testf): New.
37464         (libc_feupdateenv_testl): New.
37465         (libc_feresetround): New.
37466         (libc_feresetroundf): New.
37467         (libc_feresetroundl): New.
37468         (libc_fetestexcept_mips): New.
37469         (libc_fetestexcept): New.
37470         (libc_fetestexceptf): New.
37471         (libc_fetestexceptl): New.
37472         (HAVE_RM_CTX): New.
37473         (libc_feholdexcept_setround_mips_ctx): New.
37474         (libc_feholdexcept_setround_ctx): New.
37475         (libc_feholdexcept_setroundf_ctx): New.
37476         (libc_feholdexcept_setroundl_ctx): New.
37477         (libc_fesetenv_mips_ctx): New.
37478         (libc_fesetenv_ctx): New.
37479         (libc_fesetenv_ctxf): New.
37480         (libc_fesetenv_ctxl): New.
37481         (libc_feupdateenv_mips_ctx): New.
37482         (libc_feupdateenv_ctx): New.
37483         (libc_feupdateenvf_ctx): New.
37484         (libc_feupdateenvl_ctx): New.
37485         (libc_feholdsetround_mips_ctx): New.
37486         (libc_feholdsetround_ctx): New.
37487         (libc_feholdsetroundf_ctx): New.
37488         (libc_feholdsetroundl_ctx): New.
37489         (libc_feresetround_mips_ctx): New.
37490         (libc_feresetround_ctx): New.
37491         (libc_feresetroundf_ctx): New.
37492         (libc_feresetroundl_ctx): New.
37493
37494 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37495
37496         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37497
37498         * manual/ipc.texi: New file.
37499         * manual/Makefile (chapters): Add ipc.
37500         * manual/job.texi: Add "Inter-Process Communication" to next.
37501         * manual/process.texi: Add "Inter-Process Communication" to prev.
37502
37503 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37504
37505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37506
37507 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37508
37509         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37510
37511         * manual/arith.texi: Fix spaces after sentences.
37512         * manual/charset.texi: Likewise.
37513         * manual/errno.texi: Likewise.
37514         * manual/install.texi: Likewise.
37515         * manual/llio.texi: Likewise.
37516         * manual/locale.texi: Likewise.
37517         * manual/maint.texi: Likewise.
37518         * manual/math.texi: Likewise.
37519         * manual/memory.texi: Likewise.
37520         * manual/message.texi: Likewise.
37521         * manual/probes.texi: Likewise.
37522         * manual/resource.texi: Likewise.
37523         * manual/signal.texi: Likewise.
37524         * manual/socket.texi: Likewise.
37525         * manual/stdio.texi: Likewise.
37526         * manual/string.texi: Likewise.
37527         * manual/time.texi: Likewise.
37528         * manual/users.texi: Likewise.
37529
37530 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37531
37532         [BZ #16632]
37533         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37534         _DEFAULT_SOURCE is defined.
37535
37536 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37537             Carlos O'Donell  <carlos@redhat.com>
37538
37539         [BZ #16613]
37540         * elf/dl-tls.c (_dl_count_modids): New function.
37541         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37542         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37543         audit library and increment generation counter.
37544         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37545         * elf/tst-audit9.c: New file.
37546         * elf/tst-auditmod9a.c: New file.
37547         * elf/tst-auditmod9b.c: New file.
37548         * elf/Makefile: Add rules to build and run tst-audit9.
37549
37550 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37551
37552         [BZ #15347]
37553         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37554
37555 2014-02-25  Will Newton  <will.newton@linaro.org>
37556
37557         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37558         (__longjmp): Restore sp and lr before restoring callee
37559         saved registers.  Add longjmp and longjmp_target
37560         SystemTap probe point.
37561         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37562         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37563         Define to zero to match jmpbuf layout.
37564         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37565         (__sigsetjmp): Save sp and lr before saving callee
37566         saved registers.  Add setjmp SystemTap probe point.
37567
37568 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37569
37570         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37571
37572 2014-02-24  Andreas Schwab  <schwab@suse.de>
37573
37574         [BZ #15804]
37575         * elf/pldd.c (wait_for_ptrace_stop): New function.
37576         (main): Call it after attaching.
37577
37578 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37579
37580         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37581         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37582         Versions files is now verboten.
37583         * hurd/Versions (libc: GLIBC_2.0):
37584         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37585         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37586         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37587         * mach/Versions: Likewise.
37588
37589         * csu/Versions: Remove unused %include.
37590         * resolv/Versions: Likewise.
37591
37592 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37593
37594         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37595         ($(objpfx)check-local-headers.out): Likewise.
37596         ($(objpfx)begin-end-check.out): Likewise.
37597         * Makerules (check-abi-%.out): Likewise.
37598         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37599         ($(objpfx)test2.cat): Likewise.
37600         ($(objpfx)de/libc.cat): Likewise.
37601         ($(objpfx)test-gencat.out): Likewise.
37602         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37603         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37604         ($(objpfx)noload-mem): Likewise.
37605         ($(objpfx)tst-pathopt.out): Likewise.
37606         ($(objpfx)tst-rtld-load-self.out): Likewise.
37607         ($(objpfx)tst-array1-cmp.out): Likewise.
37608         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37609         ($(objpfx)tst-array2-cmp.out): Likewise.
37610         ($(objpfx)tst-array3-cmp.out): Likewise.
37611         ($(objpfx)tst-array4-cmp.out): Likewise.
37612         ($(objpfx)tst-array5-cmp.out): Likewise.
37613         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37614         ($(objpfx)check-textrel.out): Likewise.
37615         ($(objpfx)check-execstack.out): Likewise.
37616         ($(objpfx)check-localplt.out): Likewise.
37617         ($(objpfx)order2-cmp.out): Likewise.
37618         ($(objpfx)tst-leaks1-mem): Likewise.
37619         ($(objpfx)tst-leaks1-static-mem): Likewise.
37620         ($(objpfx)tst-initorder-cmp.out): Likewise.
37621         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37622         ($(objpfx)tst-unused-dep.out): Likewise.
37623         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37624         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37625         * iconv/Makefile (test-iconvconfig): Likewise.
37626         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37627         ($(objpfx)iconv-test.out): Likewise.
37628         ($(objpfx)tst-tables.out): Likewise.
37629         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37630         ($(objpfx)tst-gettext.out): Likewise.
37631         ($(objpfx)tst-translit.out): Likewise.
37632         ($(objpfx)tst-gettext2.out): Likewise.
37633         ($(objpfx)tst-gettext4.out): Likewise.
37634         ($(objpfx)tst-gettext6.out): Likewise.
37635         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37636         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37637         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37638         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37640         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37641         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37642         ($(objpfx)wordexp-tst.out): Likewise.
37643         ($(objpfx)annexc.out): Likewise.
37644         ($(objpfx)tst-fnmatch-mem): Likewise.
37645         ($(objpfx)bug-regex2-mem): Likewise.
37646         ($(objpfx)bug-regex14-mem): Likewise.
37647         ($(objpfx)bug-regex21-mem): Likewise.
37648         ($(objpfx)bug-regex31-mem): Likewise.
37649         ($(objpfx)tst-vfork3-mem): Likewise.
37650         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37651         ($(objpfx)tst-pcre-mem): Likewise.
37652         ($(objpfx)tst-boost-mem): Likewise.
37653         ($(objpfx)tst-getconf.out): Likewise.
37654         ($(objpfx)bug-ga2-mem): Likewise.
37655         ($(objpfx)bug-glob2-mem): Likewise.
37656         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37657         ($(objpfx)mtrace-tst-leaks2): Likewise.
37658         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37659         ($(objpfx)tst-printf.out): Likewise.
37660         ($(objpfx)tst-setvbuf1.out): Likewise.
37661         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37662         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37663         ($(objpfx)tst-fmtmsg.out): Likewise.
37664         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37665         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37666
37667         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37668         * bits/sigaction.h [__USE_MISC]: Likewise.
37669         * bits/waitstatus.h: Update #endif comments.
37670         * ctype/ctype.h: Likewise.
37671         * dirent/dirent.h: Likewise.
37672         [__USE_MISC]: Remove redundant conditionals.
37673         * grp/grp.h: Update #endif comments.
37674         [__USE_GNU]: Remove redundant conditionals.
37675         [__USE_MISC]: Likewise.
37676         * inet/netinet/in.h [__USE_GNU]: Likewise.
37677         * io/sys/stat.h [__USE_MISC]: Likewise.
37678         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37679         * libio/bits/stdio.h: Update #endif comments.
37680         [__USE_MISC]: Remove redundant conditionals.
37681         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37682         * libio/stdio.h: Update #endif comments.
37683         [__USE_MISC]: Remove redundant conditionals.
37684         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37685         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37686         * math/math.h: Update #else and #endif comments.
37687         [__USE_MISC]: Remove redundant conditionals.
37688         * misc/sys/uio.h: Update #endif comments.
37689         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37690         * posix/glob.h [__USE_MISC]: Likewise.
37691         * posix/sys/types.h: Update #endif comments.
37692         [__USE_MISC]: Remove redundant conditionals.
37693         * posix/sys/wait.h: Update #endif comments.
37694         [__USE_MISC]: Remove redundant conditionals.
37695         * posix/unistd.h: Update #endif comments.
37696         [__USE_MISC]: Remove redundant conditionals.
37697         * pwd/pwd.h [__USE_GNU]: Likewise.
37698         [__USE_MISC]: Likewise.
37699         * resolv/netdb.h [__USE_GNU]: Likewise.
37700         * signal/signal.h: Update #endif comments.
37701         [__USE_MISC]: Remove redundant conditionals.
37702         * stdlib/stdlib.h: Update #else and #endif comments.
37703         [__USE_MISC]: Remove redundant conditionals.
37704         [__USE_GNU]: Likewise.
37705         * string/bits/string2.h [__USE_MISC]: Likewise.
37706         * string/string.h: Update #endif comments.
37707         [__USE_MISC]: Remove redundant conditionals.
37708         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37709         Likewise.
37710         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37711         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37712         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37713         Likewise.
37714         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37715         Likewise.
37716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37717         comments.
37718         [__USE_MISC]: Remove redundant conditionals.
37719         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37720         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37721         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37722         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37723         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37724         Likewise.
37725         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37726         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37727         Likewise.
37728         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37729         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37730         Likewise.
37731         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37732         Likewise.
37733         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37734         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37735         Likewise.
37736         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37737         Likewise.
37738         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37739         * sysdeps/x86/bits/string.h: Update #endif comments.
37740         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37741         conditionals.
37742         * time/sys/time.h: Update #endif comments.
37743         * time/time.h: Likewise.
37744         [__USE_MISC]: Remove redundant conditionals.
37745
37746 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37747
37748         [BZ #16600]
37749         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37750
37751 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37752
37753         * Versions.def (librt): Add GLIBC_2.17.
37754
37755 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37756
37757         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37758         synonym for _SYS_AUXV_H to allow direct inclusion.
37759         * sysdeps/sparc/bits/hwcap.h: Likewise.
37760         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37761         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37762         * sysdeps/sparc/sysdep.h: Likewise.
37763
37764 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37765
37766         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37767
37768 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37769
37770         * benchtests/bench-strrchr.c: Print length instead of position.
37771
37772 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37773
37774         [BZ #16611]
37775         * sysdeps/unix/sysv/linux/kernel-features.h
37776         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37777         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37778         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37779         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37780         Likewise.
37781         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37782         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37783         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37784         (__ASSUME_SENDMMSG): Define instead of using previous
37785         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37786         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37787         (__ASSUME_SENDMMSG_SYSCALL): Define.
37788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37789         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37790         Likewise.
37791         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37792         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37793         Likewise.
37794         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37795         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37796         Likewise.
37797         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37798         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37799         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37800         [__ASSUME_SENDMMSG]: Change conditionals to
37801         [__ASSUME_SENDMMSG_SOCKETCALL].
37802         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37803         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37804         Define.
37805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37806         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37807         Likewise.
37808         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37809         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37810         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37811         [!__ASSUME_SENDMMSG]: Change conditional to
37812         [!__ASSUME_SENDMMSG_SOCKETCALL].
37813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37814         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37815         Define.
37816
37817         [BZ #16610]
37818         * sysdeps/unix/sysv/linux/kernel-features.h
37819         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37820         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37821         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37822         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37823         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37824         [__i386__ || __sparc__]
37825         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37826         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37827         (__ASSUME_RECVMMSG): Define instead of using previous
37828         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37829         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37830         (__ASSUME_RECVMMSG_SYSCALL): Define.
37831         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37832         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37833         Likewise.
37834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37835         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37836         Likewise.
37837         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37839         Likewise.
37840         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37841         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37842         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37843         [__ASSUME_RECVMMSG]: Change condition to
37844         [__ASSUME_RECVMMSG_SOCKETCALL].
37845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37846         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37847         Define.
37848         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37851         Likewise.
37852         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37853         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37854         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37855         [!__ASSUME_RECVMMSG]: Change condition to
37856         [!__ASSUME_RECVMMSG_SOCKETCALL].
37857         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37858         (__ASSUME_RECVMMSG_SYSCALL): Define.
37859
37860         [BZ #16609]
37861         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37862         __powerpc__ || __s390__ || __sh__ || __sparc__]
37863         (__ASSUME_SOCKETCALL): Define.
37864         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37865         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37866         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37867         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37868         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37869         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37870         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37871         (__ASSUME_ACCEPT4): Define instead of using previous
37872         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37873         __powerpc__ || __sparc__ || __s390__)] condition.
37874         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37875         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37876         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37877         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37878         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37879         [!__ASSUME_ACCEPT4]: Change condition to
37880         [!__ASSUME_ACCEPT4_SOCKETCALL].
37881         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37882         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37883         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37884         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37885         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37886         __ASSUME_ACCEPT4_SYSCALL.
37887         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37888         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37889         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37890         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37891         __ASSUME_ACCEPT4_SYSCALL.
37892         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37893         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37894         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37895         [__ASSUME_ACCEPT4]: Change condition to
37896         [__ASSUME_ACCEPT4_SOCKETCALL].
37897         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37898         (__ASSUME_SOCKETCALL): Define.
37899         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37901         (__ASSUME_SOCKETCALL): Define.
37902         (__ASSUME_ACCEPT4): Remove.
37903         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37904         Define.
37905         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37906         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37907         Likewise.
37908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37909         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37910
37911         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37912         macro.
37913         (HWCAP_ARM_LPAE): Likewise.
37914         (HWCAP_ARM_EVTSTRM): Likewise.
37915         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37916         Add vpfd32, lpae and evtstrm.
37917         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37918         Increase to 22.
37919
37920 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37921
37922         * math/auto-libm-test-in: Add tests of clog10.
37923         * math/auto-libm-test-out: Regenerated.
37924         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37925         * sysdeps/i386/fpu/libm-test-ulps: Update.
37926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37927
37928 2014-02-18  Andreas Schwab  <schwab@suse.de>
37929
37930         [BZ #16574]
37931         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37932         Store non-zero if the second buffer was newly allocated.
37933         (send_dg): Likewise.
37934         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37935         to send_vc and send_dg.
37936         (res_nsend): Pass NULL for ansp2_malloced.
37937         * resolv/res_query.c (__libc_res_nquery): Add parameter
37938         answerp2_malloced and pass it down to __libc_res_nsend.
37939         (res_nquery): Pass additional NULL to __libc_res_nquery.
37940         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37941         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37942         second answer buffer if answerp2_malloced was set.
37943         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37944         (__libc_res_nquerydomain): Add parameter
37945         answerp2_malloced and pass it down to __libc_res_nquery.
37946         (res_nquerydomain): Pass additional NULL to
37947         __libc_res_nquerydomain.
37948         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37949         additional NULL to __libc_res_nsend and __libc_res_nquery.
37950         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37951         additional NULL to __libc_res_nsearch.
37952         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37953         parameter of __libc_res_nsearch to check for separately allocated
37954         second buffer.
37955         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37956         __libc_res_nquery.
37957         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37958         additional NULL to __libc_res_nquery.
37959         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37960         __libc_res_nsearch.
37961         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37962         * include/resolv.h: Update prototypes of __libc_res_nquery,
37963         __libc_res_nsearch, __libc_res_nsend.
37964
37965 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37966
37967         * math/auto-libm-test-in: Add tests of fma.
37968         * math/auto-libm-test-out: Regenerated.
37969         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37970         (fma_towardzero_test_data): Likewise.
37971         (fma_downward_test_data): Likewise.
37972         (fma_upward_test_data): Likewise.
37973         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37974         mpc_mode.
37975         (rounding_modes): Add values for new field.
37976         (func_calc_method): Add value mpfr_fff_f.
37977         (func_calc_desc): Add mpfr_fff_f union field.
37978         (test_function): Add field exact_args.
37979         (FUNC): Add macro argument EXACT_ARGS.
37980         (FUNC_mpfr_f_f): Update call to FUNC.
37981         (FUNC_mpfr_f_f): Likewise.
37982         (FUNC_mpfr_ff_f): Likewise.
37983         (FUNC_mpfr_if_f): Likewise.
37984         (FUNC_mpc_c_f): Likewise.
37985         (FUNC_mpc_c_c): Likewise.
37986         (test_functions): Add fma.  Update calls to FUNC.
37987         (handle_input_arg): Add argument exact_args.
37988         (add_test): Update call to handle_input_arg.
37989         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37990         (output_for_one_input_case): Update call to calc_generic_results.
37991         Recalculate exact zero results in each rounding mode.
37992
37993         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37994         non-negative before setting low bit.
37995         * math/auto-libm-test-in: Mark one asin test possibly having
37996         spurious underflow.
37997         * math/auto-libm-test-out: Regenerated.
37998         * sysdeps/i386/fpu/libm-test-ulps: Update.
37999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38000
38001 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38002
38003         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38004         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38005         ports/sysdeps/unix/sysv/linux/microblaze.
38006         * README: Add missing listing for microblaze*-*-linux-gnu.
38007
38008 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38009
38010         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38011         duplicate code
38012
38013 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38014
38015         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38016         * sysdeps/unix/sysv/linux/ia64: Move directory from
38017         ports/sysdeps/unix/sysv/linux/ia64.
38018         * README: Update listing for ia64-*-linux-gnu.
38019
38020 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38021             Joseph Myers  <joseph@codesourcery.com>
38022
38023         * Makeconfig (test-name): New variable.
38024         (evaluate-test): Likewise.
38025         * Makerules (do-test-clean): Remove .test-result files.
38026         (common-mostlyclean): Likewise.
38027         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38028         * scripts/evaluate-test.sh: New file.
38029
38030 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38031
38032         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38033         separate $(objpfx)tst-fopenloc-cmp.out and
38034         $(objpfx)tst-fopenloc-mem.out targets.
38035         (tests): Update dependencies.
38036         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38037         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38038         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38039         (tst-rxspencer-no-utf8-ARGS): New variable.
38040         (tst-rxspencer-no-utf8-ENV): Likewise.
38041         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38042         instead of $(objpfx)tst-rxspencer-mem.
38043         ($(objpfx)tst-rxspencer-mem): Change target to
38044         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38045         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38046         * posix/tst-rxspencer-no-utf8.c: New file.
38047
38048         * elf/Makefile ($(objpfx)order.out): Remove rule.
38049         [$(run-built-tests) = yes] (tests): Depend on
38050         $(objpfx)order-cmp.out.
38051         ($(objpfx)order-cmp.out): New rule.
38052         [$(run-built-tests) = yes] (tests): Depend on
38053         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38054         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38055         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38056         $(objpfx)tst-array5-static-cmp.out.
38057         ($(objpfx)tst-array1.out): Remove rule.
38058         ($(objpfx)tst-array1-cmp.out): New rule.
38059         ($(objpfx)tst-array1-static.out): Remove rule.
38060         ($(objpfx)tst-array1-static-cmp.out): New rule.
38061         ($(objpfx)tst-array2.out): Remove rule.
38062         ($(objpfx)tst-array2-cmp.out): New rule.
38063         ($(objpfx)tst-array3.out): Remove rule.
38064         ($(objpfx)tst-array3-cmp.out): New rule.
38065         ($(objpfx)tst-array4.out): Remove rule.
38066         ($(objpfx)tst-array4-cmp.out): New rule.
38067         ($(objpfx)tst-array5.out): Remove rule.
38068         ($(objpfx)tst-array5-cmp.out): New rule.
38069         ($(objpfx)tst-array5-static.out): Remove rule.
38070         ($(objpfx)tst-array5-static-cmp.out): New rule.
38071         [$(run-built-tests) = yes] (tests): Depend on
38072         $(objpfx)order2-cmp.out.
38073         ($(objpfx)order2.out): Remove rule.
38074         ($(objpfx)order2-cmp.out): New rule.
38075         ($(objpfx)tst-initorder.out): Remove rule.
38076         [$(run-built-tests) = yes] (tests): Depend on
38077         $(objpfx)tst-initorder-cmp.out.
38078         ($(objpfx)tst-initorder-cmp.out): New rule.
38079         ($(objpfx)tst-initorder2.out): Remove rule.
38080         [$(run-built-tests) = yes] (tests): Depend on
38081         $(objpfx)tst-initorder2-cmp.out.
38082         ($(objpfx)tst-initorder2-cmp.out): New rule.
38083         [$(run-built-tests) = yes] (tests): Depend on
38084         $(objpfx)tst-unused-dep-cmp.out.
38085         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38086         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38087         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38088         on $(objpfx)tst-setvbuf1-cmp.out.
38089         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38090         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38091         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38092         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38093         ($(objpfx)tst-svc.out): Remove rule.
38094         ($(objpfx)tst-svc-cmp.out): New rule.
38095
38096 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38097
38098         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38099         * ctype/ctype.h [__USE_MISC]: Likewise.
38100         * dirent/dirent.h [__USE_MISC]: Likewise.
38101         * grp/grp.h [__USE_MISC]: Likewise.
38102         * io/fcntl.h [__USE_MISC]: Likewise.
38103         * io/sys/stat.h [__USE_MISC]: Likewise.
38104         * libio/stdio.h [__USE_MISC]: Likewise.
38105         * posix/unistd.h [__USE_MISC]: Likewise.
38106         * pwd/pwd.h [__USE_MISC]: Likewise.
38107         * stdlib.h [__USE_MISC]: Likewise.
38108         * string/bits/string2.h [__USE_MISC]: Likewise.
38109         * string/string.h [__USE_MISC]: Likewise.
38110         * time/time.h [__USE_MISC]: Likewise.
38111
38112 2014-02-13  Andreas Schwab  <schwab@suse.de>
38113
38114         [BZ #16574]
38115         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38116         second answer buffer if it was separately allocated.
38117
38118 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38119
38120         * sysdeps/mips/math-tests.h: Include <features.h>.
38121         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38122         (ROUNDING_TESTS_long_double): Do not define.
38123         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38124         (EXCEPTION_TESTS_long_double): Likewise.
38125         * sysdeps/mips/mips64/libm-test-ulps: Update.
38126
38127         * include/features.h (__USE_BSD): Remove macro definitions.
38128         (__USE_SVID): Likewise.
38129         (_BSD_SOURCE): Likewise.
38130         (_SVID_SOURCE): Likewise.
38131         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38132         from definition of _DEFAULT_SOURCE.
38133         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38134         [_DEFAULT_SOURCE].
38135         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38136         * bits/mman.h [__USE_BSD]: Likewise.
38137         * bits/termios.h [__USE_BSD]: Likewise.
38138         * bits/waitstatus.h [__USE_BSD]: Likewise.
38139         * ctype/ctype.h [__USE_SVID]: Likewise.
38140         * dirent/dirent.h [__USE_BSD]: Likewise.
38141         * grp/grp.h [__USE_SVID]: Likewise.
38142         [__USE_BSD]: Likewise.
38143         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38144         * io/fcntl.h [__USE_BSD]: Likewise.
38145         * io/ftw.h [__USE_BSD]: Likewise.
38146         * io/sys/stat.h [__USE_BSD]: Likewise.
38147         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38148         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38149         * libio/stdio.h [__USE_SVID]: Likewise.
38150         [__USE_BSD]: Likewise.
38151         * math/math.h [__USE_SVID]: Likewise.
38152         [__USE_BSD]: Likewise.
38153         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38154         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38155         * misc/search.h [__USE_SVID]: Likewise.
38156         * misc/sys/mman.h [__USE_BSD]: Likewise.
38157         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38158         * misc/sys/uio.h [__USE_BSD]: Likewise.
38159         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38160         * posix/glob.h [__USE_BSD]: Likewise.
38161         * posix/regex.h [__USE_BSD]: Likewise.
38162         * posix/sys/types.h [__USE_BSD]: Likewise.
38163         [__USE_SVID]: Likewise.
38164         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38165         * posix/sys/wait.h [__USE_BSD]: Likewise.
38166         [__USE_SVID]: Likewise.
38167         * posix/unistd.h [__USE_BSD]: Likewise.
38168         [__USE_SVID]: Likewise.
38169         * pwd/pwd.h [__USE_SVID]: Likewise.
38170         * resolv/netdb.h [__USE_BSD]: Likewise.
38171         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38172         * signal/signal.h [__USE_BSD]: Likewise.
38173         [__USE_SVID]: Likewise.
38174         * socket/sys/socket.h [__USE_BSD]: Likewise.
38175         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38176         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38177         [__USE_SVID]: Likewise.
38178         * string/bits/string2.h [__USE_BSD]: Likewise.
38179         [__USE_SVID]: Likewise.
38180         * string/bits/string3.h [__USE_BSD]: Likewise.
38181         * string/endian.h [__USE_BSD]: Likewise.
38182         * string/string.h [__USE_SVID]: Likewise.
38183         [__USE_BSD]: Likewise.
38184         * string/strings.h [__USE_BSD]: Likewise.
38185         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38186         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38187         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38188         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38189         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38190         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38191         Likewise.
38192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38193         Likewise.
38194         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38195         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38196         Likewise.
38197         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38198         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38199         Likewise.
38200         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38201         Likewise.
38202         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38203         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38204         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38205         Likewise.
38206         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38207         Likewise.
38208         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38209         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38210         * termios/termios.h [__USE_BSD]: Likewise.
38211         * time/sys/time.h [__USE_BSD]: Likewise.
38212         * time/time.h [__USE_BSD]: Likewise.
38213         [__USE_SVID]: Likewise.
38214
38215         * Makefile (subdir_targets): Remove subdir_lint.out.
38216
38217         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38218         (do-tst-printf): Likewise.
38219         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38220         $(objpfx)tst-printf.out.
38221
38222         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38223
38224         * Makerules (check-abi-%): Change target to
38225         $(objpfx)check-abi-%.out.
38226         (check-abi target): Update dependencies.
38227         (check-abi-pattern variable): Redirect output of diff to $@.
38228         (check-abi variable): Likewise.
38229         * elf/Makefile (check-abi): Update dependencies.
38230
38231         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38232         unused.
38233         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38234         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38235         subnormal range.
38236         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38237         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38238         value has largest subnormal exponent.
38239         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38240         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38241         * sysdeps/aarch64/soft-fp/sfp-machine.h
38242         (_FP_TININESS_AFTER_ROUNDING): New macro.
38243         * sysdeps/alpha/soft-fp/sfp-machine.h
38244         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38245         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38246         Likewise.
38247         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38248         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38249         * sysdeps/mips/soft-fp/sfp-machine.h
38250         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38251         * sysdeps/powerpc/soft-fp/sfp-machine.h
38252         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38253         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38254         Likewise.
38255         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38256         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38257         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38258         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38259         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38260         Likewise.
38261
38262 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38263
38264         [BZ #16545]
38265         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38266         model 1.
38267
38268 2014-02-12  Richard Henderson  <rth@redhat.com>
38269
38270         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38271         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38272         * sysdeps/unix/sysv/linux/alpha: Move directory from
38273         ports/sysdeps/unix/sysv/linux/alpha.
38274         * README: Update listing for alpha-*-linux-gnu.
38275
38276 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38277
38278         * include/features.h: Update comment documenting feature test
38279         macros.
38280         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38281         _DEFAULT_SOURCE.
38282         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38283         (_SVID_SOURCE): Likewise.
38284         (_DEFAULT_SOURCE): Update description of default features.
38285         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38286         with _GNU_SOURCE.
38287         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38288         (S_ISVTX): Likewise.
38289         * manual/math.texi (Mathematical Constants): Likewise.
38290         * manual/signal.texi (Interrupted Primitives): Likewise.
38291         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38292         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38293         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38294         Don't refer to _SVID_SOURCE in warning text.
38295
38296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38297
38298         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38299         already defined.
38300         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38301         * sysdeps/mips/dl-lookup.c: Remove.
38302         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38303
38304 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38305
38306         [BZ #16447]
38307         * math/auto-libm-test-in: Add testcase for expl.
38308         * math/auto-libm-test-out: Regenerate.
38309         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38310         calculation of unsafe.
38311         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38312
38313 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38314
38315         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38316         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38317         ports/sysdeps/unix/sysv/linux/aarch64.
38318         * README: Update listing for aarch64*-*-linux-gnu.
38319
38320 2014-02-11  Will Newton  <will.newton@linaro.org>
38321
38322         * manual/probes.texi (Mathematical Function Probes): Use
38323         "triggered" instead of "hit".
38324
38325         * manual/probes.texi (Internal Probes): Add documentation
38326         of setjmp, longjmp and longjmp_target probes.
38327
38328         * include/stap-probe.h: Add comment about probe argument
38329         format.
38330
38331         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38332         definition.  (tr_where, tr_freehook, tr_mallochook,
38333         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38334
38335 2014-02-11  David S. Miller  <davem@davemloft.net>
38336
38337         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38338         processing int_tests.
38339
38340 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38341
38342         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38343         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38344         * sysdeps/unix/sysv/linux/mips: Move directory from
38345         ports/sysdeps/unix/sysv/linux/mips.
38346         * README: Update listing for mips-*-linux-gnu and
38347         mips64-*-linux-gnu.
38348
38349 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38350
38351         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38352         * sysdeps/unix/sysv/linux/m68k: Move directory from
38353         ports/sysdeps/unix/sysv/linux/m68k.
38354         * README: Update listing for m68k-*-linux-gnu.
38355
38356 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38357
38358         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38359         * sysdeps/unix/sysv/linux/generic: Move directory from
38360         ports/sysdeps/unix/sysv/linux/generic.
38361         * sysdeps/unix/sysv/linux/tile: Move directory from
38362         ports/sysdeps/unix/sysv/linux/tile.
38363         * README: Update listing for tile*-*-linux-gnu.
38364
38365 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38366
38367         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38368         __builtin_expect.
38369         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38370         * catgets/open_catalog.c (__open_catalog): Likewise.
38371         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38372         * debug/confstr_chk.c: Likewise.
38373         * debug/fread_chk.c (__fread_chk): Likewise.
38374         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38375         * debug/getgroups_chk.c: Likewise.
38376         * debug/mbsnrtowcs_chk.c: Likewise.
38377         * debug/mbsrtowcs_chk.c: Likewise.
38378         * debug/mbstowcs_chk.c: Likewise.
38379         * debug/memcpy_chk.c: Likewise.
38380         * debug/memmove_chk.c: Likewise.
38381         * debug/mempcpy_chk.c: Likewise.
38382         * debug/memset_chk.c: Likewise.
38383         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38384         * debug/strcat_chk.c (__strcat_chk): Likewise.
38385         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38386         * debug/strncat_chk.c (__strncat_chk): Likewise.
38387         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38388         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38389         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38390         * debug/wcpncpy_chk.c: Likewise.
38391         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38392         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38393         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38394         * debug/wcsncpy_chk.c: Likewise.
38395         * debug/wcsnrtombs_chk.c: Likewise.
38396         * debug/wcsrtombs_chk.c: Likewise.
38397         * debug/wcstombs_chk.c: Likewise.
38398         * debug/wmemcpy_chk.c: Likewise.
38399         * debug/wmemmove_chk.c: Likewise.
38400         * debug/wmempcpy_chk.c: Likewise.
38401         * debug/wmemset_chk.c: Likewise.
38402         * dirent/scandirat.c (SCANDIRAT): Likewise.
38403         * dlfcn/dladdr1.c (dladdr1): Likewise.
38404         * dlfcn/dladdr.c (dladdr): Likewise.
38405         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38406         * dlfcn/dlerror.c (__dlerror): Likewise.
38407         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38408         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38409         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38410         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38411         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38412         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38413         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38414         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38415         Likewise.
38416         * elf/dl-conflict.c: Likewise.
38417         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38418         * elf/dl-dst.h: Likewise.
38419         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38420         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38421         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38422         * elf/dl-init.c (call_init, _dl_init): Likewise.
38423         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38424         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38425         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38426         Likewise.
38427         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38428         Likewise.
38429         * elf/dl-minimal.c (__libc_memalign): Likewise.
38430         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38431         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38432         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38433         * elf/dl-sym.c (do_sym): Likewise.
38434         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38435         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38436         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38437         * elf/dl-writev.h (_dl_writev): Likewise.
38438         * elf/ldconfig.c (search_dir): Likewise.
38439         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38440         (dl_main): Likewise.
38441         * elf/setup-vdso.h (setup_vdso): Likewise.
38442         * grp/compat-initgroups.c (compat_call): Likewise.
38443         * grp/fgetgrent.c (fgetgrent): Likewise.
38444         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38445         * grp/putgrent.c (putgrent): Likewise.
38446         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38447         Likewise.
38448         * hurd/hurdinit.c: Likewise.
38449         * iconvdata/8bit-gap.c (struct): Likewise.
38450         * iconvdata/ansi_x3.110.c : Likewise.
38451         * iconvdata/big5.c : Likewise.
38452         * iconvdata/big5hkscs.c : Likewise.
38453         * iconvdata/cp1255.c: Likewise.
38454         * iconvdata/cp1258.c : Likewise.
38455         * iconvdata/cp932.c : Likewise.
38456         * iconvdata/euc-cn.c: Likewise.
38457         * iconvdata/euc-jisx0213.c : Likewise.
38458         * iconvdata/euc-jp.c: Likewise.
38459         * iconvdata/euc-jp-ms.c : Likewise.
38460         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38461         * iconvdata/gb18030.c : Likewise.
38462         * iconvdata/gbbig5.c (const): Likewise.
38463         * iconvdata/gbgbk.c: Likewise.
38464         * iconvdata/gbk.c : Likewise.
38465         * iconvdata/ibm1364.c : Likewise.
38466         * iconvdata/ibm930.c : Likewise.
38467         * iconvdata/ibm932.c: Likewise.
38468         * iconvdata/ibm933.c : Likewise.
38469         * iconvdata/ibm935.c : Likewise.
38470         * iconvdata/ibm937.c : Likewise.
38471         * iconvdata/ibm939.c : Likewise.
38472         * iconvdata/ibm943.c: Likewise.
38473         * iconvdata/iso_11548-1.c: Likewise.
38474         * iconvdata/iso-2022-cn.c : Likewise.
38475         * iconvdata/iso-2022-cn-ext.c : Likewise.
38476         * iconvdata/iso-2022-jp-3.c: Likewise.
38477         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38478         * iconvdata/iso-2022-kr.c : Likewise.
38479         * iconvdata/iso646.c (gconv_end): Likewise.
38480         * iconvdata/iso_6937-2.c : Likewise.
38481         * iconvdata/iso_6937.c : Likewise.
38482         * iconvdata/iso8859-1.c: Likewise.
38483         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38484         * iconvdata/shift_jisx0213.c : Likewise.
38485         * iconvdata/sjis.c : Likewise.
38486         * iconvdata/t.61.c : Likewise.
38487         * iconvdata/tcvn5712-1.c : Likewise.
38488         * iconvdata/tscii.c: Likewise.
38489         * iconvdata/uhc.c : Likewise.
38490         * iconvdata/unicode.c (gconv_end): Likewise.
38491         * iconvdata/utf-16.c (gconv_end): Likewise.
38492         * iconvdata/utf-32.c (gconv_end): Likewise.
38493         * iconvdata/utf-7.c (base64): Likewise.
38494         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38495         * iconv/gconv_close.c (__gconv_close): Likewise.
38496         * iconv/gconv_open.c (__gconv_open): Likewise.
38497         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38498         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38499         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38500         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38501         (ucs4le_internal_loop_single): Likewise.
38502         * iconv/iconv.c (iconv): Likewise.
38503         * iconv/iconv_close.c: Likewise.
38504         * iconv/loop.c (SINGLE): Likewise.
38505         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38506         * include/atomic.h: Likewise.
38507         * inet/inet6_option.c (option_alloc): Likewise.
38508         * intl/bindtextdom.c (set_binding_values): Likewise.
38509         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38510         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38511         * intl/localealias.c (read_alias_file): Likewise.
38512         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38513         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38514         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38515         * libio/fmemopen.c (fmemopen): Likewise.
38516         * libio/iofgets.c (_IO_fgets): Likewise.
38517         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38518         * libio/iofgetws.c (fgetws): Likewise.
38519         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38520         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38521         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38522         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38523         * locale/findlocale.c (_nl_find_locale): Likewise.
38524         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38525         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38526         Likewise.
38527         * locale/setlocale.c (setlocale): Likewise.
38528         * login/programs/pt_chown.c (main): Likewise.
38529         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38530         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38531         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38532         (mmap, mmap64, mremap, munmap): Likewise.
38533         * math/e_exp2l.c: Likewise.
38534         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38535         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38536         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38537         * math/s_catan.c (__catan): Likewise.
38538         * math/s_catanf.c (__catanf): Likewise.
38539         * math/s_catanh.c (__catanh): Likewise.
38540         * math/s_catanhf.c (__catanhf): Likewise.
38541         * math/s_catanhl.c (__catanhl): Likewise.
38542         * math/s_catanl.c (__catanl): Likewise.
38543         * math/s_ccosh.c (__ccosh): Likewise.
38544         * math/s_ccoshf.c (__ccoshf): Likewise.
38545         * math/s_ccoshl.c (__ccoshl): Likewise.
38546         * math/s_cexp.c (__cexp): Likewise.
38547         * math/s_cexpf.c (__cexpf): Likewise.
38548         * math/s_cexpl.c (__cexpl): Likewise.
38549         * math/s_clog10.c (__clog10): Likewise.
38550         * math/s_clog10f.c (__clog10f): Likewise.
38551         * math/s_clog10l.c (__clog10l): Likewise.
38552         * math/s_clog.c (__clog): Likewise.
38553         * math/s_clogf.c (__clogf): Likewise.
38554         * math/s_clogl.c (__clogl): Likewise.
38555         * math/s_csin.c (__csin): Likewise.
38556         * math/s_csinf.c (__csinf): Likewise.
38557         * math/s_csinh.c (__csinh): Likewise.
38558         * math/s_csinhf.c (__csinhf): Likewise.
38559         * math/s_csinhl.c (__csinhl): Likewise.
38560         * math/s_csinl.c (__csinl): Likewise.
38561         * math/s_csqrt.c (__csqrt): Likewise.
38562         * math/s_csqrtf.c (__csqrtf): Likewise.
38563         * math/s_csqrtl.c (__csqrtl): Likewise.
38564         * math/s_ctan.c (__ctan): Likewise.
38565         * math/s_ctanf.c (__ctanf): Likewise.
38566         * math/s_ctanh.c (__ctanh): Likewise.
38567         * math/s_ctanhf.c (__ctanhf): Likewise.
38568         * math/s_ctanhl.c (__ctanhl): Likewise.
38569         * math/s_ctanl.c (__ctanl): Likewise.
38570         * math/w_pow.c: Likewise.
38571         * math/w_powf.c: Likewise.
38572         * math/w_powl.c: Likewise.
38573         * math/w_scalb.c (sysv_scalb): Likewise.
38574         * math/w_scalbf.c (sysv_scalbf): Likewise.
38575         * math/w_scalbl.c (sysv_scalbl): Likewise.
38576         * misc/error.c (error_tail): Likewise.
38577         * misc/pselect.c (__pselect): Likewise.
38578         * nis/nis_callback.c (__nis_create_callback): Likewise.
38579         * nis/nis_call.c (__nisfind_server): Likewise.
38580         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38581         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38582         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38583         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38584         * nis/nis_lookup.c (nis_lookup): Likewise.
38585         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38586         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38587         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38588         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38589         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38590         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38591         * nis/nss_compat/compat-initgroups.c (add_group)
38592         (internal_getgrent_r): Likewise.
38593         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38594         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38595         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38596         (internal_getspnam_r): Likewise.
38597         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38598         (_nss_nis_getaliasbyname_r): Likewise.
38599         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38600         (_nss_nis_getntohost_r): Likewise.
38601         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38602         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38603         (_nss_nis_getgrgid_r): Likewise.
38604         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38605         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38606         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38607         (_nss_nis_gethostbyname4_r): Likewise.
38608         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38609         (initgroups_netid): Likewise.
38610         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38611         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38612         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38613         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38614         (_nss_nis_getprotobynumber_r): Likewise.
38615         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38616         (_nss_nis_getsecretkey): Likewise.
38617         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38618         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38619         (_nss_nis_getpwuid_r): Likewise.
38620         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38621         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38622         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38623         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38624         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38625         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38626         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38627         Likewise.
38628         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38629         (_nss_nisplus_getntohost_r): Likewise.
38630         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38631         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38632         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38633         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38634         Likewise.
38635         * nis/nss_nisplus/nisplus-initgroups.c
38636         (_nss_nisplus_initgroups_dyn): Likewise.
38637         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38638         (_nss_nisplus_getnetbyaddr_r): Likewise.
38639         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38640         (_nss_nisplus_getprotobynumber_r): Likewise.
38641         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38642         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38643         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38644         Likewise.
38645         * nis/nss_nisplus/nisplus-service.c
38646         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38647         (_nss_nisplus_getservbyport_r): Likewise.
38648         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38649         (_nss_nisplus_getspnam_r): Likewise.
38650         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38651         Likewise.
38652         * nscd/aicache.c (addhstaiX): Likewise.
38653         * nscd/cache.c (cache_search, prune_cache): Likewise.
38654         * nscd/connections.c (register_traced_file, send_ro_fd)
38655         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38656         (main_loop_epoll): Likewise.
38657         * nscd/grpcache.c (addgrbyX): Likewise.
38658         * nscd/hstcache.c (addhstbyX): Likewise.
38659         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38660         * nscd/mem.c (gc, mempool_alloc): Likewise.
38661         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38662         (addinnetgrX): Likewise.
38663         * nscd/nscd-client.h (__nscd_acquire_maplock)
38664         (__nscd_drop_map_ref): Likewise.
38665         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38666         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38667         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38668         Likewise.
38669         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38670         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38671         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38672         (__nscd_get_map_ref): Likewise.
38673         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38674         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38675         Likewise.
38676         * nscd/pwdcache.c (addpwbyX): Likewise.
38677         * nscd/selinux.c (preserve_capabilities): Likewise.
38678         * nscd/servicescache.c (addservbyX): Likewise.
38679         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38680         * posix/fnmatch.c (fnmatch): Likewise.
38681         * posix/getopt.c (_getopt_internal_r): Likewise.
38682         * posix/glob.c (glob, glob_in_dir): Likewise.
38683         * posix/wordexp.c (exec_comm_child): Likewise.
38684         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38685         (getanswer_r, gaih_getanswer_slice): Likewise.
38686         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38687         * resolv/res_init.c: Likewise.
38688         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38689         * resolv/res_query.c (__libc_res_nquery): Likewise.
38690         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38691         Likewise.
38692         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38693         * stdio-common/perror.c (perror): Likewise.
38694         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38695         * stdio-common/tmpnam.c (tmpnam): Likewise.
38696         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38697         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38698         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38699         Likewise.
38700         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38701         * stdlib/putenv.c (putenv): Likewise.
38702         * stdlib/setenv.c (__add_to_environ): Likewise.
38703         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38704         * stdlib/strtol_l.c (INTERNAL): Likewise.
38705         * string/memmem.c (memmem): Likewise.
38706         * string/strerror.c (strerror): Likewise.
38707         * string/strnlen.c (__strnlen): Likewise.
38708         * string/test-memmem.c (simple_memmem): Likewise.
38709         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38710         * sunrpc/pm_getport.c (__get_socket): Likewise.
38711         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38712         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38713         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38714         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38715         Likewise.
38716         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38717         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38718         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38719         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38720         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38721         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38722         Likewise.
38723         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38724         Likewise.
38725         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38726         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38728         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38729         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38731         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38732         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38733         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38734         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38735         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38736         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38737         Likewise.
38738         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38739         Likewise.
38740         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38741         Likewise.
38742         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38743         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38744         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38745         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38746         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38747         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38748         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38749         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38751         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38752         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38753         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38754         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38755         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38757         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38758         Likewise.
38759         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38760         Likewise.
38761         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38762         Likewise.
38763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38764         Likewise.
38765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38766         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38767         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38768         Likewise.
38769         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38770         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38771         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38772         * sysdeps/posix/sleep.c: Likewise.
38773         * sysdeps/posix/tempname.c: Likewise.
38774         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38775         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38776         Likewise.
38777         * sysdeps/powerpc/powerpc32/dl-machine.h
38778         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38779         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38781         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38782         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38783         Likewise.
38784         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38785         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38786         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38787         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38788         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38789         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38790         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38791         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38792         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38793         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38795         (elf_machine_lazy_rel): Likewise.
38796         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38797         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38798         (elf_machine_lazy_rel): Likewise.
38799         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38800         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38801         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38802         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38803         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38804         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38805         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38807         Likewise.
38808         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38809         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38810         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38811         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38812         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38813         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38814         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38815         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38816         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38817         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38818         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38819         Likewise.
38820         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38821         (__posix_fallocate64_l64): Likewise.
38822         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38823         (posix_fallocate): Likewise.
38824         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38825         Likewise.
38826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38827         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38828         (getifaddrs_internal): Likewise.
38829         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38830         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38831         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38832         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38833         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38834         (__posix_fallocate64_l64): Likewise.
38835         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38836         Likewise.
38837         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38838         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38839         (__get_clockfreq): Likewise.
38840         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38841         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38842         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38845         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38846         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38847         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38848         Likewise.
38849         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38850         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38851         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38852         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38853         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38854         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38855         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38856         Likewise.
38857         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38858         (posix_fallocate): Likewise.
38859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38860         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38861         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38862         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38863         (elf_machine_rela, elf_machine_rela_relative)
38864         (elf_machine_lazy_rel): Likewise.
38865         * time/asctime.c (asctime_internal): Likewise.
38866         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38867         * time/tzset.c (__tzset_parse_tz): Likewise.
38868         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38869         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38870         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38871         * wcsmbs/wcsmbsload.h: Likewise.
38872
38873         [BZ #15894]
38874         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38875
38876         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38877         (arena_get2): Remove THREAD_STATS conditionals.
38878         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38879         (__malloc_stats, int): Likewise.
38880
38881 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38882
38883         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38884         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38885
38886         * manual/setjmp.texi: Fix typos/grammar errors.
38887
38888         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38889         Only return early when n is <= 0.  Delete unused return statement.
38890
38891         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38892         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38893         * debug/tst-longjmp_chk3.c: New file.
38894
38895         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38896         (test_main): Replace code with set_fortify_handler call.
38897         * debug/test-strcpy_chk.c: Likewise.
38898         * debug/tst-chk1.c: Likewise.
38899         * debug/tst-longjmp_chk.c: Likewise.
38900         * test-skeleton.c: Include fcntl.h & paths.h
38901         (set_fortify_handler): Define.
38902
38903         * debug/tst-longjmp_chk.c: Add header comment and include
38904         ../test-skeleton.c.
38905         (do_test): Mark static.
38906         (TEST_FUNCTION): Define.
38907
38908         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38909         (IP_PMTUDISC_INTERFACE): Likewise.
38910         (IP_MULTICAST_IF): Likewise.
38911         (IP_MULTICAST_TTL): Likewise.
38912         (IP_MULTICAST_LOOP): Likewise.
38913         (IP_ADD_MEMBERSHIP): Likewise.
38914         (IP_DROP_MEMBERSHIP): Likewise.
38915         (IP_UNBLOCK_SOURCE): Likewise.
38916         (IP_BLOCK_SOURCE): Likewise.
38917         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38918         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38919         (IP_MSFILTER): Likewise.
38920         (MCAST_JOIN_GROUP): Likewise.
38921         (MCAST_BLOCK_SOURCE): Likewise.
38922         (MCAST_UNBLOCK_SOURCE): Likewise.
38923         (MCAST_LEAVE_GROUP): Likewise.
38924         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38925         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38926         (MCAST_MSFILTER): Likewise.
38927         (IP_MULTICAST_ALL): Likewise.
38928         (IP_UNICAST_IF): Likewise.
38929
38930         * timezone/Makefile: Delete $(have-ksh) check.
38931         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38932         * timezone/tzselect.ksh: Add +x mode bits.
38933
38934         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38935         (ANON_INODE_FS_MAGIC): Likewise.
38936         (BDEVFS_MAGIC): Likewise.
38937         (BINFMTFS_MAGIC): Likewise.
38938         (BTRFS_TEST_MAGIC): Likewise.
38939         (CRAMFS_MAGIC_WEND): Likewise.
38940         (DEBUGFS_MAGIC): Likewise.
38941         (ECRYPTFS_SUPER_MAGIC): Likewise.
38942         (EXT3_SUPER_MAGIC): Likewise.
38943         (EXT4_SUPER_MAGIC): Likewise.
38944         (FUTEXFS_SUPER_MAGIC): Likewise.
38945         (HOSTFS_SUPER_MAGIC): Likewise.
38946         (HUGETLBFS_MAGIC): Likewise.
38947         (MINIX3_SUPER_MAGIC): Likewise.
38948         (MTD_INODE_FS_MAGIC): Likewise.
38949         (NILFS_SUPER_MAGIC): Likewise.
38950         (OPENPROM_SUPER_MAGIC): Likewise.
38951         (PIPEFS_MAGIC): Likewise.
38952         (PSTOREFS_MAGIC): Likewise.
38953         (QNX6_SUPER_MAGIC): Likewise.
38954         (RAMFS_MAGIC): Likewise.
38955         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38956         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38957         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38958         (SECURITYFS_MAGIC): Likewise.
38959         (SELINUX_MAGIC): Likewise.
38960         (SMACK_MAGIC): Likewise.
38961         (SOCKFS_MAGIC): Likewise.
38962         (SQUASHFS_MAGIC): Likewise.
38963         (STACK_END_MAGIC): Likewise.
38964         (TMPFS_MAGIC): Likewise.
38965         (USBDEVICE_SUPER_MAGIC): Likewise.
38966         (V9FS_MAGIC): Likewise.
38967         (XENFS_SUPER_MAGIC): Likewise.
38968         (CRAMFS_MAGIC): Fix typo in comment.
38969         (EXT2_SUPER_MAGIC): Update comment.
38970         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38971
38972 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38973
38974         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38975         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38976         * sysdeps/unix/sysv/linux/arm: Move directory from
38977         ports/sysdeps/unix/sysv/linux/arm.
38978         * README: Update listing for arm-*-linux-gnueabi.
38979
38980         * README: Remove mention of am33.
38981
38982 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38983
38984         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38985         than the comma operator, to avoid "rhs of comma has no effect"
38986         compiler warnings.
38987         (__sigfillset, __sigandset, __sigorset): Likewise.
38988         * include/signal.h (__sigemptyset): Likewise.
38989         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38990
38991 2014-02-07  Allan McRae  <allan@archlinux.org>
38992
38993         * version.h (RELEASE): Set to "development".
38994         (VERSION): Set to "2.19.90"
38995         * NEWS: Add 2.20 section.
38996
38997 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38998
38999         [BZ #16529]
39000         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39001
39002 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39003
39004         * manual/contrib.texi: Update entry for Carlos O'Donell,
39005         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39006
39007 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39008
39009         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39010
39011         * sysdeps/unix/sysv/linux/kernel-features.h
39012         [__LINUX_KERNEL_VERSION >= 0x020621]
39013         (__ASSUME_PROC_PID_TASK_COMM): Define.
39014
39015 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39016
39017         [BZ #16398]
39018         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39019         conversion when destination buffer does not have enough space.
39020         * libio/tst-ftell-partial-wide.c: New test case.
39021         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39022
39023         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39024         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39025         Leonard and Allan McRae.
39026
39027 2014-02-04  David S. Miller  <davem@davemloft.net>
39028
39029         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39030         32-bit.
39031
39032 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033
39034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39035         New file
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39037         New file
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39039         New file.
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39041         New file.
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39043         New file.
39044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39045         New file.
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39047         New file.
39048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39049         New file.
39050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39051         New file.
39052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39053         New file.
39054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39055         New file.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39057         New file.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39059         New file.
39060
39061 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39062
39063         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39064         * shlib-versions: Likewise.
39065
39066 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39067             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39068
39069         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39070         (abilist-pattern): New variable, set to %-le.abilist.
39071
39072         * Makerules (abilist-pattern): New variable.
39073         (vpath): Use $(abilist-pattern) in place of %.abilist.
39074         (check-abi-% pattern rule): Likewise.
39075         (check-abi, update-abi): Likewise.
39076
39077 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39078
39079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39080
39081 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39082
39083         * manual/startup.texi: Add next, previous, and top entries for
39084         the `Program Arguments' and `Environment Variables' nodes.
39085
39086 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39087
39088         * manual/macros.texi: Add comments before MTASC-safety macros.
39089
39090         * manual/users.texi: Document MTASC-safety properties.
39091
39092         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39093         (pthread_getspecific, pthread_setspecific): Format with
39094         @deftypefun, and add @safety note.
39095         * manual/signal.texi: Move comments that analyze the above
39096         functions to their home place.
39097
39098 2014-02-03  Allan McRae  <allan@archlinux.org>
39099
39100         * po/sl.po: Update Slovenian translation from translation project.
39101
39102 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39103
39104         * manual/time.texi (timegm): Add missing blank after @c.
39105         Reported by Joseph Myers <joseph@codesourcery.com>.
39106
39107 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39108
39109         * manual/check-safety.sh: New.
39110         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39111
39112         * manual/terminal.texi: Document MTASC-safety properties.
39113
39114         * manual/filesys.texi: Document MTASC-safety properties.
39115
39116         * manual/errno.texi: Document MTASC-safety properties.
39117
39118         * manual/intro.texi: Document safety identifiers and
39119         conditionals.
39120
39121         * manual/string.texi (wcstok): Fix prototype.
39122         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39123
39124         * manual/time.texi: Document MTASC-safety properties.
39125
39126         * manual/string.texi: Document MTASC-safety properties.
39127
39128         * manual/threads.texi: Document MTASC-safety properties.
39129
39130         * manual/stdio.texi: Document MTASC-safety properties.
39131
39132         * manual/syslog.texi: Document MTASC-safety properties.
39133
39134         * manual/sysinfo.texi: Document MTASC-safety properties.
39135
39136         * manual/startup.texi: Document MTASC-safety properties.
39137
39138         * manual/socket.texi: Document MTASC-safety properties.
39139
39140         * manual/signal.texi: Document MTASC-safety properties.
39141
39142 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39143
39144         * manual/setjmp.texi: Document MTASC-safety properties.
39145
39146         * manual/search.texi: Document MTASC-safety properties.
39147
39148         * manual/resource.texi: Document MTASC-safety properties.
39149
39150         * manual/process.texi: Document MTASC-safety properties.
39151
39152         * manual/platform.texi: Document MTASC-safety properties.
39153
39154         * manual/pipe.texi: Document MTASC-safety properties.
39155
39156         * manual/pattern.texi: Document MTASC-safety properties.
39157
39158         * manual/message.texi: Document MTASC-safety properties.
39159
39160         [BZ #12751]
39161         * manual/memory.texi: Document MTASC-safety properties.
39162
39163         * manual/math.texi: Document MTASC-safety properties.
39164
39165         * manual/locale.texi: Document MTASC-safety properties.
39166
39167         * manual/llio.texi: Document MTASC-safety properties.
39168
39169         * manual/libdl.texi: New.
39170
39171         * manual/lang.texi: Document MTASC-safety properties.
39172
39173         * manual/job.texi: Document MTASC-safety properties.
39174
39175         * manual/getopt.texi: Document MTASC-safety properties.
39176
39177         * manual/ctype.texi: Document MTASC-safety properties.
39178
39179 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39180
39181         [BZ #16046]
39182         * csu/libc-tls.c (static_map): Remove variable.
39183         (__libc_setup_tls): Use main executable's link map for TLS data.
39184         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39185         casing for LM_ID_BASE and GL(dl_nns).
39186         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39187         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39188         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39189         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39190         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39191         member.
39192         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39193         l_phnum members.
39194
39195 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39196
39197         * manual/debug.texi: Document MTASC-safety properties.
39198
39199 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39200
39201         [BZ #16510]
39202         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39203         of __x86_64__ when disabling x87 inline functions.
39204
39205 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39206
39207         * manual/charset.texi: Document MTASC-safety properties.
39208
39209         * manual/crypt.texi: Document MTASC-safety properties.
39210
39211         * manual/conf.texi: Document MTASC-safety properties.
39212
39213         * manual/arith.texi: Document MTASC-safety properties.
39214
39215         * manual/argp.texi: Document MTASC-safety properties.
39216
39217         * manual/macros.texi: Introduce macros to document multi
39218         thread, asynchronous signal and asynchronous cancellation
39219         safety properties.
39220         * manual/intro.texi: Introduce the properties themselves.
39221
39222 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39223
39224         * sysdeps/sh/sh4/Makefile: New file.
39225
39226 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39227
39228         * math/gen-libm-test.pl ($srcdir): New variable.
39229         ($auto_input): Use it.
39230
39231 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39232
39233         [BZ #16506]
39234         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39235         access beyond array bounds when parsing netgroups file.
39236
39237         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39238         the old buffer before realloc.
39239
39240 2014-01-27  Allan McRae  <allan@archlinux.org>
39241
39242         * po/fr.po: Update French translation from translation project.
39243
39244 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39245
39246         * sysdeps/sh/libm-test-ulps: Regenerate.
39247
39248 2014-01-24  David S. Miller  <davem@davemloft.net>
39249
39250         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39251
39252 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39253
39254         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39255         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39256
39257 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39258
39259         [BZ #16474]
39260         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39261         string pointers after reallocation.
39262
39263 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39264
39265         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39266         __SH4A__ instead of __SH_FPU_ANY__.
39267
39268 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39269
39270         * sysdeps/sh/fpu_control.h: New file.
39271         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39272         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39273         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39274         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39275         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39276         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39277         * sysdeps/sh/sys/ucontext.h: Remove.
39278         * sysdeps/sh/sys: Remove directory.
39279
39280 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39281
39282         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39283         s390/sys/ucontext.h.
39284         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39285         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39286
39287 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39288
39289         [BZ #15605]
39290         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39291
39292 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39293
39294         [BZ#16431]
39295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39296         Adjust the vDSO correctly for internal calls.
39297         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39298
39299 2014-01-20  Allan McRae  <allan@archlinux.org>
39300
39301         * po/ca.po: Update Catalan translation from translation project.
39302
39303 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39304
39305         * sysdeps/s390/sotruss-lib.c: New file.
39306
39307 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39308
39309         [BZ#16430]
39310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39311         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39312         local calls issues by not having a PLT stub required for IFUNC calls.
39313         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39314
39315 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39316
39317         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39318         * math/test-fpucw-static.c: Likewise.
39319
39320 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39321
39322         [BZ #16453]
39323         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39324
39325 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39326
39327         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39328         implementation for powerpc.
39329
39330 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39331
39332         [BZ #14782]
39333         * sysdeps/posix/system.c (__libc_system): Do not enable
39334         asynchronous cancellation.
39335
39336 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39337
39338         [BZ #16427]
39339         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39340         handling only for numbers special also in the IEEE case.
39341
39342 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39343
39344         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39345
39346 2014-01-11  Allan McRae  <allan@archlinux.org>
39347
39348         * po/bg.po: Update Bulgarian translation from translation project.
39349
39350         * po/de.po: Update German translation from translation project.
39351
39352 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39353
39354         * sysdeps/generic/gcc-compat.h: New file.
39355
39356 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357
39358         * benchtests/asin-inputs: Correct slow inputs.
39359         * benchtests/acos-inputs: Likewise.
39360
39361 2014-01-10  Allan McRae  <allan@archlinux.org>
39362
39363         * po:sv.po: Update Swedish translation from translation project.
39364
39365         * po/vi.po: Update Vietnamese translation from translation project.
39366
39367         * po/eo.po: Update Esperanto translation from translation project.
39368
39369         * po/cs.po: Update Czech translation from translation project.
39370
39371         * po/nl.po: Update Dutch translation from translation project.
39372
39373         * po/pl.po: Update Polish translation from translation project.
39374
39375         * po/ru.po: Update Russian translation from translation project.
39376
39377         * po/uk.po: Update Ukrainian translation from translation project.
39378
39379 2014-01-08  Brooks Moses  <bmoses@google.com>
39380
39381         * elf/dl-load.c: Fix comment typo.
39382
39383 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39384
39385         * po/header.pot: Rename to...
39386         * po/pot.header: ... this.
39387         * po/Makefile: Use pot.header.
39388
39389 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39390             Maxim Kuvyrkov  <maxim@kugelworks.com>
39391
39392         [BZ #16394]
39393         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39394         SRC and DEST against LEN.
39395
39396 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39397
39398         [BZ #16414]
39399         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39400         implementation.
39401         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39402
39403 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39404
39405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39406
39407 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39408
39409         [BZ #16408]
39410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39411         for large positive arguments.
39412
39413 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39414
39415         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39416
39417         * math/auto-libm-test-in: Mark various tests with
39418         xfail-rounding:ldbl-128ibm.
39419         * math/auto-libm-test-out: Regenerated.
39420
39421         [BZ #16407]
39422         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39423         Increase overflow threshold.
39424
39425 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39426
39427         [BZ #14286]
39428         * stdio-common/vfprintf.c: Check for integer overflow.
39429
39430 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39431
39432         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39433         the first argument and return value of __tls_get_addr_internal.
39434
39435 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39436
39437         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39438         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39439
39440 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39441
39442         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39443         * sysdeps/s390/rtld-global-offsets.sym: New file.
39444         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39445         GLIBC_2.19 symbol.
39446         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39448         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39449         ... this.
39450         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39451         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39452         ... this.
39453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39454         Regenerate.
39455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39456         Regenerate.
39457         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39458         halfs of GPRs for high_gprs contexts.
39459         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39460         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39461         field.
39462         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39463         uc_flags field.
39464         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39465         64 bit versions:
39466         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39467         for high GPRs (uc_high_gprs) and for future extensions
39468         (__reserved).
39469         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39470         for future extensions (__reserved).
39471         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39472         64 bit versions:
39473         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39474         SC_HIGHGPRS offset definition.
39475         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39476         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39477
39478         * Versions.def: Add GLIBC_2.19 for libpthread.
39479         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39480         siglongjmp for libpthread with GLIBC_2.19 symver.
39481         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39482         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39483         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39484         * sysdeps/s390/__longjmp.c: New file.
39485         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39486         * sysdeps/s390/longjmp.c: New file.
39487         * sysdeps/s390/setjmp.S: New file.
39488         * sysdeps/s390/sigjmp.S: New file.
39489         * sysdeps/s390/v1-longjmp.c: New file.
39490         * sysdeps/s390/v1-setjmp.h: New file.
39491         * sysdeps/s390/v1-sigjmp.c: New file.
39492         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39493         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39494         GLIBC_2.19 version.
39495         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39496         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39497         versioned symbols for ____longjmp_chk.
39498         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39499         Likewise.
39500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39501         Regenerate.
39502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39503         Regenerate.
39504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39505         Regenerate.
39506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39507         Regenerate.
39508         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39509         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39510         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39511         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39512         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39513         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39514         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39515         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39516         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39517         * sysdeps/s390/rtld-__longjmp.c: New file.
39518         * sysdeps/s390/rtld-setjmp.S: New file.
39519
39520 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39521
39522         [BZ #16400]
39523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39524         Return -__logl (x) for small positive arguments without evaluating
39525         a polynomial.
39526
39527 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39528
39529         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39530         Rename to ...
39531         (__ptrace_peeksiginfo_args): ... this.
39532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39533         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39534         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39535
39536 2014-01-06  Allan McRae  <allan@archlinux.org>
39537
39538         * inet/netinet/in.h: Fix typo in comment.
39539
39540 2014-01-05  Andreas Jaeger  <aj@suse.de>
39541
39542         * sysdeps/i386/fpu/libm-test-ulps: Update.
39543
39544 2014-01-05  Allan McRae  <allan@archlinux.org>
39545
39546         * po/libc.pot: Regenerated.
39547
39548         * malloc/memusagestat.c: Fix gettext call formatting.
39549
39550 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39551
39552         * nscd/nscd.c: Improve usage() output.
39553
39554 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39555
39556         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39557         * sysdeps/unix/sysv/linux/configure: Regenerated.
39558         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39559         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39560
39561 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39562
39563         [BZ #16390]
39564         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39565         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39566
39567 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39568
39569         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39570         extra tokens at end of #undef directive.
39571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39572         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39573         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39574
39575 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39576
39577         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39578
39579         * math/auto-libm-test-in: Mark various tests with
39580         xfail-rounding:ldbl-128ibm.
39581         * math/auto-libm-test-out: Regenerated.
39582
39583 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39584
39585         [BZ #16386]
39586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39587         numbers with subnormal high part when calculating exponent.
39588
39589         [BZ #16385]
39590         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39591         fabs.
39592
39593         [BZ #16384]
39594         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39595         M_LN2l.
39596         (__ieee754_acoshl): Use __log1pl not __log1p.
39597
39598 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39599
39600         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39601         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39602         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39603         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39604         (reused_arena, arena_get2): Convert to GNU style.
39605         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39606         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39607         (memalign_check, __malloc_set_state): Likewise.
39608         * malloc/mallocbug.c (main): Likewise.
39609         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39610         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39611         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39612         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39613         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39614         (__posix_memalign, malloc_info): Likewise.
39615         * malloc/malloc.h: Likewise.
39616         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39617         (mallochook, memalignhook, reallochook, mabort): Likewise.
39618         * malloc/mcheck.h: Likewise.
39619         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39620         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39621         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39622         * malloc/morecore.c (__default_morecore): Likewise.
39623         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39624         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39625         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39626         (print_and_abort): Likewise.
39627         * malloc/obstack.h: Likewise.
39628         * malloc/set-freeres.c (__libc_freeres): Likewise.
39629         * malloc/tst-mallocstate.c (main): Likewise.
39630         * malloc/tst-mtrace.c (main): Likewise.
39631         * malloc/tst-realloc.c (do_test): Likewise.
39632
39633 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39634
39635         [BZ #16366]
39636         * nscd/netgroupcache.c (do_notfound): New function.
39637         (addgetnetgrentX): Use it.
39638
39639         [BZ # 16365]
39640         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39641         NSS_STATUS_NOTFOUND.
39642
39643 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39644
39645         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39647
39648 2014-01-01  Allan McRae  <allan@archlinux.org>
39649
39650         * scripts/update-copyrights: Update configure input file suffix.
39651
39652         * NEWS: Update copyright year.
39653         * catgets/gencat.c: Likewise.
39654         * csu/version.c: Likewise.
39655         * debug/catchsegv.sh: Likewise.
39656         * debug/pcprofiledump.c: Likewise.
39657         * debug/xtrace.sh: Likewise.
39658         * elf/ldconfig.c: Likewise.
39659         * elf/ldd.bash.in: Likewise.
39660         * elf/pldd.c: Likewise.
39661         * elf/sotruss.ksh: Likewise.
39662         * elf/sprof.c: Likewise.
39663         * iconv/iconv_prog.c: Likewise.
39664         * iconv/iconvconfig.c: Likewise.
39665         * locale/programs/locale.c: Likewise.
39666         * locale/programs/localedef.c: Likewise.
39667         * login/programs/pt_chown.c: Likewise.
39668         * malloc/memusage.sh: Likewise.
39669         * malloc/memusagestat.c: Likewise.
39670         * malloc/mtrace.pl: Likewise.
39671         * manual/libc.texinfo: Likewise.
39672         * nscd/nscd.c: Likewise.
39673         * nss/getent.c: Likewise.
39674         * nss/makedb.c: Likewise.
39675         * posix/getconf.c: Likewise.
39676         * scripts/test-installation.pl: Likewise.
39677
39678         * All files with FSF copyright notices: Update copyright dates
39679         using scripts/update-copyrights.
39680         * intl/plural.c: Regenerated.
39681         * locale/programs/charmap-kw.h: Likewise.
39682         * locale/programs/locfile-kw.h: Likewise.
39683
39684 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39685
39686         * sysdeps/unix/sysv/linux/configure: Regenerated.
39687         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39688         the linux/fanotify.h header.
39689         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39690         HAVE_LINUX_FANOTIFY_H is defined.
39691
39692 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39693
39694         * benchtests/cos-inputs: New inputs.
39695         * benchtests/sin-inputs: Likewise.
39696
39697         * benchtests/atan-inputs: New inputs. Fix name of multiple
39698         precision fallback inputs.
39699
39700         * benchtests/atanh-inputs: New inputs.
39701         * benchtests/tanh-inputs: Likewise.
39702
39703         * benchtests/acosh-inputs: New inputs.
39704         * benchtests/asinh-inputs: Likewise.
39705
39706         * benchtests/cosh-inputs: New inputs.
39707         * benchtests/sinh-inputs: Likewise.
39708
39709         * benchtests/acos-inputs: Add more inputs.
39710         * benchtests/asin-inputs: Likewise.
39711
39712 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39713
39714         [BZ #16375]
39715         * manual/arith.texi: Fix spelling.
39716         * manual/charset.texi: Likewise.
39717         * manual/errno.texi: Likewise.
39718         * manual/filesys.texi: Likewise.
39719         * manual/lang.texi: Likewise.
39720         * manual/llio.texi: Likewise.
39721         * manual/locale.texi: Likewise.
39722         * manual/message.texi: Likewise.
39723         * manual/resource.texi: Likewise.
39724         * manual/search.texi: Likewise.
39725         * manual/setjmp.texi: Likewise.
39726         * manual/stdio.texi: Likewise.
39727         * manual/string.texi: Likewise.
39728         * manual/sysinfo.texi: Likewise.
39729         * manual/time.texi: Likewise.
39730
39731 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39732
39733         * po/sl.po: New file.
39734
39735 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39736
39737         * .gitignore: Add core/.gdbinit/.gdb_history.
39738
39739 2013-12-27  Allan McRae  <allan@archlinux.org>
39740
39741         [BZ #16369]
39742         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39743         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39744
39745 2013-12-24  Brooks Moses  <bmoses@google.com>
39746
39747         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39748         all compilers that claim C++98 compliance, not just GCC.
39749         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39750         Likewise.
39751
39752 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39753
39754         * NEWS: Restore accidentally deleted bug-fix entries.
39755
39756 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39757             Ondřej Bílka  <neleai@seznam.cz>
39758
39759         [BZ #15073]
39760         * malloc/malloc.c (_int_free): Perform sanity check only if we
39761         have_lock.
39762
39763 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39764
39765         [BZ #12986]
39766         * manual/stdio.texi (String Input Conversions): Clarify that character
39767         classes are not supported.
39768
39769 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770
39771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39772
39773 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39774
39775         [BZ #16337]
39776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39777         Calculate results for small negative arguments directly rather
39778         than using reflection formula with special underflow handling.
39779
39780         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39781         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39782         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39783         (fchflags): Likewise.
39784         (revoke): Likewise.
39785         (setlogin): Likewise.
39786         (sigaltstack): Likewise.
39787         (wait4): Likewise.
39788         (sigblock): Remove.
39789         (sigsetmask): Likewise.
39790         (wait3): Likewise.
39791         (waitpid): Likewise.
39792         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39793         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39794         file.
39795         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39796         * sysdeps/unix/bsd/Makefile: ... here.
39797         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39798         * sysdeps/unix/bsd/Versions: ... here.
39799         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39800         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39801         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39802         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39803         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39804         * sysdeps/unix/bsd/sigblock.c: ... here.
39805         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39806         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39807         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39808         * sysdeps/unix/bsd/sigvec.c: ... here.
39809         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39810         * sysdeps/unix/bsd/tcdrain.c: ... here.
39811         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39812         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39813         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39814         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39815         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39816         * sysdeps/unix/bsd/wait.c: ... here.
39817         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39818         * sysdeps/unix/bsd/wait3.c: ... here.
39819         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39820         * sysdeps/unix/bsd/waitpid.c: ... here.
39821
39822 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39823
39824         [BZ #16356]
39825         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39826         round-to-nearest for [!USE_AS_EXPM1L].
39827         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39828         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39829         more tests of exp and exp10.  Expect some exp10 tests to miss
39830         exceptions or fail in directed rounding modes.
39831         * math/auto-libm-test-out: Regenerated.
39832         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39833         (exp10_test_tonearest): New function.
39834         (exp10_towardzero_test_data): New array.
39835         (exp10_test_towardzero): New function.
39836         (exp10_downward_test_data): New array.
39837         (exp10_test_downward): New function.
39838         (exp10_upward_test_data): New array.
39839         (exp10_test_upward): New function.
39840         (main): Call the new functions.
39841         * sysdeps/i386/fpu/libm-test-ulps: Update.
39842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39843
39844 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39845
39846         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39847         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39848         * math/auto-libm-test-out: Regenerated.
39849         * math/libm-test.inc (acosh_test_data): Add more tests.
39850         (atanh_test_data): Likewise.
39851         (ceil_test_data): Likewise.
39852         (copysign_test_data): Likewise.
39853         * sysdeps/i386/fpu/libm-test-ulps: Update.
39854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39855
39856         * timezone/checktab.awk: Update from tzcode 2013i.
39857         * timezone/private.h: Likewise.
39858         * timezone/scheck.c: Likewise.
39859         * timezone/tzfile.h: Likewise.
39860         * timezone/tzselect.ksh: Likewise.
39861         * timezone/zdump.c: Likewise.
39862         * timezone/zic.c: Likewise.
39863
39864         * math/auto-libm-test-in: Add tests of cpow.
39865         * math/auto-libm-test-out: Regenerated.
39866         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39868         mpc_cc_c.
39869         (func_calc_desc): Add mpc_cc_c union field.
39870         (test_functions): Add cpow.
39871         (special_fill_2pi): New function.
39872         (special_real_inputs): Add 2pi.
39873         (calc_generic_results): Handle mpc_cc_c.
39874         * sysdeps/i386/fpu/libm-test-ulps: Update.
39875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39876
39877         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39878         csqrt, ctan and ctanh.
39879         * math/auto-libm-test-out: Regenerated.
39880         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39881         (TEST_COND_x86): Likewise.
39882         (ccos_test_data): Use AUTO_TESTS_c_c.
39883         (ccosh_test_data): Likewise.
39884         (cexp_test_data): Likewise.
39885         (clog_test_data): Likewise.
39886         (csqrt_test_data): Likewise.
39887         (ctan_test_data): Likewise.
39888         (ctan_tonearest_test_data): Likewise.
39889         (ctan_towardzero_test_data): Likewise.
39890         (ctan_downward_test_data): Likewise.
39891         (ctan_upward_test_data): Likewise.
39892         (ctanh_test_data): Likewise.
39893         (ctanh_tonearest_test_data): Likewise.
39894         (ctanh_towardzero_test_data): Likewise.
39895         (ctanh_downward_test_data): Likewise.
39896         (ctanh_upward_test_data): Likewise.
39897         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39898         mpc_c_c.
39899         (func_calc_desc): Add mpc_c_c union field.
39900         (FUNC_mpc_c_c): New macro.
39901         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39902         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39903         ctanh.
39904         (special_fill_min_subnorm_p120): New function.
39905         (special_real_inputs): Add min_subnorm_p120.
39906         (calc_generic_results): Handle mpc_c_c.
39907         * sysdeps/i386/fpu/libm-test-ulps: Update.
39908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39909
39910 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39911
39912         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39913         (do_sin_slow): New functions.
39914         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39915         (cslow2, csloww1, csloww2): Use the new functions.
39916
39917         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39918         Use M to change sign of result instead of X.  Assume X is
39919         positive.
39920         (csloww1): Likewise.
39921         (__sin): Adjust.
39922         (__cos): Adjust.
39923
39924         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39925         arguments A and DA.
39926         (__sin): Adjust.
39927         (__cos): Likewise.
39928
39929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39930         (__cos): Likewise.
39931         (sloww1): Don't adjust sign of DX.
39932         (csloww1): Likewise.
39933         (sloww2): Use X directly and don't adjust sign of DX.
39934         (csloww2): Likewise.
39935
39936 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39937
39938         * math/auto-libm-test-in: Add tests of cabs and carg.
39939         * math/auto-libm-test-out: Regenerated.
39940         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39941         (carg_test_data): Likewise.
39942         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39943         mpc_c_f.
39944         (func_calc_desc): Add mpc_c_f union field.
39945         (test_functions): Add cabs and carg.
39946         (calc_generic_results): Handle mpc_c_f.
39947
39948         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39949         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39950         as a macro and a compat symbol.
39951         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39952         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39953         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39954         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39955         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39956         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39957         not use .hidden.
39958         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39959         Likewise.
39960         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39961         Likewise.
39962         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39963         Likewise.
39964         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39965         Likewise.
39966         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39967         Likewise.
39968         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39969         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39970         from GLIBC_2.3.2.
39971
39972 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39973
39974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39975
39976 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39977
39978         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39979         trailing whitespace removed.
39980         * scripts/config.guess: Update to version 2013-11-29.
39981         * scripts/config.sub: Update to version 2013-10-01.
39982
39983         * math/auto-libm-test-in: Add tests of sincos.
39984         * math/auto-libm-test-out: Regenerated.
39985         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39986         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39987         mpfr_f_11.
39988         (func_calc_desc): Add mpfr_f_11 union field.
39989         (test_functions): Add sincos.
39990         (calc_generic_results): Handle mpfr_f_11.
39991         * sysdeps/i386/fpu/libm-test-ulps: Update.
39992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39993
39994 2013-12-19  Andreas Schwab  <schwab@suse.de>
39995
39996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39997         CALL_MCOUNT.
39998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39999         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40000         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40001
40002 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40003
40004         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40005         * sysdeps/i386/fpu/libm-test-ulps: Update.
40006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40007
40008         [BZ #16293]
40009         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40010         round-to-nearest mode when using frndint.
40011         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40012         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40013         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40014         Likewise.
40015         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40016         sinh test to fail.
40017         * math/auto-libm-test-out: Regenerated.
40018         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40019         (TEST_COND_x86): Likewise.
40020         (expm1_tonearest_test_data): New array.
40021         (expm1_test_tonearest): New function.
40022         (expm1_towardzero_test_data): New array.
40023         (expm1_test_towardzero): New function.
40024         (expm1_downward_test_data): New array.
40025         (expm1_test_downward): New function.
40026         (expm1_upward_test_data): New array.
40027         (expm1_test_upward): New function.
40028         (main): Run the new test functions.
40029         * sysdeps/i386/fpu/libm-test-ulps: Update.
40030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40031
40032         * include/features.h: Update comment documenting feature test
40033         macros.  Mention _DEFAULT_SOURCE in comment.
40034         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40035         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40036         _BSD_SOURCE and _SVID_SOURCE.
40037         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40038         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40039         !_SVID_SOURCE]: Likewise.
40040         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40041         (__USE_POSIX_IMPLICITLY): Define.
40042         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40043         (_POSIX_SOURCE): Undefine and redefine.
40044         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40045         (_POSIX_C_SOURCE): Likewise.
40046         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40047         (Feature Test Macros): Update documentation of default features.
40048
40049 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40050
40051         * benchtests/Makefile: Add bench-strtok.
40052         * benchtests/bench-strtok.c: New file: strtok benchtest.
40053
40054 2013-12-19  Allan McRae  <allan@archlinux.org>
40055
40056         * manual/install.texi: Suppress menu for plain text output.
40057         * INSTALL: Regenerated.
40058
40059 2013-12-18  Brooks Moses  <bmoses@google.com>
40060
40061         [BZ #15846]
40062         * misc/getauxval.c: Include errno.h.
40063         (__getauxval): Set errno to ENOENT if the requested type is not
40064         found.
40065         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40066         don't declare with __attribute_const__.
40067         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40068         * manual/startup.texi: Document that getauxval sets errno.
40069
40070 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40071
40072         * math/auto-libm-test-in: Add tests of jn and yn.
40073         * math/auto-libm-test-out: Regenerated.
40074         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40075         (yn_test_data): Likewise.
40076         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40077         mpfr_if_f.
40078         (func_calc_desc): Add mpfr_if_f union field.
40079         (FUNC_mpfr_if_f): New macro.
40080         (test_functions): Add jn and yn.
40081         (calc_generic_results): Assert type of second input for
40082         mpfr_ff_f.  Handle mpfr_if_f.
40083         (output_for_one_input_case): Disable all checking for arguments
40084         fitting floating-point types in case of an integer argument.
40085         * sysdeps/i386/fpu/libm-test-ulps: Update.
40086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40087
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40089         Don't expect fegetround reference in libm.so.
40090
40091 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40092
40093         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40094         $(config-cflags-nofma).
40095
40096 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40097
40098         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40099         * math/auto-libm-test-out: Regenerated.
40100
40101         [BZ #16338]
40102         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40103         to determine exponent and adjust argument to have exponent of -1.
40104         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40105         log2.
40106         * math/auto-libm-test-out: Regenerated.
40107         * sysdeps/i386/fpu/libm-test-ulps: Update.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40109
40110 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40111
40112         * manual/probes.texi: Remove cases when per-thread arenas are
40113         disabled.
40114
40115 2013-12-18  Andreas Schwab  <schwab@suse.de>
40116
40117         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40118         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40119         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40120         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40121         * sysdeps/i386/i686/multiarch/Makefile: Update.
40122         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40123
40124 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40125
40126         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40127         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40128
40129 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40130
40131         [BZ #15968]
40132         Support TZ transition times < 00:00:00.
40133         This is needed for version-3 tz-format files; it supports time
40134         stamps past 2037 for America/Godthab (the only entry in the tz
40135         database for which this change is relevant).
40136         * manual/time.texi (TZ Variable): Document transition times
40137         from -167:59:59 through -00:00:01.
40138         * time/tzset.c (tz_rule): Time of day is now signed.
40139         (__tzset_parse_tz): Parse negative time of day.
40140
40141         Document TZ transition times >= 25:00:00.
40142         * manual/time.texi (TZ Variable): Document transition times from
40143         25:00:00 through 167:59:59.  These are already supported, and this
40144         support will help with version-3 tz-format files.
40145
40146         * manual/time.texi (TZ Variable): Modernize North America example
40147         to reflect current (i.e., 2007-and-later) daylight saving rules.
40148
40149         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40150
40151 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40152
40153         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40154         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40157         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40158         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40159         * sysdeps/unix/bsd/clock.c: Likewise.
40160         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40161         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40162         * sysdeps/unix/bsd/init-posix.c: Likewise.
40163         * sysdeps/unix/bsd/poll.c: Likewise.
40164         * sysdeps/unix/bsd/ptsname.c: Likewise.
40165         * sysdeps/unix/bsd/seekdir.c: Likewise.
40166         * sysdeps/unix/bsd/setegid.c: Likewise.
40167         * sysdeps/unix/bsd/seteuid.c: Likewise.
40168         * sysdeps/unix/bsd/setgid.c: Likewise.
40169         * sysdeps/unix/bsd/setrgid.c: Likewise.
40170         * sysdeps/unix/bsd/setruid.c: Likewise.
40171         * sysdeps/unix/bsd/setsid.c: Likewise.
40172         * sysdeps/unix/bsd/setuid.c: Likewise.
40173         * sysdeps/unix/bsd/sigaction.c: Likewise.
40174         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40175         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40176         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40177         * sysdeps/unix/bsd/telldir.c: Likewise.
40178         * sysdeps/unix/bsd/times.c: Likewise.
40179         * sysdeps/unix/bsd/usleep.c: Likewise.
40180
40181         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40182         ($(objpfx)libbsd-compat.a): Remove rule.
40183
40184         * include/features.h (__FAVOR_BSD): Do not define.
40185         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40186         features conflicting with POSIX.
40187         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40188         (_BSD_SOURCE): Remove description of not being a subset of other
40189         feature test macros.
40190         * manual/job.texi (getpgrp): Do not document BSD version.
40191         (getpgid): Do not document by reference to BSD getpgrp.
40192         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40193         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40194         * signal/signal.h [__FAVOR_BSD]: Likewise.
40195         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40196         instead of making contents conditional on [__FAVOR_BSD].
40197         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40198
40199 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40200
40201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40202
40203 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40204
40205         [BZ #16314]
40206         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40207         values below 2**-450, not 2**-500.
40208         * math/auto-libm-test-in: Don't allow spurious underflow from
40209         hypot.
40210         * math/auto-libm-test-out: Regenerated.
40211
40212         [BZ #16316]
40213         [BZ #16330]
40214         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40215         values of ha and hb and sort them after adjusting subnormal
40216         arguments.
40217         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40218         Likewise.
40219         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40220         values of ea and eb and sort them after adjusting subnormal
40221         arguments.
40222         * math/auto-libm-test-in: Do not expect some hypot tests of
40223         subnormals to fail.  Add more hypot tests.
40224         * math/auto-libm-test-out: Regenerated.
40225
40226 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40227
40228         [BZ #13304]
40229         * sysdeps/sh/s_fma.c: New file.
40230         * sysdeps/sh/s_fmaf.c: New file.
40231         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40232         version.
40233         * sysdeps/sh/Implies: Add sh/soft-fp.
40234
40235 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40236
40237         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40238         level of indirection to members `objname', `errstring', `malloced'.
40239         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40240         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40241         it as the __longjmp argument (just pass 1 instead).
40242         (_dl_catch_error): Initialize C with argument pointers and address of
40243         volatile local ERRCODE rather than copying values out of C at return.
40244
40245 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40246
40247         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40248         * math/auto-libm-test-out: Regenerated.
40249         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40250         (hypot_test_data): Likewise.
40251         (pow_test_data): Likewise.
40252         (pow_tonearest_test_data): Likewise.
40253         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40254         mpfr_ff_f.
40255         (func_calc_desc): Add mpfr_ff_f union field.
40256         (FUNC_mpfr_ff_f): New macro.
40257         (test_functions): Add atan2, hypot and pow.
40258         (special_fill_min): New function.
40259         (special_fill_minus_min): Likewise.
40260         (special_fill_min_subnorm): Likewise.
40261         (special_fill_minus_min_subnorm): Likewise.
40262         (special_real_inputs): Add min, -min, min_subnorm and
40263         -min_subnorm.
40264         (calc_generic_results): Handle mpfr_ff_f.
40265         * sysdeps/i386/fpu/libm-test-ulps: Update.
40266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40267
40268 2013-12-16  Will Newton  <will.newton@linaro.org>
40269
40270         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40271         (Aligned Memory Blocks): Add documentation for aligned_alloc
40272         and suggest it as an alternative to posix_memalign.
40273         (Hooks for Malloc): Document __memalign_hook is also called
40274         for aligned_alloc.  (Summary of Malloc): Add summary for
40275         aligned alloc.  Document __memalign_hook is also called
40276         for aligned_alloc.
40277
40278 2013-12-16  Will Newton  <will.newton@linaro.org>
40279
40280         * manual/memory.texi (Malloc Examples): Clarify default
40281         alignment documentation.  Suggest posix_memalign rather
40282         than memalign or valloc.
40283         (Aligned Memory Blocks): Remove suggestion to use memalign
40284         or valloc.  Remove obsolete comment about BSD.
40285         Document memalign errno values and mark the function obsolete.
40286         Document posix_memalign returned error codes.  Mark valloc
40287         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40288         called for posix_memalign and valloc.
40289         (Summary of Malloc): Add posix_memalign to function summary.
40290         __memalign_hook is also called for posix_memalign and valloc.
40291
40292 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40293
40294         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40295         TAYLOR_SIN.
40296         (__sin): Adjust.
40297         (__cos): Likewise.
40298         (sloww): Use mynumber union.  Expand ternary operator into
40299         if-else statements.
40300         (cslow): use mynumber union.
40301
40302 2013-12-16  Allan McRae  <allan@archlinux.org>
40303
40304         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40305         * configure: Regenerated.
40306
40307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40308
40309         [BZ #14120]
40310         * configure.ac: Added --enable-maintainer-mode. Check for
40311         autoconf when enabled.
40312         * configure: Regenerated.
40313
40314         * nscd/nscd.service: New file.
40315         * nscd/nscd.tmpfiles: New file.
40316
40317 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40318
40319         [BZ #12100]
40320         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40321         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40322         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40323         (strstr): Add __strstr_sse2_unaligned ifunc.
40324         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40325         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40326         (strcasestr): Remove __strcasestr_sse42 ifunc.
40327         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40330
40331 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40332
40333         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40334         * sysdeps/sh/bits/fenv.h: ... here.
40335         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40336
40337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40338
40339         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40340
40341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40342         hypotf multiarch implementations.
40343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40345         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40346         multiarch hypot for PPC64.
40347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40350         multiarch hypotf for PPC64.
40351
40352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40353         modff multiarch implementations.
40354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40357         multiarch modf for PPC64.
40358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40361         multiarch modff for PPC64.
40362
40363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40364         and logl multiarch implementations.
40365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40368         multiarch logb for PPC64.
40369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40372         multiarch logb for PPC64.
40373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40376         multiarch logb for PPC64.
40377
40378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40379         isinff multiarch implementation.
40380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40381         file.
40382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40384         multiarch isinf for PPC64.
40385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40386         file.
40387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40388         multiarch isinff for PPC64.
40389
40390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40391         finitef multiarch implementation.
40392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40393         file.
40394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40396         multiarch finite for PPC64.
40397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40398         file.
40399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40400         multiarch finitef for PPC64.
40401
40402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40403         lrint multiarch implementation.
40404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40405         file.
40406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40408         multiarch llrint for PPC64.
40409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40410         multiarch lrint for PPC64.
40411
40412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40413         copysignf multiarch implementation.
40414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40415         file.
40416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40417         file.
40418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40419         multiarch copysign for PPC64.
40420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40421         multiarch copysignf for PPC64.
40422
40423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40424         multiarch implementation.
40425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40426         file.
40427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40428         file.
40429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40430         file.
40431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40432         file.
40433         multiarch llround for PPC64.
40434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40435         multiarch trunc for PPC64.
40436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40437         multiarch truncf for PPC64.
40438
40439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40440         multiarch implementation.
40441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40442         file.
40443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40444         file.
40445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40446         file.
40447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40448         file.
40449         multiarch llround for PPC64.
40450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40451         multiarch round for PPC64.
40452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40453         multiarch roundf for PPC64.
40454
40455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40456         multiarch implementation.
40457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40458         file.
40459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40460         file.
40461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40462         file.
40463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40464         file.
40465         multiarch llround for PPC64.
40466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40467         multiarch floor for PPC64.
40468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40469         multiarch floorf for PPC64.
40470
40471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40472         multiarch implementation.
40473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40474         file.
40475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40476         file.
40477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40478         file.
40479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40480         file.
40481         multiarch llround for PPC64.
40482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40483         multiarch ceil for PPC64.
40484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40485         multiarch ceilf for PPC64.
40486
40487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40488         multiarch implementation.
40489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40490         file.
40491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40492         file.
40493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40494         file.
40495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40496         multiarch llround for PPC64.
40497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40498         multiarch lround for PPC64.
40499
40500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40501         multiarch implementation.
40502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40505         file.
40506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40509         multiarch isnan for PPC64.
40510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40511         multiarch isnanf for PPC64.
40512
40513         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40514         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40515         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40516         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40517         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40519
40520         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40521         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40524
40525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40526         multiarch implementations.
40527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40528         (__libc_ifunc_impl_list): Likewise.
40529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40532         multiarch stpcpy for PPC64.
40533
40534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40535         multiarch implementations.
40536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40537         (__libc_ifunc_impl_list): Likewise.
40538         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40539         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40540         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40541         multiarch strcpy for PPC64.
40542
40543         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40544         redefine function name.
40545         (_wordcopy_fwd_dest_aligned): Likewise.
40546         (_wordcopy_bwd_aligned): Likewise.
40547         (_wordcopy_bwd_dest_aligned): Likewise.
40548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40549         multiarch implementations.
40550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40551         (__libc_ifunc_impl_list): Likewise.
40552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40556         multiarch wcscpy for PPC64.
40557
40558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40559         multiarch implementations.
40560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40561         (__libc_ifunc_impl_list): Likewise.
40562         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40563         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40564         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40565         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40566         multiarch wcscpy for PPC64.
40567
40568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40569         multiarch implementations.
40570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40571         (__libc_ifunc_impl_list): Likewise.
40572         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40574         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40575         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40576         multiarch wcsrchr for PPC64.
40577
40578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40579         multiarch implementations.
40580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40581         (__libc_ifunc_impl_list): Likewise.
40582         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40584         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40585         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40586         multiarch wcschr for PPC64.
40587
40588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40589         multiarch implementations.
40590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40591         (__libc_ifunc_impl_list): Likewise.
40592         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40593         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40594         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40595         multiarch strchrnul for PPC64.
40596
40597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40598         implementations.
40599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40600         (__libc_ifunc_impl_list): Likewise.
40601         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40602         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40603         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40604         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40605         strchr for PPC64.
40606
40607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40608         implementations.
40609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40610         (__libc_ifunc_impl_list): Likewise.
40611         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40612         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40613         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40614         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40615         strncmp for PPC64.
40616
40617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40618         multiarch implementations.
40619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40620         (__libc_ifunc_impl_list): Likewise.
40621         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40622         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40623         strncasecmp for PPC64.
40624         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40625         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40626         multiarch strncasecmp_l for PPC64.
40627
40628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40629         multiarch implementations.
40630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40631         (__libc_ifunc_impl_list): Likewise.
40632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40634         multiarch strcasecmp for PPC64.
40635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40636         file.
40637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40638         multiarch strcasecmp_l for PPC64.
40639
40640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40641         implementations.
40642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40643         (__libc_ifunc_impl_list): Likewise.
40644         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40645         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40646         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40647         strnlen for PPC64.
40648
40649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40650         implementations.
40651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40652         (__libc_ifunc_impl_list): Likewise.
40653         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40654         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40655         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40656         strlen for PPC64.
40657
40658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40659         implementations.
40660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40661         (__libc_ifunc_impl_list): Likewise.
40662         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40663         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40664         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40665         rawmemrchr for PPC64.
40666
40667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40668         implementation.
40669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40670         (__libc_ifunc_impl_list): Likewise.
40671         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40672         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40673         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40674         memrchr for PPC64.
40675
40676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40677         implementation.
40678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40679         (__libc_ifunc_impl_list): Likewise.
40680         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40681         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40682         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40683         memchr for PPC64.
40684
40685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40686         implementation.
40687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40688         (__libc_ifunc_impl_list): Likewise.
40689         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40690         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40691         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40692         mempcpy for PPC64.
40693
40694         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40695         avoid cretion of __bzero symbol.
40696         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40697         Likewise.
40698         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40699         Likewise.
40700         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40701         Likewise.
40702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40703         multiarch implementations.
40704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40705         (__libc_ifunc_impl_list): Likewise.
40706         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40708         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40709         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40710         bzero for PPC32.
40711         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40712         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40713         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40714         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40715         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40716         memset for PPC64.
40717         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40718
40719         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40721         implementations.
40722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40723         (__libc_ifunc_impl_list): Likewise.
40724         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40725         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40726         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40727         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40728         memcmp for PPC64.
40729
40730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40731         multiarch for POWER/PPC64.
40732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40733         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40734         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40735         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40740         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40741         memcpy for PPC64.
40742
40743         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40744         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40745         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40746         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40747         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40748         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40749         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40750         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40751         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40752         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40753         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40754         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40755         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40756         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40757         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40765
40766 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40767
40768         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40769
40770 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40771
40772         * benchtests/Makefile (bench): Add exp2 and log2.
40773         (LDLIBS-bench-exp2): Add -lm.
40774         (LDLIBS-bench-log2): Likewise.
40775         * benchtests/exp2-inputs: New inputs file.
40776         * benchtests/log2-inputs: New inputs file.
40777         * benchtests/log-inputs: Add new inputs.
40778         * benchtests/tan-inputs: Likewise.
40779
40780 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40781
40782         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40783         definition...
40784         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40785         (csloww2): ... from here.
40786
40787         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40788         instead of structures.
40789         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40790         (POLYNOMIAL): Likewise.
40791         (TAYLOR_SLOW): Likewise.
40792         (__sin): Likewise.
40793         (__cos): Likewise.
40794         (slow1): Likewise.
40795         (slow2): Likewise.
40796         (sloww): Likewise.
40797         (sloww1); Likewise.
40798         (sloww2): Likewise.
40799         (bsloww1): Likewise.
40800         (bsloww2): Likewise.
40801         (cslow2): Likewise.
40802         (csloww): Likewise.
40803         (csloww1): Likewise.
40804         (csloww2): Likewise.
40805
40806 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40807
40808         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40809         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40810         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40811         * malloc/hooks.c (realloc_check): Likewise.
40812
40813         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40814         * malloc/arena.c: Remove PER_THREAD conditional.
40815         [!PER_THREAD]: Remove code.
40816         (ptmalloc_unlock_all2): Likewise.
40817         (ptmalloc_init): Likewise.
40818         (_int_new_arena): Likewise.
40819         (arena_get2): Likewise.
40820         * malloc/hooks.c (__malloc_get_state): Likewise.
40821         (__malloc_set_state): Likewise.
40822         * malloc/malloc.c: Likewise.
40823         (struct malloc_state): Likewise.
40824         (struct malloc_par): Likewise.
40825         (__libc_realloc): Likewise.
40826         (__libc_mallopt): Likewise.
40827
40828 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40829
40830         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40831
40832 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40833
40834         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40835         macro to a function.  Check for zero perturb_byte.
40836         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40837
40838         * malloc/malloc.c: (force_reg): Remove.
40839         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40840         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40841         force_reg by atomic_forced_read.
40842         * malloc/arena.c (ptmalloc_init): Likewise.
40843         * malloc/hooks.c (top_check): Likewise.
40844
40845 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40846
40847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40848
40849 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40850
40851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40852
40853 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40854
40855         * math/auto-libm-test-in: Add tests of lgamma.
40856         * math/auto-libm-test-out: Regenerated.
40857         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40858         (M_LOG_2_SQRT_PIl): Likewise.
40859         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40860         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40861         mpfr_f_f1.
40862         (func_calc_desc): Add mpfr_f_f1 union field.
40863         (ARGS1): New macro.
40864         (ARGS2): Likewise.
40865         (ARGS3): Likewise.
40866         (ARGS4): Likewise.
40867         (RET1): Likewise.
40868         (RET2): Likewise.
40869         (CALC): Likewise.
40870         (FUNC): Likewise.
40871         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40872         (test_functions): Add lgamma.
40873         (calc_generic_results): Handle mpfr_f_f1.
40874         * sysdeps/i386/fpu/libm-test-ulps: Update.
40875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40876
40877 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40878
40879         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40880         __mpn_add_n for PowerPC64/POWER7.
40881         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40882         __mpn_sub_n for PowerPC64/POWER7.
40883
40884         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40885         __mpn_addmul_1 for PowerPC64.
40886         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40887         __mpn_submul_1 for PowerPC64.
40888         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40889         for PowerPC64.
40890         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40891         for PowerPC64.
40892
40893 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40894
40895         [BZ #15089]
40896         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40897
40898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40899
40900         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40901
40902         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40903         add multiarch folders.
40904         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40905         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40906         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40907         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40908         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40909         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40910         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40911         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40912         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40913         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40914         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40921
40922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40923         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40925         New file.
40926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40927         New file.
40928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40929         multiarch __ieee754_hypot for PowerPC32.
40930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40931         New file.
40932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40933         New file.
40934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40935         multiarch __ieee754_hypotf for PowerPC32.
40936
40937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40938         long_double_symbol only if __logbl is defined.
40939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40940         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40942         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40944         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40946         path for implementation.
40947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40948         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40950         logb, and logbl multiarch implementations for PowerPC32.
40951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40952         file.
40953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40954         file.
40955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40956         multiarch logb for PowerPC32.
40957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40958         file.
40959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40960         file.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40962         multiarch logbf for PowerPC32.
40963         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40965         file.
40966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40967         multiarch logbl implementation for PowerPC32.
40968
40969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40970         and modff multiarch implementations.
40971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40972         New file.
40973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40974         New file.
40975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40976         multiarch modf for PowerPC32.
40977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40978         New file.
40979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40980         New file.
40981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40982         multiarch modff for PowerPC32.
40983
40984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40985         and lrintf multiarch implementations.
40986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40987         New file.
40988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40989         New file.
40990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40991         multiarch lrint for PowerPC32.
40992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40993         file: multiarch lrintf for PowerPC32.
40994
40995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40996         and lroundf multiarch implementations.
40997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40998         New file.
40999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41000         New file.
41001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41002         New file.
41003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41004         multiarch lround for PowerPC32.
41005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41006         file: multiarch lroundf for PowerPC32.
41007
41008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41009         copysign and copysignf multiarch implementations.
41010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41011         New file.
41012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41013         New file.
41014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41015         file: multiarch copysign for PowerPC32.
41016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41017         file: multiarch copysignf for PowerPC32.
41018
41019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41020         and truncf multiarch implementations.
41021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41022         New file.
41023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41024         file.
41025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41026         multiarch trunc for PowerPC32.
41027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41028         New file.
41029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41030         New file.
41031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41032         multiarch truncf for PowerPC32.
41033
41034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41035         and roundf multiarch implementations.
41036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41037         New file.
41038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41039         file.
41040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41041         multiarch round for PowerPC32.
41042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41043         New file.
41044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41045         New file.
41046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41047         multiarch roundf for PowerPC32.
41048
41049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41050         and floorf multiarch implementations.
41051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41052         New file.
41053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41054         file.
41055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41056         multiarch floor for PowerPC32.
41057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41058         New file.
41059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41060         New file.
41061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41062         multiarch floorf for PowerPC32.
41063
41064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41065         and ceilf multiarch implementations.
41066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41067         New file.
41068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41069         file.
41070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41071         multiarch ceil for PowerPC32.
41072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41073         New file.
41074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41075         file.
41076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41077         multiarch ceilf for PowerPC32.
41078
41079         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41080         is defined.
41081         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41082         FINITEF is defined.
41083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41084         and finitef multiarch implementations.
41085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41086         New file.
41087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41088         file.
41089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41090         multiarch finite for PowerPC32.
41091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41092         New file.
41093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41094         file: multiarch finitef for PowerPC32.
41095
41096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41097         and isinff multiarch implementations.
41098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41099         file.
41100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41101         file.
41102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41103         multiarch isinf for PowerPC32.
41104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41105         New file.
41106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41107         multiarch isinff for PowerPC32.
41108
41109         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41110         alias when __isnan is defined.
41111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41112         and isnanf multiarch implementations.
41113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41114         file.
41115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41116         file.
41117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41118         file.
41119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41120         file.
41121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41122         multiarch isnan for PowerPC32.
41123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41124         New file.
41125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41126         New file.
41127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41128         multiarch isnanf for PowerPC32.
41129
41130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41131         and sqrtf multiarch implementations.
41132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41133         file.
41134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41135         file.
41136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41137         multiarch sqrt for PowerPC32.
41138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41139         file.
41140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41141         file.
41142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41143         multiarch sqrtf for PowerPC32.
41144
41145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41146         and llroundf multiarch implementations.
41147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41148         New file.
41149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41150         New file.
41151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41152         New file.
41153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41154         file: multiarch llround for PowerPC32.
41155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41156         file: multiarch llroundf for PowerPC32.
41157
41158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41159         multiarch PowerPC32 fpu implementations.
41160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41161         New file.
41162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41163         New file.
41164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41165         multiarch llrint for PowerPC32.
41166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41167         New file.
41168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41169         New file.
41170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41171         file.
41172
41173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41174
41175         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41176         file.
41177         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41178         file.
41179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41180         file.
41181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41182         multiarch wordcopy for PPC32.
41183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41184         wordcopy objects.
41185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41186         (__libc_ifunc_impl_list): Likewise.
41187         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41188         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41189         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41190         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41191         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41192         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41193
41194         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41196         file.
41197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41198         file.
41199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41200         file.
41201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41202         multiarch wcscpy for PPC32.
41203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41204         multiarch objects.
41205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41206         (__libc_ifunc_impl_list): Likewise.
41207         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41208         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41209         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41210         sysdeps/powerpc/power6/wcscpy.c.
41211
41212         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41214         file.
41215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41216         file.
41217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41218         file.
41219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41220         multiarch wcsrchr for PPC32.
41221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41222         multiarch objects.
41223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41224         (__libc_ifunc_impl_list): Likewise.
41225         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41226         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41227         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41228         sysdeps/powerpc/power6/wcsrchr.c.
41229
41230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41231         file.
41232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41233         file.
41234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41236         multiarch wcschr for PPc32.
41237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41238         multiarch objects.
41239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41240         (__libc_ifunc_impl_list): Likewise.
41241         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41242         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41243         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41244         sysdeps/powerpc/power6/wcschr.c.
41245
41246         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41247         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41248         file.
41249         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41250         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41251         file: multiarch strchr for PPC32.
41252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41253         multiarch objects.
41254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41255         (__libc_ifunc_impl_list): Likewise.
41256
41257         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41258         name.
41259         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41260         file.
41261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41262         file.
41263         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41264         multiarch strchrnul for PPC32.
41265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41266         multiarch objects.
41267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41268         (__libc_ifunc_impl_list): Likewise.
41269
41270         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41271         file.
41272         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41273         multiarch strncasecmp for PPC32.
41274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41275         file.
41276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41277         multiarch strncasecmp_l for PPC32.
41278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41279         strncasecmp multiarch objects.
41280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41281         (__libc_ifunc_impl_list): Likewise.
41282
41283         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41284         file.
41285         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41286         multiarch strncasecmp for PPC32.
41287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41288         New file.
41289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41290         multiarch strcasecmp_l for PPC32.
41291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41292         multiarch objects.
41293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41294         (__libc_ifunc_impl_list): Likewise.
41295
41296         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41297         file.
41298         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41299         file.
41300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41301         multiarch strncmp for PPC32.
41302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41303         multiarch objects.
41304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41305         (__libc_ifunc_impl_list): Likewise.
41306
41307         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41308         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41309         file.
41310         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41311         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41313         multiarch objects.
41314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41315         (__libc_ifunc_impl_list): Likewise.
41316
41317         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41318         file.
41319         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41320         file.
41321         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41323         multiarch objects.
41324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41325         (__libc_ifunc_impl_list): Likewise.
41326
41327         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41328         file.
41329         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41330         file.
41331         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41332         multiarch rawmemchr for PPC32.
41333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41334         multiarch objects.
41335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41336         (__libc_ifunc_impl_list): Likewise.
41337
41338         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41339         file.
41340         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41341         file.
41342         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41343         file: memrchr multiarch for PPC32.
41344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41345         multiarch objects.
41346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41347         (__libc_ifunc_impl_list): Likewise.
41348
41349         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41350         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41351         file.
41352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41354         multiarch memchr for PPC32.
41355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41356         multiarch objects.
41357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41358         (__libc_ifunc_impl_list): Likewise.
41359
41360         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41361         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41362         file.
41363         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41364         file.
41365         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41366         file: multiarch mempcpy for PPC32.
41367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41368         multiarch objects.
41369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41370         (__libc_ifunc_impl_list): Likewise.
41371
41372         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41373         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41374         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41375         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41376         multiarch bzero for PPC32.
41377         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41378         file.
41379         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41380         file.
41381         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41382         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41383         file: multiarch memset for PPC32.
41384         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41386         memset multiarch objects.
41387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41388         (__libc_ifunc_impl_list): Likewise.
41389
41390         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41391         file.
41392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41393         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41394         memcmp for PPC32.
41395         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41397         multiarch objects.
41398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41399         (__libc_ifunc_impl_list): Likewise.
41400
41401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41404         file.
41405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41406         file.
41407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41408         file.
41409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41410         multiarch memcpy for PPC32.
41411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41412         multiarch objects.
41413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41414         (__libc_ifunc_impl_list): Likewise.
41415
41416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41417         support multiarch for POWER/PPC32.
41418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41419         Likewise.
41420         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41422         Implies file to make multiarch folder appers before the fpu and
41423         default folder for power4 configuration.
41424
41425 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41426
41427         * scripts/bench.pl: Append volatile keyword to type.
41428
41429 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41430
41431         * sysdeps/sh/sotruss-lib.c: New file.
41432         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41433
41434 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41435
41436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41437
41438 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41439
41440         [BZ #6810]
41441         * math/w_tgamma.c: Include <errno.h>.
41442         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41443         * math/w_tgammaf.c: Include <errno.h>.
41444         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41445         * math/w_tgammal.c: Include <errno.h>.
41446         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41447         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41448         underflow.  Add more tgamma tests.
41449         * math/auto-libm-test-out: Regenerated.
41450         * sysdeps/i386/fpu/libm-test-ulps: Update.
41451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41452
41453         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41454         sin, sinh, tan, tanh, tgamma, y0 and y1.
41455         * math/auto-libm-test-out: Regenerated.
41456         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41457         (TEST_COND_x86): Likewise.
41458         (M_E2l): Remove macro.
41459         (M_E3l): Likewise.
41460         (M_2_SQRT_PIl): Likewise.
41461         (M_SQRT_PIl): Likewise.
41462         (M_1_DIV_El): Likewise.
41463         (log_test_data): Use AUTO_TESTS_f_f.
41464         (log10_test_data): Likewise.
41465         (log1p_test_data): Likewise.
41466         (log2_test_data): Likewise.
41467         (sin_test_data): Likewise.
41468         (sin_tonearest_test_data): Likewise.
41469         (sin_towardzero_test_data): Likewise.
41470         (sin_downward_test_data): Likewise.
41471         (sin_upward_test_data): Likewise.
41472         (sinh_test_data): Likewise.
41473         (sinh_tonearest_test_data): Likewise.
41474         (sinh_towardzero_test_data): Likewise.
41475         (sinh_downward_test_data): Likewise.
41476         (sinh_upward_test_data): Likewise.
41477         (tan_test_data): Likewise.
41478         (tan_tonearest_test_data): Likewise.
41479         (tan_towardzero_test_data): Likewise.
41480         (tan_downward_test_data): Likewise.
41481         (tan_upward_test_data): Likewise.
41482         (tanh_test_data): Likewise.
41483         (tgamma_test_data): Likewise.
41484         (y0_test_data): Likewise.
41485         (y1_test_data): Likewise.
41486         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41487         (special_real_inputs): Add pi/4.
41488         * sysdeps/i386/fpu/libm-test-ulps: Update.
41489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41490
41491 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41492
41493         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41494         "longjmp_target" static probes.
41495         (__longjmp): Rename to __longjmp_symbol.
41496         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41497         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41498         on which longjmp to generate.
41499         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41500         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41501         probe.
41502         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41503         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41504         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41505         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41506         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41507         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41509         __longjmp_symbol based on which __longjmp to generate.
41510         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41511         probe.
41512         (setjmp): Rename to setjmp_symbol.
41513         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41514         (_setjmp): Rename to _setjmp_symbol.
41515         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41516         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41517         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41518         which setjmp to generate.
41519         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41520         "longjmp_target" static probes.
41521
41522 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41523
41524         * benchtests/README: Add note about output arguments.
41525         * benchtests/bench-sincos.c: Remove file.
41526         * benchtests/sincos-inputs: New file.
41527         * scripts/bench.pl: Identify output arguments and define
41528         static variables for them.
41529
41530         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41531
41532         [BZ #15941]
41533         * Makefile (INSTALL): Add install-plain.texi as the primary
41534         dependency.
41535         * manual/install-plain.texi: New file.
41536         * manual/install.texi: Include node directive only for
41537         non-plaintext output.
41538
41539 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41540
41541         * stdlib/longlong.h: Update from GCC.
41542
41543         [BZ #6807]
41544         [BZ #15901]
41545         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41546         * math/w_j0f.c (y0f): Likewise.
41547         * math/w_j0l.c (__y0l): Likewise.
41548         * math/w_j1.c (y1): Likewise.
41549         * math/w_j1f.c (y1f): Likewise.
41550         * math/w_j1l.c (__y1l): Likewise.
41551         * math/w_jn.c (yn): Likewise.
41552         * math/w_jnf.c (ynf): Likewise.
41553         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41554         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41555         value for Bessel function domain errors outside _SVID_ mode.
41556         Adjust sign of return value for yn (negative integer, 0).
41557         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41558         by zero in return for negative x and set sign appropriately for
41559         negative n.
41560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41561         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41562         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41563         expectations in error cases.
41564         (y1_test_data): Likewise.
41565         (yn_test_data): Likewise.
41566         * sysdeps/i386/fpu/libm-test-ulps: Update.
41567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41568
41569 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41570
41571         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41572         "64" to "64-v1".  Add "64-v2".
41573         (abi-64-options): Rename to ...
41574         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41575         (abi-64-condition): Rename to ...
41576         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41577         (abi-64-ld-soname): Rename to ...
41578         (abi-64-v1-ld-soname): ... this.
41579         (abi-64-v2-options): Define.
41580         (abi-64-v2-condition): Likewise.
41581         (abi-64-v2-ld-soname): Likewise.
41582         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41583         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41587
41588 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41589             Alan Modra  <amodra@gmail.com>
41590
41591         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41592         New versions for use with the ELFv2 ABI.
41593         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41594         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41595         declaration.
41596         (struct La_ppc64v2_retval): Likewise.
41597         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41598         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41599         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41600         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41601         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41602         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41603         Do not save or restore CR.
41604         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41605         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41606         return values for ELFv2 ABI.  Fix location of FPR return registers.
41607         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41608         updated values for _CALL_ELF == 2.
41609         (La_regs, La_retval, int_retval): Likewise.
41610
41611 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41612
41613         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41614         (FRAME_MIN_SIZE_PARM): Likewise.
41615         (FRAME_BACKCHAIN): Likewise.
41616         (FRAME_CR_SAVE): Likewise.
41617         (FRAME_LR_SAVE): Likewise.
41618         (FRAME_TOC_SAVE): Likewise.
41619         (FRAME_PARM_SAVE): Likewise.
41620         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41621         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41622         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41623         (call_mcount_parm_offset): New macro.
41624         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41625         (PROF): Use symbolic stack frame offsets.
41626         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41627         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41628         Redefine in terms of FRAME_MIN_SIZE.
41629         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41630         (_dl_profile_resolve): Likewise.  Update comment.
41631         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41632         symbols stack frame offsets.
41633         (__sigsetjmp): Likewise.
41634         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41635         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41636         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41637         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41638
41639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41640         (FRAME_BACKCHAIN): Remove.
41641         (FRAME_CR_SAVE): Likewise.
41642         (FRAME_LR_SAVE): Likewise.
41643         (FRAME_COMPILER_DW): Likewise.
41644         (FRAME_LINKER_DW): Likewise.
41645         (FRAME_TOC_SAVE): Likewise.
41646         (FRAME_PARM_SAVE): Likewise.
41647         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41648         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41649         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41651         (CHECK_SP): Use symbolic stack frame offsets.
41652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41653         zone" instead of caller's parameter save area for temp storage.
41654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41655         Likewise.  Also, use symbolic stack frame offsets.
41656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41657         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41658         our own stack frame instead of the caller's.
41659         (__socket): Use symbolic stack frame offsets.
41660
41661 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41662             Alan Modra  <amodra@gmail.com>
41663
41664         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41665         Define.
41666         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41667         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41668         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41669         New function.
41670         (elf_machine_fixup_plt): Call it.
41671         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41672         reloc arguments.
41673         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41674         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41675         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41676         r2 before calling target.
41677
41678 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41679             Alan Modra  <amodra@gmail.com>
41680
41681         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41682         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41683         versions of macros to support ELFv2 ABI.
41684         (LOCALENTRY): New macro.
41685         (ENTRY, EALIGN): Use it.
41686         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41687         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41688         fall through into ENTRY entry point.
41689         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41690         Only define if _CALL_ELF != 2.
41691
41692         (elf_machine_matches_host): Verify ABI version matches.
41693         (RTLD_START): Use LOCALENTRY.
41694         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41695         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41696         (PLT_ENTRY_WORDS): New macro.
41697         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41698         (elf_machine_runtime_setup): Support ELFv2 ABI.
41699         (elf_machine_fixup_plt): Likewise.
41700         (elf_machine_plt_conflict): Likewise.
41701         (resolve_ifunc): Likewise.
41702         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41704         Likewise.
41705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41706         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41708         (makecontext): Support ELFv2 ABI.
41709         * elf/elf.h (EF_PPC64_ABI): Define.
41710
41711 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41712
41713         * sysdeps/powerpc/powerpc64/sysdep.h
41714         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41715         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41716         (ENTRY) [ASSEMBLER]: ... but instead here ...
41717         (EALIGN) [ASSEMBLER]: ... and here.
41718         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41719         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41720         (ENTRY_2) [!ASSEMBLER]: Use it.
41721         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41722         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41723         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41724         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41725         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41727         Use PPC64_LOAD_FUNCPTR.
41728
41729         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41730
41731 2013-12-04  Alan Modra  <amodra@gmail.com>
41732
41733         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41734         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41735         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41736         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41737
41738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41739         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41740         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41741         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41742         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41743         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41744
41745 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41746
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41748         (__makecontext): Fix incorrect CFI when backtracing out of
41749         context created via makecontext.
41750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41751         (__setcontext): Fix incorrect CFI during switch to new context.
41752         (__novec_setcontext): Likewise.
41753
41754 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41755
41756         [BZ #4772]
41757         * time/strptime_l.c (__strptime_internal): Allow modifiers
41758         in strptime.
41759         * time/tst-strptime.c (day_tests): Add testcase.
41760
41761 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41762
41763         * scripts/bench.pl: Skip over blank lines.
41764
41765 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41766
41767         [BZ #926]
41768         * manual/time.texi (Calendar Time): Clarify what timezone functions
41769         use.
41770
41771 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41772
41773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41774
41775 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41776
41777         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41778         implementation.
41779         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41780         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41781         * debug/memset_chk.c (__memset_chk): Likewise.
41782         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41783         * debug/strncpy_chk.c: Likewise.
41784
41785 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41786
41787         [BZ #15268]
41788         [BZ #15425]
41789         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41790         (__ieee754_exp): For possibly underflowing results, check size of
41791         result and force underflow exception if required.
41792         * math/auto-libm-test-in: Add more tests of exp.
41793         * math/auto-libm-test-out: Regenerated.
41794         * sysdeps/i386/fpu/libm-test-ulps: Update.
41795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41796
41797         [BZ #16283]
41798         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41799         * math/w_exp2f.c (__exp2f): Likewise.
41800         * math/w_exp2l.c (__exp2l): Likewise.
41801         * math/auto-libm-test-in: Do not allow missing errno on exp2
41802         underflow.
41803         * math/auto-libm-test-out: Regenerated.
41804
41805 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41806
41807         [BZ #16274]
41808         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41809         handle filename validation.
41810         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41811         (do_open): Delete.
41812
41813 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41814
41815         [BZ #6786]
41816         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41817         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41818         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41819         <float.h>.
41820         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41821         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41822         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41824         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41825         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41826         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41827         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41828         Add more erfc tests.
41829         * math/auto-libm-test-out: Regenerated.
41830         * sysdeps/i386/fpu/libm-test-ulps: Update.
41831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41832
41833         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41834         exp2, expm1, j0 and j1.
41835         * math/auto-libm-test-out: Regenerated.
41836         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41837         (erfc_test_data): Likewise.
41838         (exp_test_data): Likewise.
41839         (exp_tonearest_test_data): Likewise.
41840         (exp_towardzero_test_data): Likewise.
41841         (exp_downward_test_data): Likewise.
41842         (exp_upward_test_data): Likewise.
41843         (exp10_test_data): Likewise.
41844         (exp2_test_data): Likewise.
41845         (expm1_test_data): Likewise.
41846         (j0_test_data): Likewise.
41847         (j1_test_data): Likewise.
41848         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41849         (input_flag_type): Add flag_xfail_rounding.
41850         (input_flags): Add xfail-rounding.
41851         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41852         (output_for_one_input_case): Handle flag_xfail_rounding.
41853         * sysdeps/i386/fpu/libm-test-ulps: Update.
41854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855
41856 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41857
41858         [BZ #16289]
41859         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41860         division by 0.
41861
41862 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41863
41864         [BZ #16195]
41865         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41866         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41867         (STAP_PROBE0): New macro.
41868         (STAP_PROBE1): Likewise.
41869         (STAP_PROBE2): Likewise.
41870         (STAP_PROBE3): Likewise.
41871         (STAP_PROBE4): Likewise.
41872
41873 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41874
41875         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41876
41877 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41878
41879         * benchtests/Makefile (bench): Add sqrt.
41880         (LDLIBS-bench-sqrt): New.
41881         * benchtests/sqrt-input: New.
41882
41883 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41884
41885         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41886         (GAIH_EAI): Likewise.
41887         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41888         (gaih_inet): Likewise.
41889         (getaddrinfo): Don't use GAIH_EAI.
41890
41891         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41892         (struct gaih): Remove definition.
41893
41894 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41895
41896         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41897         Use HERRNOP directly.
41898
41899 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41900
41901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41902
41903 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41904
41905         * math/gen-auto-libm-tests.c (test_functions): Add more
41906         single-argument functions.
41907         (special_fill_pi_2): New function.
41908         (special_fill_minus_pi_2): Likewise.
41909         (special_fill_pi_6): Likewise.
41910         (special_fill_minus_pi_6): Likewise.
41911         (special_fill_pi_3): Likewise.
41912         (special_fill_2pi_3): Likewise.
41913         (special_fill_e): Likewise.
41914         (special_fill_1_e): Likewise.
41915         (special_fill_e_minus_1): Likewise.
41916         (special_real_inputs): Add more special inputs.
41917         (output_for_one_input_case): Do not require ERANGE on underflow to
41918         zero if round-to-nearest result does not underflow to zero, unless
41919         exact results required.
41920         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41921         atan, atanh, cbrt, cos and cosh.
41922         * math/auto-libm-test-out: Regenerated.
41923         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41924         (acos_tonearest_test_data): Likewise.
41925         (acos_towardzero_test_data): Likewise.
41926         (acos_downward_test_data): Likewise.
41927         (acos_upward_test_data): Likewise.
41928         (acosh_test_data): Likewise.
41929         (asin_test_data): Likewise.
41930         (asin_tonearest_test_data): Likewise.
41931         (asin_towardzero_test_data): Likewise.
41932         (asin_upward_test_data): Likewise.
41933         (asinh_test_data): Likewise.
41934         (atan_test_data): Likewise.
41935         (atanh_test_data): Likewise.
41936         (cbrt_test_data): Likewise.
41937         (cos_test_data): Likewise.
41938         (cos_tonearest_test_data): Likewise.
41939         (cos_towardzero_test_data): Likewise.
41940         (cos_downward_test_data): Likewise.
41941         (cos_upward_test_data): Likewise.
41942         (cosh_test_data): Likewise.
41943         (cosh_tonearest_test_data): Likewise.
41944         (cosh_towardzero_test_data): Likewise.
41945         (cosh_downward_test_data): Likewise.
41946         (cosh_upward_test_data): Likewise.
41947         * sysdeps/i386/fpu/libm-test-ulps: Update.
41948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41949
41950 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41951
41952         [BZ #6787]
41953         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41954         * math/w_exp10f.c (__exp10f): Likewise.
41955         * math/w_exp10l.c (__exp10l): Likewise.
41956         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41957         errno settings in existing tests.
41958
41959         [BZ #14032]
41960         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41961         precision control set to double precision.
41962         * sysdeps/i386/fpu/w_sqrt.c: New file.
41963         * math/auto-libm-test-in: Add more tests.
41964         * math/auto-libm-test-out: Update.
41965
41966         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41967         (sqrt_test_tonearest): New function.
41968         (sqrt_towardzero_test_data): New variable.
41969         (sqrt_test_towardzero): New function.
41970         (sqrt_downward_test_data): New variable.
41971         (sqrt_test_downward): New function.
41972         (sqrt_upward_test_data): New variable.
41973         (sqrt_test_upward): New function.
41974         (main): Call the new functions.
41975
41976         * math/gen-auto-libm-tests.c: New file.
41977         * math/auto-libm-test-in: Likewise.
41978         * math/auto-libm-test-out: New generated file.
41979         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41980         variables.
41981         (%beautify): Add generated representations of zero.
41982         (top level): Set $auto_input and call parse_auto_input.
41983         (beautify): Remove trailing "f" from hex float constants.
41984         (parse_args): Handle XFAIL_TEST.
41985         (convert_condition): New function.
41986         (or_value): Likewise.
41987         (or_cond_value): Likewise.
41988         (generate_testfile): Handle AUTO_TESTS_* lines.
41989         (parse_auto_input): New function.
41990         * math/libm-test.inc (XFAIL_TEST): New macro.
41991         (ERRNO_UNCHANGED): Update value.
41992         (ERRNO_EDOM): Likewise.
41993         (ERRNO_ERANGE): Likewise.
41994         (IGNORE_RESULT): Likewise.
41995         (TEST_COND_flt_32): New macro.
41996         (TEST_COND_dbl_64): Likewise.
41997         (TEST_COND_ldbl_96_intel): Likewise.
41998         (TEST_COND_ldbl_96_m68k): Likewise.
41999         (TEST_COND_ldbl_128): Likewise.
42000         (TEST_COND_ldbl_128ibm): Likewise.
42001         (TEST_COND_long32): Likewise.
42002         (TEST_COND_long64): Likewise.
42003         (TEST_COND_before_rounding): Likewise.
42004         (TEST_COND_after_rounding): Likewise.
42005         (enable_test): Handle XFAIL_TEST flag.
42006         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42007         with finite results.
42008         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42009         auto-libm-test-out.
42010
42011 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42012             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42013
42014         [BZ #16214]
42015         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42016         __tls_get_addr_internal instead of __tls_get_offset in order to
42017         avoid GOT pointer dependency.  Make rtld export
42018         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42019         __tls_get_addr since we are a __tls_get_offset platform.
42020         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42021         GOT pointer being set up before.
42022         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42023
42024 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42025
42026         * manual/math.texi (Errors in Math Functions): Document accuracy
42027         goals.
42028
42029         [BZ #15004]
42030         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42031         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42033         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42034         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42035         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42036         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42038         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42040         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42045         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42046
42047         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42048         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42049         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42050         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42051         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42052         Likewise.
42053         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42054         Likewise.
42055         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42056         Likewise.
42057         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42058         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42059         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42060         atomic-feupdateenv and flt-rounds.
42061         * sysdeps/powerpc/nofpu/Versions (libc): Add
42062         __atomic_feholdexcept, __atomic_feclearexcept,
42063         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42065         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42066         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42067         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42068         here.
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42070         Update.
42071
42072         * manual/arith.texi (FP Exceptions): Document that exceptions may
42073         not be raised when matherr is used.
42074         (Math Error Reporting): Document overflow in directed rounding
42075         modes.  Document that errno may not be set when finite values are
42076         returned on overflow.  Document intent to set errno on underflow
42077         only for underflow to zero.
42078
42079         [BZ #16271]
42080         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42081         round-to-nearest then adjust result for other rounding modes.
42082         * include/fenv.h (fegetround): Use libm_hidden_proto.
42083         * math/fegetround.c (fegetround): Use libm_hidden_def.
42084         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42085         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42086         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42087         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42088         Likewise.
42089         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42090         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42091         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42092         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42093
42094 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42095
42096         [BZ #16077]
42097         * nss/Versions (libnss_files): Add
42098         _nss_files_gethostbyname3_r.
42099         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42100         New function.
42101         (HOST_DB_LOOKUP): Remove macro.
42102         (_nss_files_gethostbyname_r): Implement function without the
42103         HOST_DB_LOOKUP macro.
42104         (_nss_files_gethostbyname2_r): Likewise.
42105
42106 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42107
42108         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42109
42110 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42111
42112         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42113         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42114         warning.
42115
42116 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42117
42118         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42119         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42120         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42121         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42122         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42123         __fe_nomask_env_priv and attribute_hidden.
42124         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42125         (libc_feupdateenv_test_ppc): Likewise.
42126         (libc_feresetround_ppc): Likewise.
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42128         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42129         compat_symbol macro.
42130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42131         (__fe_nomask_env): Likewise.
42132         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42133
42134 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42135
42136         * string/Makefile: Remove ifunc tests.
42137         * string/test-string.h: Define TEST_IFUNC.
42138         * string/test-bcopy-ifunc.c: Remove.
42139         * string/test-bzero-ifunc.c: Likewise.
42140         * string/test-memccpy-ifunc.c: Likewise.
42141         * string/test-memchr-ifunc.c: Likewise.
42142         * string/test-memcmp-ifunc.c: Likewise.
42143         * string/test-memcpy-ifunc.c: Likewise.
42144         * string/test-memmem-ifunc.c: Likewise.
42145         * string/test-memmove-ifunc.c: Likewise.
42146         * string/test-mempcpy-ifunc.c: Likewise.
42147         * string/test-memrchr-ifunc.c: Likewise.
42148         * string/test-memset-ifunc.c: Likewise.
42149         * string/test-rawmemchr-ifunc.c: Likewise.
42150         * string/test-stpcpy-ifunc.c: Likewise.
42151         * string/test-stpncpy-ifunc.c: Likewise.
42152         * string/test-strcasecmp-ifunc.c: Likewise.
42153         * string/test-strcasestr-ifunc.c: Likewise.
42154         * string/test-strcat-ifunc.c: Likewise.
42155         * string/test-strchr-ifunc.c: Likewise.
42156         * string/test-strchrnul-ifunc.c: Likewise.
42157         * string/test-strcmp-ifunc.c: Likewise.
42158         * string/test-strcpy-ifunc.c: Likewise.
42159         * string/test-strcspn-ifunc.c: Likewise.
42160         * string/test-strlen-ifunc.c: Likewise.
42161         * string/test-strncasecmp-ifunc.c: Likewise.
42162         * string/test-strncat-ifunc.c: Likewise.
42163         * string/test-strncmp-ifunc.c: Likewise.
42164         * string/test-strncpy-ifunc.c: Likewise.
42165         * string/test-strnlen-ifunc.c: Likewise.
42166         * string/test-strpbrk-ifunc.c: Likewise.
42167         * string/test-strrchr-ifunc.c: Likewise.
42168         * string/test-strspn-ifunc.c: Likewise.
42169         * string/test-strstr-ifunc.c: Likewise.
42170
42171 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42172
42173         * benchtests/Makefile: Remove ifunc tests.
42174         * benchtests/bench-string.h: Define TEST_IFUNC.
42175         * benchtests/bench-bcopy-ifunc.c: Remove.
42176         * benchtests/bench-bzero-ifunc.c: Likewise.
42177         * benchtests/bench-memccpy-ifunc.c: Likewise.
42178         * benchtests/bench-memchr-ifunc.c: Likewise.
42179         * benchtests/bench-memcmp-ifunc.c: Likewise.
42180         * benchtests/bench-memcpy-ifunc.c: Likewise.
42181         * benchtests/bench-memmem-ifunc.c: Likewise.
42182         * benchtests/bench-memmove-ifunc.c: Likewise.
42183         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42184         * benchtests/bench-memrchr-ifunc.c: Likewise.
42185         * benchtests/bench-memset-ifunc.c: Likewise.
42186         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42187         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42188         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42189         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42190         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42191         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42192         * benchtests/bench-strcat-ifunc.c: Likewise.
42193         * benchtests/bench-strchr-ifunc.c: Likewise.
42194         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42195         * benchtests/bench-strcmp-ifunc.c: Likewise.
42196         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42197         * benchtests/bench-strcpy-ifunc.c: Likewise.
42198         * benchtests/bench-strcspn-ifunc.c: Likewise.
42199         * benchtests/bench-strlen-ifunc.c: Likewise.
42200         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42201         * benchtests/bench-strncat-ifunc.c: Likewise.
42202         * benchtests/bench-strncmp-ifunc.c: Likewise.
42203         * benchtests/bench-strncpy-ifunc.c: Likewise.
42204         * benchtests/bench-strnlen-ifunc.c: Likewise.
42205         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42206         * benchtests/bench-strrchr-ifunc.c: Likewise.
42207         * benchtests/bench-strsep-ifunc.c: Likewise.
42208         * benchtests/bench-strspn-ifunc.c: Likewise.
42209         * benchtests/bench-strstr-ifunc.c: Likewise.
42210
42211 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42212
42213         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42214
42215 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42216
42217         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42218         * rt/aio.h: Likewise.
42219         * sysdeps/gnu/bits/utmp.h: Likewise.
42220         * sysdeps/gnu/bits/utmpx.h: Likewise.
42221         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42222         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42223         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42224         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42225         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42226         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42227         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42228         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42229         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42230         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42231         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42232         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42233         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42235         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42236         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42237         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42238         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42239         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42240         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42241         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42242         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42243         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42244         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42245         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42247         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42248         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42249         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42250         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42251         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42252         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42253         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42254         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42255         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42256         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42257         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42258         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42259         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42260         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42261         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42262         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42263
42264 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42265
42266         [BZ #16245]
42267         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42268         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42269
42270 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42271
42272         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42273         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42274         Likewise.
42275
42276 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42277
42278         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42279         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42280         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42281         (__fesetround): Remove define.
42282         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42283         rounding and exceptions handling.
42284         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42285         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42286         (__fe_nomask_env): Likewise.
42287         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42288         __fegetround instead of fegetround.
42289         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42290         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42291
42292 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42293
42294         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42295         it's there.
42296
42297         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42298
42299 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42300
42301         [BZ #11157]
42302         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42303         (encrypt_r): Likewise.
42304         * malloc/obstack.h (obstack_free): Likewise.
42305         * posix/unistd.h (encrypt): Likewise.
42306
42307 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42308
42309         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42310         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42311         DL_CALL_DT_FINI() that call the functions directly.
42312         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42313         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42314         * elf/dl-fini.c: Likewise.
42315
42316 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42317
42318         * malloc/hooks.c (memalign_check): Add alignment rounding.
42319         * malloc/malloc.c (_mid_memalign): New function.
42320         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42321         Implement by calling _mid_memalign.
42322         * manual/probes.texi (Memory Allocation Probes): Remove
42323         memory_valloc_retry and memory_pvalloc_retry.
42324
42325 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42326
42327         * locale/programs/locarchive.c (open_archive): Add const
42328         qualifier to ARCHIVEFNAME and copy default fname to
42329         DEFAULT_FNAME.
42330
42331         [BZ #15601]
42332         * libio/tst-widetext.input: Rename Oriya to Odia.
42333         * locale/iso-639.def: Likewise.
42334
42335         * manual/probes.texi (Mathematical Function Probes): Add
42336         documentation for sin, cos, asin and acos probes.
42337         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42338         (__sin32): Add slowasin probe.
42339         (__cos32): Add slowacos probe.
42340         (__mpsin): Add slowsin probe.
42341         (__mpcos): Add slowcos probe.
42342
42343 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42344
42345         [BZ #15483]
42346         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42347         thread-local __sim_exceptions_thread and global
42348         __sim_exceptions_global.
42349         (__sim_disabled_exceptions): Change to thread-local
42350         __sim_disabled_exceptions_thread and global
42351         __sim_disabled_exceptions_global.
42352         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42353         and global __sim_round_mode_global.
42354         (__simulate_exceptions): Use thread-local floating-point state and
42355         set global state from it as needed.
42356         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42357         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42358         __sim_round_mode_thread.
42359         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42360         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42361         and global __sim_exceptions_global.
42362         (__sim_disabled_exceptions): Change to thread-local
42363         __sim_disabled_exceptions_thread and global
42364         __sim_disabled_exceptions_global.
42365         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42366         and global __sim_round_mode_global.
42367         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42368         (SIM_SET_GLOBAL): Likewise.
42369         * sysdeps/powerpc/soft-fp/sfp-machine.h
42370         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42371         __sim_round_mode_thread.
42372         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42373         __sim_disabled_exceptions_thread.
42374         (__sim_exceptions): Change to __sim_exceptions_thread.
42375         (__sim_disabled_exceptions): Change to
42376         __sim_disabled_exceptions_thread.
42377         (__sim_round_mode): Change to __sim_round_mode_thread.
42378         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42379         thread-local floating-point state and set global state from it as
42380         needed.
42381         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42382         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42383         (__sim_disabled_exceptions): Remove extern declaration.
42384         (feenableexcept): Use thread-local floating-point state and set
42385         global state from it as needed.
42386         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42387         extern declaration.
42388         (__sim_disabled_exceptions): Likewise.
42389         (__sim_round_mode): Likewise.
42390         (__fegetenv): Use thread-local floating-point state.
42391         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42392         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42393         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42394         floating-point state and set global state from it as needed.
42395         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42396         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42397         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42398         Likewise.
42399         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42400         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42401         Likewise.
42402         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42403         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42404         Use __sim_round_mode_thread.
42405         * math/test-fenv-tls.c: New file.
42406         * math/Makefile (tests): Add test-fenv-tls.
42407         ($(objpfx)test-fenv-tls): Depend on
42408         $(common-objpfx)nptl/libpthread.so.
42409
42410 2013-11-19  Andreas Schwab  <schwab@suse.de>
42411
42412         * locale/programs/locale.c (show_info): Decode wordarray elements.
42413         * locale/categories.def (LC_MONETARY): Add element for
42414         _NL_MONETARY_CRNCYSTR.
42415         * locale/C-monetary.c (conversion_rate): New variable.
42416         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42417         element.
42418
42419 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42420
42421         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42422         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42423
42424 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42425
42426         * elf/Makefile (tst-auxv): New test.
42427         * elf/tst-auxv.c: New
42428         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42429
42430 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42431
42432         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42433         (hidden_proto): Caller changed.
42434         (hidden_tls_proto): New macro.
42435         (libc_hidden_tls_proto): Likewise.
42436         (rtld_hidden_tls_proto): Likewise.
42437         (libm_hidden_tls_proto): Likewise.
42438         (libresolv_hidden_tls_proto): Likewise.
42439         (librt_hidden_tls_proto): Likewise.
42440         (libdl_hidden_tls_proto): Likewise.
42441         (libnss_files_hidden_tls_proto): Likewise.
42442         (libnsl_hidden_tls_proto): Likewise.
42443         (libnss_nisplus_hidden_tls_proto): Likewise.
42444         (libutil_hidden_tls_proto): Likewise.
42445
42446 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42447
42448         [BZ #10253]
42449         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42450         (decompose_rpath): Defer expansion to fillin_rpath.
42451         (_dl_init_paths): Pass linkmap to fillin_rpath.
42452
42453 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42454
42455         * benchtests/Makefile: Add strsep.
42456         * benchtests/bench-strsep.c: New file: strsep benchtest.
42457         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42458
42459 2013-11-18  Andreas Schwab  <schwab@suse.de>
42460
42461         * locale/programs/locale.c (show_info) [case byte]: Check for
42462         '\377' instead of '\177'.
42463         * locale/C-monetary.c (not_available): Always use "\377".
42464         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42465         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42466         detect unavailable sign_posn locale elements.
42467         * locale/localeconv.c (__localeconv): For grouping and
42468         mon_grouping handle "\177" and "\377" like no grouping.
42469         (INT_ELEM): New macro.  Use it to set all numeric members.
42470         * locale/programs/ld-monetary.c (monetary_read)
42471         <tok_mon_grouping>: Normalize single -1 to the empty string.
42472         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42473         Likewise.
42474
42475 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42476
42477         [BZ #16055]
42478         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42479         when we match (nil).
42480         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42481
42482 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42483
42484         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42485         (NO_TEST_INLINE): Update value.
42486         (ERRNO_UNCHANGED): Likewise.
42487         (ERRNO_EDOM): Likewise.
42488         (ERRNO_ERANGE): Likewise.
42489         (IGNORE_RESULT): Likewise.
42490         (check_float_internal): Check signs of NaN results if
42491         TEST_NAN_SIGN used.
42492         (check_complex): Pass TEST_NAN_SIGN flag through to second
42493         check_float_internal call.
42494         (copysign_test_data): Add tests with quiet NaNs as second
42495         argument.  Use TEST_NAN_SIGN.
42496         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42497         TEST_NAN_SIGN.
42498         (signbit_test_data): Add tests of quiet NaN argument.
42499         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42500
42501         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42502         $ignore_result.
42503         (parse_args): Handle function results specified as IGNORE.
42504         * math/libm-test.inc (IGNORE_RESULT): New macro.
42505         (check_float_internal): Do not check numerical result if flag
42506         IGNORE_RESULT set.
42507         (check_complex): Pass through IGNORE_RESULT to second
42508         check_float_internal call.
42509         (check_int): Do not check numerical result if flag IGNORE_RESULT
42510         set.
42511         (check_long): Likewise.
42512         (check_bool): Likewise.
42513         (check_longlong): Likewise.
42514         (lrint_test_data): Add tests of infinite and NaN arguments.
42515         (lrint_tonearest_test_data): Likewise.
42516         (lrint_towardzero_test_data): Likewise.
42517         (lrint_downward_test_data): Likewise.
42518         (lrint_upward_test_data): Likewise.
42519         (llrint_test_data): Likewise.
42520         (llrint_tonearest_test_data): Likewise.
42521         (llrint_towardzero_test_data): Likewise.
42522         (llrint_downward_test_data): Likewise.
42523         (llrint_upward_test_data): Likewise.
42524         (lround_test_data): Likewise.
42525         (llround_test_data): Likewise.
42526
42527         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42528         (ERRNO_UNCHANGED): Update value.
42529         (ERRNO_EDOM): Likewise.
42530         (ERRNO_ERANGE): Likewise.
42531         (NO_TEST_INLINE_FLOAT): New macro.
42532         (NO_TEST_INLINE_DOUBLE): Likewise.
42533         (enable_test): New function.
42534         (RUN_TEST_f_f): Check enable_test before running test.
42535         (RUN_TEST_2_f): Likewise.
42536         (RUN_TEST_fff_f): Likewise.
42537         (RUN_TEST_c_f): Likewise.
42538         (RUN_TEST_f_f1): Likewise.
42539         (RUN_TEST_fF_f1): Likewise.
42540         (RUN_TEST_fI_f1): Likewise.
42541         (RUN_TEST_ffI_f1): Likewise.
42542         (RUN_TEST_c_c): Likewise.
42543         (RUN_TEST_cc_c): Likewise.
42544         (RUN_TEST_f_i): Likewise.
42545         (RUN_TEST_f_i_tg): Likewise.
42546         (RUN_TEST_ff_i_tg): Likewise.
42547         (RUN_TEST_f_b): Likewise.
42548         (RUN_TEST_f_b_tg): Likewise.
42549         (RUN_TEST_f_l): Likewise.
42550         (RUN_TEST_f_L): Likewise.
42551         (RUN_TEST_fFF_11): Likewise.
42552         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42553         conditionals.
42554         (cosh_test_data): Likewise.
42555         (exp_test_data): Likewise.
42556         (expm1_test_data): Likewise.
42557         (hypot_test_data): Likewise.
42558         (pow_test_data): Likewise.
42559         (sinh_test_data): Likewise.
42560         (tanh_test_data): Likewise.
42561         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42562         flags argument.
42563
42564         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42565         tests with quiet NaN input and output.
42566         (acosh_test_data): Likewise.
42567         (asin_test_data): Likewise.
42568         (asinh_test_data): Likewise.
42569         (atan_test_data): Likewise.
42570         (atanh_test_data): Likewise.
42571         (atan2_test_data): Likewise.
42572         (cbrt_test_data): Likewise.
42573         (cos_test_data): Likewise.
42574         (cosh_test_data): Likewise.
42575         (erf_test_data): Likewise.
42576         (erfc_test_data): Likewise.
42577         (exp_test_data): Likewise.
42578         (exp10_test_data): Likewise.
42579         (exp2_test_data): Likewise.
42580         (expm1_test_data): Likewise.
42581         (hypot_test_data): Likewise.
42582         (j0_test_data): Likewise.
42583         (j1_test_data): Likewise.
42584         (jn_test_data): Likewise.
42585         (lgamma_test_data): Likewise.
42586         (log_test_data): Likewise.
42587         (log10_test_data): Likewise.
42588         (log1p_test_data): Likewise.
42589         (log2_test_data): Likewise.
42590         (pow_test_data): Likewise.
42591         (scalb_test_data): Likewise.
42592         (sin_test_data): Likewise.
42593         (sincos_test_data): Likewise.
42594         (sinh_test_data): Likewise.
42595         (tan_test_data): Likewise.
42596         (tanh_test_data): Likewise.
42597         (tgamma_test_data): Likewise.
42598         (y0_test_data): Likewise.
42599         (y1_test_data): Likewise.
42600         (yn_test_data): Likewise.
42601
42602         [BZ #16167]
42603         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42604         argument being NaN and avoid computations with second argument in
42605         that case.
42606         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42607         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42608         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42609
42610 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42611
42612         * locale/iso-639.def: Add Chitwani Tharu (the).
42613
42614 2013-11-14  Andreas Schwab  <schwab@suse.de>
42615
42616         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42617         word instead of empty string.
42618
42619 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42620
42621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42622         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42624         (__fe_nomask_env): Likewise.
42625
42626 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42627
42628         * benchtests/bench-timing.h: Include time.h.
42629
42630 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42631
42632         [BZ #15997]
42633         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42634         to 3.4.0 for x32.
42635         * sysdeps/unix/sysv/linux/configure: Regenerated.
42636
42637 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42638
42639         [BZ #16151]
42640         * stdlib/strtod_l.c (round_and_return): Do not consider
42641         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42642         exponent one less than half the least subnormal exponent.
42643         * stdlib/test-strtod-round-data: Add more tests.
42644         * stdlib/tst-strtod-round.c (tests): Regenerated.
42645
42646 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42647
42648         [BZ #14143]
42649         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42650         (__fe_mask_env): Likewise.
42651         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42652         libm_hidden_proto and add function prototype.
42653         (__fe_mask_env): Add function prototype.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42655         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42657         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42659         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42660
42661 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42662
42663         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42664         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42665
42666 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42667
42668         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42669         of htab_find_slot().
42670
42671 2013-11-11  David S. Miller  <davem@davemloft.net>
42672
42673         [BZ #16150]
42674         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42675         symbol in the non-vis3 case in static builds.
42676         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42677         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42678         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42679         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42680
42681 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42682
42683         [BZ #387]
42684         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42685         it is empty.
42686
42687 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42688
42689         * benchtests/Makefile: Add bench-strtod.
42690         * benchtests/bench-strtod.c: New file: strtod benchtest
42691
42692 2013-11-11  Andreas Schwab  <schwab@suse.de>
42693
42694         [BZ #16153]
42695         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42696         terminating NUL in key length.
42697
42698 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42699
42700         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42701         Add artificial ODP entry for vDSO symbol for PPC64.
42702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42703         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42704
42705 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42706
42707         [BZ #15374]
42708         * nss/getent.c (services_keys): Recognize services starting with digit.
42709
42710 2013-11-06  David S. Miller  <davem@davemloft.net>
42711
42712         [BZ #15985]
42713         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42714         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42715
42716 2013-11-06  Will Newton  <will.newton@linaro.org>
42717
42718         * manual/memory.texi (Malloc Examples): Remove register
42719         keyword from examples.
42720
42721 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42722
42723         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42724
42725 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42726
42727         [BZ #6981]
42728         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42729         depending on [__GCC_IEC_559 > 0].
42730         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42731         depending on [__GCC_IEC_559_COMPLEX > 0].
42732
42733 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42734
42735         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42736         to iso-639.def.
42737
42738 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42739
42740         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42741
42742 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42743
42744         [BZ #16112]
42745         * malloc/malloc (malloc_info): Do not handle first bin as
42746         special case.
42747
42748 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42749
42750         * locale/iso-639.def: Add Central Nahuatl (nhn).
42751
42752 2013-11-01  Bruno Haible  <bruno@clisp.org>
42753
42754         [BZ #7003]
42755         * manual/math.texi (BSD Random): Specify range upper bound as
42756         in POSIX.
42757
42758 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42759
42760         * locale/iso-639.def: Add Meadow Mari (mhr).
42761
42762 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42763
42764         [BZ #14752], [BZ #15763]
42765         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42766         Validate name.
42767         * rt/tst_shm.c: Add test for escaping directory.
42768
42769 2013-10-31  Andreas Schwab  <schwab@suse.de>
42770
42771         [BZ #15917]
42772         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42773         followed by 'x' as part of digit sequence.
42774         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42775
42776 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42777
42778         [BZ #16037]
42779         * configure.ac: allow GNU Make 4.0 and greater.
42780         * configure: Regenerated.
42781
42782 2013-10-30  Will Newton  <will.newton@linaro.org>
42783
42784         [BZ #16038]
42785         * malloc/hooks.c (memalign_check): Limit alignment to the
42786         maximum representable power of two.
42787         * malloc/malloc.c (__libc_memalign): Likewise.
42788         * malloc/tst-memalign.c (do_test): Add test for very
42789         large alignment values.
42790         * malloc/tst-posix_memalign.c (do_test): Likewise.
42791
42792 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42793
42794         [BZ #11087]
42795         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42796         (munmap_chunk): Likewise.
42797         (mremap_chunk): Likewise.
42798
42799 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42800
42801         [BZ #15799]
42802         * stdlib/div.c (div): Remove obsolete code.
42803         * stdlib/ldiv.c (ldiv): Likewise.
42804         * stdlib/lldiv.c (lldiv): Likewise.
42805
42806 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42807
42808         [BZ #16071]
42809         * nss/nss_files/files-XXX.c (get_contents_ret): New
42810         enumerator.
42811         (get_contents): New function.
42812         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42813
42814 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42815
42816         * configure.in: Moved to ...
42817         * configure.ac: ... here. Change reference to configure.in
42818         to configure.ac.
42819         * sysdeps/arm/preconfigure.ac: ... here.
42820         configure.in to configure.ac.
42821         * sysdeps/gnu/configure.in: Moved to ...
42822         * sysdeps/gnu/configure.ac: ... here.
42823         * sysdeps/i386/configure.in: Moved to ...
42824         * sysdeps/i386/configure.ac: ... here.
42825         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42826         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42827         * sysdeps/mach/configure.in: Moved to ...
42828         * sysdeps/mach/configure.ac: ... here.
42829         * sysdeps/mach/hurd/configure.in: Moved to ...
42830         * sysdeps/mach/hurd/configure.ac: ... here.
42831         * sysdeps/powerpc/configure.in: Moved to ...
42832         * sysdeps/powerpc/configure.ac: ... here.
42833         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42834         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42835         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42836         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42837         * sysdeps/s390/s390-32/configure.in: Moved to ...
42838         * sysdeps/s390/s390-32/configure.ac: ... here.
42839         * sysdeps/s390/s390-64/configure.in: Moved to ...
42840         * sysdeps/s390/s390-64/configure.ac: ... here.
42841         * sysdeps/sh/configure.in: Moved to ...
42842         * sysdeps/sh/configure.ac: ... here.
42843         * sysdeps/sparc/configure.in: Moved to ...
42844         * sysdeps/sparc/configure.ac: ... here.
42845         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42846         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42847         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42848         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42849         * sysdeps/x86_64/configure.in: Moved to ...
42850         * sysdeps/x86_64/configure.ac: ... here.
42851         * sysdeps/x86_64/preconfigure.in: Moved to ...
42852         * sysdeps/x86_64/preconfigure.ac: ... here.
42853         * aclocal.m4: Change reference to configure.in to configure.ac.
42854         * config.h.in: Likewise.
42855         * manual/install.texi: Likewise.
42856         * manual/maint.texi: Likewise.
42857         * Makefile: Likewise.
42858         * malloc/Makefile: Likewise.
42859         * nscd/Makefile: Likewise.
42860         * Makeconfig: Change reference to configure.in and
42861         preconfigure.in to configure.ac and preconfigure.ac
42862         respectively.
42863         * INSTALL: Regenerated.
42864         * configure: Likewise.
42865         * sysdeps/gnu/configure: Likewise.
42866         * sysdeps/i386/configure: Likewise.
42867         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42868         * sysdeps/mach/configure: Likewise.
42869         * sysdeps/mach/hurd/configure: Likewise.
42870         * sysdeps/powerpc/configure: Likewise.
42871         * sysdeps/powerpc/powerpc32/configure: Likewise.
42872         * sysdeps/powerpc/powerpc64/configure: Likewise.
42873         * sysdeps/s390/s390-32/configure: Likewise.
42874         * sysdeps/s390/s390-64/configure: Likewise.
42875         * sysdeps/sh/configure: Likewise.
42876         * sysdeps/sparc/configure: Likewise.
42877         * sysdeps/unix/sysv/linux/configure: Likewise.
42878         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42879         * sysdeps/x86_64/configure: Likewise.
42880         * sysdeps/x86_64/preconfigure: Likewise.
42881
42882 2013-10-29  Andreas Schwab  <schwab@suse.de>
42883
42884         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42885
42886 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42887
42888         * benchtests/pow-inputs: Add new inputs.
42889
42890         * benchtests/exp-inputs: Add new inputs.
42891
42892         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42893         conditional check for return value.
42894         (__cos32): Likewise.
42895
42896 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42897
42898         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42899         to provide a boost for large inputs with word alignment.
42900         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42901         implementation based on optimized PPC64 strcpy.
42902         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42903         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42904         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42905         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42906
42907 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42908
42909         [BZ #2801]
42910         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42911
42912 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42913
42914         [BZ #14876]
42915         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42916         * time/tst-strptime.c (day_tests): Add testcase.
42917
42918 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42919
42920         [BZ #14029]
42921         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42922
42923 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42924
42925         [BZ #16074]
42926         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42927         MAP_FAILED on error.
42928
42929 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42930
42931         [BZ #16072]
42932         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42933         heap for large requests.
42934
42935 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42936
42937         [BZ #9954]
42938         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42939         result if the result has no associated interface.
42940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42941         interface for all 127.X.Y.Z addresses.
42942
42943 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42944
42945         * locale/iso-639.def: Add Ligurian (lij)
42946
42947 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42948
42949         [BZ #15825]
42950         * sunrpc/rpc_main.c: Document rpcgen -5.
42951
42952 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42953
42954         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42955
42956 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42957
42958         [BZ #10278]
42959         * posix/glob.c: Match only directories when trailing slash is present.
42960         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42961         (main): Add testcase.
42962
42963 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42964
42965         [BZ #15670]
42966         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42967
42968 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42969
42970         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42971         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42972         AUTH_DES and cindex for FIPS 140-2.
42973         (DES Encryption): Add cindex FIPS 46-3.
42974
42975         * locale/locarchive.h (struct locarhandle): Add fname.
42976         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42977         if an optional argument was specified to --list-archive,
42978         otherwise NULL.
42979         * locale/programs/locarchive.c (show_archive_content): Take new
42980         argument fname and pass it via ah.fname to open_archive.
42981         * locale/programs/localedef.h: Update decl.
42982         (open_archive): If AH->fname is non-null, open that file
42983         rather than the default file name, and don't ignore ENOENT.
42984         (create_archive): Set AH.fname to NULL.
42985         (delete_locales_from_archive): Likewise.
42986         (add_locales_to_archive): Likewise.
42987         * locale/programs/locfile.c (write_all_categories): Likewise.
42988
42989 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42990             Aldy Hernandez  <aldyh@redhat.com>
42991
42992         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42993         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42994         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42995         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42996         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42997         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42999         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43000         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43001         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43003         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43004         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43005         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43006         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43007         Likewise.
43008         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43009         Likewise.
43010         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43011         Likewise.
43012         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43013         Likewise.
43014         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43015         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43016         Likewise.
43017         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43018         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43019         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43020         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43021         Likewise.
43022         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43023         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43024         * sysdeps/powerpc/preconfigure: Likewise.
43025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43026         Likewise.
43027         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43028         Replace contents of file by #include of <fenv_libc.h>.
43029         * sysdeps/powerpc/soft-fp/sfp-machine.h
43030         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43031         and <sys/prctl.h>.
43032         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43033         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43034         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43035         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43045         Allow copysignl PLT reference to be missing.
43046
43047 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43048             Joseph Myers  <joseph@codesourcery.com
43049
43050         [BZ #15948]
43051         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43052         single character.
43053         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43054
43055 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43056
43057         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43058         * elf/tst-tls1.c: Likewise.
43059         * elf/tst-tls10.h: Likewise.
43060         * elf/tst-tls14.c: Likewise.
43061         * elf/tst-tls2.c: Likewise.
43062         * elf/tst-tls3.c: Likewise.
43063         * elf/tst-tls4.c: Likewise.
43064         * elf/tst-tls5.c: Likewise.
43065         * elf/tst-tls6.c: Likewise.
43066         * elf/tst-tls7.c: Likewise.
43067         * elf/tst-tls8.c: Likewise.
43068         * elf/tst-tls9.c: Likewise.
43069         * elf/tst-tlsmod1.c: Likewise.
43070         * elf/tst-tlsmod13.c: Likewise.
43071         * elf/tst-tlsmod13a.c: Likewise.
43072         * elf/tst-tlsmod14a.c: Likewise.
43073         * elf/tst-tlsmod16a.c: Likewise.
43074         * elf/tst-tlsmod16b.c: Likewise.
43075         * elf/tst-tlsmod2.c: Likewise.
43076         * elf/tst-tlsmod3.c: Likewise.
43077         * elf/tst-tlsmod4.c: Likewise.
43078         * elf/tst-tlsmod5.c: Likewise.
43079         * elf/tst-tlsmod6.c: Likewise.
43080
43081 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43082
43083         [BZ #12486]
43084         * malloc/malloc.c: remove checks for statistics.
43085
43086 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43087
43088         [BZ #15277]
43089         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43090         * inet/tst-network.c: Add testcase.
43091
43092 2013-10-17  Andreas Schwab  <schwab@suse.de>
43093
43094         [BZ #15218]
43095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43096         to determine canonical name.
43097
43098 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43099
43100         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43101         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43102         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43103         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43105         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43106         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43107         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43108         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43109         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43110         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43111         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43112         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43113         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43115         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43117         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43120         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43122         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43123         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43124         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43125         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43126         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43127         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43128         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43129         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43130         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43131         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43132         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43133         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43134         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43135         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43136         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43137         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43138         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43139         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43140         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43141         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43142         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43143         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43144         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43145         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43146         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43147         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43148         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43149         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43150         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43151         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43152         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43153         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43154         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43155         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43156         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43157         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43158
43159 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43160
43161         [BZ #16041]
43162         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43163         make result into a quiet NaN.
43164
43165 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43166
43167         * soft-fp/adddf3.c: Fix horizontal whitespace.
43168         * soft-fp/addsf3.c: Likewise.
43169         * soft-fp/addtf3.c: Likewise.
43170         * soft-fp/divdf3.c: Likewise.
43171         * soft-fp/divsf3.c: Likewise.
43172         * soft-fp/divtf3.c: Likewise.
43173         * soft-fp/double.h: Likewise.
43174         * soft-fp/eqdf2.c: Likewise.
43175         * soft-fp/eqsf2.c: Likewise.
43176         * soft-fp/eqtf2.c: Likewise.
43177         * soft-fp/extenddftf2.c: Likewise.
43178         * soft-fp/extended.h: Likewise.
43179         * soft-fp/extendsfdf2.c: Likewise.
43180         * soft-fp/extendsftf2.c: Likewise.
43181         * soft-fp/extendxftf2.c: Likewise.
43182         * soft-fp/fixdfdi.c: Likewise.
43183         * soft-fp/fixdfsi.c: Likewise.
43184         * soft-fp/fixdfti.c: Likewise.
43185         * soft-fp/fixsfdi.c: Likewise.
43186         * soft-fp/fixsfsi.c: Likewise.
43187         * soft-fp/fixsfti.c: Likewise.
43188         * soft-fp/fixtfdi.c: Likewise.
43189         * soft-fp/fixtfsi.c: Likewise.
43190         * soft-fp/fixtfti.c: Likewise.
43191         * soft-fp/fixunsdfdi.c: Likewise.
43192         * soft-fp/fixunsdfsi.c: Likewise.
43193         * soft-fp/fixunsdfti.c: Likewise.
43194         * soft-fp/fixunssfdi.c: Likewise.
43195         * soft-fp/fixunssfsi.c: Likewise.
43196         * soft-fp/fixunssfti.c: Likewise.
43197         * soft-fp/fixunstfdi.c: Likewise.
43198         * soft-fp/fixunstfsi.c: Likewise.
43199         * soft-fp/fixunstfti.c: Likewise.
43200         * soft-fp/floatdidf.c: Likewise.
43201         * soft-fp/floatdisf.c: Likewise.
43202         * soft-fp/floatditf.c: Likewise.
43203         * soft-fp/floatsidf.c: Likewise.
43204         * soft-fp/floatsisf.c: Likewise.
43205         * soft-fp/floatsitf.c: Likewise.
43206         * soft-fp/floattidf.c: Likewise.
43207         * soft-fp/floattisf.c: Likewise.
43208         * soft-fp/floattitf.c: Likewise.
43209         * soft-fp/floatundidf.c: Likewise.
43210         * soft-fp/floatundisf.c: Likewise.
43211         * soft-fp/floatunditf.c: Likewise.
43212         * soft-fp/floatunsidf.c: Likewise.
43213         * soft-fp/floatunsisf.c: Likewise.
43214         * soft-fp/floatunsitf.c: Likewise.
43215         * soft-fp/floatuntidf.c: Likewise.
43216         * soft-fp/floatuntisf.c: Likewise.
43217         * soft-fp/floatuntitf.c: Likewise.
43218         * soft-fp/fmadf4.c: Likewise.
43219         * soft-fp/fmasf4.c: Likewise.
43220         * soft-fp/fmatf4.c: Likewise.
43221         * soft-fp/gedf2.c: Likewise.
43222         * soft-fp/gesf2.c: Likewise.
43223         * soft-fp/getf2.c: Likewise.
43224         * soft-fp/ledf2.c: Likewise.
43225         * soft-fp/lesf2.c: Likewise.
43226         * soft-fp/letf2.c: Likewise.
43227         * soft-fp/muldf3.c: Likewise.
43228         * soft-fp/mulsf3.c: Likewise.
43229         * soft-fp/multf3.c: Likewise.
43230         * soft-fp/negdf2.c: Likewise.
43231         * soft-fp/negsf2.c: Likewise.
43232         * soft-fp/negtf2.c: Likewise.
43233         * soft-fp/op-1.h: Likewise.
43234         * soft-fp/op-2.h: Likewise.
43235         * soft-fp/op-4.h: Likewise.
43236         * soft-fp/op-8.h: Likewise.
43237         * soft-fp/op-common.h: Likewise.
43238         * soft-fp/quad.h: Likewise.
43239         * soft-fp/single.h: Likewise.
43240         * soft-fp/soft-fp.h: Likewise.
43241         * soft-fp/sqrtdf2.c: Likewise.
43242         * soft-fp/sqrtsf2.c: Likewise.
43243         * soft-fp/sqrttf2.c: Likewise.
43244         * soft-fp/subdf3.c: Likewise.
43245         * soft-fp/subsf3.c: Likewise.
43246         * soft-fp/subtf3.c: Likewise.
43247         * soft-fp/truncdfsf2.c: Likewise.
43248         * soft-fp/trunctfdf2.c: Likewise.
43249         * soft-fp/trunctfsf2.c: Likewise.
43250         * soft-fp/trunctfxf2.c: Likewise.
43251         * soft-fp/unorddf2.c: Likewise.
43252         * soft-fp/unordsf2.c: Likewise.
43253         * soft-fp/unordtf2.c: Likewise.
43254
43255 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43256
43257         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43258         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43259
43260 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43261
43262         * elf/dl-libc.c: Clear initfini list after freeing.
43263
43264 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43265
43266         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43267         * soft-fp/addsf3.c: Likewise.
43268         * soft-fp/addtf3.c: Likewise.
43269         * soft-fp/divdf3.c: Likewise.
43270         * soft-fp/divsf3.c: Likewise.
43271         * soft-fp/divtf3.c: Likewise.
43272         * soft-fp/double.h: Likewise.
43273         * soft-fp/eqdf2.c: Likewise.
43274         * soft-fp/eqsf2.c: Likewise.
43275         * soft-fp/eqtf2.c: Likewise.
43276         * soft-fp/extenddftf2.c: Likewise.
43277         * soft-fp/extended.h: Likewise.
43278         * soft-fp/extendsfdf2.c: Likewise.
43279         * soft-fp/extendsftf2.c: Likewise.
43280         * soft-fp/extendxftf2.c: Likewise.
43281         * soft-fp/fixdfdi.c: Likewise.
43282         * soft-fp/fixdfsi.c: Likewise.
43283         * soft-fp/fixdfti.c: Likewise.
43284         * soft-fp/fixsfdi.c: Likewise.
43285         * soft-fp/fixsfsi.c: Likewise.
43286         * soft-fp/fixsfti.c: Likewise.
43287         * soft-fp/fixtfdi.c: Likewise.
43288         * soft-fp/fixtfsi.c: Likewise.
43289         * soft-fp/fixtfti.c: Likewise.
43290         * soft-fp/fixunsdfdi.c: Likewise.
43291         * soft-fp/fixunsdfsi.c: Likewise.
43292         * soft-fp/fixunsdfti.c: Likewise.
43293         * soft-fp/fixunssfdi.c: Likewise.
43294         * soft-fp/fixunssfsi.c: Likewise.
43295         * soft-fp/fixunssfti.c: Likewise.
43296         * soft-fp/fixunstfdi.c: Likewise.
43297         * soft-fp/fixunstfsi.c: Likewise.
43298         * soft-fp/fixunstfti.c: Likewise.
43299         * soft-fp/floatdidf.c: Likewise.
43300         * soft-fp/floatdisf.c: Likewise.
43301         * soft-fp/floatditf.c: Likewise.
43302         * soft-fp/floatsidf.c: Likewise.
43303         * soft-fp/floatsisf.c: Likewise.
43304         * soft-fp/floatsitf.c: Likewise.
43305         * soft-fp/floattidf.c: Likewise.
43306         * soft-fp/floattisf.c: Likewise.
43307         * soft-fp/floattitf.c: Likewise.
43308         * soft-fp/floatundidf.c: Likewise.
43309         * soft-fp/floatundisf.c: Likewise.
43310         * soft-fp/floatunsidf.c: Likewise.
43311         * soft-fp/floatunsisf.c: Likewise.
43312         * soft-fp/floatuntidf.c: Likewise.
43313         * soft-fp/floatuntisf.c: Likewise.
43314         * soft-fp/floatuntitf.c: Likewise.
43315         * soft-fp/fmadf4.c: Likewise.
43316         * soft-fp/fmasf4.c: Likewise.
43317         * soft-fp/fmatf4.c: Likewise.
43318         * soft-fp/gedf2.c: Likewise.
43319         * soft-fp/gesf2.c: Likewise.
43320         * soft-fp/getf2.c: Likewise.
43321         * soft-fp/ledf2.c: Likewise.
43322         * soft-fp/lesf2.c: Likewise.
43323         * soft-fp/letf2.c: Likewise.
43324         * soft-fp/muldf3.c: Likewise.
43325         * soft-fp/mulsf3.c: Likewise.
43326         * soft-fp/multf3.c: Likewise.
43327         * soft-fp/negdf2.c: Likewise.
43328         * soft-fp/negsf2.c: Likewise.
43329         * soft-fp/negtf2.c: Likewise.
43330         * soft-fp/op-1.h: Likewise.
43331         * soft-fp/op-2.h: Likewise.
43332         * soft-fp/op-4.h: Likewise.
43333         * soft-fp/op-8.h: Likewise.
43334         * soft-fp/op-common.h: Likewise.
43335         * soft-fp/quad.h: Likewise.
43336         * soft-fp/single.h: Likewise.
43337         * soft-fp/soft-fp.h: Likewise.
43338         * soft-fp/sqrtdf2.c: Likewise.
43339         * soft-fp/sqrtsf2.c: Likewise.
43340         * soft-fp/sqrttf2.c: Likewise.
43341         * soft-fp/subdf3.c: Likewise.
43342         * soft-fp/subsf3.c: Likewise.
43343         * soft-fp/subtf3.c: Likewise.
43344         * soft-fp/truncdfsf2.c: Likewise.
43345         * soft-fp/trunctfdf2.c: Likewise.
43346         * soft-fp/trunctfsf2.c: Likewise.
43347         * soft-fp/trunctfxf2.c: Likewise.
43348         * soft-fp/unorddf2.c: Likewise.
43349         * soft-fp/unordsf2.c: Likewise.
43350         * soft-fp/unordtf2.c: Likewise.
43351
43352 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43353
43354         [BZ #15672]
43355         * misc/error.c (error_tail): Fix possible buffer overflow.
43356
43357 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43358
43359         [BZ #13028]
43360         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43361         address.
43362
43363 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43364
43365         [BZ #832]
43366         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43367         testing pipefail option.
43368
43369 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43370
43371         * soft-fp/double.h: Indent preprocessor directives inside #if.
43372         * soft-fp/extended.h: Likewise.
43373         * soft-fp/op-2.h: Likewise.
43374         * soft-fp/op-4.h: Likewise.
43375         * soft-fp/op-common.h: Likewise.
43376         * soft-fp/quad.h: Likewise.
43377         * soft-fp/single.h: Likewise.
43378         * soft-fp/soft-fp.h: Likewise.
43379
43380 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43381
43382         * iconv/iconv_prog.c: Fix typos.
43383         * stdio-common/psiginfo-data.h: Likewise.
43384
43385 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43386
43387         [BZ #15764]
43388         * locale/setlocale.c: Fix typo.
43389
43390 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43391
43392         [BZ #16036]
43393         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43394         signaling NaN arguments.
43395         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43396         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43397
43398         [BZ #14910]
43399         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43400         unordered operands.
43401         * soft-fp/gesf2.c (__gesf2): Likewise.
43402         * soft-fp/getf2.c (__getf2): Likewise.
43403         * soft-fp/ledf2.c (__ledf2): Likewise.
43404         * soft-fp/lesf2.c (__lesf2): Likewise.
43405         * soft-fp/letf2.c (__letf2): Likewise.
43406
43407         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43408         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43409         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43410         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43411         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43412         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43413         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43414         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43415         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43416         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43417         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43418         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43419         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43420         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43421         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43422         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43423         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43424         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43425         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43426         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43427         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43428         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43429         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43430         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43431         * soft-fp/floattidf.c (__floattidf): Likewise.
43432         * soft-fp/floattisf.c (__floattisf): Likewise.
43433         * soft-fp/floattitf.c (__floattitf): Likewise.
43434         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43435         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43436         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43437         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43438         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43439         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43440         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43441         * soft-fp/gesf2.c (__gesf2): Likewise.
43442         * soft-fp/getf2.c (__getf2): Likewise.
43443         * soft-fp/ledf2.c (__ledf2): Likewise.
43444         * soft-fp/lesf2.c (__lesf2): Likewise.
43445         * soft-fp/letf2.c (__letf2): Likewise.
43446
43447         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43448         Undefine and redefine.
43449         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43450         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43451         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43452         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43453         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43454         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43455         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43456         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43457         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43458         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43459         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43460         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43461         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43462         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43463         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43464
43465         [BZ #16032]
43466         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43467         without decrementing exponent if mantissa >= that for the
43468         denominator, not >.
43469         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43470         denominator, not >.  Decrement exponent in < case instead of
43471         incrementing in >= case.
43472         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43473         without decrementing exponent if mantissa >= that for the
43474         denominator, not >.
43475
43476         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43477         computing saturated result for unsigned overflow.
43478
43479 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43480             Jeff Law  <law@redhat.com>
43481
43482         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43483         (atan2Mp): Add systemtap probe marker.
43484         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43485         (__ieee754_log): Add systemtap probe marker.
43486         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43487         (atanMp): Add systemtap probe marker.
43488         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43489         (tanMp): Add systemtap probe marker.
43490         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43491         (__slowexp): Add systemtap probe marker.
43492         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43493         (__slowpow): Add systemtap probe marker.
43494         * manual/probes.texi: Document probes.
43495
43496 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43497
43498         [BZ #15362]
43499         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43500         written.
43501         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43502         written.
43503         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43504         written to buffer but not flushed.
43505         * libio/iofwrite_u.c:  Likewise.
43506         * libio/iopadn.c:  Return bytes returned even if EOF was
43507         encountered.
43508         * libio/iowpadn.c:  Likewise.
43509         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43510         if _IO_padn does not write the whole buffer.
43511         [!COMPILE_WPRINTF] (PAD): Likewise.
43512
43513 2013-10-10  David S. Miller  <davem@davemloft.net>
43514
43515         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43516         directory block.
43517
43518 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43519
43520         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43521         instead of FSF address.
43522         * soft-fp/fixdfti.c: Likewise.
43523         * soft-fp/fixsfti.c: Likewise.
43524         * soft-fp/fixtfti.c: Likewise.
43525         * soft-fp/fixunsdfti.c: Likewise.
43526         * soft-fp/fixunssfti.c: Likewise.
43527         * soft-fp/fixunstfti.c: Likewise.
43528         * soft-fp/floattidf.c: Likewise.
43529         * soft-fp/floattisf.c: Likewise.
43530         * soft-fp/floattitf.c: Likewise.
43531         * soft-fp/floatuntidf.c: Likewise.
43532         * soft-fp/floatuntisf.c: Likewise.
43533         * soft-fp/floatuntitf.c: Likewise.
43534         * soft-fp/trunctfxf2.c: Likewise.
43535
43536         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43537         * soft-fp/fixdfti.c: Likewise.
43538         * soft-fp/fixsfti.c: Likewise.
43539         * soft-fp/fixtfti.c: Likewise.
43540         * soft-fp/fixunsdfti.c: Likewise.
43541         * soft-fp/fixunssfti.c: Likewise.
43542         * soft-fp/fixunstfti.c: Likewise.
43543         * soft-fp/floattidf.c: Likewise.
43544         * soft-fp/floattisf.c: Likewise.
43545         * soft-fp/floattitf.c: Likewise.
43546         * soft-fp/floatuntidf.c: Likewise.
43547         * soft-fp/floatuntisf.c: Likewise.
43548         * soft-fp/floatuntitf.c: Likewise.
43549         * soft-fp/trunctfxf2.c: Likewise.
43550
43551 2013-10-10  David S. Miller  <davem@davemloft.net>
43552
43553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43554
43555 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43556
43557         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43558         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43559         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43560         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43561         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43562         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43563         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43564
43565         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43566         for NaNs before doing comparisons on argument.
43567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43568         Likewise.
43569
43570 2013-10-10  Will Newton  <will.newton@linaro.org>
43571
43572         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43573         passed to _int_memalign does not overflow.
43574
43575 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43576
43577         * scripts/bench.pl: Add include-sources directive.
43578         * benchtests/README: Update documentation.
43579
43580 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43581
43582         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43583         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43584         instead of FP_INIT_ROUNDMODE.
43585         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43586         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43587
43588         [BZ #16034]
43589         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43590         copy class of input value.
43591         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43592         not handle exceptions.
43593         * soft-fp/negsf2.c (__negsf2): Likewise.
43594         * soft-fp/negtf2.c (__negtf2): Likewise.
43595         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43596
43597 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43598
43599         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43600         semicolon.  From Linux kernel.
43601
43602 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43603
43604         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43605
43606 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43607
43608         [BZ #156]
43609         * manual/socket.texi: Added statement about buffer
43610         for gethostbyname2_r.
43611
43612 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43613
43614         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43615         Use .p2align directive instead, throughout.
43616         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43617         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43618         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43620         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43621         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43622         * sysdeps/x86_64/strchr.S: Likewise.
43623         * sysdeps/x86_64/strrchr.S: Likewise.
43624
43625 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43626
43627         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43628
43629         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43630
43631         * sysdeps/generic/math_private.h (__mpsin1): Remove
43632         declaration.
43633         (__mpcos1): Likewise.
43634         (__mpsin): New argument __range_reduce.
43635         (__mpcos): Likewise.
43636         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43637         (slow): Use __mpsin and __mpcos.
43638         (slow1): Likewise.
43639         (slow2): Likewise.
43640         (sloww): Likewise.
43641         (sloww1): Likewise.
43642         (sloww2): Likewise.
43643         (bsloww): Likewise.
43644         (bsloww1): Likewise.
43645         (bsloww2): Likewise.
43646         (cslow2): Likewise.
43647         (csloww): Likewise.
43648         (csloww1): Likewise.
43649         (csloww2): Likewise.
43650         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43651         range_reduce.  Merge in __mpsin1.
43652         (__mpcos): Likewise.
43653         (__mpsin1): Remove.
43654         (__mpcos1): Likewise.
43655
43656 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43657
43658         * locale/loadlocale.c (_nl_intern_locale_data): Use
43659         LOCFILE_ALIGNED_P.
43660         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43661         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43662         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43663         obstack data is appropriately aligned.
43664         (obstack_int32_grow_fast): Likewise.
43665         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43666         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43667         (add_locale_uint32_array): Likewise.
43668
43669 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43670
43671         * benchtests/Makefile: Remove ARGLIST and RET variables.
43672         ($(objpfx)bench-%.c): Pass only function name to the script.
43673         * benchtests/README: Update documentation.
43674         * benchtests/acos-inputs: Add new directives.
43675         * benchtests/acosh-inputs: Likewise.
43676         * benchtests/asin-inputs: Likewise.
43677         * benchtests/asinh-inputs: Likewise.
43678         * benchtests/atan-inputs: Likewise.
43679         * benchtests/atanh-inputs: Likewise.
43680         * benchtests/cos-inputs: Likewise.
43681         * benchtests/cosh-inputs: Likewise.
43682         * benchtests/exp-inputs: Likewise.
43683         * benchtests/log-inputs: Likewise.
43684         * benchtests/pow-inputs: Likewise.
43685         * benchtests/rint-inputs: Likewise.
43686         * benchtests/sin-inputs: Likewise.
43687         * benchtests/sinh-inputs: Likewise.
43688         * benchtests/tan-inputs: Likewise.
43689         * benchtests/tanh-inputs: Likewise.
43690         * scripts/bench.pl: Add support for new directives.
43691
43692 2013-10-07  Alan Modra  <amodra@gmail.com>
43693
43694         * README: Fix careless merge.
43695
43696 2013-10-05  Alan Modra  <amodra@gmail.com>
43697
43698         * NEWS: Mention powerpc64le support and bugs fixed.
43699         * README: Both big-endian and little-endian powerpc64 supported.
43700
43701 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43702
43703         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43704         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43705         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43706         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43707
43708 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43709
43710         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43711         match prototype.
43712
43713 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43714
43715         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43716         Move -mhard-float appending from
43717         ports/sysdeps/powerpc/powerpc32/Makefile.
43718         [$(with-fp) = yes] (ASFLAGS): Likewise.
43719         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43720         * sysdeps/powerpc/nofpu: Move directory from
43721         ports/sysdeps/powerpc/nofpu.
43722         * sysdeps/powerpc/soft-fp: Move directory from
43723         ports/sysdeps/powerpc/soft-fp.
43724         * sysdeps/powerpc/powerpc32/405: Move directory from
43725         ports/sysdeps/powerpc/powerpc32/405.
43726         * sysdeps/powerpc/powerpc32/440: Move directory from
43727         ports/sysdeps/powerpc/powerpc32/440.
43728         * sysdeps/powerpc/powerpc32/464: Move directory from
43729         ports/sysdeps/powerpc/powerpc32/464.
43730         * sysdeps/powerpc/powerpc32/476: Move directory from
43731         ports/sysdeps/powerpc/powerpc32/476.
43732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43733         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43735         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43737         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43739         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43741         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43742         * README: Update for powerpc-*-linux-gnu software floating point
43743         support in libc.
43744
43745         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43746         case to powerpc/powerpc32*.
43747         * sysdeps/unix/sysv/linux/configure: Regenerated.
43748
43749         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43750         (_FPU_MASK_OM): Define as 0x04.
43751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43753         0x00c10080.
43754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43755         0x0000003c.
43756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43757
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43759         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43760         getcontext_e500.
43761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43762         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43763         setcontext_e500.
43764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43765         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43766         and setcontext_e500.
43767
43768 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43769
43770         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43771
43772 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43773
43774         * manual/threads.texi (Default Thread Attributes): Fix typo.
43775
43776 2013-10-04  Will Newton  <will.newton@linaro.org>
43777
43778         * malloc/Makefile: Add tst-memalign.
43779         * malloc/tst-memalign.c: New file.
43780
43781         * malloc/tst-posix_memalign.c: Add comments.
43782         (do_test): Add comments and call free on all potentially
43783         allocated pointers. Add space after cast.
43784
43785         * malloc/tst-pvalloc.c: Add comments.
43786         (do_test): Add comments and call free on all potentially
43787         allocated pointers. Remove duplicate check for NULL pointer.
43788         Add space after cast.
43789
43790         * malloc/tst-valloc.c: Add comments.
43791         (do_test): Add comments and call free on all potentially
43792         allocated pointers. Remove duplicate check for NULL pointer.
43793         Add space after cast.
43794
43795 2013-10-04  Alan Modra  <amodra@gmail.com>
43796
43797         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43798         Use stdint types in rather than __attribute__((mode())).
43799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43800
43801 2013-10-04  Alan Modra  <amodra@gmail.com>
43802
43803         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43804         Correct handling of unaligned relocs for little-endian.
43805         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43806
43807 2013-10-04  Alan Modra  <amodra@gmail.com>
43808
43809         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43810         * configure: Regenerate.
43811         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43812         * shlib-versions: Likewise.
43813
43814 2013-10-04  Alan Modra  <amodra@gmail.com>
43815
43816         * string/tester.c (test_memrchr): Increment reported test cycle.
43817
43818 2013-10-04  Alan Modra  <amodra@gmail.com>
43819
43820         * string/test-memcpy.c (do_one_test): When reporting errors, print
43821         string address and don't overrun end of string.
43822
43823 2013-10-04  Alan Modra  <amodra@gmail.com>
43824
43825         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43826         insrdi.  Make better use of reg selection to speed exit slightly.
43827         Schedule entry path a little better.  Remove useless "are we done"
43828         checks on entry to main loop.  Handle wrapping around zero address.
43829         Correct main loop count.  Handle single left-over word from main
43830         loop inline rather than by using loop_small.  Remove extra word
43831         case in loop_small caused by wrong loop count.  Add little-endian
43832         support.
43833         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43834         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43835         cache hint.
43836         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43837         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43838         support.  Avoid rlwimi.
43839         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43840
43841 2013-10-04  Alan Modra  <amodra@gmail.com>
43842
43843         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43844         insrdi.  Formatting.
43845         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43846         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43847         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43848         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43849         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43850         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43851
43852 2013-10-04  Alan Modra  <amodra@gmail.com>
43853
43854         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43855         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43856         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43857         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43858         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43859         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43860         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43861         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43862         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43863         use of regs.  Use power7 mtocrf.  Tidy function tails.
43864
43865 2013-10-04  Alan Modra  <amodra@gmail.com>
43866
43867         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43868         Formatting.  Consistently use rXXX register defines or rN defines.
43869         Use early exit labels that avoid restoring unused non-volatile regs.
43870         Make cr field use more consistent with rWORDn compares.  Rename
43871         regs used as shift registers for unaligned loop, using rN defines
43872         for short lifetime/multiple use regs.
43873         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43874         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43875         addi 1,1,64 to pop stack frame.  Simplify return value code.
43876         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43877
43878 2013-10-04  Alan Modra  <amodra@gmail.com>
43879
43880         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43881         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43882         rather than rlwimi.
43883         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43884         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43885         little-endian support.  Correct typos.
43886         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43887         rather than rlwimi.
43888         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43889         in loop and entry code to keep "and." results.
43890         (strchr): Add little-endian support.  Comment.  Move cntlzd
43891         earlier in tail.
43892         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43893
43894 2013-10-04  Alan Modra  <amodra@gmail.com>
43895
43896         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43897         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43898         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43899         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43900
43901 2013-10-04  Alan Modra  <amodra@gmail.com>
43902
43903         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43904         (rTMP): Define as r11.
43905         (strcmp): Add little-endian support.  Optimise tail.
43906         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43908         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43909         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43910         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43911         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43912         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43913
43914 2013-10-04  Alan Modra  <amodra@gmail.com>
43915
43916         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43917         little-endian support.  Remove unnecessary "are we done" tests.
43918         Handle "s" wrapping around zero and extremely large "size".
43919         Correct main loop count.  Handle single left-over word from main
43920         loop inline rather than by using small_loop.  Correct comments.
43921         Delete "zero" tail, use "end_max" instead.
43922         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43923
43924 2013-10-04  Alan Modra  <amodra@gmail.com>
43925
43926         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43927         support.  Don't branch over align.
43928         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43929         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43930         support.  Rearrange tmp reg use to suit.  Comment.
43931         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43932
43933 2013-10-04  Alan Modra  <amodra@gmail.com>
43934
43935         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43936
43937 2013-10-04  Alan Modra  <amodra@gmail.com>
43938
43939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43940         conditional form of branch and link when obtaining pc.
43941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43942
43943 2013-10-04  Alan Modra  <amodra@gmail.com>
43944
43945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43946         HIWORD/LOWORD.
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43949
43950 2013-10-04  Alan Modra  <amodra@gmail.com>
43951
43952         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43953         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43954         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43955         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43956         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43957         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43958         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43959         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43960         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43961         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43962
43963 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43964             Alistair Popple <alistair@ozlabs.au.ibm.com>
43965             Alan Modra <amodra@gmail.com>
43966
43967         [BZ #15723]
43968         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43969         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43970         _dl_hwcap access for little-endian.
43971         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43972         destroy vmx regs when saving unaligned.
43973         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43974         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43975         destroy vmx regs when saving unaligned.
43976
43977 2013-10-04  Alan Modra  <amodra@gmail.com>
43978
43979         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43980         Don't use a union to pack hi/low value.
43981
43982 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43983
43984         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43985         for little-endian.
43986         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43988         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43990         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43991
43992 2013-10-04  Alan Modra  <amodra@gmail.com>
43993
43994         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43995         constants to usual value for .cst8 section, and remove redundant
43996         high address load.
43997         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43998         constant for 0x1p52.  Load little-endian words of double from
43999         correct stack offsets.
44000
44001 2013-10-04  Alan Modra  <amodra@gmail.com>
44002
44003         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44004         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44005         words of double from correct stack offsets.
44006         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44007         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44008         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44011         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44012         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44013         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44015         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44016         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44017         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44018         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44019         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44020         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44021         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44022         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44023
44024 2013-10-04  Alan Modra  <amodra@gmail.com>
44025
44026         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44027         64-bit int/double union.
44028         (_FPU_SETCW): Likewise.
44029         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44030         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44031
44032 2013-10-04  Alan Modra  <amodra@gmail.com>
44033
44034         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44035         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44036
44037 2013-10-04  Alan Modra  <amodra@gmail.com>
44038
44039         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44040         use vector int constants.
44041         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44042
44043 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44044
44045         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44046         array with long long.
44047         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44048         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44049         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44050         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44051         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44052         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44053         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44054         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44055         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44056         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44057         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44058         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44059         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44060
44061 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44062
44063         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44064         (__signbit): Likewise.  Correct for little-endian.
44065         (__signbitl): Call __signbit.
44066         (lrint): Correct for little-endian.
44067         (lrintf): Call lrint.
44068
44069 2013-10-04  Alan Modra  <amodra@gmail.com>
44070
44071         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44072         union 32-bit int array member with 64-bit int array.
44073         (t515, tm256): Double rather than long double.
44074         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44075
44076 2013-10-04  Alan Modra  <amodra@gmail.com>
44077
44078         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44079         Delete.
44080         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44082         version of math_ldbl.h.
44083
44084 2013-10-04  Alan Modra  <amodra@gmail.com>
44085
44086         [BZ #15734], [BZ #15735]
44087         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44088         all uses of ieee875 long double macros and unions.  Simplify test
44089         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44090         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44091         normalize after ldbl_extract_mantissa, and don't add hidden bit
44092         already handled.  Don't treat low word of ieee854 mantissa like
44093         low word of IBM long double and mask off bit when testing for
44094         zero.
44095         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44096         all uses of ieee875 long double macros and unions.  Simplify tests
44097         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44098         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44099         two1022, instead use their values.  Recognise that tests for large
44100         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44102         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44103         test for 0.0L and nan.  Correct negation.
44104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44105         ieee875 long double macros and unions.  Correct output for large
44106         magnitude x.  Correct absolute value calculation.
44107         (__erfcl): Likewise.
44108         * math/libm-test.inc: Add tests for errors discovered in IBM long
44109         double versions of fmodl, remainderl, erfl and erfcl.
44110
44111 2013-10-04  Alan Modra  <amodra@gmail.com>
44112
44113         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44114         all uses of ieee854 long double macros and unions.  Simplify tests
44115         for long doubles that are fully specified by the high double.
44116         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44117         Likewise.
44118         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44119         Remove dead code too.
44120         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44121         (__ieee754_ynl): Likewise.
44122         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44123         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44124         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44125         Remove dead code too.
44126         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44127         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44128         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44129         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44130         Simplify.
44131         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44132         Simplify.
44133         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44134         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44135         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44136         Comment on variable precision.
44137         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44138         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44139         Likewise.
44140         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44141         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44143         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44144         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44145
44146 2013-10-04  Alan Modra  <amodra@gmail.com>
44147
44148         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44149         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44150         all uses of ieee854 long double macros and unions.
44151         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44154         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44155         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44156         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44157         Likewise.
44158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44159         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44160         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44161         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44163         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44164         Simplify sign and nan test too.
44165         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44166         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44168         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44169         Likewise.
44170         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44171         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44172         Likewise.
44173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44174         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44175         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44176         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44177         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44179
44180 2013-10-04  Alan Modra  <amodra@gmail.com>
44181
44182         * stdio-common/printf_size.c (__printf_size): Don't use
44183         union ieee854_long_double in fpnum union.
44184         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44185         signbit macro to retrieve sign from long double.
44186         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44187         retrieve sign from long double.
44188         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44189         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44190         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44191         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44192         * math/test-misc.c (main): Don't use union ieee854_long_double.
44193
44194 2013-10-04  Alan Modra  <amodra@gmail.com>
44195
44196         [BZ #15680]
44197         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44198         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44199         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44200         calculation.  Remove unnecessary test for denormal exponent.
44201         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44202         Correct handling of denormals.  Avoid undefined shift behaviour.
44203         Correct normalisation of low mantissa when low double is denormal.
44204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44205         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44206         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44207         Correct normalisation of low mantissa.  Test for overflow of high
44208         mantissa and normalise.
44209         (ldbl_nearbyint): Use more readable constant for two52.
44210         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44211         (__mpn_construct_long_double): Fix test for overflow of high
44212         mantissa and correct normalisation.  Avoid undefined shift.
44213
44214 2013-10-04  Alan Modra  <amodra@gmail.com>
44215
44216         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44217         (union ibm_extended_long_double): Define as an array of ieee754_double.
44218         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44219         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44220         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44221         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44222         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44223         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44225         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44226         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44227         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44229
44230 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44231
44232         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44233         page size instead of calling getpagesize.
44234
44235         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44236         (LOCFILE_ALIGN_MASK): Likewise.
44237         (LOCFILE_ALIGN_UP): Likewise.
44238         (LOCFILE_ALIGNED_P): Likewise.
44239         * locale/programs/ld-collate.c (collate_output): Use the new
44240         macros instead of __alignof__ (int32_t).
44241         * locale/weight.h (findidx): Likewise.
44242
44243 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44244
44245         [BZ #431]
44246         * manual/string.texi: Fix strncat and wcsncat.
44247
44248 2013-10-03  Brooks Moses  <bmoses@google.com>
44249
44250         [BZ #15915]
44251         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44252         * Makerules: ...here, and adjust associated comments.
44253
44254 2013-10-02  Will Newton  <will.newton@linaro.org>
44255
44256         * malloc/Makefile: Add tst-pvalloc.
44257         * malloc/tst-pvalloc.c: New file.
44258
44259 2013-10-02  Will Newton  <will.newton@linaro.org>
44260
44261         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44262         improve test coverage.
44263
44264 2013-10-02  Will Newton  <will.newton@linaro.org>
44265
44266         * malloc/Makefile: Add tst-posix_memalign.
44267         * malloc/tst-posix_memalign.c: New file.
44268
44269 2013-10-01  Eric Blake  <eblake@redhat.com>
44270
44271         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44272         Use __THROWNL rather than __THROW on static functions.
44273
44274 2013-09-30  Petr Machata  <pmachata@redhat.com>
44275
44276         * elf/elf.h (R_AARCH64_ABS16): New macro.
44277         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44278         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44279         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44280         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44281         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44282         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44283         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44284         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44285         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44286         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44287         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44288         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44289         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44290         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44291         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44292         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44293         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44294         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44295         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44296         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44297         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44298         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44299         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44300         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44301         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44302         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44303         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44304         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44305         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44306         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44307         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44308         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44309         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44310         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44311         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44312         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44313         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44314         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44315         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44316         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44317         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44318         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44319         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44320         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44321         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44322         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44323         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44324         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44325         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44326         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44327         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44328         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44329         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44330         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44331         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44332         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44333         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44334         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44335         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44336         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44337         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44338         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44339         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44340         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44341         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44342         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44343         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44344         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44345         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44346         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44347         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44348         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44349         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44350         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44351         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44352         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44353         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44354         (R_AARCH64_TLSDESC_LDR): Likewise.
44355         (R_AARCH64_TLSDESC_ADD): Likewise.
44356         (R_AARCH64_TLSDESC_CALL): Likewise.
44357
44358 2013-09-30  Andreas Schwab  <schwab@suse.de>
44359
44360         [BZ #15048]
44361         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44362         the nss database lookup.
44363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44365
44366 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44367
44368         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44369
44370 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44371
44372         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44373         ${Bash-specific parameter/pattern/string} parameter expansion.
44374         * sysdeps/unix/make-syscalls.sh: Likewise.
44375
44376 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44377
44378         * sysdeps/sh/stackguard-macros.h: New file.
44379
44380 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44381
44382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44383         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44384         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44385         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44386         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44387         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44388
44389 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44390
44391         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44392         Fix thread ID register.
44393
44394 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44395
44396         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44397         [POSIX || UNIX98]: Require rather than permitting all symbols from
44398         <time.h>.
44399         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44400         element of struct sched_param.
44401         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44402         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44403         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44404         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44405         constant.
44406
44407 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44408
44409         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44410         argument calculation.
44411
44412 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44413
44414         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44415         Expect macro.
44416         [POSIX] (pthread_attr_t): Do not require type.
44417         [POSIX] (pthread_cond_t): Likewise.
44418         [POSIX] (pthread_condattr_t): Likewise.
44419         [POSIX] (pthread_key_t): Likewise.
44420         [POSIX] (pthread_mutex_t): Likewise.
44421         [POSIX] (pthread_mutexattr_t): Likewise.
44422         [POSIX] (pthread_once_t): Likewise.
44423         [POSIX] (pthread_t): Likewise.
44424         [POSIX-based standards] (pthread_atfork): Expect function.
44425
44426 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44427             Richard Sandiford  <richard@codesourcery.com>
44428
44429         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44430         (swap_endianness_p): New extern variable.
44431         (set_big_endian): New inline function.
44432         (maybe_swap_uint32): Likewise.
44433         (maybe_swap_uint32_array): Likewise.
44434         (maybe_swap_uint32_obstack): Likewise.
44435         * locale/programs/locfile.c: Include <stdbool.h>.
44436         (swap_endianness_p): New variable.
44437         (add_locale_uint32): Call maybe_swap_uint32.
44438         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44439         (write_locale_data): Call maybe_swap_uint32_array.
44440         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44441         maybe_swap_uint32.
44442         (obstack_int32_grow_fast): Likewise.
44443         (output_weightwc): Call maybe_swap_uint32_obstack.
44444         (collate_output): Likewise.
44445         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44446         (OPT_LITTLE_ENDIAN): Likewise.
44447         (options): Add --little-endian and --big-endian options.
44448         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44449         * locale/programs/locarchive.c: Include "locfile.h".
44450         (GET): New macro.
44451         (SET): Likewise.
44452         (INC): Likewise.
44453         (create_archive): Use the new macros to access fields of
44454         structures directly mapped from or written to locale archives.
44455         (oldlocrecentcmp): Likewise.
44456         (enlarge_archive): Likewise.
44457         (insert_name): Likewise.
44458         (add_alias): Likewise.
44459         (add_locale): Likewise.
44460         (delete_locales_from_archive): Likewise.
44461         (show_archive_content): Likewise.
44462         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44463         locale data.
44464
44465 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44466
44467         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44468         http://www.gnu.org/doc/freemanuals.texi.
44469         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44470
44471 2013-09-24  Will Newton  <will.newton@linaro.org>
44472
44473         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44474         macro.
44475
44476 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44477
44478         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44479         unsigned char.
44480
44481 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44482
44483         * manual/threads.texi (POSIX Threads): Fix a typo.
44484
44485 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44486
44487         [BZ #14547]
44488         * string/tst-strcoll-overflow.c: New test case.
44489         * string/Makefile (xtests): Add tst-strcoll-overflow.
44490         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44491         cache if string sizes may cause integer overflow.
44492
44493         [BZ #14547]
44494         * string/strcoll_l.c (coll_seq): New members rule, idx,
44495         save_idx and back_us.
44496         (get_next_seq_nocache): New function.
44497         (do_compare_nocache): New function.
44498         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44499         when malloc fails.
44500
44501 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44502
44503         [BZ #15754]
44504         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44505         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44506         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44507
44508         [BZ #15754]
44509         * elf/Makefile (tests): Add tst-ptrguard1.
44510         (tests-static): Add tst-ptrguard1-static.
44511         (tst-ptrguard1-ARGS): Define.
44512         (tst-ptrguard1-static-ARGS): Define.
44513         * elf/tst-ptrguard1.c: New file.
44514         * elf/tst-ptrguard1-static.c: New file.
44515         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44516         * sysdeps/i386/stackguard-macros.h: Likewise.
44517         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44518         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44519         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44520         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44521         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44522         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44523
44524 2013-09-23  Hector Marco  <hecmargi@upv.es>
44525             Ismael Ripoll  <iripoll@disca.upv.es>
44526             Carlos O'Donell  <carlos@redhat.com>
44527
44528         [BZ #15754]
44529         * sysdeps/generic/stackguard-macros.h: Define
44530         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44531         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44532         Define __pointer_chk_guard_local.
44533         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44534         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44535
44536 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44537
44538         [BZ #15859]
44539         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44540
44541 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44542
44543         * include/string.h (__ffs): Declare as hidden.
44544         * string/ffs.c (__ffs): Define as hidden.
44545         * sysdeps/i386/ffs.c (__ffs): Likewise.
44546         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44547         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44548         * sysdeps/s390/ffs.c (__ffs): Likewise.
44549         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44550
44551 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44552
44553         * NEWS: Mention malloc probes.
44554
44555         * malloc/arena.c (new_heap): New memory_heap_new probe.
44556         (grow_heap): New memory_heap_more probe.
44557         (shrink_heap): New memory_heap_less probe.
44558         (heap_trim): New memory_heap_free probe.
44559         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44560         (systrim): New memory_sbrk_less probe.
44561         * manual/probes.texi: Document them.
44562
44563         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44564         * manual/probes.texi: Document it.
44565
44566         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44567         (__libc_realloc): Add memory_realloc_retry probe.
44568         (__libc_memalign): Add memory_memalign_retry probe.
44569         (__libc_valloc): Add memory_valloc_retry probe.
44570         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44571         (__libc_calloc): Add memory_calloc_retry probe.
44572         * manual/probes.texi: Document them.
44573
44574         * malloc/arena.c (get_free_list): Add probe
44575         memory_arena_reuse_free_list.
44576         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44577         and memory_arena_reuse.
44578         (arena_get2) [!PER_THREAD]: Likewise.
44579         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44580         memory_arena_reuse_realloc.
44581         * manual/probes.texi: Document them.
44582
44583         * malloc/malloc.c (__libc_free): Add
44584         memory_mallopt_free_dyn_thresholds probe.
44585         (__libc_mallopt): Add multiple memory_mallopt probes.
44586         * manual/probes.texi: Document them.
44587
44588         * malloc/malloc.c: Include stap-probe.h.
44589         (__libc_mallopt): Add memory_mallopt probe.
44590         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44591         * manual/probes.texi: New.
44592         * manual/Makefile (chapters): Add probes.
44593         * manual/threads.texi: Set next node.
44594
44595 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44596
44597         [BZ #15963, #13985]
44598         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44599         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44600         Add `Chinese' to `nan' entry name.
44601
44602 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44603
44604         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44605         (POLYNOMIAL): Likewise.
44606         (TAYLOR_SINCOS): Likewise.
44607         (TAYLOR_SLOW): Likewise.
44608         (__sin): Use TAYLOR_SINCOS.
44609         (__cos): Likewise.
44610         (slow): Use TAYLOR_SLOW.
44611         (sloww): Likewise.
44612         (bsloww): Likewise.
44613         (csloww): Likewise.
44614
44615 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44616
44617         * stdlib/strtod_l.c: Fix buffer overrun.
44618
44619 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44620
44621         * benchtests/Makefile (bench): Add sincos.
44622         * benchtests/bench-sincos.c: New file.
44623
44624         * math/libm-test.inc (cos_test_data): New test inputs.
44625         (sin_test_data): Likewise.
44626
44627         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44628         macro.
44629         (__sin): Use it.
44630         (__cos): Likewise.
44631         (slow1): Likewise.
44632         (slow2): Likewise.
44633         (sloww1): Likewise.
44634         (sloww2): Likewise.
44635         (bsloww1): Likewise.
44636         (bsloww2): Likewise.
44637         (cslow2): Likewise.
44638         (csloww1): Likewise.
44639         (csloww2): Likewise.
44640
44641         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44642         function.
44643         (__sin): Use it.
44644         (__cos): Likewise.
44645
44646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44647         gotos.
44648         (__cos): Likewise.
44649
44650 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44651
44652         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44653         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44654         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44655         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44656         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44657         * elf/cache.c (print_entry): Handle the new cache flags.
44658
44659 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44660             Aldy Hernandez  <aldyh@redhat.com>
44661
44662         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44663         Change condition to [_SOFT_FLOAT].
44664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44676         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44679         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44680         declaration.
44681
44682 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44683
44684         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44685         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44686         (__longjmp): Use LOAD_GP to load saved GPRs.
44687         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44688         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44689         (__sigsetjmp): Use SAVE_GP to save GPRs.
44690
44691         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44692         Do not append -msoft-float.
44693         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44694
44695 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44696
44697         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44698
44699 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44700
44701         [BZ #15966]
44702         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44703         (_FPU_GETCW): Use initial "__" on variable and field names but not
44704         on macro parameter name.
44705         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44706         parentheses around reference to macro parameter.
44707
44708 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44709
44710         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44711         prototype.
44712         (ctype_startup): Use uint32_t in cast and sizeof for
44713         ctype->charnames.
44714
44715 2013-09-11  Jia Liu  <proljc@gmail.com>
44716
44717         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44718         __daddr_t_defined.
44719         [__FreeBSD__]: Likewise.
44720
44721 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44722
44723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44724         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44725         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44726         (strchr): Remove __strchr_sse42 ifunc selection.
44727         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44728         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44729
44730 2013-09-11  Will Newton  <will.newton@linaro.org>
44731
44732         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44733         parameter to RES. Remove hardcoded 1000 value.
44734         * benchtests/bench-skeleton.c (main): Pass RES parameter
44735         to TIMING_INIT and multiply result by 1000.
44736
44737 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44738
44739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44740
44741 2013-09-11  Andreas Schwab  <schwab@suse.de>
44742
44743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44744         if not defined.
44745         (O_TMPFILE) [__USE_GNU]: Define.
44746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44747         Define.
44748
44749 2013-09-11  Will Newton  <will.newton@linaro.org>
44750
44751         [BZ #15857]
44752         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44753         does not overflow.
44754
44755 2013-09-11  Will Newton  <will.newton@linaro.org>
44756
44757         [BZ #15856]
44758         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44759         does not overflow.
44760
44761 2013-09-11  Will Newton  <will.newton@linaro.org>
44762
44763         [BZ #15855]
44764         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44765         does not overflow.
44766
44767 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44768
44769         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44773         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44774
44775 2013-09-10  Allan McRae  <allan@archlinux.org>
44776
44777         [BZ #15748]
44778         * manual/arith.texi (Parsing of Floats): Clarify
44779         cross-reference.
44780
44781         [BZ #15849]
44782         * manual/install.texi (Running make install): Mention
44783         --enable-pt-chown.
44784         * INSTALL: Regenerated.
44785
44786 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44787
44788         * csu/init-first.c (_init): Remove the !SHARED condition around
44789         FPU control word initialization.
44790         * elf/dl-support.c (_dl_fpu_control): New variable.
44791         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44792         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44793         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44794         * math/test-fpucw-static.c: New file.
44795         * math/test-fpucw-ieee.c: New file.
44796         * math/test-fpucw-ieee-static.c: New file.
44797         * math/Makefile (tests): Add `test-fpucw-ieee' and
44798         `$(tests-static)'.
44799         (tests-static): New variable.
44800         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44801         dependency to...
44802         [($(build-shared),yes)]
44803         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44804         ... this.
44805         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44806         New dependency.
44807
44808 2013-09-09  Allan McRae  <allan@archlinux.org>
44809
44810         [BZ #15939]
44811         * manual/string.texi (Collation Functions): Fix typo in
44812         strcoll example.
44813         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44814
44815         [BZ #15893]
44816         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44817
44818         [BZ #15892]
44819         * libio/memstream.c (open_memstream): Fix memory leak.
44820         * libio/wmemstream.c (open_wmemstream): Likewise.
44821
44822         [BZ #15895]
44823         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44824
44825 2013-09-09  Will Newton  <will.newton@linaro.org>
44826
44827         * malloc/Makefile: Add tst-realloc to tests.
44828         * malloc/tst-realloc.c: New file.
44829
44830 2013-09-09  Allan McRae  <allan@archlinux.org>
44831
44832         [BZ #15844]
44833         * COPYING: Update from GNU website to fix FSF address.
44834         * COPYING.LIB: Likewise.
44835
44836 2013-09-06  David S. Miller  <davem@davemloft.net>
44837
44838         * po/zh_TW.po: Update Chinese (traditional) translation from
44839         translation project.
44840
44841 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44842             Joseph Myers  <joseph@codesourcery.com>
44843
44844         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44845         "localeinfo.h".
44846         (obstack_chunk_alloc): New macro.
44847         (obstack_chunk_free): Likewise.
44848         (record_offset): New function.
44849         (init_locale_data): Likewise.
44850         (align_locale_data): Likewise.
44851         (add_locale_empty): Likewise.
44852         (add_locale_raw_data): Likewise.
44853         (add_locale_raw_obstack): Likewise.
44854         (add_locale_string): Likewise.
44855         (add_locale_wstring): Likewise.
44856         (add_locale_uint32): Likewise.
44857         (add_locale_uint32_array): Likewise.
44858         (add_locale_char): Likewise.
44859         (start_locale_structure): Likewise.
44860         (end_locale_structure): Likewise.
44861         (start_locale_prelude): Likewise.
44862         (end_locale_prelude): Likewise.
44863         (write_locale_data): Take locale_file structure rather than an
44864         iovec.
44865         * locale/programs/locfile.h: Include "obstack.h".
44866         (struct locale_file): Change to store locale file contents instead
44867         of header.
44868         (init_locale_data): New prototype.
44869         (align_locale_data): Likewise.
44870         (add_locale_empty): Likewise.
44871         (add_locale_raw_data): Likewise.
44872         (add_locale_raw_obstack): Likewise.
44873         (add_locale_string): Likewise.
44874         (add_locale_wstring): Likewise.
44875         (add_locale_uint32): Likewise.
44876         (add_locale_uint32_array): Likewise.
44877         (add_locale_char): Likewise.
44878         (start_locale_structure): Likewise.
44879         (end_locale_structure): Likewise.
44880         (start_locale_prelude): Likewise.
44881         (end_locale_prelude): Likewise.
44882         (write_locale_data): Update prototype.
44883         * locale/programs/3level.h (struct TABLE): Remove result field.
44884         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44885         Use new locale_file interface.
44886         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44887         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44888         * locale/programs/ld-address.c (address_output): Use new
44889         locale_file interface.
44890         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44891         NO_ADD_LOCALE.
44892         (collate_finish): Don't call collseq_table_finalize.
44893         (collate_output): Use new locale_file interface.
44894         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44895         in file.
44896         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44897         (TABLE): Move defines earlier in file.
44898         (ELEMENT): Likewise.
44899         (DEFAULT): Likewise.
44900         (wctrans_table_add): Move macro and inline function earlier in
44901         file.
44902         (struct wctype_table): Move type earlier in file.
44903         (add_locale_wctype_table): New static prototype.
44904         (struct locale_ctype_t): Use logical types instead of struct iovec
44905         pointers for members.
44906         (ctype_output): Use new locale_file interface.
44907         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44908         new locale_file interface.
44909         (allocate_arrays): Update for use of new locale_file interface.
44910         * locale/programs/ld-identification.c (identification_output): Use
44911         new locale_file interface.
44912         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44913         * locale/programs/ld-messages.c (messages_output): Likewise.
44914         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44915         * locale/programs/ld-name.c (name_output): Likewise.
44916         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44917         * locale/programs/ld-paper.c (paper_output): Likewise.
44918         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44919         * locale/programs/ld-time.c (time_output): Likewise.
44920
44921 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44922
44923         * benchtests/Makefile: Add memrchr benchmark.
44924         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44925         benchmark as memrchr.
44926         * benchtests/bench-memrchr-ifunc.c: New file.
44927         * benchtests/bench-memrchr.c: New file.
44928
44929 2013-09-06   Will Newton  <will.newton@linaro.org>
44930
44931         * benchtests/Makefile (string-bench): Add memcpy.
44932
44933 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44934             Cong Wang  <amwang@redhat.com>
44935
44936         [BZ #15850]
44937         * sysdeps/unix/sysv/linux/bits/in.h
44938         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44939         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44940         before __USE_KERNEL_IPV6_DEFS uses.
44941         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44942         IPPROTO_BEETPH.
44943         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44944         sockaddr_in6, or ipv6_mreq.
44945
44946 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44947
44948         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44949         memory access for final bytes in some large inputs.
44950         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44951
44952 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44953
44954         * string/test-memrchr.c: New file.
44955         * string/test-memrchr-ifunc.c: New file.
44956         * string/Makefile: Add new memrchr testcase.
44957
44958 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44959
44960         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44961         fanotify_init returns EPERM.
44962
44963 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44964
44965         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44966         errors.
44967         (top level): Treat second token from macro or constant entries for
44968         allowed headers as allowed.
44969         * include/complex.h: Condition internal declarations on
44970         [!_ISOMAC].
44971         * include/fenv.h: Condition include of <stdbool.h> and internal
44972         declarations on [!_ISOMAC].
44973
44974 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44975
44976         [BZ #15923]
44977         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44978
44979 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44980
44981         * configure.in (--enable-versioning): Remove configure option.
44982         (libc_cv_asm_symver_directive): Remove configure test.
44983         (libc_cv_ld_version_script_option): Likewise.
44984         (VERSIONING): Remove variable and AC_SUBST.
44985         (DO_VERSIONING): Remove AC_DEFINE.
44986         * configure: Regenerated.
44987         * config.h.in (DO_VERSIONING): Remove macro.
44988         * Makerules [$(versioning) = yes]: Change conditionals to
44989         [$(build-shared) = yes].
44990         * config.make.in (versioning): Remove variable.
44991         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44992         [$(build-shared) = yes].
44993         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44994         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44995         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44996         [$(build-shared) = yes].
44997         * extra-lib.mk [$(versioning) = yes]: Likewise.
44998         * hurd/Makefile [$(versioning) = yes]: Likewise.
44999         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45000         [SHARED].
45001         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45002         [SHARED].
45003         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45004         [SHARED && !NO_HIDDEN].
45005         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45006         [SHARED].
45007         [SHARED && DO_VERSIONING]: Likewise..
45008         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45009         [$(build-shared) = yes].
45010         * manual/install.texi (--disable-versioning): Remove
45011         documentation.
45012         * INSTALL: Regenerated.
45013         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45014         to [SHARED].
45015         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45016         [$(build-shared) = yes].
45017         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45018         * sysdeps/i386/i686/multiarch/strstr-c.c
45019         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45020         [SHARED && !NO_HIDDEN].
45021         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45022         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45023         * sysdeps/powerpc/powerpc32/dl-machine.c
45024         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45025         * sysdeps/powerpc/powerpc32/sysdep.h
45026         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45027         to [SHARED && PIC && !NO_HIDDEN].
45028         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45029         conditional to [SHARED].
45030
45031 2013-09-04   Will Newton  <will.newton@linaro.org>
45032
45033         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45034         * benchtests/bench-string.h: Include bench-timing.h instead
45035         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45036         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45037         call to HP_TIMING_DIFF_INIT.
45038         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45039         instead of hp-timing.h macros.
45040         * benchtests/bench-memchr.c: Likewise.
45041         * benchtests/bench-memcmp.c: Likewise.
45042         * benchtests/bench-memcpy.c: Likewise.
45043         * benchtests/bench-memmem.c: Likewise.
45044         * benchtests/bench-memmove.c: Likewise.
45045         * benchtests/bench-memset.c: Likewise.
45046         * benchtests/bench-rawmemchr.c: Likewise.
45047         * benchtests/bench-strcasecmp.c: Likewise.
45048         * benchtests/bench-strcasestr.c: Likewise.
45049         * benchtests/bench-strcat.c: Likewise.
45050         * benchtests/bench-strchr.c: Likewise.
45051         * benchtests/bench-strcmp.c: Likewise.
45052         * benchtests/bench-strcpy.c: Likewise.
45053         * benchtests/bench-strcpy_chk.c: Likewise.
45054         * benchtests/bench-strlen.c: Likewise.
45055         * benchtests/bench-strncasecmp.c: Likewise.
45056         * benchtests/bench-strncat.c: Likewise.
45057         * benchtests/bench-strncmp.c: Likewise.
45058         * benchtests/bench-strncpy.c: Likewise.
45059         * benchtests/bench-strnlen.c: Likewise.
45060         * benchtests/bench-strpbrk.c: Likewise.
45061         * benchtests/bench-strrchr.c: Likewise.
45062         * benchtests/bench-strspn.c: Likewise.
45063         * benchtests/bench-strstr.c: Likewise.
45064
45065 2013-09-04  Will Newton  <will.newton@linaro.org>
45066
45067         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45068
45069 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45070
45071         [BZ #15427]
45072         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45073         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45074         * math/libm-test.inc (lgamma_test_data): Add more tests.
45075         * sysdeps/i386/fpu/libm-test-ulps: Update.
45076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45077
45078 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45079
45080         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45082         Add ifunc.
45083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45084         Add strcmp-sse2-unaligned
45085         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45086
45087 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45088
45089         * Versions.def (libc): Add GLIBC_2.19.
45090
45091 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45092
45093         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45094         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45095
45096 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45097
45098         [BZ #14155]
45099         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45100         intermediate calculations in recurrence.
45101         (__ieee754_ynf): Likewise.
45102         * math/libm-test.inc (jn_test_data): Do not allow spurious
45103         underflow exception.  Add more tests.
45104         (yn_test_data): Add more tests.
45105         * sysdeps/i386/fpu/libm-test-ulps: Update.
45106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45107
45108 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45109
45110         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45111
45112 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45113
45114         * csu/init-first.c: Fix then/than typos.
45115         * locale/programs/ld-collate.c: Likewise.
45116         * locale/programs/linereader.h: Likewise.
45117         * manual/charset.texi: Likewise.
45118         * manual/filesys.texi: Likewise.
45119         * manual/stdio.texi: Likewise.
45120         * manual/string.texi: Likewise.
45121         * stdlib/fmtmsg.c: Likewise.
45122         * sysdeps/i386/stpncpy.S: Likewise.
45123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45124         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45125         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45126         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45127
45128 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45129
45130         * elf/dl-open.c: Fix typos.
45131         * iconvdata/gbbig5.c: Likewise.
45132         * iconvdata/iso-2022-jp.c: Likewise.
45133         * iconv/gconv_int.h: Likewise.
45134         * iconv/loop.c: Likewise.
45135         * nis/rpcsvc/nis.h: Likewise.
45136         * resolv/ns_name.c: Likewise.
45137         * stdio-common/vfscanf.c: Likewise.
45138         * streams/stropts.h: Likewise.
45139         * sunrpc/rpc_thread.c: Likewise.
45140         * sysdeps/i386/strpbrk.S: Likewise.
45141         * sysdeps/ieee754/k_standard.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45144         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45145         * sysdeps/mach/hurd/profil.c: Likewise.
45146         * sysdeps/s390/dl-procinfo.h: Likewise.
45147         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45148         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45149         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45150         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45152
45153 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45154
45155         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45157
45158 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45159
45160         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45161         aix specific files.
45162         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45163         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45164         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45165         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45166         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45167         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45168         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45169         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45170
45171 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45172             Roland McGrath  <roland@hack.frob.com>
45173
45174         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45175         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45176
45177 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45178
45179         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45180         __executable_start symbol instead of _start.
45181
45182 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45183
45184         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45185         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45186         Move macros to...
45187         * sysdeps/gnu/ldsodefs.h: ... this new file.
45188
45189         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45190         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45191         instead of ELFOSABI_LINUX.
45192
45193         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45194         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45195         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45196         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45197         Likewise.
45198         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45199         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45201         Likewise.
45202         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45203         (ibm_extended_long_double): Add ieee_nan member.
45204         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45205         (do_test): New function.
45206
45207         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45208         TEST_TRUNC.
45209         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45210         functions, renamed from truncdfsf_test, trunctfsf_test,
45211         trunctfdf_test.
45212         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45213         functions.
45214         (do_test): Run all these.
45215
45216 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45217
45218         * argp/argp-help.c: Fix typos.
45219         * argp/argp-parse.c: Likewise.
45220         * debug/backtracesyms.c: Likewise.
45221         * elf/elf.h: Likewise.
45222         * malloc/malloc.c: Likewise.
45223         * nis/nis_print.c: Likewise.
45224         * resolv/res_comp.c: Likewise.
45225         * stdlib/stdlib.h: Likewise.
45226         * sunrpc/clnt_tcp.c: Likewise.
45227         * sunrpc/clnt_udp.c: Likewise.
45228         * sunrpc/clnt_unix.c: Likewise.
45229         * sysdeps/unix/bsd/ptsname.c: Likewise.
45230         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45231         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45233         Likewise.
45234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45235         Likewise.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45237         Likewise.
45238         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45239
45240 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241
45242         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45244
45245 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45246
45247         [BZ #15897]
45248         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45249         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45250         ($(objpfx)bug-dl-leaf): New rule.
45251         ($(objpfx)bug-dl-leaf.so): Likewise.
45252         ($(objpfx)bug-dl-leaf.out): Likewise.
45253         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45254         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45255         * dlfcn/bug-dl-leaf.c: New test.
45256         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45257         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45258         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45259         (dlclose): Likewise.
45260         (dlmopen): Likewise.
45261
45262 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45263
45264         * include/netdb.h [!_ISOMAC]:
45265         Don't include <tls.h>.
45266         (h_errno, __libc_h_errno): Move declaration and macros out of
45267         [_LIBC_REENTRANT].
45268
45269         * include/resolv.h [_RESOLV_H_]:
45270         Don't include <tls.h>.
45271         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45272         * resolv/res_libc.c: Don't include <tls.h>.
45273         (_res): Use __attribute__ ((nocommon)) in place of
45274         __attribute__ ((section (".bss"))).
45275
45276         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45277         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45278
45279         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45280
45281         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45282         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45283
45284         * resolv/res_mkquery.c: Include <sys/time.h>.
45285
45286         * inet/ifreq.c: Moved to ...
45287         * sysdeps/unix/ifreq.c: ... here.
45288         * inet/ifreq.c: New file, true stub version.
45289
45290         * socket/sa_len.c: New file.
45291         * socket/Makefile (aux): Add it.
45292         * sysdeps/unix/sysv/linux/Makefile
45293         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45294         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45295         and #include <socket/sa_len.c>.
45296         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45297         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45298
45299         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45300         * bits/socket.h: ... here.
45301
45302         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45303         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45304         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45305
45306 2013-08-27  Andreas Schwab  <schwab@suse.de>
45307
45308         [BZ #15736]
45309         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45310         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45311         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45312         * string/test-strcasecmp.c (test_main): Run tests in several
45313         locales.
45314         * string/test-strncasecmp.c (test_main): Likewise.
45315
45316         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45317         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45318         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45319         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45320         (__strncasecmp_ssse3) [PIC]: Likewise.
45321
45322 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45323
45324         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45325
45326         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45327         instead of explicitly declaring xdecrypt.
45328         * nis/nss_nis/nis-publickey.c: Likewise.
45329
45330 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45331
45332         [BZ #15890]
45333         * nscd/aicache.c: Include res_hconf.h.
45334         (addhstaiX): Initialize res_hconf.
45335
45336 2013-08-26  Andreas Schwab  <schwab@suse.de>
45337
45338         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45339         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45340
45341 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45342
45343         * nscd/aicache.c (addhstaiX): Fix indentation.
45344
45345 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45346
45347         * configure.ac: Quote $build_pt_chown test.
45348         * configure: Regenerated.
45349
45350 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45351
45352         [BZ #15532]
45353         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45354         * math/s_cexpf.c (__cexpf): Likewise.
45355         * math/s_cexpl.c (__cexpl): Likewise.
45356         * math/libm-test.inc (cexp_test_data): Correct expected return
45357         value for NaN + i0.  Add another test.
45358
45359 2013-08-22  David S. Miller  <davem@davemloft.net>
45360
45361         * po/ca.po: Update Catalan translation from translation project.
45362         * po/uk.po: Add Ukrainian translations from translation project.
45363
45364 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45365
45366         [BZ #15797]
45367         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45368         is infinite, not alongside NaN test.
45369         * math/s_fdimf.c (__fdimf): Likewise.
45370         * math/s_fdiml.c (__fdiml): Likewise.
45371         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45372         errno is unchanged.
45373
45374 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45375
45376         * argp/argp-help.c: Fix typos.
45377         * crypt/speeds.c: Likewise.
45378         * csu/check_fds.c: Likewise.
45379         * elf/dl-load.c: Likewise.
45380         * elf/dl-open.c: Likewise.
45381         * elf/reldep3.c: Likewise.
45382         * elf/reldep.c: Likewise.
45383         * elf/sprof.c: Likewise.
45384         * iconv/iconv_charmap.c: Likewise.
45385         * iconv/skeleton.c: Likewise.
45386         * iconv/strtab.c: Likewise.
45387         * io/lockf64.c: Likewise.
45388         * libio/libioP.h: Likewise.
45389         * resolv/gai_notify.c: Likewise.
45390         * resolv/ns_name.c: Likewise.
45391         * resolv/ns_samedomain.c: Likewise.
45392         * resolv/res_send.c: Likewise.
45393         * stdlib/random.c: Likewise.
45394         * sunrpc/rpc/xdr.h: Likewise.
45395         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45396         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45397         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45398         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45400         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45401         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45402         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45403         * sysdeps/mach/hurd/check_fds.c: Likewise.
45404         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45406         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45407         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45408         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45409         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45410         * sysdeps/pthread/aio_notify.c: Likewise.
45411         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45412         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45413         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45414         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45415         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45416
45417 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45418
45419         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45420         version if bit_Slow_SSE4_2 is set.
45421         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45422         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45423
45424 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45425
45426         [BZ #15867]
45427         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45428         trampoline stack frame information.
45429         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45431         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45432         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45433         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45434         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45435         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45436         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45437         sa_flags value.
45438         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45439         interrupting a syscall and set with option SA_SIGINFO.
45440
45441 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45442
45443         [BZ #15531]
45444         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45445         argument is infinite.
45446         * math/s_cprojf.c (__cprojf): Likewise.
45447         * math/s_cprojl.c (__cprojl): Likewise.
45448         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45449         * math/libm-test.inc (cproj_test_data): Add more tests.
45450
45451         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45452
45453         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45454         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45455         size.  Use __ffs to determine corresponding shift.
45456
45457 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45458             Roland McGrath  <roland@hack.frob.com>
45459
45460         * Makefile (INSTALL): Remove trailing blank lines from output of
45461         makeinfo.
45462
45463 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45464
45465         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45466         Align 32 bit compat elf_greg to 8 bytes.
45467
45468 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45469
45470         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45471
45472 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45473
45474         * string/strcoll_l.c (coll_seq): New structure.
45475         (get_next_seq_cached): New function.
45476         (get_next_seq): New function.
45477         (do_compare): New function.
45478         (STRCOLL): Use GNU style definition.  Simplify implementation
45479         by using get_next_seq, get_next_seq_cached and do_compare.
45480
45481 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45482
45483         [BZ #14699]
45484         CVE-2013-4237
45485         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45486         member.
45487         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45488         member.
45489         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45490         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45491         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45492         conditional.
45493         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45494         GETDENTS_64BIT_ALIGNED.
45495         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45496         * manual/filesys.texi (Reading/Closing Directory): Document
45497         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45498         strongly.
45499         * manual/conf.texi (Limits for Files): Add portability note to
45500         NAME_MAX, PATH_MAX.
45501         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45502
45503 2013-08-13  Andreas Schwab  <schwab@suse.de>
45504
45505         [BZ #15749]
45506         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45507         of fabs.
45508         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45509         LDBL_MAX_EXP >= 16384]: Add tests for it.
45510
45511 2013-08-12  David S. Miller  <davem@davemloft.net>
45512
45513         * version.h (RELEASE): Set to "development".
45514         (VERSION): Set to "2.18.90".
45515         * NEWS: Add 2.19 section.
45516
45517 2013-08-03  David S. Miller  <davem@davemloft.net>
45518
45519         * po/ko.po: Update Korean translation from translation project.
45520
45521 2013-08-01  David S. Miller  <davem@davemloft.net>
45522
45523         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45524         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45525         Bilka.
45526
45527 2013-07-30  David S. Miller  <davem@davemloft.net>
45528
45529         * po/fr.po: Update French translation from translation project.
45530
45531 2013-07-28  David S. Miller  <davem@davemloft.net>
45532
45533         * po/cs.po: Update Czech translation from translation project.
45534
45535         * po/sv.po: Update Swedish translation from translation project.
45536
45537 2013-07-27  David S. Miller  <davem@davemloft.net>
45538
45539         * po/eo.po: Update Esperanto translation from translation project.
45540
45541         * po/vi.po: Update Vietnamese translation from translation project.
45542
45543         * po/de.po: Update German translation from translation project.
45544
45545 2013-07-26  David S. Miller  <davem@davemloft.net>
45546
45547         * po/bg.po: Update Bulgarian translation from translation project.
45548
45549         * po/nl.po: Update Dutch translation from translation project.
45550         * po/pl.po: Update Polish translation from translation project.
45551         * po/ru.po: Update Russian translation from translation project.
45552
45553 2013-07-24  David S. Miller  <davem@davemloft.net>
45554
45555         * po/libc.pot: Update.
45556
45557 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45558
45559         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45560         variable page size.
45561         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45562         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45563         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45564
45565 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45566
45567         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45568
45569 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45570             Andreas Schwab  <schwab@suse.de>
45571             Roland McGrath  <roland@hack.frob.com>
45572             Joseph Myers  <joseph@codesourcery.com>
45573             Carlos O'Donell  <carlos@redhat.com>
45574
45575         [BZ #15755]
45576         * config.h.in: Define HAVE_PT_CHOWN.
45577         * config.make.in (build-pt-chown): New variable.
45578         * configure.in (--enable-pt_chown): New configure option.
45579         * configure: Regenerate.
45580         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45581         build-pt-chown is enabled.
45582         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45583         pt_chown to fix pty ownership.
45584         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45585         CLOSE_ALL_FDS.
45586         * manual/install.texi (Configuring and compiling): Mention
45587         --enable-pt_chown. Add @findex for grantpt.
45588         * INSTALL: Regenerate.
45589
45590 2013-07-20  David S. Miller  <davem@davemloft.net>
45591
45592         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45593         difference between 32-bit and 64-bit.
45594
45595 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45596
45597         [BZ #15711]
45598         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45599         Avoid system header dependency with -ffreestanding.
45600         ($(objpfx)bits/syscall%d): Likewise.
45601
45602 2013-07-13  David S. Miller  <davem@davemloft.net>
45603
45604         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45605         underflows from atanl/atan2l due to bug 15319.
45606         (casinh_test_data): Likewise.
45607
45608 2013-07-07  David S. Miller  <davem@davemloft.net>
45609
45610         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45611
45612 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45613
45614         * sysdeps/i386/fpu/libm-test-ulps: Update.
45615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45616
45617 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45618
45619         * configure.in (--enable-lock-elision): Fix message text.
45620         * INSTALL: Regenerate.
45621         * configure: Regenerate.
45622
45623 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45624
45625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45626
45627 2013-07-03  Andreas Jaeger  <aj@suse.de>
45628
45629         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45630         define.
45631         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45632         (ptrace_peeksiginfo_args): Add.
45633         (__ptrace_peeksiginfo_flags): Add.
45634         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45636         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45637
45638 2013-07-03  Allan McRae  <allan@archlinux.org>
45639
45640         * sysdeps/i386/fpu/libm-test-ulps: Update.
45641
45642 2013-07-02  David S. Miller  <davem@davemloft.net>
45643
45644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45645
45646 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45647
45648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45649
45650 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45651
45652         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45654
45655 2013-07-02  Andi Kleen <ak@linux.intel.com>
45656
45657         * config.h.in (ENABLE_LOCK_ELISION): Add.
45658         * configure.in (--enable-lock-elision): Add option.
45659         * manual/install.texi: Document --enable lock elision.
45660         * configure: Regenerate
45661         * INSTALL: Regenerate.
45662
45663 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45664
45665         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45666         SSE4.2 strcasecmp for libc.a.
45667         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45668
45669 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45670
45671         [BZ #13304]
45672         * soft-fp/op-common.h (_FP_FMA): New macro.
45673         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45674         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45675         (_FP_MUL_MEAT_1_imm): ... here.
45676         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45677         (_FP_MUL_MEAT_1_wide): ... here.
45678         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45679         (_FP_MUL_MEAT_1_hard): ... here.
45680         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45681         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45682         (_FP_MUL_MEAT_2_wide): ... here.
45683         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45684         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45685         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45686         (_FP_MUL_MEAT_2_gmp): ... here.
45687         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45688         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45689         (_FP_MUL_MEAT_4_wide): ... here.
45690         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45691         (_FP_MUL_MEAT_4_gmp): ... here.
45692         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45693         (_FP_WFRACBITS_DW_S): Likewise.
45694         (_FP_WFRACXBITS_DW_S): Likewise.
45695         (_FP_HIGHBIT_DW_S): Likewise.
45696         (FP_FMA_S): Likewise.
45697         (_FP_FRAC_HIGH_DW_S): Likewise.
45698         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45699         (_FP_WFRACBITS_DW_D): Likewise.
45700         (_FP_WFRACXBITS_DW_D): Likewise.
45701         (_FP_HIGHBIT_DW_D): Likewise.
45702         (FP_FMA_D): Likewise.
45703         (_FP_FRAC_HIGH_DW_D): Likewise.
45704         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45705         (_FP_WFRACBITS_DW_E): Likewise.
45706         (_FP_WFRACXBITS_DW_E): Likewise.
45707         (_FP_HIGHBIT_DW_E): Likewise.
45708         (FP_FMA_E): Likewise.
45709         (_FP_FRAC_HIGH_DW_E): Likewise.
45710         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45711         (_FP_WFRACBITS_DW_Q): Likewise.
45712         (_FP_WFRACXBITS_DW_Q): Likewise.
45713         (_FP_HIGHBIT_DW_Q): Likewise.
45714         (FP_FMA_Q): Likewise.
45715         (_FP_FRAC_HIGH_DW_Q): Likewise.
45716         * soft-fp/fmasf4.c: New file.
45717         * soft-fp/fmadf4.c: Likewise.
45718         * soft-fp/fmatf4.c: Likewise.
45719
45720 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45721
45722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45723         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45724         Silvermont.
45725         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45726         macro.
45727         (index_Slow_SSE4_2): Likewise.
45728         (index_Prefer_PMINUB_for_stringop): Likewise.
45729         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45730         bit_Slow_SSE4_2 is set.
45731         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45732         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45733
45734 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45735
45736         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45737         rtld_global._dl_hwcap2.
45738         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45739         POWER8.
45740         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45741         POWER8 feature descriptions defined in _dl_hwcap2.
45742         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45743         string handling for POWER8 feature bits.
45744         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45745         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45746         _dl_powerpc_cap_flags.
45747         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45748         * sysdeps/powerpc/rtld-global-offsets.sym
45749         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45750         _dl_hwcap2 in the rtld_global_ro structure.
45751
45752 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45753
45754         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45755         hardware capabilities in support of AT_HWCAP2.
45756         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45757         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45758         GLRO(dl_hwcap2).
45759         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45760         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45761         explicitly the unknown a_type display mechanism is used.
45762         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45763         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45764         struct member.
45765         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45766         to macro prototype for AT_HWCAP2 support.
45767         * sysdeps/i386/dl-procinfo.h: Likewise.
45768         * sysdeps/s390/dl-procinfo.h: Likewise.
45769         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45770         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45771         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45772         return -1 for unknown a_type display fallback.
45773         * sysdeps/sparc/dl-procinfo.h: Likewise.
45774         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45775         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45776
45777 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45778
45779         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45780         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45781
45782 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45783
45784         [BZ #12492]
45785         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45786         mprotect making __stack_prot writable.
45787
45788 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45789             Joseph Myers  <joseph@codesourcery.com>
45790
45791         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45792         as being properly aligned.
45793
45794 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45795
45796         * dlfcn/modstatic5.c: New file.
45797         * dlfcn/tststatic5.c: New file.
45798         * dlfcn/Makefile (tests): Add tststatic5.
45799         (tests-static): Likewise.
45800         (modules-names): Add modstatic5.
45801         (tststatic5-ENV): New variable.
45802         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45803
45804         [BZ #15022]
45805         * elf/dl-support.c (_dl_main_map): New variable.
45806         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45807         (_dl_nns, _dl_load_adds): Set to 1.
45808         (_dl_initial_searchlist): Refer to _dl_main_map.
45809         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45810         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45811         call to _dl_get_origin.
45812         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45813         around call_map.
45814         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45815         * dlfcn/modstatic3.c: New file.
45816         * dlfcn/tststatic3.c: New file.
45817         * dlfcn/tststatic4.c: New file.
45818         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45819         (tests-static): Likewise.
45820         (modules-names): Add modstatic3.
45821         (tststatic3-ENV, tststatic4-ENV): New variables.
45822         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45823         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45824
45825 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45826
45827         * configure.in (CC): Require GCC version 4.4 or later.
45828         * configure: Regenerated.
45829         * manual/install.texi (Tools for Compilation): Update GCC version
45830         requirement.
45831         * INSTALL: Regenerated.
45832
45833 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45834
45835         [BZ #15674]
45836         * string/test-memcmp.c (check2): New.
45837         (main): Call check2.
45838
45839         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45840
45841 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45842
45843         [BZ #15022]
45844         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45845         over to...
45846         (dl_open_worker) [!SHARED]: ... here.
45847
45848 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45849
45850         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45851
45852 2013-06-25  Richard Henderson  <rth@redhat.com>
45853
45854         * locale/programs/locarchive.c: Include <libc-internal.h>
45855
45856 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45857
45858         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45859         trailing whitespace removed.
45860
45861 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45862
45863         [BZ #10283]
45864         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45865         * locale/programs/locarchive.c: Include libc-mmap.h.
45866         (prepare_address_space): Take two new outputs (the mmap base and len).
45867         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45868         values.
45869         (create_archive): Declare new mmap base and len values for
45870         prepare_address_space, and store the result in ah.
45871         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45872         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45873         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45874         Declare new mmap base and len values for
45875         prepare_address_space, and store the result in new_ah.
45876         (open_archive): Declare new mmap base and len values for
45877         prepare_address_space, and store the result in ah.
45878         (close_archive): If ah->mmap_base is not NULL, use that and
45879         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45880         * sysdeps/generic/libc-mmap.h: New file.
45881
45882 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45883
45884         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45885         (ALIGN_UP): Likewise.
45886         (PTR_ALIGN_DOWN): Likewise.
45887         (PTR_ALIGN_UP): Likewise.
45888
45889 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45890
45891         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45892         entry mapped to PPC_PLATFORM_POWER8.
45893         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45894         POWER8.
45895         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45896         (_dl_string_platform): Add case for exporting platform position for
45897         POWER8.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45899         search path to sysdeps/powerpc/powerpc32/power8 directory.
45900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45901         search path to sysdeps/powerpc/powerpc64/power8 directory.
45902         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45903         power7 directories.
45904         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45905         power7 directories.
45906
45907 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45908
45909         * INSTALL: Regenerate.
45910
45911         * nscd/connections.c (nscd_init): Fix comment.
45912
45913 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45914
45915         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45916
45917         [BZ #15667]
45918         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45919         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45920
45921 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45922
45923         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45924         DL_DST_REQ_STATIC.
45925         (DL_DST_REQ_STATIC): Remove macro.
45926
45927 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45928
45929         [BZ #7006]
45930         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45931         with a shift of 0 bits.
45932
45933 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45934
45935         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45936         $(tststatic-ENV).
45937
45938 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45939
45940         [BZ #15655]
45941         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45942
45943 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45944
45945         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45946         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45947         accepts -fno-tree-loop-distribute-patterns.
45948         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45949         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45950         recursive call.
45951         * string/memset.c (memset): Likewise.
45952         * string/test-memmove.c (simple_memmove): Disable loop transformation
45953         to library calls.
45954         * string/test-memset.c (simple_memset): Likewise.
45955         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45956         * benchtests/bench-memset.c (simple_memset): Likewise.
45957         * configure: Regenerated.
45958
45959 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45960
45961         * math/test-misc.c (main): Ignore fesetround failure when failures
45962         of subsequent rounding tests would be ignored.
45963
45964         [BZ #15654]
45965         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45966         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45967         * math/fegetenv.c (__fegetenv): Return 0.
45968         * math/fegetexcept.c (fegetexcept): Return 0.
45969         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45970         FE_TONEAREST.
45971         * math/feholdexcpt.c (feholdexcept): Return 0.
45972         * math/fesetenv.c (__fesetenv): Return 0.
45973         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45974         argument FE_TONEAREST.
45975         * math/feupdateenv.c (__feupdateenv): Return 0.
45976         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45977
45978 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45979
45980         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45981         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45982         ($(objpfx)rtld-%.os rules): Use them.
45983
45984 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45985
45986         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45987         fields.
45988
45989 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45990
45991         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45992         length of target pattern, then descending length of dependency pattern.
45993         * configure.in (AWK): Require gawk 3.1.2 or newer.
45994         * manual/install.texi (Tools for Compilation): Say that we do.
45995         * configure: Regenerated.
45996
45997         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45998         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45999         * scripts/sysd-rules.awk: ... this new script.
46000         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46001         than a glob-style pattern.
46002
46003 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46004
46005         * math/test-misc.c (main): Do not treat incorrectly rounded
46006         conversions as failure unless ROUNDING_TESTS passes.
46007
46008 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46009
46010         [BZ #15631]
46011         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46012         restore exception state around main square root computation, then
46013         check for inexactness explicitly.
46014
46015         * math/libm-test.inc (fma_test_data): Add another test.
46016
46017 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46018
46019         * manual/threads.texi (Non-POSIX Extensions): New document
46020         node.  Document pthread_getattr_default_np and
46021         pthread_setattr_default_np.
46022
46023         * Versions.def (libpthread): Add GLIBC_2.18.
46024         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46026         Likewise.
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46028         Likewise.
46029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46030         Likewise.
46031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46032         Likewise.
46033         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46034         Likewise.
46035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46036         Likewise.
46037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46038         Likewise.
46039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46040         Likewise.
46041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46042         Likewise.
46043
46044 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46045
46046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46047         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46048
46049 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46050             H.J. Lu  <hjl.tools@gmail.com>
46051
46052         [BZ #15627]
46053         * sysdeps/x86_64/rtld-memset.c: Remove file.
46054         * sysdeps/x86_64/rtld-memset.S: New file.
46055
46056 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46057
46058         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46059         (test_in_one_mode): Take arguments for whether the rounding mode
46060         is supported for each floating-point type.
46061         (do_test): Pass new arguments to test_in_one_mode using
46062         ROUNDING_TESTS.
46063
46064 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46065
46066         * posix/tst-waitid.c (do_test): Distinguish different instances of
46067         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46068         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46069         before entering the kernel for waitpid.
46070
46071 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46072
46073         * NEWS: Fix note on clock function precision.  Text by Roland
46074         McGrath.
46075
46076 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46077
46078         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46079         it into place only when and if the sanity check passes.
46080
46081 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46082
46083         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46084         output for whether conversion result is exact.  Take argument
46085         indicating whether type is IBM long double.
46086         (round_for_all): Change need_exact field to ibm_ld.
46087         * stdlib/tst-strtod-round.c (struct exactness): New type.
46088         (struct test): Change bool ld_ok field to struct exactness exact.
46089         (TEST): Update all definitions for change to field.
46090         (tests): Regenerate array contents.
46091         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46092         field value.  Check for IBM long double here.
46093         (do_test): Update calls to test_in_one_mode.
46094
46095 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46096
46097         [BZ #12515]
46098         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46099         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46100
46101 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46102
46103         [BZ #15605]
46104         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46105         generated by the compiler on loop optimizations.
46106         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46107         general definitions.
46108
46109 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46110
46111         * math/bug-nextafter.c: Include <math-tests.h>.
46112         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46113         the relevant type.
46114         * math/bug-nexttoward.c: Include <math-tests.h>.
46115         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46116         the relevant type.
46117         * math/test-misc.c: Include <math-tests.h>.
46118         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46119         the relevant type.
46120
46121 2013-06-12  Andreas Jaeger  <aj@suse.de>
46122
46123         * po/ia.po: Update Interlingua translation from translation
46124         project.
46125
46126 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46127
46128         * include/fenv.h: Include stdbool.h.
46129         (struct rm_ctx): New structure.
46130         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46131         Define macro.
46132         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46133         (SET_RESTORE_ROUNDF): Likewise.
46134         (SET_RESTORE_ROUNDL): Likewise.
46135         (SET_RESTORE_ROUND_NOEX): Likewise.
46136         (SET_RESTORE_ROUND_NOEXF): Likewise.
46137         (SET_RESTORE_ROUND_NOEXL): Likewise.
46138         (SET_RESTORE_ROUND_53BIT): Likewise.
46139         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46140         (libc_feresetround_noexf_ctx): Likewise.
46141         (libc_feresetround_noexl_ctx): Likewise.
46142         (libc_feholdsetround_53bit_ctx): Likewise.
46143         (libc_feresetround_53bit_ctx): Likewise.
46144         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46145         (libc_feholdexcept_setround_sse_ctx): New function.
46146         (libc_fesetenv_sse_ctx): Likewise.
46147         (libc_feupdateenv_sse_ctx): Likewise.
46148         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46149         (libc_feholdexcept_setround_387_ctx): Likewise.
46150         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46151         (libc_feholdsetround_387_prec_ctx): Likewise.
46152         (libc_feholdsetround_387_ctx): Likewise.
46153         (libc_feholdsetround_387_53bit_ctx): Likewise.
46154         (libc_feholdsetround_sse_ctx): Likewise.
46155         (libc_feresetround_sse_ctx): Likewise.
46156         (libc_feresetround_387_ctx): Likewise.
46157         (libc_feupdateenv_387_ctx): Likewise.
46158         (libc_feholdexcept_setroundf_ctx): Define macro.
46159         (libc_fesetenvf_ctx): Likewise.
46160         (libc_feupdateenvf_ctx): Likewise.
46161         (libc_feholdsetroundf_ctx): Likewise.
46162         (libc_feresetroundf_ctx): Likewise.
46163         (libc_feholdexcept_setround_ctx): Likewise.
46164         (libc_fesetenv_ctx): Likewise.
46165         (libc_feupdateenv_ctx): Likewise.
46166         (libc_feholdsetround_ctx): Likewise.
46167         (libc_feresetround_ctx): Likewise.
46168         (libc_feholdexcept_setroundl_ctx): Likewise.
46169         (libc_feupdateenvl_ctx): Likewise.
46170         (libc_feholdsetroundl_ctx): Likewise.
46171         (libc_feresetroundl_ctx): Likewise.
46172         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46173         (libc_feresetround_53bit_ctx): Likewise.
46174
46175 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46176
46177         * locale/iso-639.def: Convert to UTF-8.
46178
46179 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46180
46181         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46182         (EXCEPTION_TESTS_double): Likewise.
46183         (EXCEPTION_TESTS_long_double): Likewise.
46184         (EXCEPTION_TESTS): Likewise.
46185         * math/libm-test.inc (test_exceptions): Only test exceptions if
46186         EXCEPTION_TESTS (FLOAT).
46187
46188 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46189
46190         * benchtests/Makefile (string-bench): Add strcpy_chk and
46191         stpcpy_chk.
46192         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46193         * benchtests/bench-stpcpy_chk.c: New file.
46194         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46195         * benchtests/bench-strcpy_chk.c: New file.
46196         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46197         code.
46198         (do_test): Likewise.
46199
46200 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46201
46202         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46203         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46204         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46205         with tabs where appropriate.
46206         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46207         dl-procinfo.h.
46208         [PPC_PLATFORM_PPC440]: Likewise.
46209         [PPC_PLATFORM_PPC464]: Likewise.
46210         [PPC_PLATFORM_PPC476]: Likewise.
46211         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46212         ppc464, and ppc476 platform strings merging from ports/
46213         dl-procinfo.h.
46214
46215 2013-06-11  Andreas Schwab  <schwab@suse.de>
46216
46217         [BZ #14991]
46218         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46219         (from_ucs4_idx): Regenerate.
46220         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46221         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46222         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46223         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46224         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46225         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46226         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46227         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46228         from FROM_LOOP and TO_LOOP specific macros.
46229         (BODY): Handle combining characters.
46230         * iconvdata/BIG5HKSCS.irreversible: Update.
46231         * iconvdata/BIG5HKSCS.precomposed: New file.
46232         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46233         characters.
46234         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46235
46236 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46237
46238         * include/sys/time.h: Fix indentation and add copyright header.
46239
46240         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46241         (do_test): Likewise.
46242         * string/test-memchr.c (do_one_test): Likewise.
46243         (do_test): Likewise.
46244         * string/test-memcmp.c (do_one_test): Likewise.
46245         (do_test): Likewise.
46246         * string/test-memcpy.c (do_one_test): Likewise.
46247         (do_test): Likewise.
46248         * string/test-memmem.c (do_one_test): Likewise.
46249         (do_test): Likewise.
46250         (do_random_tests): Likewise.
46251         * string/test-memmove.c (do_one_test): Likewise.
46252         (do_test): Likewise.
46253         * string/test-memset.c (do_one_test): Likewise.
46254         (do_test): Likewise.
46255         * string/test-rawmemchr.c (do_one_test): Likewise.
46256         (do_test): Likewise.
46257         * string/test-strcasecmp.c (do_one_test): Likewise.
46258         (do_test): Likewise.
46259         * string/test-strcasestr.c (do_one_test): Likewise.
46260         (do_test): Likewise.
46261         * string/test-strcat.c (do_one_test): Likewise.
46262         (do_test): Likewise.
46263         * string/test-strchr.c (do_one_test): Likewise.
46264         (do_test): Likewise.
46265         * string/test-strcmp.c (do_one_test): Likewise.
46266         (do_test): Likewise.
46267         * string/test-strcpy.c (do_one_test): Likewise.
46268         (do_test): Likewise.
46269         * string/test-string.h: Likewise.
46270         (test_init): Likewise.
46271         * string/test-strlen.c (do_one_test): Likewise.
46272         (do_test): Likewise.
46273         * string/test-strncasecmp.c (do_one_test): Likewise.
46274         (do_test): Likewise.
46275         * string/test-strncat.c (do_one_test): Likewise.
46276         (do_test): Likewise.
46277         * string/test-strncmp.c (do_one_test): Likewise.
46278         (do_test_limit): Likewise.
46279         (do_test): Likewise.
46280         * string/test-strncpy.c (do_one_test): Likewise.
46281         (do_test): Likewise.
46282         * string/test-strnlen.c (do_one_test): Likewise.
46283         (do_test): Likewise.
46284         * string/test-strpbrk.c (do_one_test): Likewise.
46285         (do_test): Likewise.
46286         * string/test-strrchr.c (do_one_test): Likewise.
46287         (do_test): Likewise.
46288         * string/test-strspn.c (do_one_test): Likewise.
46289         (do_test): Likewise.
46290         * string/test-strstr.c (do_one_test): Likewise.
46291         (do_test): Likewise.
46292
46293         * benchtests/Makefile (string-bench): Add string benchmarks.
46294         * benchtests/bench-bcopy-ifunc.c: New file.
46295         * benchtests/bench-bcopy.c: New file.
46296         * benchtests/bench-bzero-ifunc.c: New file.
46297         * benchtests/bench-bzero.c: New file.
46298         * benchtests/bench-memccpy-ifunc.c: New file.
46299         * benchtests/bench-memccpy.c: New file.
46300         * benchtests/bench-memchr-ifunc.c: New file.
46301         * benchtests/bench-memchr.c: New file.
46302         * benchtests/bench-memcmp-ifunc.c: New file.
46303         * benchtests/bench-memcmp.c: New file.
46304         * benchtests/bench-memmem-ifunc.c: New file.
46305         * benchtests/bench-memmem.c: New file.
46306         * benchtests/bench-memmove-ifunc.c: New file.
46307         * benchtests/bench-memmove.c: New file.
46308         * benchtests/bench-mempcpy-ifunc.c: New file.
46309         * benchtests/bench-mempcpy.c: New file.
46310         * benchtests/bench-memset-ifunc.c: New file.
46311         * benchtests/bench-memset.c: New file.
46312         * benchtests/bench-rawmemchr-ifunc.c: New file.
46313         * benchtests/bench-rawmemchr.c: New file.
46314         * benchtests/bench-stpcpy-ifunc.c: New file.
46315         * benchtests/bench-stpcpy.c: New file.
46316         * benchtests/bench-stpncpy-ifunc.c: New file.
46317         * benchtests/bench-stpncpy.c: New file.
46318         * benchtests/bench-strcasecmp-ifunc.c: New file.
46319         * benchtests/bench-strcasecmp.c: New file.
46320         * benchtests/bench-strcasestr-ifunc.c: New file.
46321         * benchtests/bench-strcasestr.c: New file.
46322         * benchtests/bench-strcat-ifunc.c: New file.
46323         * benchtests/bench-strcat.c: New file.
46324         * benchtests/bench-strchr-ifunc.c: New file.
46325         * benchtests/bench-strchr.c: New file.
46326         * benchtests/bench-strchrnul-ifunc.c: New file.
46327         * benchtests/bench-strchrnul.c: New file.
46328         * benchtests/bench-strcmp-ifunc.c: New file.
46329         * benchtests/bench-strcmp.c: New file.
46330         * benchtests/bench-strcpy-ifunc.c: New file.
46331         * benchtests/bench-strcpy.c: New file.
46332         * benchtests/bench-strcspn-ifunc.c: New file.
46333         * benchtests/bench-strcspn.c: New file.
46334         * benchtests/bench-strlen-ifunc.c: New file.
46335         * benchtests/bench-strlen.c: New file.
46336         * benchtests/bench-strncasecmp-ifunc.c: New file.
46337         * benchtests/bench-strncasecmp.c: New file.
46338         * benchtests/bench-strncat-ifunc.c: New file.
46339         * benchtests/bench-strncat.c: New file.
46340         * benchtests/bench-strncmp-ifunc.c: New file.
46341         * benchtests/bench-strncmp.c: New file.
46342         * benchtests/bench-strncpy-ifunc.c: New file.
46343         * benchtests/bench-strncpy.c: New file.
46344         * benchtests/bench-strnlen-ifunc.c: New file.
46345         * benchtests/bench-strnlen.c: New file.
46346         * benchtests/bench-strpbrk-ifunc.c: New file.
46347         * benchtests/bench-strpbrk.c: New file.
46348         * benchtests/bench-strrchr-ifunc.c: New file.
46349         * benchtests/bench-strrchr.c: New file.
46350         * benchtests/bench-strspn-ifunc.c: New file.
46351         * benchtests/bench-strspn.c: New file.
46352         * benchtests/bench-strstr-ifunc.c: New file.
46353         * benchtests/bench-strstr.c: New file.
46354
46355         * benchtests/Makefile: Disable parallel execution of targets.
46356         (string-bench): Add memcpy.
46357         (benchset): New variable to store a list of benchmark sets.
46358         (bench-func): Renamed from bench.
46359         (bench-set): New target.
46360         (bench): Depend on bench-func and bench-set.
46361         * benchtests/README: Add section on benchmark sets.
46362         * benchtests/bench-memcpy-ifunc.c: New file.
46363         * benchtests/bench-memcpy.c: New file.
46364         * benchtests/bench-string.h: New file.
46365
46366 2013-06-11  Andreas Schwab  <schwab@suse.de>
46367
46368         [BZ #15577]
46369         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46370         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46371         values in the triple.
46372         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46373         terminator in the group key.
46374
46375 2013-06-11  Andreas Jaeger  <aj@suse.de>
46376
46377         * po/zh_TW.po: Update Chinese (traditional) translation from
46378         translation project.
46379
46380 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46381
46382         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46383         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46384         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46386         (clock_getcpuclockid): Likewise.
46387         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46388         Add weak_alias and libc_hidden_def.
46389         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46390         * rt/clock_gettime.c (clock_gettime): Rename to
46391         __clock_gettime.  Add weak_alias and libc_hidden_def.
46392         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46393         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46394         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46395         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46396         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46397         Likewise.
46398         * rt/clock_settime.c (clock_settime): Rename to
46399         __clock_settime.  Add weak_alias and libc_hidden_def.
46400         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46401
46402 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46403
46404         * mach/err_boot.sub: Remove trailing whitespace.
46405         * mach/err_ipc.sub: Likewise.
46406         * mach/err_mach.sub: Likewise.
46407
46408         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46409         (ROUNDING_TESTS_double): Likewise.
46410         (ROUNDING_TESTS_long_double): Likewise.
46411         (ROUNDING_TESTS): Likewise.
46412         * math/libm-test.inc: Include <math-tests.h>.
46413         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46414         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46415         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46416         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46417
46418 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46419
46420         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46421         of assigning.
46422
46423 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46424
46425         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46426         otherwise empty TRANS lines.
46427         * sysdeps/gnu/errlist.c: Regenerated.
46428
46429         * catgets/gencat.c (error_print): Use (void) in function
46430         definition.
46431         * crypt/crypt_util.c (__init_des): Likewise.
46432         * crypt/speeds.c (Stop): Likewise.
46433         (main): Likewise.
46434         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46435         * inet/ruserpass.c (token): Likewise.
46436         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46437         * intl/localealias.c (extend_alias_table): Likewise.
46438         * intl/plural-exp.c (init_germanic_plural): Likewise.
46439         * libio/fcloseall.c (__fcloseall): Likewise.
46440         * libio/genops.c (_IO_flush_all): Likewise.
46441         (_IO_flush_all_linebuffered): Likewise.
46442         (_IO_cleanup): Likewise.
46443         (_IO_iter_begin): Likewise.
46444         (_IO_iter_end): Likewise.
46445         (_IO_list_lock): Likewise.
46446         (_IO_list_unlock): Likewise.
46447         (_IO_list_resetlock): Likewise.
46448         * libio/getchar.c (getchar): Likewise.
46449         * libio/getchar_u.c (getchar_unlocked): Likewise.
46450         * libio/getwchar.c (getwchar): Likewise.
46451         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46452         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46453         * login/getpt.c (__getpt): Likewise.
46454         * login/tst-utmp.c (main): Likewise.
46455         * malloc/hooks.c (__malloc_check_init): Likewise.
46456         * malloc/malloc.c (__malloc_stats): Likewise.
46457         * malloc/mtrace.c (tr_break): Likewise.
46458         (mtrace): Likewise.
46459         (muntrace): Likewise.
46460         * misc/fstab.c (endfsent): Likewise.
46461         * misc/getclktck.c (__getclktck): Likewise.
46462         * misc/getdtsz.c (__getdtablesize): Likewise.
46463         * misc/gethostid.c (gethostid): Likewise.
46464         * misc/getpagesize.c (__getpagesize): Likewise.
46465         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46466         (__get_nprocs): Likewise.
46467         (__get_phys_pages): Likewise.
46468         (__get_avphys_pages): Likewise.
46469         * misc/getttyent.c (getttyent): Likewise.
46470         (setttyent): Likewise.
46471         (endttyent): Likewise.
46472         * misc/getusershell.c (getusershell): Likewise.
46473         (endusershell): Likewise.
46474         (setusershell): Likewise.
46475         (initshells): Likewise.
46476         * misc/hsearch.c (__hdestroy): Likewise.
46477         * misc/sync.c (sync): Likewise.
46478         * misc/syslog.c (closelog_internal): Likewise.
46479         (closelog): Likewise.
46480         * misc/ttyslot.c (ttyslot): Likewise.
46481         * misc/vhangup.c (vhangup): Likewise.
46482         * posix/fork.c (__fork): Likewise.
46483         * posix/getegid.c (__getegid): Likewise.
46484         * posix/geteuid.c (__geteuid): Likewise.
46485         * posix/getgid.c (__getgid): Likewise.
46486         * posix/getpid.c (__getpid): Likewise.
46487         * posix/getppid.c (__getppid): Likewise.
46488         * posix/getuid.c (__getuid): Likewise.
46489         * posix/pause.c (pause): Likewise.
46490         * posix/setpgrp.c (setpgrp): Likewise.
46491         * posix/setsid.c (__setsid): Likewise.
46492         * posix/test-vfork.c (noop): Likewise.
46493         * resolv/gethnamaddr.c (_endhtent): Likewise.
46494         (_gethtent): Likewise.
46495         (ht_endhostent): Likewise.
46496         (gethostent): Likewise.
46497         (dns_service): Likewise.
46498         * stdlib/drand48.c (drand48): Likewise.
46499         * stdlib/lrand48.c (lrand48): Likewise.
46500         * stdlib/mrand48.c (mrand48): Likewise.
46501         * stdlib/rand.c (rand): Likewise.
46502         * stdlib/random.c (__random): Likewise.
46503         * stdlib/setenv.c (clearenv): Likewise.
46504         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46505         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46506         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46507         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46508         (__get_nprocs): Likewise.
46509         (__get_phys_pages): Likewise.
46510         (__get_avphys_pages): Likewise.
46511         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46512         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46513         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46514         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46515         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46516         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46517         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46518         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46519         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46520         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46521         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46522         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46523         * sysdeps/posix/clock.c (clock): Likewise.
46524         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46525         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46526         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46527         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46528         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46530         (__get_nprocs_conf): Likewise.
46531         (__get_phys_pages): Likewise.
46532         (__get_avphys_pages): Likewise.
46533         * time/clock.c (clock): Likewise.
46534         * time/tzset.c (__tzname_max): Likewise.
46535
46536 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46537
46538         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46539         (__bswap_32): Do not use "register".
46540         * crypt/crypt.c (_ufc_doit_r): Likewise.
46541         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46542         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46543         * gmon/gmon.c (__monstartup): Likewise.
46544         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46545         * hurd/hurdmalloc.c (more_memory): Likewise.
46546         (malloc): Likewise.
46547         (free): Likewise.
46548         (realloc): Likewise.
46549         (malloc_fork_prepare): Likewise.
46550         (malloc_fork_parent): Likewise.
46551         (malloc_fork_child): Likewise.
46552         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46553         (_svcauth_des): Likewise.
46554         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46555         * inet/inet_net.c (inet_network): Likewise.
46556         * inet/inet_netof.c (inet_netof): Likewise.
46557         * inet/rcmd.c (__validuser2_sa): Likewise.
46558         * io/fts.c (fts_open): Likewise.
46559         (fts_load): Likewise.
46560         (fts_close): Likewise.
46561         (fts_read): Likewise.
46562         (fts_children): Likewise.
46563         (fts_build): Likewise.
46564         (fts_stat): Likewise.
46565         (fts_sort): Likewise.
46566         (fts_alloc): Likewise.
46567         (fts_lfree): Likewise.
46568         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46569         (_IO_file_xsgetn): Likewise.
46570         (_IO_file_xsgetn_mmap): Likewise.
46571         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46572         (_IO_cookie_write): Likewise.
46573         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46574         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46575         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46576         * malloc/obstack.c (_obstack_begin): Likewise.
46577         (_obstack_begin_1): Likewise.
46578         (_obstack_newchunk): Likewise.
46579         (_obstack_allocated_p): Likewise.
46580         (obstack_free): Likewise.
46581         (_obstack_memory_used): Likewise.
46582         * misc/getttyent.c (getttynam): Likewise.
46583         (getttyent): Likewise.
46584         (skip): Likewise.
46585         (value): Likewise.
46586         * misc/getusershell.c (initshells): Likewise.
46587         * misc/syslog.c (__vsyslog_chk): Likewise.
46588         * misc/ttyslot.c (ttyslot): Likewise.
46589         * nis/nis_hash.c (__nis_hash): Likewise.
46590         * posix/fnmatch_loop.c (FCT): Likewise.
46591         * posix/getconf.c (print_all): Likewise.
46592         (main): Likewise.
46593         * posix/getopt.c (exchange): Likewise.
46594         * posix/glob.c (globfree): Likewise.
46595         (prefix_array): Likewise.
46596         (__glob_pattern_type): Likewise.
46597         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46598         (NS_GET32): Likewise.
46599         (NS_PUT16): Likewise.
46600         (NS_PUT32): Likewise.
46601         * resolv/gethnamaddr.c (getanswer): Likewise.
46602         (gethostbyname2): Likewise.
46603         (gethostbyaddr): Likewise.
46604         (_gethtent): Likewise.
46605         (_gethtbyname2): Likewise.
46606         (_gethtbyaddr): Likewise.
46607         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46608         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46609         * resolv/res_init.c (__res_vinit): Likewise.
46610         (net_mask): Likewise.
46611         * resolv/res_mkquery.c (outchar): Likewise.
46612         (PRINT): Likewise.
46613         * stdio-common/printf_fp.c (outchar): Likewise.
46614         (PRINT): Likewise.
46615         * stdio-common/printf_fphex.c (outchar): Likewise.
46616         (PRINT): Likewise.
46617         * stdio-common/printf_size.c (outchar): Likewise.
46618         (PRINT): Likewise.
46619         * stdio-common/test_rdwr.c (main): Likewise.
46620         * stdio-common/tfformat.c (matches): Likewise.
46621         * stdio-common/vfprintf.c (outchar): Likewise.
46622         (printf_unknown): Likewise.
46623         (buffered_vfprintf): Likewise.
46624         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46625         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46626         (ReadFile): Likewise.
46627         * stdlib/qsort.c (SWAP): Likewise.
46628         (_quicksort): Likewise.
46629         * stdlib/setenv.c (__add_to_environ): Likewise.
46630         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46631         * stdlib/strtol_l.c (__strtol_l): Likewise.
46632         * stdlib/tst-strtod.c (main): Likewise.
46633         * stdlib/tst-strtol.c (main): Likewise.
46634         * stdlib/tst-strtoll.c (main): Likewise.
46635         * string/bits/string2.h (__strcmp_cc): Likewise.
46636         (__strcmp_cg): Likewise.
46637         (__strcspn_c1): Likewise.
46638         (__strcspn_c2): Likewise.
46639         (__strcspn_c3): Likewise.
46640         (__strspn_c1): Likewise.
46641         (__strspn_c2): Likewise.
46642         (__strspn_c3): Likewise.
46643         (__strsep_1c): Likewise.
46644         (__strsep_2c): Likewise.
46645         (__strsep_3c): Likewise.
46646         * string/memccpy.c (__memccpy): Likewise.
46647         * string/stpcpy.c (__stpcpy): Likewise.
46648         * string/strcmp.c (strcmp): Likewise.
46649         * string/strrchr.c (strrchr): Likewise.
46650         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46651         Likewise.
46652         * sysdeps/mach/hurd/getcwd.c
46653         (_hurd_canonicalize_directory_name_internal): Likewise.
46654         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46655         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46656         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46657         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46658         Likewise, in both definitions.
46659         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46660         definitions.
46661         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46662         64] (__bswap_64): Likewise.
46663         * time/test_time.c (main): Likewise.
46664         * time/tzfile.c (__tzfile_read): Likewise.
46665         (__tzfile_compute): Likewise.
46666         * time/tzset.c (__tzset_parse_tz): Likewise.
46667         (tzset_internal): Likewise.
46668         (compute_change): Likewise.
46669         * wcsmbs/wcscat.c (__wcscat): Likewise.
46670         * wcsmbs/wcschr.c (wcschr): Likewise.
46671         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46672         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46673         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46674         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46675         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46676         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46677         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46678         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46679         * wcsmbs/wmemset.c (wmemset): Likewise.
46680
46681 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46682
46683         * scripts/config.guess: Update to version 2013-05-16.
46684         * scripts/config.sub: Update to version 2013-04-24.
46685         * scripts/install-sh: Update to version 2011-11-20.07.
46686         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46687         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46688
46689 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46690
46691         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46692         * elf/sln.c: Likewise.
46693         * hurd/hurd/ioctl.h: Likewise.
46694         * hurd/hurdmalloc.c: Likewise.
46695         * hurd/xattr.c: Likewise.
46696         * include/shlib-compat.h: Likewise.
46697         * inet/ruserpass.c: Likewise.
46698         * libio/iofgets_u.c: Likewise.
46699         * libio/iofgetws_u.c: Likewise.
46700         * locale/programs/ld-identification.c: Likewise.
46701         * locale/programs/ld-time.c: Likewise.
46702         * mach/msg-destroy.c: Likewise.
46703         * nss/nss_files/files-netgrp.c: Likewise.
46704         * resolv/res_data.c: Likewise.
46705         * soft-fp/op-1.h: Likewise.
46706         * soft-fp/op-2.h: Likewise.
46707         * soft-fp/op-4.h: Likewise.
46708         * soft-fp/op-common.h: Likewise.
46709         * stdio-common/printf_fphex.c: Likewise.
46710         * stdlib/strtod_l.c: Likewise.
46711         * sunrpc/rpc/clnt.h: Likewise.
46712         * sysdeps/generic/framestate.c: Likewise.
46713         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46714         * sysdeps/i386/bsd-setjmp.S: Likewise.
46715         * sysdeps/i386/__longjmp.S: Likewise.
46716         * sysdeps/i386/setjmp.S: Likewise.
46717         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46718         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46719         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46720         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46721         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46722         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46723         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46724         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46726         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46727         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46728         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46729         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46730         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46731         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46732         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46733         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46734         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46735         * sysdeps/ieee754/support.c: Likewise.
46736         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46737         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46738         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46739         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46740         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46741         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46742         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46743         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46744         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46745         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46746         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46747         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46748         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46749         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46750         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46751         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46752         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46754
46755 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46756
46757         * posix/transbug.c: Remove executable mode.
46758
46759 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46760
46761         * crypt/speeds.c: Remove trailing whitespace.
46762         * dlfcn/default.c: Likewise.
46763         * elf/ifuncdep2.c: Likewise.
46764         * elf/ifuncmain1.c: Likewise.
46765         * elf/ifuncmain1vis.c: Likewise.
46766         * elf/testobj.h: Likewise.
46767         * elf/tst-stackguard1.c: Likewise.
46768         * gmon/sys/gmon.h: Likewise.
46769         * hurd/hurdmsg.c: Likewise.
46770         * hurd/new-fd.c: Likewise.
46771         * hurd/ports-get.c: Likewise.
46772         * iconvdata/ibm1008_420.c: Likewise.
46773         * inet/tst-getni1.c: Likewise.
46774         * inet/tst-getni2.c: Likewise.
46775         * libio/ioungetc.c: Likewise.
46776         * libio/wfiledoalloc.c: Likewise.
46777         * manual/libm-err-tab.pl: Likewise.
46778         * math/w_dremf.c: Likewise.
46779         * misc/ftruncate.c: Likewise.
46780         * posix/bug-glob2.c: Likewise.
46781         * posix/tst-pcre.c: Likewise.
46782         * posix/wait4.c: Likewise.
46783         * resolv/README: Likewise.
46784         * resolv/res_debug.h: Likewise.
46785         * resolv/tst-inet_ntop.c: Likewise.
46786         * setjmp/bug269-setjmp.c: Likewise.
46787         * soft-fp/extended.h: Likewise.
46788         * soft-fp/op-1.h: Likewise.
46789         * soft-fp/op-2.h: Likewise.
46790         * soft-fp/op-4.h: Likewise.
46791         * soft-fp/op-8.h: Likewise.
46792         * soft-fp/testit.c: Likewise.
46793         * stdio-common/bug16.c: Likewise.
46794         * stdlib/random.c: Likewise.
46795         * sunrpc/rpcsvc/rquota.x: Likewise.
46796         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46797         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46798         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46799         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46800         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46801         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46802         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46803         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46804         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46805         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46806         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46808         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46824         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46825         * sysdeps/ieee754/s_lib_version.c: Likewise.
46826         * sysdeps/mach/hurd/check_fds.c: Likewise.
46827         * sysdeps/mach/hurd/getsockname.c: Likewise.
46828         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46829         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46830         * sysdeps/powerpc/bits/link.h: Likewise.
46831         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46832         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46833         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46834         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46835         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46836         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46837         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46838         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46839         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46840         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46841         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46842         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46843         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46844         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46845         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46846         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46850         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46851         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46852         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46853         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46854         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46855         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46856         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46857         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46859         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46860         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46863         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46864         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46865         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46866         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46867         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46868         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46869         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46870         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46871         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46872         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46873         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46874         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46875         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46876         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46877         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46878         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46879         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46880         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46882         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46883         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46885         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46886         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46887         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46888         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46889         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46890         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46891         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46892         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46893         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46894         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46895         * sysdeps/powerpc/sysdep.h: Likewise.
46896         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46897         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46898         * sysdeps/sh/dl-trampoline.S: Likewise.
46899         * sysdeps/sh/memset.S: Likewise.
46900         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46901         * sysdeps/sh/strlen.S: Likewise.
46902         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46903         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46904         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46905         * sysdeps/sparc/sparc32/rem.S: Likewise.
46906         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46907         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46908         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46909         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46910         * sysdeps/sparc/sparc32/urem.S: Likewise.
46911         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46912         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46913         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46914         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46916         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46917         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46918         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46919         * sysdeps/unix/bsd/times.c: Likewise.
46920         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46921         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46925         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46926         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46927         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46928         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46929         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46930         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46931         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46932         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46933         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46934         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46935         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46936         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46937         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46938         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46939         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46940         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46941         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46942         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46943         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46944         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46945         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46946         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46948         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46949         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46950         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46951         * sysdeps/x86_64/strcspn.S: Likewise.
46952
46953 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46954
46955         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46956         generated file.  Regenerate properly from gen-translit.pl.
46957         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46958         locale/C-translit.h.
46959
46960 2013-06-05  Andreas Schwab  <schwab@suse.de>
46961
46962         [BZ #15100]
46963         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46964         week as 6 instead of -1.
46965         * time/tst-strptime.c (day_tests): Add test case.
46966
46967 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46968
46969         * sysdeps/generic/math_private.h
46970         (libc_feholdexcept_setround_53bit): Replace with
46971         libc_feholdsetround_53bit.
46972         (libc_feupdateenv_53bit): Replace with
46973         libc_feresetround_53bit.
46974         (SET_RESTORE_ROUND_53BIT): Adjust.
46975
46976 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46977
46978         * string/test-strchrnul.c: Add copyright header.
46979
46980         * posix/tst-getaddrinfo4.c: Increase test timeout.
46981
46982 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46983
46984         [BZ #15536]
46985         * math/libm-test.inc (MAX_EXP): Remove
46986         (MIN_EXP): Define.
46987         (ulp): Use MIN_EXP - MANT_DIG.
46988         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46989
46990 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46991
46992         * po/be.po: Revert last change.
46993         * po/zh_CN.po: Likewise.
46994         * po/header.pot: Likewise.
46995
46996 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46997
46998         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46999         link-libc-deps to empty as target-specific variable.
47000         * Makerules (link-libc-args): New variable.
47001         (libc-for-link): Likewise.
47002         (link-libc-deps): Likewise.
47003         (lib%.so): Depend on $(link-libc-deps).  Link with
47004         $(link-libc-args).
47005         (build-module): Link with $(link-libc-args).
47006         (build-module-asneeded): Likewise.
47007         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47008         list of objects.
47009         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47010         target-specific variable.
47011         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47012         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47013         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47014         libc.
47015         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47016         libc and ld.so.
47017         ($(objpfx)libpcprofile.so): Likewise.
47018         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47019         libc_nonshared.a.
47020         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47021         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47022         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47023         $(link-libc-deps).
47024         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47025         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47026         * login/Makefile ($(objpfx)libutil.so): Likewise.
47027         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47028         * math/Makefile ($(objpfx)libm.so): Likewise.
47029         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47030         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47031         variable instead of depending directly on libc.
47032         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47033         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47034         $(link-libc-deps).
47035         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47036         libc.
47037         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47038         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47039         ($(objpfx)libanl.so): Likewise.
47040         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47041         ld.so.
47042         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47043         $(link-libc-deps).
47044         * sysdeps/i386/fpu/Makefile: Remove file.
47045         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47046         ($(objpfx)libm.so): Remove dependency on ld.so.
47047
47048 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47049
47050         [BZ # 15553]
47051         * nis/yp_xdr.c (XDRMAXNAME): Define.
47052         (XDRMAXRECORD): Define.
47053         (xdr_domainname): Use XDRMAXNAME.
47054         (xdr_mapname): Likewise.
47055         (xdr_peername): Likewise.
47056         (xdr_keydat): Use XDRMAXRECORD.
47057         (xdr_valdat): Likewise.
47058
47059 2013-05-30  Jeff Law  <law@redhat.com>
47060
47061         [BZ #14256]
47062         * manual/errno.texi (ESTALE): Update to account for more than
47063         just NFS file systems.
47064         * sysdeps/gnu/errlist.c: Regenerated.
47065
47066 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47067
47068         [BZ #15465]
47069         * elf/Makefile (tests): Add tst-null-argv.
47070         (modules-names):  Add tst-null-argv-lib.
47071         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47072         (tst-null-argv-ENV): Set environment for tst-null-argv.
47073         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47074         (RTLD_PROGNAME): New macro.
47075         * elf/tst-null-argv.c: New test case.
47076         * elf/tst-null-argv-lib.c: Library for test case.
47077         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47078         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47079         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47080         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47081         * elf/dl-init.c (call_init): Likewise.
47082         (_dl_init): Likewise.
47083         * elf/dl-load.c (print_search_path): Likewise.
47084         (_dl_map_object): Likewise.
47085         * elf/dl-lookup.c (do_lookup_x): Likewise.
47086         (add_dependency): Likewise.
47087         (_dl_lookup_symbol_x): Likewise.
47088         (_dl_debug_bindings): Likewise.
47089         * elf/dl-open.c (_dl_show_scope): Likewise.
47090         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47091         * elf/dl-version.c (match_symbol): Likewise.
47092         (_dl_check_map_versions): Likewise.
47093         * elf/rtld.c (dl_main): Likewise.
47094         (print_unresolved): Use RTLD_PROGNAME.
47095         (print_missing_version): Likewise.
47096         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47097         (elf_machine_rela): Likewise.
47098         * sysdeps/powerpc/powerpc32/dl-machine.c
47099         (__process_machine_rela): Likewise.
47100         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47101         Likewise.
47102         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47103         Likewise.
47104         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47105         Likewise.
47106         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47108         Likewise.
47109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47110         Likewise.
47111         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47112
47113 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47114
47115         * po/be.po: Add descriptive title.
47116         * po/zh_CN.po: Likewise.
47117         * po/header.pot: Likewise.
47118
47119 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47120
47121         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47122         error message.
47123         (enlarge_archive): Likewise.
47124
47125 2013-05-28  Ben North  <ben@redfrontdoor.org>
47126
47127         * manual/arith.texi (frexp): It is the magnitude of the return
47128         value which lies in [0.5, 1), not the return value itself.
47129
47130 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47131
47132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47133
47134 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47135
47136         * stdio-common/bug26.c (main): Correct fscanf template.
47137
47138         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47139         declare _dl_skip_args.
47140
47141         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47142         Don't declare.
47143
47144         * manual/platform.texi: Add missing @end deftypefun.
47145
47146 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47147
47148         [BZ #15529]
47149         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47150         bit of mantissa of 2^16382.
47151         * math/libm-test.inc (hypot_test_data): Add more tests.
47152
47153         * math/libm-test.inc: Add drem and pow10 to list of tested
47154         functions.
47155         (pow10_test): New function.
47156         (drem_test): Likewise.
47157         (drem_test_tonearest): Likewise.
47158         (drem_test_towardzero): Likewise.
47159         (drem_test_downward): Likewise.
47160         (drem_test_upward): Likewise.
47161         (main): Call the new functions.
47162
47163         * math/libm-test.inc (finite_test_data): Remove.
47164         (finite_test): Run tests from isfinite_test_data.
47165         (gamma_test_data): Remove.
47166         (gamma_test): Run tests from lgamma_test_data.
47167         * sysdeps/i386/fpu/libm-test-ulps: Update.
47168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47169
47170 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47171
47172         * manual/platform.texi: Add PowerPC PPR function set documentation.
47173         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47174         implementation.
47175
47176 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47177
47178         * math/libm-test.inc (MAX_EXP): Define.
47179         (ULPDIFF): Define.
47180         (ulp): New function.
47181         (check_float_internal): Use ULPDIFF.
47182         (cpow_test): Disable failing test.
47183         (check_ulp): Test ulp() implemetnation.
47184         (main): Call check_ulp before starting tests.
47185
47186 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47187
47188         * math/gen-libm-test.pl (generate_testfile): Do not handle
47189         START_DATA and END_DATA.
47190         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47191         END_DATA.
47192         (acos_tonearest_test_data): Likewise.
47193         (acos_towardzero_test_data): Likewise.
47194         (acos_downward_test_data): Likewise.
47195         (acos_upward_test_data): Likewise.
47196         (acosh_test_data): Likewise.
47197         (asin_test_data): Likewise.
47198         (asin_tonearest_test_data): Likewise.
47199         (asin_towardzero_test_data): Likewise.
47200         (asin_downward_test_data): Likewise.
47201         (asin_upward_test_data): Likewise.
47202         (asinh_test_data): Likewise.
47203         (atan_test_data): Likewise.
47204         (atanh_test_data): Likewise.
47205         (atan2_test_data): Likewise.
47206         (cabs_test_data): Likewise.
47207         (cacos_test_data): Likewise.
47208         (cacosh_test_data): Likewise.
47209         (carg_test_data): Likewise.
47210         (casin_test_data): Likewise.
47211         (casinh_test_data): Likewise.
47212         (catan_test_data): Likewise.
47213         (catanh_test_data): Likewise.
47214         (cbrt_test_data): Likewise.
47215         (ccos_test_data): Likewise.
47216         (ccosh_test_data): Likewise.
47217         (ceil_test_data): Likewise.
47218         (cexp_test_data): Likewise.
47219         (cimag_test_data): Likewise.
47220         (clog_test_data): Likewise.
47221         (clog10_test_data): Likewise.
47222         (conj_test_data): Likewise.
47223         (copysign_test_data): Likewise.
47224         (cos_test_data): Likewise.
47225         (cos_tonearest_test_data): Likewise.
47226         (cos_towardzero_test_data): Likewise.
47227         (cos_downward_test_data): Likewise.
47228         (cos_upward_test_data): Likewise.
47229         (cosh_test_data): Likewise.
47230         (cosh_tonearest_test_data): Likewise.
47231         (cosh_towardzero_test_data): Likewise.
47232         (cosh_downward_test_data): Likewise.
47233         (cosh_upward_test_data): Likewise.
47234         (cpow_test_data): Likewise.
47235         (cproj_test_data): Likewise.
47236         (creal_test_data): Likewise.
47237         (csin_test_data): Likewise.
47238         (csinh_test_data): Likewise.
47239         (csqrt_test_data): Likewise.
47240         (ctan_test_data): Likewise.
47241         (ctan_tonearest_test_data): Likewise.
47242         (ctan_towardzero_test_data): Likewise.
47243         (ctan_downward_test_data): Likewise.
47244         (ctan_upward_test_data): Likewise.
47245         (ctanh_test_data): Likewise.
47246         (ctanh_tonearest_test_data): Likewise.
47247         (ctanh_towardzero_test_data): Likewise.
47248         (ctanh_downward_test_data): Likewise.
47249         (ctanh_upward_test_data): Likewise.
47250         (erf_test_data): Likewise.
47251         (erfc_test_data): Likewise.
47252         (exp_test_data): Likewise.
47253         (exp_tonearest_test_data): Likewise.
47254         (exp_towardzero_test_data): Likewise.
47255         (exp_downward_test_data): Likewise.
47256         (exp_upward_test_data): Likewise.
47257         (exp10_test_data): Likewise.
47258         (exp2_test_data): Likewise.
47259         (expm1_test_data): Likewise.
47260         (fabs_test_data): Likewise.
47261         (fdim_test_data): Likewise.
47262         (finite_test_data): Likewise.
47263         (floor_test_data): Likewise.
47264         (fma_test_data): Likewise.
47265         (fma_towardzero_test_data): Likewise.
47266         (fma_downward_test_data): Likewise.
47267         (fma_upward_test_data): Likewise.
47268         (fmax_test_data): Likewise.
47269         (fmin_test_data): Likewise.
47270         (fmod_test_data): Likewise.
47271         (fpclassify_test_data): Likewise.
47272         (frexp_test_data): Likewise.
47273         (gamma_test_data): Likewise.
47274         (hypot_test_data): Likewise.
47275         (ilogb_test_data): Likewise.
47276         (isfinite_test_data): Likewise.
47277         (isgreater_test_data): Likewise.
47278         (isgreaterequal_test_data): Likewise.
47279         (isinf_test_data): Likewise.
47280         (isless_test_data): Likewise.
47281         (islessequal_test_data): Likewise.
47282         (islessgreater_test_data): Likewise.
47283         (isnan_test_data): Likewise.
47284         (isnormal_test_data): Likewise.
47285         (issignaling_test_data): Likewise.
47286         (isunordered_test_data): Likewise.
47287         (j0_test_data): Likewise.
47288         (j1_test_data): Likewise.
47289         (jn_test_data): Likewise.
47290         (ldexp_test_data): Likewise.
47291         (lgamma_test_data): Likewise.
47292         (lrint_test_data): Likewise.
47293         (lrint_tonearest_test_data): Likewise.
47294         (lrint_towardzero_test_data): Likewise.
47295         (lrint_downward_test_data): Likewise.
47296         (lrint_upward_test_data): Likewise.
47297         (llrint_test_data): Likewise.
47298         (llrint_tonearest_test_data): Likewise.
47299         (llrint_towardzero_test_data): Likewise.
47300         (llrint_downward_test_data): Likewise.
47301         (llrint_upward_test_data): Likewise.
47302         (log_test_data): Likewise.
47303         (log10_test_data): Likewise.
47304         (log1p_test_data): Likewise.
47305         (log2_test_data): Likewise.
47306         (logb_test_data): Likewise.
47307         (logb_downward_test_data): Likewise.
47308         (lround_test_data): Likewise.
47309         (llround_test_data): Likewise.
47310         (modf_test_data): Likewise.
47311         (nearbyint_test_data): Likewise.
47312         (nextafter_test_data): Likewise.
47313         (nexttoward_test_data): Likewise.
47314         (pow_test_data): Likewise.
47315         (pow_tonearest_test_data): Likewise.
47316         (pow_towardzero_test_data): Likewise.
47317         (pow_downward_test_data): Likewise.
47318         (pow_upward_test_data): Likewise.
47319         (remainder_test_data): Likewise.
47320         (remainder_tonearest_test_data): Likewise.
47321         (remainder_towardzero_test_data): Likewise.
47322         (remainder_downward_test_data): Likewise.
47323         (remainder_upward_test_data): Likewise.
47324         (remquo_test_data): Likewise.
47325         (rint_test_data): Likewise.
47326         (rint_tonearest_test_data): Likewise.
47327         (rint_towardzero_test_data): Likewise.
47328         (rint_downward_test_data): Likewise.
47329         (rint_upward_test_data): Likewise.
47330         (round_test_data): Likewise.
47331         (scalb_test_data): Likewise.
47332         (scalbn_test_data): Likewise.
47333         (scalbln_test_data): Likewise.
47334         (signbit_test_data): Likewise.
47335         (sin_test_data): Likewise.
47336         (sin_tonearest_test_data): Likewise.
47337         (sin_towardzero_test_data): Likewise.
47338         (sin_downward_test_data): Likewise.
47339         (sin_upward_test_data): Likewise.
47340         (sincos_test_data): Likewise.
47341         (sinh_test_data): Likewise.
47342         (sinh_tonearest_test_data): Likewise.
47343         (sinh_towardzero_test_data): Likewise.
47344         (sinh_downward_test_data): Likewise.
47345         (sinh_upward_test_data): Likewise.
47346         (sqrt_test_data): Likewise.
47347         (tan_test_data): Likewise.
47348         (tan_tonearest_test_data): Likewise.
47349         (tan_towardzero_test_data): Likewise.
47350         (tan_downward_test_data): Likewise.
47351         (tan_upward_test_data): Likewise.
47352         (tanh_test_data): Likewise.
47353         (tgamma_test_data): Likewise.
47354         (trunc_test_data): Likewise.
47355         (y0_test_data): Likewise.
47356         (y1_test_data): Likewise.
47357         (yn_test_data): Likewise.
47358         (significand_test_data): Likewise.
47359
47360         * math/gen-libm-test.pl (@functions): Remove variable.
47361         (generate_testfile): Don't handle START and END lines.
47362         * math/libm-test.inc (START): New macro.
47363         (END): Likewise.
47364         (END_COMPLEX): Likewise.
47365         (acos_test): Use END macro without arguments.
47366         (acos_test_tonearest): Likewise.
47367         (acos_test_towardzero): Likewise.
47368         (acos_test_downward): Likewise.
47369         (acos_test_upward): Likewise.
47370         (acosh_test): Likewise.
47371         (asin_test): Likewise.
47372         (asin_test_tonearest): Likewise.
47373         (asin_test_towardzero): Likewise.
47374         (asin_test_downward): Likewise.
47375         (asin_test_upward): Likewise.
47376         (asinh_test): Likewise.
47377         (atan_test): Likewise.
47378         (atanh_test): Likewise.
47379         (atan2_test): Likewise.
47380         (cabs_test): Likewise.
47381         (cacos_test): Use END_COMPLEX macro without arguments.
47382         (cacosh_test): Likewise.
47383         (carg_test): Use END macro without arguments.
47384         (casin_test): Use END_COMPLEX macro without arguments.
47385         (casinh_test): Likewise.
47386         (catan_test): Likewise.
47387         (catanh_test): Likewise.
47388         (cbrt_test): Use END macro without arguments.
47389         (ccos_test): Use END_COMPLEX macro without arguments.
47390         (ccosh_test): Likewise.
47391         (ceil_test): Use END macro without arguments.
47392         (cexp_test): Use END_COMPLEX macro without arguments.
47393         (cimag_test): Use END macro without arguments.
47394         (clog_test): Use END_COMPLEX macro without arguments.
47395         (clog10_test): Likewise.
47396         (conj_test): Likewise.
47397         (copysign_test): Use END macro without arguments.
47398         (cos_test): Likewise.
47399         (cos_test_tonearest): Likewise.
47400         (cos_test_towardzero): Likewise.
47401         (cos_test_downward): Likewise.
47402         (cos_test_upward): Likewise.
47403         (cosh_test): Likewise.
47404         (cosh_test_tonearest): Likewise.
47405         (cosh_test_towardzero): Likewise.
47406         (cosh_test_downward): Likewise.
47407         (cosh_test_upward): Likewise.
47408         (cpow_test): Use END_COMPLEX macro without arguments.
47409         (cproj_test): Likewise.
47410         (creal_test): Use END macro without arguments.
47411         (csin_test): Use END_COMPLEX macro without arguments.
47412         (csinh_test): Likewise.
47413         (csqrt_test): Likewise.
47414         (ctan_test): Likewise.
47415         (ctan_test_tonearest): Likewise.
47416         (ctan_test_towardzero): Likewise.
47417         (ctan_test_downward): Likewise.
47418         (ctan_test_upward): Likewise.
47419         (ctanh_test): Likewise.
47420         (ctanh_test_tonearest): Likewise.
47421         (ctanh_test_towardzero): Likewise.
47422         (ctanh_test_downward): Likewise.
47423         (ctanh_test_upward): Likewise.
47424         (erf_test): Use END macro without arguments.
47425         (erfc_test): Likewise.
47426         (exp_test): Likewise.
47427         (exp_test_tonearest): Likewise.
47428         (exp_test_towardzero): Likewise.
47429         (exp_test_downward): Likewise.
47430         (exp_test_upward): Likewise.
47431         (exp10_test): Likewise.
47432         (exp2_test): Likewise.
47433         (expm1_test): Likewise.
47434         (fabs_test): Likewise.
47435         (fdim_test): Likewise.
47436         (finite_test): Likewise.
47437         (floor_test): Likewise.
47438         (fma_test): Likewise.
47439         (fma_test_towardzero): Likewise.
47440         (fma_test_downward): Likewise.
47441         (fma_test_upward): Likewise.
47442         (fmax_test): Likewise.
47443         (fmin_test): Likewise.
47444         (fmod_test): Likewise.
47445         (fpclassify_test): Likewise.
47446         (frexp_test): Likewise.
47447         (gamma_test): Likewise.
47448         (hypot_test): Likewise.
47449         (ilogb_test): Likewise.
47450         (isfinite_test): Likewise.
47451         (isgreater_test): Likewise.
47452         (isgreaterequal_test): Likewise.
47453         (isinf_test): Likewise.
47454         (isless_test): Likewise.
47455         (islessequal_test): Likewise.
47456         (islessgreater_test): Likewise.
47457         (isnan_test): Likewise.
47458         (isnormal_test): Likewise.
47459         (issignaling_test): Likewise.
47460         (isunordered_test): Likewise.
47461         (j0_test): Likewise.
47462         (j1_test): Likewise.
47463         (jn_test): Likewise.
47464         (ldexp_test): Likewise.
47465         (lgamma_test): Likewise.
47466         (lrint_test): Likewise.
47467         (lrint_test_tonearest): Likewise.
47468         (lrint_test_towardzero): Likewise.
47469         (lrint_test_downward): Likewise.
47470         (lrint_test_upward): Likewise.
47471         (llrint_test): Likewise.
47472         (llrint_test_tonearest): Likewise.
47473         (llrint_test_towardzero): Likewise.
47474         (llrint_test_downward): Likewise.
47475         (llrint_test_upward): Likewise.
47476         (log_test): Likewise.
47477         (log10_test): Likewise.
47478         (log1p_test): Likewise.
47479         (log2_test): Likewise.
47480         (logb_test): Likewise.
47481         (logb_test_downward): Likewise.
47482         (lround_test): Likewise.
47483         (llround_test): Likewise.
47484         (modf_test): Likewise.
47485         (nearbyint_test): Likewise.
47486         (nextafter_test): Likewise.
47487         (nexttoward_test): Likewise.
47488         (pow_test): Likewise.
47489         (pow_test_tonearest): Likewise.
47490         (pow_test_towardzero): Likewise.
47491         (pow_test_downward): Likewise.
47492         (pow_test_upward): Likewise.
47493         (remainder_test): Likewise.
47494         (remainder_test_tonearest): Likewise.
47495         (remainder_test_towardzero): Likewise.
47496         (remainder_test_downward): Likewise.
47497         (remainder_test_upward): Likewise.
47498         (remquo_test): Likewise.
47499         (rint_test): Likewise.
47500         (rint_test_tonearest): Likewise.
47501         (rint_test_towardzero): Likewise.
47502         (rint_test_downward): Likewise.
47503         (rint_test_upward): Likewise.
47504         (round_test): Likewise.
47505         (scalb_test): Likewise.
47506         (scalbn_test): Likewise.
47507         (scalbln_test): Likewise.
47508         (signbit_test): Likewise.
47509         (sin_test): Likewise.
47510         (sin_test_tonearest): Likewise.
47511         (sin_test_towardzero): Likewise.
47512         (sin_test_downward): Likewise.
47513         (sin_test_upward): Likewise.
47514         (sincos_test): Likewise.
47515         (sinh_test): Likewise.
47516         (sinh_test_tonearest): Likewise.
47517         (sinh_test_towardzero): Likewise.
47518         (sinh_test_downward): Likewise.
47519         (sinh_test_upward): Likewise.
47520         (sqrt_test): Likewise.
47521         (tan_test): Likewise.
47522         (tan_test_tonearest): Likewise.
47523         (tan_test_towardzero): Likewise.
47524         (tan_test_downward): Likewise.
47525         (tan_test_upward): Likewise.
47526         (tanh_test): Likewise.
47527         (tgamma_test): Likewise.
47528         (trunc_test): Likewise.
47529         (y0_test): Likewise.
47530         (y1_test): Likewise.
47531         (yn_test): Likewise.
47532         (significand_test): Likewise.
47533
47534 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47535
47536         [BZ #15381]
47537         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47538
47539 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47540
47541         [BZ #14894]
47542         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47543         __ppc_mdoio and __ppc_mdoom.
47544         * manual/platform.texi: Document new functions __ppc_yield,
47545         __ppc_mdoio and __ppc_mdoom.
47546
47547 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47548
47549         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47550         (main): Mention "tls" pseudo-hwcap is legacy.
47551         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47552
47553 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47554
47555         * math/gen-libm-test.pl (parse_args): Output only string of
47556         arguments as text for test name, not full call or descriptions of
47557         tests for extra outputs.
47558         (generate_testfile): Do not pass function name to parse_args.
47559         Generate this_func variable from START.
47560         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47561         field to arg_str.
47562         (struct test_ff_f_data): Likewise.
47563         (test_ff_f_data_nexttoward): Likewise.
47564         (struct test_fi_f_data): Likewise.
47565         (struct test_fl_f_data): Likewise.
47566         (struct test_if_f_data): Likewise.
47567         (struct test_fff_f_data): Likewise.
47568         (struct test_c_f_data): Likewise.
47569         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47570         (struct test_fF_f1_data): Likewise.
47571         (struct test_ffI_f1_data): Likewise.
47572         (struct test_c_c_data): Rename test_name field to arg_str.
47573         (struct test_cc_c_data): Likewise.
47574         (struct test_f_i_data): Likewise.
47575         (struct test_ff_i_data): Likewise.
47576         (struct test_f_l_data): Likewise.
47577         (struct test_f_L_data): Likewise.
47578         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47579         and extra2_name.
47580         (COMMON_TEST_SETUP): New macro.
47581         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47582         (COMMON_TEST_CLEANUP): Likewise.
47583         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47584         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47585         macros.
47586         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47587         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47588         macros.
47589         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47590         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47591         cleanup macros.
47592         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47593         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47594         macros.
47595         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47596         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47597         macros.
47598         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47599         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47600         cleanup macros.
47601         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47602         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47603         cleanup macros.
47604         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47605         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47606         cleanup macros.
47607         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47608         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47609         macros.
47610         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47611         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47612         macros.
47613         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47614         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47615         macros.
47616         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47617         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47618         cleanup macros.
47619         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47620         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47621         cleanup macros.
47622         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47623         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47624         macros.
47625         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47626         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47627         cleanup macros.
47628         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47629         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47630         macros.
47631         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47632         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47633         macros.
47634         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47635         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47636         cleanup macros.
47637         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47638
47639 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47640
47641         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47642         to _sifields.sigfault.
47643         (si_addr_lsb): Define new macro.
47644         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47645         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47646         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47647
47648 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47649
47650         [BZ #15441]
47651         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47652         returns -1.
47653         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47654         null return -1.
47655         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47656         loading the domain.
47657
47658 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47659
47660         * math/gen-libm-test.pl (parse_args): Do not include expected
47661         result in test name.
47662         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47663         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47664         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47665         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47666         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47668
47669 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47670
47671         * benchtests/Makefile: Sort function entries.
47672
47673         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47674         tanh, asinh, acosh, atanh.
47675         * benchtests/acos-inputs: New file.
47676         * benchtests/acosh-inputs: New file.
47677         * benchtests/asin-inputs: New file.
47678         * benchtests/asinh-inputs: New file.
47679         * benchtests/atanh-inputs: New file.
47680         * benchtests/cosh-inputs: New file.
47681         * benchtests/log-inputs: New file.
47682         * benchtests/sinh-inputs: New file.
47683         * benchtests/tanh-inputs: New file.
47684
47685 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47686
47687         [BZ #15339]
47688         * posix/tst-getaddrinfo4.c: New test.
47689         * posix/Makefile (tests): Add it.
47690
47691 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47692
47693         [BZ #15339]
47694         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47695         when no services were used.
47696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47697         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47698
47699 2013-05-21  Andreas Schwab  <schwab@suse.de>
47700
47701         [BZ #15014]
47702         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47703         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47704         successful.
47705         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47706         redundant variable declarations and reallocation of buffer when
47707         parsing as IPv6 address.  Always set NSS status when called from
47708         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47709         buffer too small.  Correct computation of needed size.
47710         * nss/Makefile (tests): Add test-digits-dots.
47711         * nss/test-digits-dots.c: New test.
47712
47713 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714
47715         * benchtests/Makefile: Remove instructions for adding
47716         benchmark tests.
47717         * benchtests/README: New file to explain how to execute and
47718         enhance the benchmark tests.
47719
47720 2013-05-21  Andreas Schwab  <schwab@suse.de>
47721
47722         [BZ #15493]
47723         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47724         * setjmp/tst-sigsetjmp.c: New test.
47725
47726 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47727
47728         * sysdeps/x86_64/memset.S (memset): New implementation.
47729         (__bzero): Likewise.
47730         (__memset_tail): New function.
47731
47732 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47733
47734         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47735         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47736         __memcpy_sse2_unaligned ifunc selection.
47737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47738         Add memcpy-sse2-unaligned.S.
47739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47740         Add: __memcpy_sse2_unaligned.
47741
47742 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47743
47744         [BZ #15490]
47745         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47746         math_force_eval before restoring floating-point envrionment.
47747         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47749         Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47751         <math_private.h>.
47752         (__nearbyintl): Use math_force_eval before restoring
47753         floating-point environment.
47754         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47755
47756         * math/gen-libm-test.pl (special_functions): Remove.
47757         (parse_args): Don't handle TEST_extra.  Handle functions with no
47758         return value.
47759         * math/libm-test.inc (struct test_sincos_data): Replace with
47760         struct test_fFF_11_data.
47761         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47762         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47763         (sincos_test_data): Change element type to struct
47764         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47765         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47766         RUN_TEST_LOOP_sincos.
47767         * math/README.libm-test: Don't mention special handling of
47768         individual functions.
47769         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47770         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47771         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47772         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47773         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47775
47776         * math/gen-libm-test.pl (get_variable): Remove function.
47777         (parse_args): Don't show pointer parameters to call in test
47778         names.  Use "extra output N" in test names for extra outputs
47779         rather than naming variables.
47780
47781 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47782
47783         [BZ #15488]
47784         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47785         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47786         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47787         double tests.
47788         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47789         disable.
47790         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47791         check_long_double.
47792
47793         * math/gen-libm-test.pl (@tests): Remove variable.
47794         ($count): Likewise.
47795         (new_test): Remove function.
47796         (show_exceptions): New function.
47797         (special_functions): Use show_exceptions instead of new_test.
47798         (parse_args): Likewise.
47799         (generate_testfile): Pass only function name in generated call to
47800         print_max_error or print_complex_max_error.
47801         (get_ulps): Do not handle complex tests specially.
47802         (output_test): Rename to ...
47803         (get_all_ulps_for_test): ... this.  Return a string rather than
47804         printing to a file.  Require ulps to be present.
47805         (output_ulps): Generate arrays rather than #defines.
47806         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47807         (struct ulp_data): New type.
47808         (BUILD_COMPLEX_ULP): Remove macro.
47809         (compare_ulp_data): New function.
47810         (find_ulps): Likewise.
47811         (find_test_ulps): Likewise.
47812         (find_function_ulps): Likewise.
47813         (find_complex_function_ulps): Likewise.
47814         (print_max_error): Determine allowed ulps using
47815         find_function_ulps.
47816         (print_complex_max_error): Determine allowed ulps using
47817         find_complex_function_ulps.
47818         (check_float_internal): Determine max ulps using find_test_ulps.
47819         (check_float): Do not take max_ulp parameter.  Update call to
47820         check_float_internal.
47821         (check_complex): Likewise.
47822         (check_int): Do not take max_ulp parameter.
47823         (check_long): Likewise.
47824         (check_bool): Likewise.
47825         (check_longlong): Likewise.
47826         (struct test_f_f_data): Remove max_ulp field.
47827         (struct test_ff_f_data): Likewise.
47828         (struct test_ff_f_data_nexttoward): Likewise.
47829         (struct test_fi_f_data): Likewise.
47830         (struct test_fl_f_data): Likewise.
47831         (struct test_if_f_data): Likewise.
47832         (struct test_fff_f_data): Likewise.
47833         (struct test_c_f_data): Likewise.
47834         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47835         (struct test_fF_f1_data): Likewise.
47836         (struct test_ffI_f1_data): Likewise.
47837         (struct test_c_c_data): Remove max_ulp field.
47838         (struct test_cc_c_data): Likewise.
47839         (struct test_f_i_data): Likewise.
47840         (struct test_ff_i_data): Likewise.
47841         (struct test_f_l_data): Likewise.
47842         (struct test_f_L_data): Likewise.
47843         (struct test_sincos_data): Likewise.
47844         (RUN_TEST_f_f): Do not handle ulps.
47845         (RUN_TEST_LOOP_f_f): Likewise.
47846         (RUN_TEST_2_f): Likewise.
47847         (RUN_TEST_LOOP_2_f): Likewise.
47848         (RUN_TEST_fff_f): Likewise.
47849         (RUN_TEST_LOOP_fff_f): Likewise.
47850         (RUN_TEST_c_f): Likewise.
47851         (RUN_TEST_LOOP_c_f): Likewise.
47852         (RUN_TEST_f_f1): Likewise.
47853         (RUN_TEST_LOOP_f_f1): Likewise.
47854         (RUN_TEST_fF_f1): Likewise.
47855         (RUN_TEST_LOOP_fF_f1): Likewise.
47856         (RUN_TEST_fI_f1): Likewise.
47857         (RUN_TEST_LOOP_fI_f1): Likewise.
47858         (RUN_TEST_ffI_f1): Likewise.
47859         (RUN_TEST_LOOP_ffI_f1): Likewise.
47860         (RUN_TEST_c_c): Likewise.
47861         (RUN_TEST_LOOP_c_c): Likewise.
47862         (RUN_TEST_cc_c): Likewise.
47863         (RUN_TEST_LOOP_cc_c): Likewise.
47864         (RUN_TEST_f_i): Likewise.
47865         (RUN_TEST_LOOP_f_i): Likewise.
47866         (RUN_TEST_f_i_tg): Likewise.
47867         (RUN_TEST_LOOP_f_i_tg): Likewise.
47868         (RUN_TEST_ff_i_tg): Likewise.
47869         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47870         (RUN_TEST_f_b): Likewise.
47871         (RUN_TEST_LOOP_f_b): Likewise.
47872         (RUN_TEST_f_b_tg): Likewise.
47873         (RUN_TEST_LOOP_f_b_tg): Likewise.
47874         (RUN_TEST_f_l): Likewise.
47875         (RUN_TEST_LOOP_f_l): Likewise.
47876         (RUN_TEST_f_L): Likewise.
47877         (RUN_TEST_LOOP_f_L): Likewise.
47878         (RUN_TEST_sincos): Likewise.
47879         (RUN_TEST_LOOP_sincos): Likewise.
47880
47881 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47882
47883         [BZ #15480]
47884         [BZ #15485]
47885         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47886         main case of finite arguments, set rounding mode to FE_TONEAREST
47887         and discard exceptions.
47888         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47889         exceptions.
47890         (remainder_tonearest_test_data): New variable.
47891         (remainder_test_tonearest): New function.
47892         (remainder_towardzero_test_data): New variable.
47893         (remainder_test_towardzero): New function.
47894         (remainder_downward_test_data): New variable.
47895         (remainder_test_downward): New function.
47896         (remainder_upward_test_data): New variable.
47897         (remainder_test_upward): New function.
47898         (main): Call the new test functions.
47899
47900         * math/libm-test.inc (struct test_f_f1_data): Remove field
47901         extra_init.
47902         (struct test_fF_f1_data): Likewise.
47903         (struct test_ffI_f1_data): Likewise.
47904         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47905         based on value of EXTRA_EXPECTED.
47906         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47907         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47908         EXTRA_VAR based on value of EXTRA_EXPECTED.
47909         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47910         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47911         EXTRA_VAR based on value of EXTRA_EXPECTED.
47912         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47913         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47914         EXTRA_VAR based on value of EXTRA_EXPECTED.
47915         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47916         * math/gen-libm-test.pl (parse_args): Don't output initializers
47917         for extra output values.
47918
47919         * math/libm-test.inc (check_int): Expect result to be exactly
47920         equal to expected value and do not handle ulps.
47921         (check_long): Likewise.
47922         (check_longlong): Likewise.
47923
47924         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47925         exceptions.
47926         (cimag_test_data): Likewise.
47927         (conj_test_data): Likewise.
47928         (copysign_test_data): Likewise.
47929         (cproj_test_data): Likewise.
47930         (creal_test_data): Likewise.
47931         (fabs_test_data): Likewise.
47932         (fdim_test_data): Likewise.
47933         (finite_test_data): Likewise.
47934         (floor_test_data): Likewise.
47935         (fmax_test_data): Likewise.
47936         (fmin_test_data): Likewise.
47937         (fmod_test_data): Likewise.
47938         (fpclassify_test_data): Likewise.
47939         (frexp_test_data): Likewise.
47940         (ilogb_test_data): Likewise.
47941         (isfinite_test_data): Likewise.
47942         (isgreater_test_data): Likewise.
47943         (isgreaterequal_test_data): Likewise.
47944         (isinf_test_data): Likewise.
47945         (isless_test_data): Likewise.
47946         (islessequal_test_data): Likewise.
47947         (islessgreater_test_data): Likewise.
47948         (isnan_test_data): Likewise.
47949         (isnormal_test_data): Likewise.
47950         (issignaling_test_data): Likewise.
47951         (isunordered_test_data): Likewise.
47952         (ldexp_test_data): Likewise.
47953         (lrint_test_data): Likewise.
47954         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47955         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47956         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47957         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47958         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47959         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47960         test input.
47961         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47962         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47963         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47964         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47965         that test input.
47966         (lrint_downward_test_data): Test for "inexact" exceptions.
47967         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47968         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47969         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47970         test input.
47971         (lrint_upward_test_data): Test for "inexact" exceptions.
47972         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47973         test input.
47974         (llrint_test_data): Test for "inexact" exceptions.
47975         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47976         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47977         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47978         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47979         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47980         (llrint_downward_test_data): Test for "inexact" exceptions.
47981         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47982         (llrint_upward_test_data): Test for "inexact" exceptions.
47983         (logb_test_data): Likewise.
47984         (logb_downward_test_data): Likewise.
47985         (nextafter_test_data): Likewise.
47986         (nexttoward_test_data): Likewise.
47987         (remainder_test_data): Likewise.
47988         (remquo_test_data): Likewise.
47989         (scalbn_test_data): Likewise.
47990         (scalbln_test_data): Likewise.
47991         (signbit_test_data): Likewise.
47992         (sqrt_test_data): Likewise.
47993         (significand_test_data): Likewise.
47994
47995 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47996
47997         [BZ #15424]
47998         * benchtests/bench-modf.c (struct args): Mark arg0 as
47999         volatile.
48000         * scripts/bench.pl: Mark members of struct args as volatile.
48001
48002 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48003
48004         [BZ # 15497]
48005         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48006         negative infinity on POWER6 or lower.
48007         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48008
48009 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48010
48011         [BZ #15442]
48012         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48013         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48014         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48015         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48016         (_FP_SETQNAN): New macro.
48017         (_FP_SETQNAN_SEMIRAW): Likewise.
48018         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48019         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48020         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48021         (FP_EXTEND): Use _FP_FRAC_SNANP.
48022         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48023         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48024         into account.
48025         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48026         New macro.
48027         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48028         Likewise.
48029
48030 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48031
48032         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48033         with DIVIDE_BY_ZERO_EXCEPTION.
48034         (gamma_test_data): Likewise.
48035         (lgamma_test_data): Likewise.
48036         (log_test_data): Likewise.
48037         (log10_test_data): Likewise.
48038         (log2_test_data): Likewise.
48039         (tgamma_test_data): Likewise.
48040
48041         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48042         (acos_test_tonearest): Likewise.
48043         (acos_test_towardzero): Likewise.
48044         (acos_test_downward): Likewise.
48045         (acos_test_upward): Likewise.
48046         (acosh_test): Likewise.
48047         (asin_test): Likewise.
48048         (asin_test_tonearest): Likewise.
48049         (asin_test_towardzero): Likewise.
48050         (asin_test_downward): Likewise.
48051         (asin_test_upward): Likewise.
48052         (asinh_test): Likewise.
48053         (atan_test): Likewise.
48054         (atanh_test): Likewise.
48055         (atan2_test): Likewise.
48056         (cabs_test): Likewise.
48057         (cacos_test): Likewise.
48058         (cacosh_test): Likewise.
48059         (casin_test): Likewise.
48060         (casinh_test): Likewise.
48061         (catan_test): Likewise.
48062         (catanh_test): Likewise.
48063         (cbrt_test): Likewise.
48064         (ccos_test): Likewise.
48065         (ccosh_test): Likewise.
48066         (cexp_test): Likewise.
48067         (clog_test): Likewise.
48068         (clog10_test): Likewise.
48069         (cos_test): Likewise.
48070         (cos_test_tonearest): Likewise.
48071         (cos_test_towardzero): Likewise.
48072         (cos_test_downward): Likewise.
48073         (cos_test_upward): Likewise.
48074         (cosh_test): Likewise.
48075         (cosh_test_tonearest): Likewise.
48076         (cosh_test_towardzero): Likewise.
48077         (cosh_test_downward): Likewise.
48078         (cosh_test_upward): Likewise.
48079         (cpow_test): Likewise.
48080         (csin_test): Likewise.
48081         (csinh_test): Likewise.
48082         (csqrt_test): Likewise.
48083         (ctan_test): Likewise.
48084         (ctan_test_tonearest): Likewise.
48085         (ctan_test_towardzero): Likewise.
48086         (ctan_test_downward): Likewise.
48087         (ctan_test_upward): Likewise.
48088         (ctanh_test): Likewise.
48089         (ctanh_test_tonearest): Likewise.
48090         (ctanh_test_towardzero): Likewise.
48091         (ctanh_test_downward): Likewise.
48092         (ctanh_test_upward): Likewise.
48093         (erf_test): Likewise.
48094         (erfc_test): Likewise.
48095         (exp_test): Likewise.
48096         (exp_test_tonearest): Likewise.
48097         (exp_test_towardzero): Likewise.
48098         (exp_test_downward): Likewise.
48099         (exp_test_upward): Likewise.
48100         (exp10_test): Likewise.
48101         (exp2_test): Likewise.
48102         (expm1_test): Likewise.
48103         (fmod_test): Likewise.
48104         (gamma_test): Likewise.
48105         (hypot_test): Likewise.
48106         (j0_test): Likewise.
48107         (j1_test): Likewise.
48108         (jn_test): Likewise.
48109         (lgamma_test): Likewise.
48110         (log_test): Likewise.
48111         (log10_test): Likewise.
48112         (log1p_test): Likewise.
48113         (log2_test): Likewise.
48114         (logb_test_downward): Likewise.
48115         (pow_test): Likewise.
48116         (pow_test_tonearest): Likewise.
48117         (pow_test_towardzero): Likewise.
48118         (pow_test_downward): Likewise.
48119         (pow_test_upward): Likewise.
48120         (remainder_test): Likewise.
48121         (remquo_test): Likewise.
48122         (sin_test): Likewise.
48123         (sin_test_tonearest): Likewise.
48124         (sin_test_towardzero): Likewise.
48125         (sin_test_downward): Likewise.
48126         (sin_test_upward): Likewise.
48127         (sincos_test): Likewise.
48128         (sinh_test): Likewise.
48129         (sinh_test_tonearest): Likewise.
48130         (sinh_test_towardzero): Likewise.
48131         (sinh_test_downward): Likewise.
48132         (sinh_test_upward): Likewise.
48133         (sqrt_test): Likewise.
48134         (tan_test): Likewise.
48135         (tan_test_tonearest): Likewise.
48136         (tan_test_towardzero): Likewise.
48137         (tan_test_downward): Likewise.
48138         (tan_test_upward): Likewise.
48139         (tanh_test): Likewise.
48140         (tgamma_test): Likewise.
48141         (y0_test): Likewise.
48142         (y1_test): Likewise.
48143         (yn_test): Likewise.
48144
48145         * math/gen-libm-test.pl (adjust_arg): Remove function.
48146         (special_function): Remove argument $in_func.  Only handle
48147         generating output for tables of tests, not inside functions.
48148         (parse_args): Likewise.
48149         (generate_testfile): Remove variable $in_func.  Update call to
48150         parse_args.
48151         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48152         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48153         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48154         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48155         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48156         (MAX_VALUE_INIT): Rename macro to max_value.
48157         (MIN_VALUE_INIT): Rename macro to min_value.
48158         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48159         (plus_zero): Remove variable.
48160         (minus_zero): Likewise.
48161         (plus_infty): Likewise.
48162         (minus_infty): Likewise.
48163         (qnan_value): Likewise.
48164         (max_value): Likewise.
48165         (min_value): Likewise.
48166         (min_subnorm_value): Likewise.
48167
48168 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48169
48170         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48171         uint64_t or uint32_t usage.
48172         * crypt/sha256-block.c: Likewise.
48173         * crypt/sha256-crypt.c: Likewise.
48174         * crypt/sha256.c: Likewise.
48175         * crypt/sha512-block.c: Likewise.
48176         * crypt/sha512-crypt.c: Likewise.
48177         * crypt/sha512.c: Likewise.
48178         * debug/backtrace-tst.c: Likewise.
48179         * debug/pcprofiledump.c: Likewise.
48180         * elf/cache.c: Likewise.
48181         * elf/dl-cache.c: Likewise.
48182         * elf/dl-misc.c: Likewise.
48183         * elf/dl-profile.c: Likewise.
48184         * elf/dl-support.c: Likewise.
48185         * elf/ldconfig.c: Likewise.
48186         * elf/sprof.c: Likewise.
48187         * iconv/dummy-repertoire.c: Likewise.
48188         * iconv/iconv_charmap.c: Likewise.
48189         * iconv/skeleton.c: Likewise.
48190         * iconvdata/8bit-generic.c: Likewise.
48191         * iconvdata/cp737.h: Likewise.
48192         * iconvdata/cp775.h: Likewise.
48193         * iconvdata/ibm1008.h: Likewise.
48194         * iconvdata/ibm1025.h: Likewise.
48195         * iconvdata/ibm1046.h: Likewise.
48196         * iconvdata/ibm1097.h: Likewise.
48197         * iconvdata/ibm1112.h: Likewise.
48198         * iconvdata/ibm1122.h: Likewise.
48199         * iconvdata/ibm1123.h: Likewise.
48200         * iconvdata/ibm1124.h: Likewise.
48201         * iconvdata/ibm1129.h: Likewise.
48202         * iconvdata/ibm1130.h: Likewise.
48203         * iconvdata/ibm1132.h: Likewise.
48204         * iconvdata/ibm1133.h: Likewise.
48205         * iconvdata/ibm1137.h: Likewise.
48206         * iconvdata/ibm1140.h: Likewise.
48207         * iconvdata/ibm1141.h: Likewise.
48208         * iconvdata/ibm1142.h: Likewise.
48209         * iconvdata/ibm1143.h: Likewise.
48210         * iconvdata/ibm1144.h: Likewise.
48211         * iconvdata/ibm1145.h: Likewise.
48212         * iconvdata/ibm1146.h: Likewise.
48213         * iconvdata/ibm1147.h: Likewise.
48214         * iconvdata/ibm1148.h: Likewise.
48215         * iconvdata/ibm1149.h: Likewise.
48216         * iconvdata/ibm1153.h: Likewise.
48217         * iconvdata/ibm1154.h: Likewise.
48218         * iconvdata/ibm1155.h: Likewise.
48219         * iconvdata/ibm1156.h: Likewise.
48220         * iconvdata/ibm1157.h: Likewise.
48221         * iconvdata/ibm1158.h: Likewise.
48222         * iconvdata/ibm1160.h: Likewise.
48223         * iconvdata/ibm1161.h: Likewise.
48224         * iconvdata/ibm1162.h: Likewise.
48225         * iconvdata/ibm1163.h: Likewise.
48226         * iconvdata/ibm1164.h: Likewise.
48227         * iconvdata/ibm1166.h: Likewise.
48228         * iconvdata/ibm1167.h: Likewise.
48229         * iconvdata/ibm12712.h: Likewise.
48230         * iconvdata/ibm1390.h: Likewise.
48231         * iconvdata/ibm1399.h: Likewise.
48232         * iconvdata/ibm16804.h: Likewise.
48233         * iconvdata/ibm4517.h: Likewise.
48234         * iconvdata/ibm4899.h: Likewise.
48235         * iconvdata/ibm4909.h: Likewise.
48236         * iconvdata/ibm4971.h: Likewise.
48237         * iconvdata/ibm5347.h: Likewise.
48238         * iconvdata/ibm803.h: Likewise.
48239         * iconvdata/ibm856.h: Likewise.
48240         * iconvdata/ibm901.h: Likewise.
48241         * iconvdata/ibm902.h: Likewise.
48242         * iconvdata/ibm9030.h: Likewise.
48243         * iconvdata/ibm9066.h: Likewise.
48244         * iconvdata/ibm921.h: Likewise.
48245         * iconvdata/ibm922.h: Likewise.
48246         * iconvdata/ibm9448.h: Likewise.
48247         * iconvdata/isiri-3342.h: Likewise.
48248         * iconvdata/jis0201.h: Likewise.
48249         * include/link.h: Likewise.
48250         * include/netdb.h: Likewise.
48251         * inet/check_native.c: Likewise.
48252         * inet/check_pf.c: Likewise.
48253         * inet/getipv4sourcefilter.c: Likewise.
48254         * inet/getnameinfo.c: Likewise.
48255         * inet/getsourcefilter.c: Likewise.
48256         * inet/htonl.c: Likewise.
48257         * inet/setipv4sourcefilter.c: Likewise.
48258         * inet/setsourcefilter.c: Likewise.
48259         * inet/test-inet6_opt.c: Likewise.
48260         * inet/tst-network.c: Likewise.
48261         * locale/C-collate.c: Likewise.
48262         * locale/C-ctype.c: Likewise.
48263         * locale/C-time.c: Likewise.
48264         * locale/C-translit.h: Likewise.
48265         * locale/loadarchive.c: Likewise.
48266         * locale/programs/3level.h: Likewise.
48267         * locale/programs/charmap.c: Likewise.
48268         * locale/programs/charmap.h: Likewise.
48269         * locale/programs/ld-address.c: Likewise.
48270         * locale/programs/ld-collate.c: Likewise.
48271         * locale/programs/ld-ctype.c: Likewise.
48272         * locale/programs/ld-identification.c: Likewise.
48273         * locale/programs/ld-measurement.c: Likewise.
48274         * locale/programs/ld-messages.c: Likewise.
48275         * locale/programs/ld-monetary.c: Likewise.
48276         * locale/programs/ld-name.c: Likewise.
48277         * locale/programs/ld-numeric.c: Likewise.
48278         * locale/programs/ld-paper.c: Likewise.
48279         * locale/programs/ld-telephone.c: Likewise.
48280         * locale/programs/ld-time.c: Likewise.
48281         * locale/programs/linereader.c: Likewise.
48282         * locale/programs/locale.c: Likewise.
48283         * locale/programs/locarchive.c: Likewise.
48284         * locale/programs/locfile.h: Likewise.
48285         * locale/programs/repertoire.c: Likewise.
48286         * locale/programs/simple-hash.c: Likewise.
48287         * locale/programs/simple-hash.h: Likewise.
48288         * malloc/memusage.c: Likewise.
48289         * malloc/memusagestat.c: Likewise.
48290         * nis/nis_defaults.c: Likewise.
48291         * nis/nis_hash.c: Likewise.
48292         * nis/nis_print.c: Likewise.
48293         * nis/nis_xdr.c: Likewise.
48294         * nscd/connections.c: Likewise.
48295         * nscd/hstcache.c: Likewise.
48296         * nscd/nscd_gethst_r.c: Likewise.
48297         * nscd/nscd_getserv_r.c: Likewise.
48298         * nscd/nscd_helper.c: Likewise.
48299         * nscd/servicescache.c: Likewise.
48300         * nss/makedb.c: Likewise.
48301         * nss/nss_db/db-XXX.c: Likewise.
48302         * nss/nss_db/db-initgroups.c: Likewise.
48303         * nss/nss_db/db-netgrp.c: Likewise.
48304         * nss/nss_files/files-network.c: Likewise.
48305         * nss/nss_files/files-parse.c: Likewise.
48306         * posix/bug-regex5.c: Likewise.
48307         * posix/fnmatch_loop.c: Likewise.
48308         * posix/regcomp.c: Likewise.
48309         * posix/regexec.c: Likewise.
48310         * posix/tst-rfc3484-2.c: Likewise.
48311         * posix/tst-rfc3484-3.c: Likewise.
48312         * posix/tst-rfc3484.c: Likewise.
48313         * resolv/nss_dns/dns-canon.c: Likewise.
48314         * resolv/nss_dns/dns-network.c: Likewise.
48315         * resolv/res_init.c: Likewise.
48316         * resolv/res_mkquery.c: Likewise.
48317         * resolv/tst-aton.c: Likewise.
48318         * stdlib/cxa_atexit.c: Likewise.
48319         * stdlib/cxa_finalize.c: Likewise.
48320         * stdlib/gen-fpioconst.c: Likewise.
48321         * stdlib/strtol_l.c: Likewise.
48322         * string/tst-endian.c: Likewise.
48323         * sunrpc/auth_des.c: Likewise.
48324         * sunrpc/clnt_udp.c: Likewise.
48325         * sunrpc/rtime.c: Likewise.
48326         * sunrpc/svcauth_des.c: Likewise.
48327         * sunrpc/xdr.c: Likewise.
48328         * sunrpc/xdr_intXX_t.c: Likewise.
48329         * sunrpc/xdr_rec.c: Likewise.
48330         * sysdeps/generic/ldconfig.h: Likewise.
48331         * sysdeps/generic/ldsodefs.h: Likewise.
48332         * sysdeps/generic/memusage.h: Likewise.
48333         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48334         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48335         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48336         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48340         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48342         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48343         * sysdeps/posix/getaddrinfo.c: Likewise.
48344         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48345         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48346         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48347         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48348         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48349         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48350         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48351         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48352         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48353         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48354         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48355         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48356         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48357         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48358         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48359         * sysdeps/x86_64/dl-tls.h: Likewise.
48360         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48361         * time/alt_digit.c: Likewise.
48362         * time/era.c: Likewise.
48363         * wcsmbs/tst-c16c32-1.c: Likewise.
48364
48365 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48366
48367         * math/libm-test.inc (struct test_sincos_data): New type.
48368         (RUN_TEST_LOOP_sincos): New macro.
48369         (sincos_test_data): New variable.
48370         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48371
48372 2013-05-16  Richard Henderson  <rth@redhat.com>
48373
48374         * math/atest-exp2.c (LIMB64): New macro.
48375         (CONSTSZ): New macro.
48376         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48377         (hexdig): Move ...
48378         (print_mpn_fp): ... to function scope.
48379         (read_mpn_hex): Remove.
48380         (get_log2): Remove.
48381         (exp2_mpn): Use mp_log2.
48382         (main): Use mp_exp1.
48383
48384 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48385
48386         * math/libm-test.inc: Remove comment about not testing "inexact"
48387         exceptions.
48388         (INEXACT_EXCEPTION): New macro.
48389         (NO_INEXACT_EXCEPTION): Likewise.
48390         (INVALID_EXCEPTION_OK): Update value.
48391         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48392         (OVERFLOW_EXCEPTION_OK): Likewise.
48393         (UNDERFLOW_EXCEPTION_OK): Likewise.
48394         (IGNORE_ZERO_INF_SIGN): Likewise.
48395         (ERRNO_UNCHANGED): Likewise.
48396         (ERRNO_EDOM): Likewise.
48397         (ERRNO_ERANGE): Likewise.
48398         (test_exceptions): Handle testing "inexact" exceptions.
48399         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48400         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48401         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48402         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48403         INEXACT_EXCEPTION.
48404         (rint_towardzero_test_data): Likewise.
48405         (rint_downward_test_data): Likewise.
48406         (rint_upward_test_data): Likewise.
48407
48408         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48409         with OVERFLOW_EXCEPTION.
48410         (exp10_test_data): Likewise.
48411         (exp2_test_data): Likewise.
48412         (expm1_test_data): Likewise.
48413         (lgamma_test_data): Likewise.
48414         (pow_test_data): Likewise.
48415         (tgamma_test_data): Likewise.
48416         (yn_test_data): Remove duplicate test of overflow.
48417
48418         * math/libm-test.inc (struct test_cc_c_data): New type.
48419         (RUN_TEST_LOOP_cc_c): New macro.
48420         (cpow_test_data): New variable.
48421         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48422
48423         * math/libm-test.inc (struct test_f_L_data): New type.
48424         (RUN_TEST_LOOP_f_L): New macro.
48425         (llrint_test_data): New variable.
48426         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48427         (llrint_tonearest_test_data): New variable.
48428         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48429         (llrint_towardzero_test_data): New variable.
48430         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48431         (llrint_downward_test_data): New variable.
48432         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48433         (llrint_upward_test_data): New variable.
48434         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48435         (llround_test_data): New variable.
48436         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48437
48438 2013-05-13  Peter Collingbourne  <pcc@google.com>
48439
48440         * math/atest-exp2.c (get_log2): Remove const attribute.
48441
48442 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48443
48444         * math/libm-test.inc (struct test_f_l_data): New type.
48445         (RUN_TEST_LOOP_f_l): New macro.
48446         (lrint_test_data): New variable.
48447         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48448         (lrint_tonearest_test_data): New variable.
48449         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48450         (lrint_towardzero_test_data): New variable.
48451         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48452         (lrint_downward_test_data): New variable.
48453         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48454         (lrint_upward_test_data): New variable.
48455         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48456         (lround_test_data): New variable.
48457         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48458
48459 2013-05-15  Peter Collingbourne  <pcc@google.com>
48460
48461         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48462         (EXTRACT_WORDS64) Use where appropriate.
48463         (INSERT_WORDS64) Likewise.
48464
48465         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48466         constraints with x constraints.
48467         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48468
48469         * malloc/obstack.c (_obstack_compat): Add initializer.
48470
48471 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48472
48473         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48474         si_trapno and add si_addr_lsb to _sifields.sigfault.
48475         (si_trapno): Remove macro.
48476         (si_addr_lsb): Define new macro.
48477         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48478
48479 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48480
48481         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48482         instead of TEST_f_l.
48483         (llrint_test_tonearest): Likewise.
48484         (llrint_test_towardzero): Likewise.
48485         (llrint_test_downward): Likewise.
48486         (llrint_test_upward): Likewise.
48487         (llround_test): Likewise.
48488
48489         * math/libm-test.inc (struct test_f_i_data): Add comment.
48490         (RUN_TEST_LOOP_f_b): New macro.
48491         (RUN_TEST_LOOP_f_b_tg): Likewise.
48492         (finite_test_data): New variable.
48493         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48494         (isfinite_test_data): New variable.
48495         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48496         (isinf_test_data): New variable.
48497         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48498         (isnan_test_data): New variable.
48499         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48500         (isnormal_test_data): New variable.
48501         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48502         (issignaling_test_data): New variable.
48503         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48504         (signbit_test_data): New variable.
48505         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48506
48507         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48508         with INVALID_EXCEPTION.
48509         (acosh_test_data): Likewise.
48510         (asin_test_data): Likewise.
48511         (atanh_test_data): Likewise.
48512         (fmod_test_data): Likewise.
48513         (log_test_data): Likewise.
48514         (log10_test_data): Likewise.
48515         (log2_test_data): Likewise.
48516         (pow_test_data): Likewise.
48517         (sqrt_test_data): Likewise.
48518         (y0_test_data): Likewise.
48519         (y1_test_data): Likewise.
48520         (yn_test_data): Likewise.
48521
48522         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48523         function contents.
48524
48525         * math/libm-test.inc (struct test_ff_i_data): New type.
48526         (RUN_TEST_LOOP_ff_i_tg): New macro.
48527         (isgreater_test_data): New variable.
48528         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48529         (isgreaterequal_test_data): New variable.
48530         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48531         (isless_test_data): New variable.
48532         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48533         (islessequal_test_data): New variable.
48534         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48535         (islessgreater_test_data): New variable.
48536         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48537         (isunordered_test_data): New variable.
48538         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48539
48540 2013-05-14  David S. Miller  <davem@davemloft.net>
48541
48542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48543
48544 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48545
48546         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48547
48548         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48549         extra_test to int.
48550         (struct test_f_i_data): Change type of max_ulp to int.
48551
48552         * math/libm-test.inc (test_ffI_f1_data): New type.
48553         (RUN_TEST_LOOP_ffI_f1): New macro.
48554         (remquo_test_data): New variable.
48555         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48556
48557         * setjmp/tst-setjmp-fp.c: New file.
48558         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48559         (link-libm): New variable.
48560         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48561
48562         * math/libm-test.inc (struct test_f_i_data): New type.
48563         (RUN_TEST_LOOP_f_i): New macro.
48564         (RUN_TEST_LOOP_f_i_tg): Likewise.
48565         (fpclassify_test_data): New variable.
48566         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48567         (ilogb_test_data): New variable.
48568         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48569
48570         * math/libm-test.inc (scalbln_test): Correct function name in END
48571         call.
48572
48573         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48574         (RUN_TEST_LOOP_fI_f1): New macro.
48575         (frexp_test_data): New variable.
48576         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48577
48578         * math/libm-test.inc (struct test_fF_f1_data): New type.
48579         (RUN_TEST_LOOP_fF_f1): New macro.
48580         (modf_test_data): New variable.
48581         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48582
48583         * math/libm-test.inc (struct test_f_f1_data): New type.
48584         (RUN_TEST_LOOP_f_f1): New macro.
48585         (gamma_test_data): New variable.
48586         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48587         (lgamma_test_data): New variable.
48588         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48589
48590 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48591
48592         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48593         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48594         (main): Comment "tls" pseudo-hwcap.
48595
48596 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48597
48598         * math/libm-test.inc (struct test_fl_f_data): New type.
48599         (RUN_TEST_LOOP_fl_f): New variable.
48600         (scalbln_test_data): New variable.
48601         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48602
48603         * math/libm-test.inc (struct test_fi_f_data): New type.
48604         (RUN_TEST_LOOP_fi_f): New macro.
48605         (ldexp_test_data): New variable.
48606         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48607         (scalbn_test_data): New variable.
48608         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48609
48610         * math/libm-test.inc (struct test_c_f_data): New type.
48611         (RUN_TEST_LOOP_c_f): New macro.
48612         (cabs_test_data): New variable.
48613         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48614         (carg_test_data): New variable.
48615         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48616         (cimag_test_data): New variable.
48617         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48618         (creal_test_data): New variable.
48619         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48620
48621         * math/libm-test.inc (struct test_if_f_data): New type.
48622         (RUN_TEST_LOOP_if_f): New macro.
48623         (jn_test_data): New variable.
48624         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48625         (yn_test_data): New variable.
48626         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48627
48628         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48629
48630 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48631
48632         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48633         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48634
48635 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48636
48637         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48638         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48639         (bench-deps): Add bench-timing.h.
48640         * benchtests-bench-skeleton.c: Include bench-timing.h.
48641         (main): Use TIMING_* macros instead of clock_gettime.
48642         * benchtests/bench-timing.h: New file.
48643
48644         [BZ #14582]
48645         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48646         Renamed from _LIB_VERSION.
48647         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48648
48649 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48650
48651         * math/libm-test.inc (struct test_fff_f_data): New type.
48652         (RUN_TEST_LOOP_fff_f): New macro.
48653         (fma_test_data): New variable.
48654         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48655         (fma_towardzero_test_data): New variable.
48656         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48657         (fma_downward_test_data): New variable.
48658         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48659         (fma_upward_test_data): New variable.
48660         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48661
48662         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48663         (struct test_c_c_data): New type.
48664         (RUN_TEST_LOOP_c_c): New macro.
48665         (cacos_test_data): New variable.
48666         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48667         (cacosh_test_data): New variable.
48668         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48669         (casin_test_data): New variable.
48670         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48671         (casinh_test_data): New variable.
48672         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48673         (catan_test_data): New variable.
48674         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48675         (catanh_test_data): New variable.
48676         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48677         (ccos_test_data): New variable.
48678         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48679         (ccosh_test_data): New variable.
48680         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48681         (cexp_test_data): New variable.
48682         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48683         (clog_test_data): New variable.
48684         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48685         (clog10_test_data): New variable.
48686         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48687         (conj_test_data): New variable.
48688         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48689         (cproj_test_data): New variable.
48690         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48691         (csin_test_data): New variable.
48692         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48693         (csinh_test_data): New variable.
48694         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48695         (csqrt_test_data): New variable.
48696         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48697         (ctan_test_data): New variable.
48698         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48699         (ctan_tonearest_test_data): New variable.
48700         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48701         (ctan_towardzero_test_data): New variable.
48702         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48703         (ctan_downward_test_data): New variable.
48704         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48705         (ctan_upward_test_data): New variable.
48706         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48707         (ctanh_test_data): New variable.
48708         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48709         (ctanh_tonearest_test_data): New variable.
48710         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48711         (ctanh_towardzero_test_data): New variable.
48712         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48713         (ctanh_downward_test_data): New variable.
48714         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48715         (ctanh_upward_test_data): New variable.
48716         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48717         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48718         of BUILD_COMPLEX.
48719
48720         * math/libm-test.inc (struct test_ff_f_data): New type.
48721         (struct test_ff_f_data_nexttoward): Likewise.
48722         (RUN_TEST_LOOP_2_f): New macro.
48723         (RUN_TEST_LOOP_ff_f): Likewise.
48724         (atan2_test_data): New variable.
48725         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48726         (copysign_test_data): New variable.
48727         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48728         (fdim_test_data): New variable.
48729         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48730         (fmax_test_data): New variable.
48731         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48732         (fmin_test_data): New variable.
48733         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48734         (fmod_test_data): New variable.
48735         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48736         (hypot_test_data): New variable.
48737         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48738         (nextafter_test_data): New variable.
48739         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48740         (nexttoward_test_data): New variable.
48741         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48742         (pow_test_data): New variable.
48743         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48744         (pow_tonearest_test_data): New variable.
48745         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48746         (pow_towardzero_test_data): New variable.
48747         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48748         (pow_downward_test_data): New variable.
48749         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48750         (pow_upward_test_data): New variable.
48751         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48752         (remainder_test_data): New variable.
48753         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48754         (scalb_test_data): New variable.
48755         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48756         * sysdeps/i386/fpu/libm-test-ulps: Update.
48757
48758 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48759
48760         * math/libm-test.inc (fma_test): Use max_value instead of local
48761         variable fltmax.
48762         (nextafter_test): Likewise.
48763
48764         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48765         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48766         (acos_downward_test_data): New variable.
48767         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48768         (acos_upward_test_data): New variable.
48769         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48770         (acosh_test_data): New variable.
48771         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48772         (asin_test_data): New variable.
48773         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48774         (asin_tonearest_test_data): New variable.
48775         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48776         (asin_towardzero_test_data): New variable.
48777         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48778         (asin_downward_test_data): New variable.
48779         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48780         (asin_upward_test_data): New variable.
48781         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48782         (asinh_test_data): New variable.
48783         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48784         (atan_test_data): New variable.
48785         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48786         (atanh_test_data): New variable.
48787         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48788         (cbrt_test_data): New variable.
48789         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48790         (ceil_test_data): New variable.
48791         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48792         (cos_test_data): New variable.
48793         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48794         (cos_tonearest_test_data): New variable.
48795         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48796         (cos_towardzero_test_data): New variable.
48797         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48798         (cos_downward_test_data): New variable.
48799         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48800         (cos_upward_test_data): New variable.
48801         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48802         (cosh_test_data): New variable.
48803         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48804         (cosh_tonearest_test_data): New variable.
48805         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48806         (cosh_towardzero_test_data): New variable.
48807         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48808         (cosh_downward_test_data): New variable.
48809         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48810         (cosh_upward_test_data): New variable.
48811         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48812         (erf_test_data): New variable.
48813         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48814         (erfc_test_data): New variable.
48815         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48816         (exp_test_data): New variable.
48817         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48818         (exp_tonearest_test_data): New variable.
48819         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48820         (exp_towardzero_test_data): New variable.
48821         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48822         (exp_downward_test_data): New variable.
48823         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48824         (exp_upward_test_data): New variable.
48825         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48826         (exp10_test_data): New variable.
48827         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48828         (exp2_test_data): New variable.
48829         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48830         (expm1_test_data): New variable.
48831         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48832         (fabs_test_data): New variable.
48833         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48834         (floor_test_data): New variable.
48835         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48836         (j0_test_data): New variable.
48837         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48838         (j1_test_data): New variable.
48839         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48840         (log_test_data): New variable.
48841         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48842         (log10_test_data): New variable.
48843         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48844         (log1p_test_data): New variable.
48845         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48846         (log2_test_data): New variable.
48847         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48848         (logb_test_data): New variable.
48849         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48850         (logb_downward_test_data): New variable.
48851         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48852         (nearbyint_test_data): New variable.
48853         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48854         (rint_test_data): New variable.
48855         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48856         (rint_tonearest_test_data): New variable.
48857         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48858         (rint_towardzero_test_data): New variable.
48859         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48860         (rint_downward_test_data): New variable.
48861         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48862         (rint_upward_test_data): New variable.
48863         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48864         (round_test_data): New variable.
48865         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48866         (sin_test_data): New variable.
48867         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48868         (sin_tonearest_test_data): New variable.
48869         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48870         (sin_towardzero_test_data): New variable.
48871         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48872         (sin_downward_test_data): New variable.
48873         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48874         (sin_upward_test_data): New variable.
48875         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48876         (sinh_test_data): New variable.
48877         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48878         (sinh_tonearest_test_data): New variable.
48879         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48880         (sinh_towardzero_test_data): New variable.
48881         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48882         (sinh_downward_test_data): New variable.
48883         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48884         (sinh_upward_test_data): New variable.
48885         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48886         (sqrt_test_data): New variable.
48887         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48888         (tan_test_data): New variable.
48889         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48890         (tan_tonearest_test_data): New variable.
48891         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48892         (tan_towardzero_test_data): New variable.
48893         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48894         (tan_downward_test_data): New variable.
48895         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48896         (tan_upward_test_data): New variable.
48897         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48898         (tanh_test_data): New variable.
48899         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48900         (tgamma_test_data): New variable.
48901         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48902         (trunc_test_data): New variable.
48903         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48904         (y0_test_data): New variable.
48905         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48906         (y1_test_data): New variable.
48907         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48908         (significand_test_data): New variable.
48909         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48910
48911 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48912
48913         [BZ #12387]
48914         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48915
48916 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48917
48918         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48919
48920 2013-05-10  Andreas Jaeger  <aj@suse.de>
48921
48922         [BZ #15448]
48923         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48924         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48925
48926 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48927
48928         * math/gen-libm-test.pl (adjust_arg): New function.
48929         (special_functions): Handle generating output in both functions
48930         and arrays.
48931         (parse_args): Likewise.
48932         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48933         $in_func argument to parse_args.
48934         * math/libm-test.inc (struct test_f_f_data): New type.
48935         (IF_ROUND_INIT_): New macro.
48936         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48937         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48938         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48939         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48940         (ROUND_RESTORE_): Likewise.
48941         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48942         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48943         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48944         (ROUND_RESTORE_FE_UPWARD): Likewise.
48945         (RUN_TEST_LOOP_f_f): New macro.
48946         (acos_test_data): New variable.
48947         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48948         (acos_tonearest_test_data): New variable.
48949         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48950
48951 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48952
48953         * benchtests/bench-skeleton.c (startup): Fix coding style.
48954
48955 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48956
48957         [BZ #6809]
48958         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48959         negative infinity argument.
48960         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48961         negative infinity argument.
48962         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48963         negative infinity argument.
48964         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48965         domain errors.
48966
48967 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48968
48969         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48970         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48971         * iconv/iconv_prog.c (main): Likewise.
48972         * locale/programs/charmap-dir.c (charmap_readdir)
48973         (fopen_uncompressed): Likewise.
48974         * locale/programs/locfile.c (siblings_uncached)
48975         (write_locale_data): Use lstat64 instead of lstat.
48976         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48977         stat.
48978
48979 2013-05-10  Andreas Jaeger  <aj@suse.de>
48980
48981         [BZ #15395]
48982         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48983         localization.
48984         Include <locale.h>.
48985
48986 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48987
48988         * elf/dl-close.c (_dl_close_worker): Add comments.
48989
48990 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48991
48992         [BZ #15359]
48993         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48994         high part of pi/2.
48995         (__ieee754_rem_pio2l): Update comments.
48996
48997         [BZ #15429]
48998         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48999         high part of pi/2.
49000         (__ieee754_rem_pio2l): Update comments.
49001
49002         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49003         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49004
49005         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49006         M_PI_4l.
49007
49008         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49009         (M_PI_34_LOG10El): Likewise.
49010         (M_PI2_LOG10El): Likewise.
49011         (M_PI4_LOG10El): Likewise.
49012         (M_PI_LOG10El): Likewise.
49013
49014 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49015
49016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49017
49018 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49019
49020         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49021         (MINUS_ZERO_INIT): Likewise.
49022         (PLUS_INFTY_INIT): Likewise.
49023         (MINUS_INFTY_INIT): Likewise.
49024         (QNAN_VALUE_INIT): Likewise.
49025         (MAX_VALUE_INIT): Likewise.
49026         (MIN_VALUE_INIT): Likewise.
49027         (MIN_SUBNORM_VALUE_INIT): Likewise.
49028         (plus_zero): Initialize with PLUS_ZERO_INIT.
49029         (minus_zero): Initialize with MINUS_ZERO_INIT.
49030         (plus_infty): Initialize with PLUS_INFTY_INIT.
49031         (minus_infty): Initialize with MINUS_INFTY_INIT.
49032         (qnan_value): Initialize with QNAN_VALUE_INIT.
49033         (max_value): Initialize with MAX_VALUE_INIT.
49034         (min_value): Initialize with MIN_VALUE_INIT.
49035         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49036
49037         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49038         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49039         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49040         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49041
49042         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49043         (RUN_TEST_2_f): Likewise.
49044         (RUN_TEST_ff_f): Likewise.
49045         (RUN_TEST_fi_f): Likewise.
49046         (RUN_TEST_fl_f): Likewise.
49047         (RUN_TEST_fff_f): Likewise.
49048         (RUN_TEST_c_f): Likewise.
49049         (RUN_TEST_f_f1): Likewise.
49050         (RUN_TEST_fF_f1): Likewise.
49051         (RUN_TEST_fI_f1): Likewise.
49052         (RUN_TEST_ffI_f1): Likewise.
49053         (RUN_TEST_c_c): Likewise.
49054         (RUN_TEST_cc_c): Likewise.
49055         (RUN_TEST_f_i): Likewise.
49056         (RUN_TEST_f_i_tg): Likewise.
49057         (RUN_TEST_ff_i_tg): Likewise.
49058         (RUN_TEST_f_b): Likewise.
49059         (RUN_TEST_f_b_tg): Likewise.
49060         (RUN_TEST_f_l): Likewise.
49061         (RUN_TEST_f_L): Likewise.
49062         (RUN_TEST_sincos): Likewise.
49063         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49064         whether to show exceptions.  Do not include ");\n" in return
49065         value.
49066         (special_functions): Output call to RUN_TEST_sincos instead of
49067         check_float calls.  Update calls to new_test.
49068         (parse_args): Output call to single RUN_TEST_* macro instead of
49069         check_* calls and other assignments.  Update calls to new_test.
49070
49071         [BZ #2546]
49072         [BZ #2560]
49073         [BZ #5159]
49074         [BZ #15426]
49075         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49076         input to result for tgamma overflow.
49077         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49078         (gamma_coeff): New variable.
49079         (NCOEFF): New macro.
49080         (gamma_positive): New function.
49081         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49082         underflow here.  Use gamma_positive instead of exp (lgamma) for
49083         other arguments.
49084         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49085         (gamma_coeff): New variable.
49086         (NCOEFF): New macro.
49087         (gammaf_positive): New function.
49088         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49089         underflow here.  Use gamma_positive instead of exp (lgamma) for
49090         other arguments.
49091         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49092         (gamma_coeff): New variable.
49093         (NCOEFF): New macro.
49094         (gammal_positive): New function.
49095         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49096         underflow here.  Use gamma_positive instead of exp (lgamma) for
49097         other arguments.
49098         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49099         (gamma_coeff): New variable.
49100         (NCOEFF): New macro.
49101         (gammal_positive): New function.
49102         (__ieee754_gammal_r): Handle positive infinity, overflow and
49103         underflow here.  Handle NaN the same as positive infinity.  Remove
49104         check x < 0xffffffff for negative integers.  Use gamma_positive
49105         instead of exp (lgamma) for other arguments.
49106         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49107         (gamma_coeff): New variable.
49108         (NCOEFF): New macro.
49109         (gammal_positive): New function.
49110         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49111         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49112         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49113         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49114         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49115         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49116         * sysdeps/generic/math_private.h (__gamma_productf): New
49117         prototype.
49118         (__gamma_product): Likewise.
49119         (__gamma_productl): Likewise.
49120         * math/Makefile (libm-calls): Add gamma_product.
49121         * math/libm-test.inc (tgamma_test): Add more tests.
49122         * sysdeps/i386/fpu/libm-test-ulps: Update.
49123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49124
49125 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49126
49127         * benchtests/bench-skeleton.c (main): Preheat CPU.
49128
49129 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49130
49131         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49132
49133 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49134
49135         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49136         and _dl_skip_args_internal.
49137
49138 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49139
49140         * manual/message.texi (Message Translation): Talk about users.
49141         Message to key mapping impacts design.
49142
49143 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49144
49145         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49146
49147         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49148
49149         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49150         * sysdeps/wordsize-64/glob64.c: ... here.
49151
49152         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49153         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49154         New macros.
49155
49156         * debug/getlogin_r_chk.c: Moved to ...
49157         * login/getlogin_r_chk.c: ... here.
49158         * debug/Makefile (routines): Move getlogin_r_chk to ...
49159         * login/Makefile (routines): ... here.
49160         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49161         * login/Versions (libc: GLIBC_2.4): ... here.
49162
49163         * io/poll.c (__poll): Renamed from poll.
49164         Add libc_hidden_def.
49165         (poll): Define as weak alias.
49166
49167         * debug/ptsname_r_chk.c: Moved to ...
49168         * login/ptsname_r_chk.c: ... here.
49169         * debug/Makefile (routines): Move ptsname_r_chk to ...
49170         * login/Makefile (routines): ... here.
49171         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49172         * login/Versions (libc: GLIBC_2.4): ... here.
49173
49174         * posix/getlogin.c: Moved to ...
49175         * login/getlogin.c: ... here.
49176         * posix/getlogin_r.c: Moved to ...
49177         * login/getlogin_r.c: ... here.
49178         * posix/getlogin_r.c: Moved to ...
49179         * login/getlogin_r.c: ... here.
49180         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49181         * login/Makefile (routines): ... here.
49182         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49183         * login/Versions (libc: GLIBC_2.0): ... here.
49184
49185         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49186         (setrlimit): Define as weak alias.
49187
49188         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49189         Call __ names for open, ftruncate, and close.
49190         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49191         (truncate): Define as weak alias.
49192
49193 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49194
49195         * math/gen-libm-test.pl (parse_args): Initialize x before each
49196         test of frexp, modf and remquo.
49197
49198         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49199         test signgam value.
49200
49201 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49202
49203         [BZ #15418]
49204         [BZ #15419]
49205         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49206         internal tests.
49207         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49208
49209 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49210
49211         * elf/dl-writev.h: New file.
49212         * elf/dl-misc.c: Include it.
49213         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49214         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49215
49216 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49217
49218         * math/libm-test.inc (noXFails): Remove variable.
49219         (noXPasses): Likewise.
49220         (BUILD_COMPLEX_INT): Remove macro.
49221         (print_screen): Remove xfail argument.
49222         (print_screen_max_error): Likewise.
49223         (update_stats): Likewise.
49224         (print_max_error): Likewise.  Update calls to other affected
49225         functions.
49226         (print_complex_max_error): Likewise.
49227         (test_single_exception): Update calls to print_screen.
49228         (test_single_errno): Likewise.
49229         (check_float_internal): Remove xfail argument.  Update calls to
49230         other affected functions.
49231         (check_float): Likewise.
49232         (check_complex): Likewise.
49233         (check_int): Likewise.
49234         (check_long): Likewise.
49235         (check_bool): Likewise.
49236         (check_longlong): Likewise.
49237         (main): Don't print noXFails and noXPasses.
49238         * math/gen-libm-test.pl (top level): Don't mention expected
49239         failure handling in comment.
49240         (new_test): Don't handle expected failures.
49241         (parse_args): Don't mention expected failure handling in comment.
49242         (generate_testfile): Don't handle expected failures.
49243         (parse_ulps): Likewise.
49244         (print_ulps_file): Likewise.
49245         (get_failure): Remove function.
49246         (output_test): Don't handle expected failures.
49247         * make/README.libm-test: Don't mention expected failure handling.
49248
49249         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49250         (minus_zero): Likewise.
49251         (plus_infty): Likewise.
49252         (minus_infty): Likewise.
49253         (qnan_value): Likewise.
49254         (max_value): Likewise.
49255         (min_value): Likewise.
49256         (min_subnorm_value): Likewise.
49257         (initialize): Do not initialize those variables dynamically.
49258
49259 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49260
49261         * io/open.c (__open_2): Moved to ...
49262         * io/open_2.c: ... this new file.
49263         * io/open64.c (__open64_2): Moved to ...
49264         * io/open64_2.c: ... this new file.
49265         * io/openat.c (__openat_2): Moved to ...
49266         * io/openat_2.c: ... this new file.
49267         * io/openat64.c (__openat64_2): Moved to ...
49268         * io/openat64_2.c: ... this new file.
49269         * io/Makefile (routines): Add them.
49270         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49271         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49272         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49273         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49274         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49275         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49276         (__openat64): Add hidden_ver.
49277         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49278         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49279
49280         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49281         Separately conditionalize setting of GLRO(dl_sysinfo) so
49282         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49283         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49284
49285 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49286
49287         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49288         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49289         definition.
49290         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49291         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49292         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49293         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49294         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49295
49296 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49297
49298         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49299         test signgam value.
49300
49301         * math/libm-test.inc (hypot_test): Do not use
49302         IGNORE_ZERO_INF_SIGN.
49303
49304 2013-05-03  Andreas Jaeger  <aj@suse.de>
49305
49306         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49307         Linux 3.9.
49308         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49309         (PF_MAX): Adjust for VSOCK change.
49310
49311 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49312
49313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49314
49315 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49316
49317         [BZ #15264]
49318         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49319         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49320         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49321
49322 2013-05-02  David S. Miller  <davem@davemloft.net>
49323
49324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49325
49326 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49327
49328         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49329
49330 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49331
49332         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49333
49334 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49335
49336         [BZ #14952]
49337         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49338         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49339         Use __attribute__ ((__gnu_inline__)).
49340         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49341         Don't use __attribute__ ((__gnu_inline__)).
49342
49343 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49344
49345         [BZ #15423]
49346         * math/s_catan.c (__catan): Handle small real or imaginary part of
49347         input specially to avoid spurious underflow.
49348         * math/s_catanf.c (__catanf): Likewise.
49349         * math/s_catanh.c (__catanh): Likewise.
49350         * math/s_catanhf.c (__catanhf): Likewise.
49351         * math/s_catanhl.c (__catanhl): Likewise.
49352         * math/s_catanl.c (__catanl): Likewise.
49353         * math/libm-test.inc (catan_test): Add more tests.
49354         (catanh_test): Likewise.
49355         * sysdeps/i386/fpu/libm-test-ulps: Update.
49356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49357
49358 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49359
49360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49361
49362 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49363
49364         [BZ #15416]
49365         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49366         accurately for denominator in atan2.
49367         * math/s_catanf.c (__catanf): Likewise.
49368         * math/s_catanh.c (__catanh): Likewise.
49369         * math/s_catanhf.c (__catanhf): Likewise.
49370         * math/s_catanhl.c (__catanhl): Likewise.
49371         * math/s_catanl.c (__catanl): Likewise.
49372         * math/libm-test.inc (catan_test): Add more tests.
49373         (catanh_test): Likewise.
49374         * sysdeps/i386/fpu/libm-test-ulps: Update.
49375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49376
49377 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49378
49379         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49380
49381         * benchtests/Makefile (bench): Remove slow benchmarks.
49382         * benchtests/atan-inputs: Add slow benchmark inputs.
49383         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49384         (BENCH_FUNC): Accept variant offset.
49385         (VARIANT): Define.
49386         * benchtests/bench-skeleton.c (main): Run benchmark for each
49387         variant.
49388         * benchtests/cos-inputs: Add slow benchmark inputs.
49389         * benchtests/exp-inputs: Likewise.
49390         * benchtests/pow-inputs: Likewise.
49391         * benchtests/sin-inputs: Likewise.
49392         * benchtests/slowatan-inputs: Remove.
49393         * benchtests/slowatan.c: Remove.
49394         * benchtests/slowcos-inputs: Remove.
49395         * benchtests/slowcos.c: Remove.
49396         * benchtests/slowexp-inputs: Remove.
49397         * benchtests/slowexp.c: Remove.
49398         * benchtests/slowpow-inputs: Remove.
49399         * benchtests/slowpow.c: Remove.
49400         * benchtests/slowsin-inputs: Remove.
49401         * benchtests/slowsin.c: Remove.
49402         * benchtests/slowtan-inputs: Remove.
49403         * benchtests/slowtan.c: Remove.
49404         * benchtests/tan-inputs: Add slow benchmark inputs.
49405         * scripts/bench.pl: Parse comments and directives.
49406
49407         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49408         in CPPFLAGS.
49409         ($(objpfx)bench-%.c): Remove *-ITER.
49410         * benchtests/bench-modf.c: Remove definition of ITER.
49411         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49412         (main): Loop for DURATION seconds instead of fixed number of
49413         iterations.
49414         * scripts/bench.pl: Don't expect iterations in parameters.
49415
49416 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49417
49418         * io/fchdir.c (__fchdir): Renamed from fchdir.
49419         (fchdir): Define as weak alias.
49420
49421 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49422
49423         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49424         (ERRNO_EDOM): Likewise.
49425         (ERRNO_ERANGE): Likewise.
49426         (noErrnoTests): New variable.
49427         (init_max_error): Set errno to 0.
49428         (test_single_errno): New function.
49429         (test_errno): Likewise.
49430         (check_float_internal): Call test_errno.  Set errno to 0.
49431         (check_complex): Refer to errno tests in comment.
49432         (check_int): Call test_errno.  Set errno to 0.
49433         (check_long): Likewise.
49434         (check_bool): Likewise.
49435         (check_longlong): Likewise.
49436         (cos_test): Use ERRNO_* flags for errno tests instead of
49437         check_int.
49438         (expm1_test): Likewise.
49439         (fmod_test): Likewise.
49440         (ilogb_test): Likewise.
49441         (lgamma_test): Likewise.
49442         (pow_test): Likewise.
49443         (remainder_test): Likewise.
49444         (sin_test): Likewise.
49445         (tan_test): Likewise.
49446         (yn_test): Likewise.
49447         (initialize): Set errno to 0.
49448         (main): Print number of errno tests.
49449         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49450
49451 2013-04-29  Andreas Jaeger  <aj@suse.de>
49452
49453         [BZ #15084]
49454         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49455         and RES_USEVC.
49456
49457         [BZ #15085]
49458         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49459         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49460         unimplemented.
49461
49462         [BZ #15380]
49463         * stdlib/random.c (__initstate): Return NULL if
49464         __initstate fails.
49465
49466         [BZ #15086]
49467         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49468         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49469         RES_SNGLKUPREOP.
49470
49471 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49472
49473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49474
49475 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49476
49477         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49478         of individual tests.
49479         (casin_test): Likewise.
49480         (casinh_test): Likewise.
49481
49482 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49483
49484         [BZ #15409]
49485         * math/s_catan.c (__catan): Handle arguments with large real or
49486         imaginary part separately without squaring.
49487         * math/s_catanf.c (__catanf): Likewise.
49488         * math/s_catanh.c (__catanh): Likewise.
49489         * math/s_catanhf.c (__catanhf): Likewise.
49490         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49491         and redefine.
49492         (__catanhl): Handle arguments with large real or imaginary part
49493         separately without squaring.
49494         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49495         and redefine.
49496         (__catanl): Handle arguments with large real or imaginary part
49497         separately without squaring.
49498         * math/libm-test.inc (catan_test): Add more tests.
49499         (catanh_test): Likewise.
49500         * sysdeps/i386/fpu/libm-test-ulps: Update.
49501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49502
49503 2013-04-27  Andreas Jaeger  <aj@suse.de>
49504
49505         [BZ #15007]
49506         * stdlib/stdlib.h: Update guards for qecvt.
49507         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49508         <stdlib.h>.
49509
49510 2013-04-27  Allan McRae  <allan@archlinux.org>
49511
49512         * sysdeps/i386/fpu/libm-test-ulps: Update.
49513
49514 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49515
49516         [BZ #15406]
49517         * math/s_catan.c: Include <float.h>.
49518         (__catan): Ensure underflow exception occurs for underflowed
49519         result.
49520         * math/s_catanf.c: Include <float.h>.
49521         (__catanf): Ensure underflow exception occurs for underflowed
49522         result.
49523         * math/s_catanh.c: Include <float.h>.
49524         (__catanh): Ensure underflow exception occurs for underflowed
49525         result.
49526         * math/s_catanhf.c: Include <float.h>.
49527         (__catanhf): Ensure underflow exception occurs for underflowed
49528         result.
49529         * math/s_catanhl.c: Include <float.h>.
49530         (__catanhl): Ensure underflow exception occurs for underflowed
49531         result.
49532         * math/s_catanl.c: Include <float.h>.
49533         (__catanl): Ensure underflow exception occurs for underflowed
49534         result.
49535         * math/libm-test.inc (catan_test): Add more tests.
49536         (catanh_test): Likewise.
49537
49538         [BZ #15405]
49539         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49540         underflowed result.
49541         * math/s_ccoshf.c (__ccoshf): Likewise.
49542         * math/s_ccoshl.c (__ccoshl): Likewise.
49543         * math/s_csin.c (__csin): Likewise.
49544         * math/s_csinf.c (__csinf): Likewise.
49545         * math/s_csinh.c (__csinh): Likewise.
49546         * math/s_csinhf.c (__csinhf): Likewise.
49547         * math/s_csinhl.c (__csinhl): Likewise.
49548         * math/s_csinl.c (__csinl): Likewise.
49549         * math/libm-test.inc (ccos_test): Add more tests.
49550         (ccosh_test): Likewise.
49551         (csin_test): Likewise.
49552         (csinh_test): Likewise.
49553
49554 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49555
49556         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49557         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49558         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49559         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49560         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49561         powerpc/power5+/fpu folders.
49562         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49563
49564
49565 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49566
49567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49568
49569 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49570
49571         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49572         additions to variable.
49573         [$(config-machine) = x86_64] (modules-names): Likewise.
49574         ($(objpfx)tst-audit3): Remove dependency.
49575         ($(objpfx)tst-audit3.out): Likewise.
49576         ($(objpfx)tst-audit4): Likewise.
49577         ($(objpfx)tst-audit4.out): Likewise.
49578         ($(objpfx)tst-audit5): Likewise.
49579         ($(objpfx)tst-audit5.out): Likewise.
49580         ($(objpfx)tst-audit6): Likewise.
49581         ($(objpfx)tst-audit6.out): Likewise.
49582         ($(objpfx)tst-audit7): Likewise.
49583         ($(objpfx)tst-audit7.out): Likewise.
49584         (tst-audit3-ENV): Remove variable.
49585         (tst-audit4-ENV): Likewise.
49586         (tst-audit5-ENV): Likewise.
49587         (tst-audit6-ENV): Likewise.
49588         (tst-audit7-ENV): Likewise.
49589         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49590         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49591         addition to variable.
49592         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49593         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49594         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49595         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49596         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49597         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49598         tst-audit3, tst-audit4 and tst-audit5.
49599         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49600         tst-audit6 and tst-audit7.
49601         [$(subdir) = elf] (modules-names): Add audit modules for those
49602         tests.
49603         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49604         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49605         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49606         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49607         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49608         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49609         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49610         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49611         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49612         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49613         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49614         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49615         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49616         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49617         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49618         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49619         Likewise.
49620         [$(subdir) = elf && $(config-cflags-avx) = yes]
49621         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49622         [$(subdir) = elf && $(config-cflags-avx) = yes]
49623         (CFLAGS-tst-auditmod4a.c): Likewise.
49624         [$(subdir) = elf && $(config-cflags-avx) = yes]
49625         (CFLAGS-tst-auditmod4b.c): Likewise.
49626         [$(subdir) = elf && $(config-cflags-avx) = yes]
49627         (CFLAGS-tst-auditmod6b.c): Likewise.
49628         [$(subdir) = elf && $(config-cflags-avx) = yes]
49629         (CFLAGS-tst-auditmod6c.c): Likewise.
49630         [$(subdir) = elf && $(config-cflags-avx) = yes]
49631         (CFLAGS-tst-auditmod7b.c): Likewise.
49632         * elf/tst-audit3.c: Move to ...
49633         * sysdeps/x86_64/tst-audit3.c: ... here.
49634         * elf/tst-audit4.c: Move to ...
49635         * sysdeps/x86_64/tst-audit4.c: ... here.
49636         * elf/tst-audit5.c: Move to ...
49637         * sysdeps/x86_64/tst-audit5.c: ... here.
49638         * elf/tst-audit6.c: Move to ...
49639         * sysdeps/x86_64/tst-audit6.c: ... here.
49640         * elf/tst-audit7.c: Move to ...
49641         * sysdeps/x86_64/tst-audit7.c: ... here.
49642         * elf/tst-auditmod3a.c: Move to ...
49643         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49644         * elf/tst-auditmod3b.c: Move to ...
49645         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49646         * elf/tst-auditmod4a.c: Move to ...
49647         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49648         * elf/tst-auditmod4b.c: Move to ...
49649         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49650         * elf/tst-auditmod5a.c: Move to ...
49651         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49652         * elf/tst-auditmod5b.c: Move to ...
49653         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49654         * elf/tst-auditmod6a.c: Move to ...
49655         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49656         * elf/tst-auditmod6b.c: Move to ...
49657         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49658         * elf/tst-auditmod6c.c: Move to ...
49659         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49660         * elf/tst-auditmod7a.c: Move to ...
49661         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49662         * elf/tst-auditmod7b.c: Move to ...
49663         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49664
49665 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49666
49667         [BZ #15366]
49668         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49669         define unconditionally.
49670         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49671         define unconditionally.
49672         (INT8_C, INT16_C, etc.): Likewise.
49673
49674 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49675
49676         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49677         __ehdr_start with hidden visibility.
49678
49679         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49680
49681 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49682
49683         * math/libm-test.inc (cos_test): Use accurate hex constants.
49684         (sincost_test): Likewise.
49685
49686 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49687
49688         * math/libm-test.inc (catan_test): Add more tests.
49689         (catanh_test): Likewise.
49690
49691         * math/s_catanf.c (__catanf): Use suffixed floating-point
49692         constants.
49693         * math/s_catanhf.c (__catanhf): Likewise.
49694         * math/s_catanhl.c (__catanhl): Likewise.
49695         * math/s_catanl.c (__catanl): Likewise.
49696
49697         [BZ #15394]
49698         * math/s_catan.c (__catan): Calculate imaginary part of result
49699         with log1p not log unless computing log of number close to 0.
49700         * math/s_catanf.c (__catanf): Likewise.
49701         * math/s_catanl.c (__catanl): Likewise.
49702         * math/s_catanh.c (__catanh): Calculate real part of result with
49703         log1p not log unless computing log of number close to 0.
49704         * math/s_catanhf.c (__catanhf): Likewise.
49705         * math/s_catanhl.c (__catanhl): Likewise.
49706         * math/libm-test.inc (catan_test): Add more tests.
49707         (catanh_test): Likewise.
49708         * sysdeps/i386/fpu/libm-test-ulps: Update.
49709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49710
49711 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49712
49713         * benchtests/Makefile: Mention files in which fast and slow
49714         paths of math functions are implemented.
49715
49716 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49717
49718         * sysdeps/posix/timespec_get.c: New file.
49719
49720 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49721
49722         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49723         POWER.
49724         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49725         for POWER.
49726         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49727         powerpc/power5/fpu folders.
49728         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49729         * benchtests/Makefile: Add modf testcase.
49730         * benchtests/bench-modf.c: New file: Benchmark test for mo
49731
49732 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49733
49734         [BZ #14888]
49735         * time/Makefile (tests): Add tst-strptime-whitespace.
49736         * time/strptime_l.c (get_number): Use ISSPACE.
49737         (__strptime_internal): Likewise.
49738         * time/tst-strptime-whitespace.c: New test case.
49739
49740 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49741
49742         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49743         member.
49744         (_nss_files_init): Set it here.
49745
49746 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49747
49748         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49749         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49750         unsigned.
49751
49752 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49753
49754         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49755
49756 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49757
49758         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49759         size just once.
49760
49761 2013-04-21  David S. Miller  <davem@davemloft.net>
49762
49763         * po/ru.po: Update Russion translation from translation project.
49764
49765 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49766
49767         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49768         and setfsgid.
49769
49770 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49771
49772         * configure.in: Remove i386 configure warning. Remove i386 case.
49773         * configure: Regenerate.
49774         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49775         Add example to error message.
49776         * sysdeps/i386/configure: Regenerate.
49777
49778 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49779
49780         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49781         slowtan.
49782         * benchtests/cos-inputs: New file.
49783         * benchtests/slowcos-inputs: New file.
49784         * benchtests/slowcos.c: New file.
49785         * benchtests/slowtan-inputs: New file.
49786         * benchtests/slowtan.c: New file.
49787         * benchtests/tan-inputs: New file.
49788
49789 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49790
49791         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49792         considered kosher.
49793
49794 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49795
49796         * benchtests/Makefile: Include cppflags-iterator.mk to add
49797         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49798
49799         * Makefile.in (bench-clean): New target.
49800         * benchtests/Makefile (bench-clean): Likewise.
49801
49802 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49803
49804         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49805
49806 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49807
49808         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49809
49810 2013-04-15  Andreas Schwab  <schwab@suse.de>
49811
49812         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49813         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49814         * nscd/pwdcache.c (cache_addpw): Likewise.
49815         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49816         more than recsize.
49817
49818 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49819
49820         * benchtests/Makefile (bench): Write all output to
49821         bench-out.tmp together.
49822
49823 2013-04-15  Andreas Schwab  <schwab@suse.de>
49824
49825         * nscd/nscd.c (main): Don't fork again after closing files.
49826
49827 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49828
49829         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49830
49831         * benchtests/Rules (bench-deps): Collect dependencies into a
49832         single variable.  Add Makefile to dependencies.
49833         ($(objpfx)bench-%.c): Depend on bench-deps.
49834
49835 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49836             Xavier Roche  <roche+kml2@exalead.com>
49837
49838         [BZ #15361]
49839         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49840         just that it's a file descriptor.
49841         * manual/llio.texi (Synchronizing AIO Operations): Update description
49842         for EBADF error from aio_fsync.
49843
49844 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49845
49846         * Rules (bench): Move target definition...
49847         * benchtests/Makefile: ... here.
49848
49849 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49850
49851         * math/libm-test.inc (cos_test): Fix PI/2 test.
49852         (sincos_test): Likewise.
49853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49854         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49855
49856 2013-04-11  Andreas Schwab  <schwab@suse.de>
49857
49858         [BZ #13988]
49859         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49860         accept exponent character only when digits were seen.
49861         * stdio-common/Makefile (tests): Add bug26.
49862         * stdio-common/bug26.c: New file.
49863
49864         [BZ #14293]
49865         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49866         non-freeable.
49867
49868 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49869
49870         * Makeconfig (rtld-prefix): Define built linker prefix.
49871         * Rules (run-bench): Use it.
49872         * math/Makefile (run-regen-ulps): Likewise.
49873
49874         * Rules (bench): Remove eval.
49875
49876 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49877             Roland McGrath  <roland@hack.frob.com>
49878             Ondrej Bilka  <neleai@seznam.cz>
49879
49880         [BZ #15346]
49881         * time/getdate.c: Include ctype.h and alloca.h.
49882         (__getdate_r): Trim leading and trailing spaces of input.
49883         * time/tst-getdate.c (tests): Add tests with leading and
49884         trailing spaces.
49885
49886 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49887
49888         [BZ #14280]
49889         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49890         when computing value.
49891
49892 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49893
49894         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49895         Use testrun.sh to run libm tests.
49896
49897         [BZ #15309]
49898         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49899
49900 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49901
49902         [BZ #15264]
49903         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49904
49905 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49906
49907         * Makefile.in (regen-ulps): New target.
49908         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49909         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49910         [ifneq (no,$(PERL)] (regen-ulps): New target.
49911         [ifeq (no,$(PERL)] (regen-ulps): New target.
49912         * math/libm-test.inc (ulps_file_name): Define.
49913         (output_dir): New variable.
49914         (options): Add "output-dir" option.
49915         (parse_opt): Handle 'o' case.
49916         (main): If output_dir is non-NULL use it as a prefix
49917         otherwise use "".
49918         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49919
49920 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49921
49922         [BZ #10060, #10062]
49923         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49924         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49925         fail configure if __sync_val_compare_and_swap is not inlined.
49926         * sysdeps/i386/configure: Regenerate.
49927         * configure.in: Build for i686 when configured for i386.
49928         * configure: Regenerate.
49929         * README: Remove i386 reference.
49930
49931 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49932
49933         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49934         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49935
49936 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49937
49938         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49939         (lmsnanval): New variables.
49940         (F): Add conversion tests.
49941         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49942         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49943
49944         * stdio-common/tstdiomisc.c (F): Properly collect individual
49945         tests' results.
49946
49947         [BZ #14686, #15336]
49948         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49949         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49950         Instead, use input NaN values or generate a qNaN by arithmetic
49951         operation.  Also fix bugs to comply with the standard.
49952         * math/libm-test.inc (remainder_test): Add more tests.
49953
49954         [BZ #15335, #15342]
49955         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49957         input NaN values or generate a qNaN by arithmetic operation.
49958
49959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49960         unreachable code.
49961
49962         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49963         definitions.
49964
49965 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49966
49967         [BZ #14478]
49968         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49969         underflowed result.
49970         * math/s_cexpf.c (__cexpf): Likewise.
49971         * math/s_cexpl.c (__cexpl): Likewise.
49972         * math/libm-test.inc (cexp_test): Add more tests.
49973
49974 2013-04-03  Andreas Schwab  <schwab@suse.de>
49975
49976         [BZ #15330]
49977         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49978         order arrays from heap if bigger than alloca cutoff.
49979
49980 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49981
49982         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49983         (SNAN_TESTS_double): Refer to GCC PR56831.
49984         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49985         GCC PR56828.
49986
49987 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49988
49989         * Rules (bench): Move bench.out after the run is complete.
49990
49991         * Rules (bench): Echo currently running benchmark.
49992
49993         * benchtests/Makefile (bench): Add atan and slowatan.
49994         * benchtests/atan-inputs: New file.
49995         * benchtests/slowatan-inputs: New file.
49996         * benchtests/slowatan.c: New file.
49997
49998         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49999         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50000         its value.
50001
50002         [BZ #15305]
50003         * sysdeps/unix/sysv/linux/kernel-features.h
50004         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50005         __ASSUME_XFS_RESTRICTED_CHOWN.
50006         * sysdeps/unix/sysv/linux/pathconf.c
50007         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50008         Save and restore errno.
50009
50010 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50011
50012         [BZ #15327]
50013         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50014         arguments using __kernel_casinh.
50015         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50016         arguments using __kernel_casinhf.
50017         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50018         arguments using __kernel_casinhl.
50019         * math/libm-test.inc (cacosh_test): Add more tests.
50020         * sysdeps/i386/fpu/libm-test-ulps: Update.
50021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50022
50023 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50024
50025         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50027
50028         * bench/Makefile (bench): Add sin and slowsin.
50029         * benchtests/sin-inputs: New file.
50030         * benchtests/slowsin-inputs: New file.
50031         * benchtests/slowsin.c: New file.
50032
50033         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50034         (bench): Add slowexp and slowpow.
50035         (exp-ITER): Increase iterations.
50036         (pow-ITER): Likewise.
50037         * benchtests/exp-inputs: Change input.
50038         * benchtests/pow-inputs: Likewise.
50039         * benchtests/slowexp-inputs: New file.
50040         * benchtests/slowexp.c: New file.
50041         * benchtests/slowpow-inputs: New file.
50042         * benchtests/slowpow.c: New file.
50043
50044 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50045
50046         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50047         instructions.
50048         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50049         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50051         * benchtests/Makefile: Add rint benchtest.
50052         * benchtests/rint-inputs: Input for rint benchtest.
50053
50054 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50055
50056         * Versions.def (libm): Add GLIBC_2.18.
50057         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50058         hidden libm prototypes.
50059         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50060         * math/Makefile (libm-calls): Add s_issignaling.
50061         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50062         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50063         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50064         declaration.
50065         * math/math.h [__USE_GNU] (issignaling): New macro.
50066         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50067         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50068         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50069         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50070         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50071         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50072         * manual/arith.texi (issignaling): New section.
50073         * manual/libm-err-tab.pl (@all_functions): Update comment.
50074         * math/gen-libm-test.pl (parse_args): Apply special handling for
50075         issignaling.
50076         * math/libm-test.inc (print_float, issignaling_test): New
50077         functions.
50078         (check_float_internal): Add issignaling checks.
50079         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50080         default definition.
50081         * sysdeps/powerpc/math-tests.h: New file.
50082         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50083         tests.
50084         * math/test-snan.c (TEST_FUNC): Likewise.
50085
50086 2013-03-30  David S. Miller  <davem@davemloft.net>
50087
50088         * po/de.po: Update from translation team.
50089
50090 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50091
50092         [BZ #10357]
50093         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50094         imaginary part less than 1.0 and real part less than 0.5
50095         specially.
50096         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50097         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50098         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50099         (cacos_test): Add more tests.
50100         (casin_test): Likewise.
50101         (casinh_test): Likewise.
50102         * sysdeps/i386/fpu/libm-test-ulps: Update.
50103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50104
50105 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50106
50107         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50108         ONE with its value.
50109
50110         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50111         (__pow_mp): Replace ONE and MONE with their values.
50112         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50114         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50115         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50116         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50117         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50118
50119         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50120
50121         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50122         (__pow_mp): Replace ZERO and MZERO with their values.
50123         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50124         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50125         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50126         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50127         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50128         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50129         (__sqr): Likewise.
50130
50131         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50132
50133         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50134
50135 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50136
50137         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50138         Declare with __attribute__ ((weak)).
50139         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50140         Call __call_tls_dtors only if it's not NULL.
50141
50142 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50143
50144         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50145         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50146         magic __ehdr_start linker symbol if it's defined.
50147         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50148         them up here if it was already done.
50149
50150         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50151         (_dl_aux_init): Use const in cast when setting it.
50152         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50153         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50154         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50155
50156         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50157         Declare them here.
50158         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50159         * csu/libc-tls.c: Nor here.
50160         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50161
50162         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50163         (__libc_message): Never call vsyslog.
50164
50165 2013-03-28  Alan Modra  <amodra@gmail.com>
50166
50167         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50168         Define as empty.
50169         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50170         Likewise.
50171
50172 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50173
50174         [BZ #15214]
50175         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50176         underflow.
50177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50178
50179 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50180
50181         [BZ #15304]
50182         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50183         Don't add gid passed as argument.
50184
50185         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50186
50187 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50188
50189         [BZ #15307]
50190         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50191         imaginary part between 1.0 and 1.5 and real part less than 0.5
50192         specially.
50193         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50194         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50195         * math/libm-test.inc (cacos_test): Add more tests.
50196         (casin_test): Likewise.
50197         (casinh_test): Likewise.
50198         * sysdeps/i386/fpu/libm-test-ulps: Update.
50199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50200
50201 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50202
50203         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50204         constants.
50205         (norm): Likewise.
50206         (denorm): Likewise.
50207         (__dbl_mp): Likewise.
50208         (add_magnitudes): Likewise.
50209         (sub_magnitudes): Likewise.
50210         (__add): Likewise.
50211         (__sub): Likewise.
50212         (__mul): Likewise.
50213         (__sqr): Likewise.
50214         (__inv): Likewise.
50215         (__dvd): Likewise.
50216
50217         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50218         commented code.
50219         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50220         (__dubcos): Likewise.
50221         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50222         (__ieee754_acos): Likewise.
50223         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50224         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50225         (__exp1): Likewise.
50226         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50228         (log1): Likewise.
50229         (my_log2): Likewise.
50230         (checkint): Likewise.
50231         * sysdeps/ieee754/dbl-64/e_remainder.c
50232         (__ieee754_remainder): Likewise.
50233         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50234         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50235         (bsloww): Likewise.
50236         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50237
50238         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50240         MANTISSA_STORE_T to store computations on mantissa.  Use
50241         macros for rounding and division.
50242         (denorm): Likewise.
50243         (__dbl_mp): Likewise.
50244         (add_magnitudes): Likewise.
50245         (sub_magnitudes): Likewise.
50246         (__mul): Likewise.
50247         (__sqr): Likewise.
50248         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50249         powers of two in terms of TWOPOW macro.
50250         (mp_no): Make type of mantissa as MANTISSA_T.
50251         [!RADIXI]: Define RADIXI.
50252         [!TWO52]: Define TWO52.
50253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50254
50255 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50256
50257         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50258         llroundl symbol when building for PPC32.
50259
50260 2013-03-24  Mark H Weaver  <mhw@netris.org>
50261
50262         * manual/arith.texi (Normalization Functions): Fix prototypes for
50263         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50264
50265 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50266
50267         [BZ #13889]
50268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50269         high value to check if expl overflow.
50270         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50271         to check for underflow and overflow.
50272         * math/libm-test.inc: Add exp test.
50273
50274 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50275
50276         [BZ #11120]
50277         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50278         with NOT_IN_libc.
50279
50280 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50281
50282         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50283         symbol.
50284
50285 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50286
50287         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50288         wrap blocks consisting of several statements.
50289
50290         * sysdeps/generic/math-tests.h: New file.
50291         * sysdeps/i386/fpu/math-tests.h: Likewise.
50292         * math/test-snan.c: Include it.
50293         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50294
50295 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50296
50297         [BZ #15285]
50298         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50299         (__ieee754_j0l): Do not improve calculations using cos of twice
50300         input for inputs above LDBL_MAX / 2.0L.
50301         (__ieee754_y0l): Likewise.
50302         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50303         (__ieee754_j1l): Do not improve calculations using cos of twice
50304         input for inputs above LDBL_MAX / 2.0L.
50305         (__ieee754_y1l): Likewise.
50306         * math/libm-test.inc (j0_test): Add another test.
50307         (j1_test): Likewise.
50308         (y0_test): Likewise.
50309         (y1_test): Likewise.
50310         * sysdeps/i386/fpu/libm-test-ulps: Update.
50311
50312 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50313
50314         * Rules ($(objpfx)bench-%.c): Include code from a C source
50315         file.
50316
50317 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50318
50319         [BZ #15287]
50320         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50321         imaginary part 1.0 and real part less than 0.5 specially.
50322         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50323         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50324         * math/libm-test.inc (cacos_test): Add more tests.
50325         (casin_test): Likewise.
50326         (casinh_test): Likewise.
50327         * sysdeps/i386/fpu/libm-test-ulps: Update.
50328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50329
50330 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50331
50332         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50333         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50334
50335 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50336
50337         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50338         * config.make.in (config-cflags-sse4): Remove variable.
50339         (config-cflags-avx): Likewise.
50340         (config-cflags-sse2avx): Likewise.
50341         (config-cflags-novzeroupper): Likewise.
50342         (config-asflags-i686): Likewise.
50343         (have-mfma4): Likewise.
50344         (have-as-vis3): Likewise.
50345         (MIG): Likewise.
50346         * configure.in (MIG): Do not AC_SUBST.
50347         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50348         (libc_cv_cc_sse4): Do not AC_SUBST.
50349         (libc_cv_cc_avx): Likewise.
50350         (libc_cv_cc_sse2avx): Likewise.
50351         (libc_cv_cc_novzeroupper): Likewise.
50352         (libc_cv_cc_fma4): Likewise.
50353         (libc_cv_as_i686): Likewise.
50354         (libc_cv_sparc_as_vis3): Likewise.
50355         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50356         LIBC_CONFIG_VAR.
50357         (config-asflags-i686): Likewise.
50358         (config-cflags-avx): Likewise.
50359         (config-cflags-sse2avx): Likewise.
50360         (have-mfma4): Likewise.
50361         (config-cflags-novzeroupper): Likewise.
50362         * sysdeps/mach/configure.in (MIG): Likewise.
50363         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50364         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50365         LIBC_CONFIG_VAR.
50366         (config-cflags-avx): Likewise.
50367         (config-cflags-sse2avx): Likewise.
50368         (have-mfma4): Likewise.
50369         (config-cflags-novzeroupper): Likewise.
50370         * configure: Regenerated.
50371         * sysdeps/i386/configure: Likewise.
50372         * sysdeps/mach/configure: Likewise.
50373         * sysdeps/sparc/configure: Likewise.
50374         * sysdeps/x86_64/configure: Likewise.
50375
50376 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50377
50378         [BZ #14812]
50379         * locale/programs/localedef.c (options): Put N_ translation marker
50380         on argument names, not just descriptions.
50381
50382 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50383
50384         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50385
50386 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50387
50388         [BZ #14176]
50389         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50390
50391 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50392
50393         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50394         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50395         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50396         [!BEFORE_ABORT] (before_abort): New function.
50397         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50398         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50399         (writev_for_fatal): New function.
50400         (WRITEV_FOR_FATAL): New macro; call that.
50401         (backtrace_and_maps): New function.
50402         (BEFORE_ABORT): New macro; call that.
50403         (struct str_list): Type removed.
50404         (__libc_message, __libc_fatal): Functions removed.
50405         Include <sysdeps/posix/libc_fatal.c> instead.
50406
50407 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50408
50409         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50410         constants.
50411         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50412         double constants.
50413
50414 2013-03-19  Andreas Schwab  <schwab@suse.de>
50415
50416         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50417         * sysdeps/gnu/configure: Regenerate.
50418
50419         * configure.in: Substitute libc_cv_rtlddir.
50420         * configure: Regenerate.
50421         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50422         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50423         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50424         * elf/Makefile (install-others, CFLAGS-interp.c)
50425         (ldso_install, common-ldd-rewrite): Likewise.
50426         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50427         $(inst_slibdir)/$(rtld-installed-name).
50428         * scripts/rellns-sh: Add -p option.
50429         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50430         for source.
50431
50432 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50433
50434         * manual/nptl.texi: Renamed to ...
50435         * manual/threads.texi: ... this.
50436         * manual/Makefile (chapters): Update.
50437
50438 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50439
50440         [BZ #14812]
50441         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50442         on argument names, not just descriptions.
50443         * malloc/memusagestat.c (options): Likewise.
50444         * nss/getent.c (options): Likewise.
50445
50446 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50447
50448         [BZ #14812]
50449         * iconv/iconv_prog.c (options): Put N_ translation marker
50450         on argument names, not just descriptions.
50451         * iconv/iconvconfig.c (options): Likewise.
50452
50453 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50454
50455         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50456         implementation which is faster on all x86_64 architectures.
50457         Tested on AMD, Intel Nehalem, SNB, IVB.
50458         * sysdeps/x86_64/strnlen.S: Likewise.
50459
50460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50461         Remove all multiarch strlen and strnlen versions.
50462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50463         Remove strlen and strnlen related parts.
50464
50465         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50466         Inline strlen part.
50467         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50468
50469         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50470         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50471         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50472         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50473         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50474         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50475
50476 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50477
50478         * manual/memory.texi (Malloc Tunable Parameters):
50479         Sort parameters alphabetically. Add comments for missing entries.
50480
50481 2013-03-17  David S. Miller  <davem@davemloft.net>
50482
50483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50484
50485 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50486
50487         [BZ #15283]
50488         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50489         for arguments at most half maximum finite value.
50490         * math/libm-test.inc (j0_test): Add more tests.
50491         (j1_test): Likewise.
50492         (y0_test): Likewise.
50493         (y1_test): Likewise.
50494         * sysdeps/i386/fpu/libm-test-ulps: Update.
50495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50496
50497         [BZ #14155]
50498         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50499         1 / x and functions P and Q for arguments above 0x1p256L.
50500         (__ieee754_y0l): Likewise.
50501         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50502         (__ieee754_y1l): Likewise.
50503         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50504         (j1_test): Likewise.
50505         (y0_test): Likewise.
50506         (y1_test): Likewise.
50507
50508 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50509
50510         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50511         variable.
50512
50513 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50514
50515         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50516         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50517         zero since it's initialized to EXEC_PAGESIZE.
50518
50519         * sysdeps/unix/sysv/linux/ldsodefs.h
50520         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50521         * sysdeps/generic/ldsodefs.h: ... here.
50522
50523 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50524
50525         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50526
50527         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50528         math/test-snan.c.
50529         * math/test-snan.c: Renamed from
50530         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50531         * math/Makefile (tests): Add test-snan.
50532         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50533         test-powerpc-snan.
50534
50535         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50536         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50537         functions.
50538         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50539         __builtin_nan family of functions.
50540         * math/libm-test.inc (initialize): Initialize qnan_value with
50541         __builtin_nan family of functions.
50542         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50543         Remove variables.
50544         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50545         Remove functions.
50546         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50547         storage class.  Initialize qNaN_var and sNaN_var with
50548         __builtin_nan and __builtin_nans families of functions,
50549         respectively.
50550
50551         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50552         (sqrt_test): Remove duplicate test with qNaN input.
50553         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50554         (round_test, signbit_test, significand_test): Note missing +/-Inf
50555         as well as qNaN tests.
50556
50557         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50558         qNaN_var.  Fix a few strings, too.
50559         * math/libm-test.inc (nan_value): Rename to qnan_value.
50560         * math/gen-libm-test.pl (%beautify): Adjust to that.
50561         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50562         * math/test-misc.c (main): Likewise.
50563         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50564         to __qnan_bytes, and __qnan_union, respectively.
50565         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50566         Likewise.
50567         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50568         and lqnanval, respectively.
50569         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50570         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50571         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50572         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50573
50574         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50575         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50576         doubles.
50577
50578         * math/test-misc.c (main): Fix copy'n'pastos.
50579         * misc/tst-efgcvt.c (special): Likewise.
50580
50581         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50582         Remove declarations.
50583
50584 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50585
50586         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50587         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50588         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50589         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50590
50591 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50592
50593         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50594         macro to return vdso values correctly in IFUNC implementations.
50595         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50596         Optimization by using IFUNC.
50597
50598 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50599             Richard Henderson  <rth@redhat.com>
50600             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50601
50602         * Makefile.in (bench): New target.
50603         * NEWS: Mention the benchmark framework.
50604         * Rules (bench): Likewise.
50605         (binaries-bench): Generate binaries for functions to
50606         benchmark.
50607         * benchtests/Makefile: New makefile for benchmark tests.
50608         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50609         programs.
50610         * benchtests/exp-inputs: New input file for EXP function.
50611         * benchtests/pow-inputs: New input file for POW function.
50612         * scripts/bench.pl: New script to generate source files for
50613         benchmark programs.
50614
50615 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50616
50617         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50618         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50619         computations on mantissa.  Use macros for rounding and
50620         division.
50621         (denorm): Likewise.
50622         (__dbl_mp): Likewise.
50623         (add_magnitudes): Likewise.
50624         (sub_magnitudes): Likewise.
50625         (__mul): Likewise.
50626         (__sqr): Likewise.
50627         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50628         powers of two in terms of TWOPOW macro.
50629         (mp_no): Make type of mantissa as MANTISSA_T.
50630         [!RADIXI]: Define RADIXI.
50631         [!TWO52]: Define TWO52.
50632         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50633
50634         * manual/nptl.texi (cindex): Modify threads to pthreads.
50635
50636 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50637
50638         * sysdeps/x86_64/preconfigure: Regenerated.
50639
50640 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50641
50642         [BZ #14155]
50643         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50644         0x1p28 and above.
50645         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50646         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50647         0x1p28 and above.
50648         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50649         * math/libm-test.inc (j0_test): Do not allow one spurious
50650         underflow exception.
50651         (y1_test): Likewise.
50652
50653 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50654
50655         * manual/Makefile (chapters): Add nptl.
50656         * manual/debug.texi (Debugging Support): Add link to Threads
50657         chapter.
50658         * manual/nptl.texi: New file.
50659
50660         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50661
50662 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50663
50664         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50665         for non-NULL pointer before the memory validity test. Pointed
50666         out by Holger Brunck <holger.brunck@keymile.com>.
50667
50668 2013-03-13  Andreas Schwab  <schwab@suse.de>
50669
50670         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50671         instead of .os.
50672
50673 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50674
50675         * timezone/zic.c: Update from tzcode 2013b.
50676
50677 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50678
50679         * manual/install.texi (Configuring and compiling):
50680         Mention i686 and i586.
50681         * INSTALL: Regenerate.
50682
50683 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50684
50685         * sysdeps/init_array/elf-init.c: New file.
50686         * csu/elf-init.c
50687         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50688         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50689
50690         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50691         __gmon_start__ as global, but as static with a .preinit_array pointer.
50692         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50693         * sysdeps/init_array/crti.S: New file, empty except for comments.
50694         * sysdeps/init_array/crtn.S: Likewise.
50695
50696 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50697
50698         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50699         definining bcopy.
50700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50701         Remove Prefer_SSE_for_memop.
50702         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50703         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50704         HAS_PREFER_SSE_FOR_MEMOP.
50705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50706         memset-x86-64.
50707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50708         Remove bzero, memset ifunc support.
50709         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50710         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50711         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50712         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50713
50714 2013-03-11  Andreas Schwab  <schwab@suse.de>
50715
50716         [BZ #15234]
50717         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50718         by SHLIB_COMPAT.
50719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50720         (GLIBC_2.16): Remove pthread_atfork.
50721
50722 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50723
50724         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50725         (ptestcases.h): Likewise.
50726
50727 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50728
50729         * Makeconfig ($(common-objpfx)config.status): Depend on
50730         sysdeps/*/preconfigure{,.in} too.
50731
50732 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50733
50734         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50735         (__free_hook): Use void * instead of __malloc_ptr_t.
50736         (__malloc_hook): Likewise.
50737         (__realloc_hook): Likewise.
50738         (__memalign_hook): Likewise.
50739         (__after_morecore_hook): Likewise.
50740         * malloc/arena.c (save_malloc_hook): Likewise.
50741         (save_free_hook): Likewise.
50742         * malloc/hooks.c (malloc_hook_ini): Likewise.
50743         (realloc_hook_ini): Likewise.
50744         (memalign_hook_ini): Likewise.
50745         * malloc/malloc.c (malloc_hook_ini): Likewise.
50746         (realloc_hook_ini): Likewise.
50747         (memalign_hook_ini): Likewise.
50748         (__free_hook): Likewise.
50749         (__malloc_hook): Likewise.
50750         (__realloc_hook): Likewise.
50751         (__memalign_hook): Likewise.
50752         (__libc_malloc): Likewise.
50753         (__libc_free): Likewise.
50754         (__libc_realloc): Likewise.
50755         (__libc_memalign): Likewise.
50756         (__libc_valloc): Likewise.
50757         (__libc_pvalloc): Likewise.
50758         (__libc_calloc): Likewise.
50759         (__posix_memalign): Likewise.
50760         * malloc/morecore.c (__sbrk): Likewise.
50761         (__default_morecore): Likewise.
50762
50763         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50764
50765         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50766         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50767         __malloc_ptrdiff_t.
50768
50769         * malloc/malloc.h (__malloc_size_t): Remove macro.
50770         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50771         __malloc_size_t.
50772         (old_memalign_hook): Likewise.
50773         (old_realloc_hook): Likewise.
50774         (struct hdr): Likewise.
50775         (flood): Likewise.
50776         (mallochook): Likewise.
50777         (memalignhook): Likewise.
50778         (reallochook): Likewise.
50779         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50780         (tr_old_realloc_hook): Likewise.
50781         (tr_old_memalign_hook): Likewise.
50782         (tr_mallochook): Likewise.
50783         (tr_reallochook): Likewise.
50784         (tr_memalignhook): Likewise.
50785
50786 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50787
50788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50789         default_ldbl_pack and using as default implementation.
50790         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50791         implementation.
50792         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50793         redundant definition.
50794         (ldbl_insert_mantissa): Likewise.
50795         (ldbl_canonicalize): Likewise.
50796         (ldbl_nearbyint): Likewise.
50797         (ldbl_pack): Rename to ldbl_pack_ppc.
50798         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50799         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50800         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50801
50802 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50803
50804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50805         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50806         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50807         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50809         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50810         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50811         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50812
50813 2013-03-07  Andreas Jaeger  <aj@suse.de>
50814
50815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50816         bits/mman-linux.h.
50817
50818 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50819
50820         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50821         Include mpa.h and declare __MPEXP.
50822         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50823         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50824         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50825         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50826         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50827         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50828         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50829
50830         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50831         (__slowpow): Use long double EXPL and LOGL functions to
50832         compute POW.
50833         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50834         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50835         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50836         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50837         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50838         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50839
50840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50841         intermediate variable to calculate exponent.
50842         (__sqr): Likewise.
50843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50844         Likewise.
50845         (__sqr): Likewise.
50846
50847         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50848         [!NO__SQR]: Define __sqr.
50849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50850         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50851         sysdeps/ieee754/dbl-64/mpa.c.
50852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50853
50854         [BZ #12723]
50855         * posix/Makefile (tests): Add tst-pathconf.
50856         * posix/tst-pathconf.c: New test case.
50857         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50858         _PC_PIPE_BUF.
50859         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50860
50861 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50862
50863         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50864
50865 2013-03-06  Andreas Jaeger  <aj@suse.de>
50866
50867         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50868         definition via __MAP_ANONYMOUS.
50869
50870         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50871         it's not part of Linux headers.
50872
50873         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50874         (MAP_HUGE_MASK): Define.
50875
50876         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50877         Define.
50878         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50879         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50880         Define.
50881         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50882         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50883         Define.
50884         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50885         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50886         Define.
50887         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50888
50889         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50890         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50891         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50892         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50893         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50894         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50895
50896         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50897         Handle f2fs.
50898
50899         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50900         Handle f2fs and efivarfs.
50901
50902         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50903         f2fs.
50904
50905         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50906         (EFIVARFS_MAGIC): Add.
50907         (F2FS_LINK_MAX): Add.
50908
50909 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50910
50911         * stdio-common/vfprintf.c: Replace __builtin_expect with
50912         __glibc_unlikely.
50913
50914 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50915
50916         [BZ #13550]
50917         * sysdeps/generic/bp-sym.h: Remove file.
50918         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50919         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50920         <bp-sym.h> and <bp-asm.h>.
50921         (__longjmp): Don't use BP_SYM.
50922         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50923         and <bp-asm.h>.
50924         (memcpy): Don't use BP_SYM.
50925         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50926         <bp-sym.h> and <bp-asm.h>.
50927         (memcpy): Don't use BP_SYM.
50928         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50929         <bp-asm.h>.
50930         (memcpy): Don't use BP_SYM.
50931         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50932         <bp-asm.h>.
50933         (memset): Don't use BP_SYM.
50934         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50935         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50936         (__bzero): Don't use BP_SYM.
50937         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50938         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50939         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50940         <bp-sym.h> and <bp-asm.h>.
50941         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50942         pointers.
50943         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50944         <bp-sym.h> and <bp-asm.h>.
50945         (memcpy): Don't use BP_SYM.
50946         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50947         <bp-sym.h> and <bp-asm.h>.
50948         (memset): Don't use BP_SYM.
50949         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50950         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50951         (__bzero): Don't use BP_SYM.
50952         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50953         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50954         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50955         <bp-sym.h> and <bp-asm.h>.
50956         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50957         pointers.
50958         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50959         <bp-sym.h> and <bp-asm.h>.
50960         (memcpy): Don't use BP_SYM.
50961         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50962         <bp-sym.h> and <bp-asm.h>.
50963         (memset): Don't use BP_SYM.
50964         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50965         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50966         (__bzero): Don't use BP_SYM.
50967         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50968         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50969         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50970         <bp-sym.h> and <bp-asm.h>.
50971         (__memchr): Don't use BP_SYM.
50972         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50973         <bp-sym.h> and <bp-asm.h>.
50974         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50975         pointers.
50976         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50977         <bp-sym.h> and <bp-asm.h>.
50978         (memcpy): Don't use BP_SYM.
50979         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50980         <bp-sym.h> and <bp-asm.h>.
50981         (__mempcpy): Don't use BP_SYM.
50982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50983         <bp-sym.h> and <bp-asm.h>.
50984         (__memrchr): Don't use BP_SYM.
50985         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50986         <bp-sym.h> and <bp-asm.h>.
50987         (memset): Don't use BP_SYM.
50988         (__bzero): Likewise.
50989         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50990         <bp-sym.h> and <bp-asm.h>.
50991         (__rawmemchr): Don't use BP_SYM.
50992         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50993         <bp-sym.h> and <bp-asm.h>.
50994         (__STRCMP): Don't use BP_SYM.
50995         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50996         <bp-sym.h> and <bp-asm.h>.
50997         (strchr): Don't use BP_SYM.
50998         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50999         <bp-sym.h> and <bp-asm.h>.
51000         (__strchrnul): Don't use BP_SYM.
51001         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51002         <bp-sym.h> and <bp-asm.h>.
51003         (strlen): Don't use BP_SYM.
51004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51005         <bp-sym.h> and <bp-asm.h>.
51006         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51007         pointers.
51008         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51009         <bp-sym.h> and <bp-asm.h>.
51010         (__strnlen): Don't use BP_SYM.
51011         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51012         <bp-sym.h> and <bp-asm.h>.
51013         (__GI__setjmp): Don't use BP_SYM.
51014         (_setjmp): Likewise.
51015         (__sigsetjmp): Likewise.
51016         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51017         (L(start_addresses)): Don't use BP_SYM.
51018         (_start): Likewise.
51019         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51020         <bp-asm.h>.
51021         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51022         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51023         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51024         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51025         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51026         <bp-asm.h>.
51027         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51028         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51029         about bounded pointers.
51030         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51031         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51032         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51033         <bp-asm.h>.
51034         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51035         about bounded pointers.  Remove GKM FIXME comments.
51036         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51037         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51038         <bp-asm.h>.
51039         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51040         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51041         Remove GKM FIXME comments.
51042         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51043         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51044         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51045         <bp-asm.h>.
51046         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51047         about bounded pointers.  Remove GKM FIXME comment.
51048         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51049         and <bp-asm.h>.
51050         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51051         pointers.
51052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51053         <bp-sym.h> and <bp-asm.h>.
51054         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51056         <bp-sym.h> and <bp-asm.h>.
51057         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51058         comment.
51059
51060 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51061
51062         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51063         call free(NULL).
51064
51065 2013-03-05  David S. Miller  <davem@davemloft.net>
51066
51067         * po/es.po: Update from translation team.
51068
51069 2013-03-05  Andreas Jaeger  <aj@suse.de>
51070
51071         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51072         <bits/mman-linux.h>.
51073         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51074         is fine.
51075         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51076         <bits/mman-linux.h> to end of file.
51077         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51078         is fine.
51079         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51080         <bits/mman-linux.h> to end of file.
51081         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51082         is fine.
51083         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51084         <bits/mman-linux.h> to end of file.
51085
51086         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51087         (MCL_CURRENT, MCL_FUTURE): Define here.
51088
51089 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51090
51091         [BZ #15232]
51092         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51093         attribute_hidden.
51094         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51095
51096 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51097
51098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51099         fourth parameter needed for rt_sigprocmask syscall.
51100         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51101         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51102         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51103         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51104         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51105         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51106
51107 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51108
51109         [BZ #13550]
51110         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51111         comment about bounded pointers.
51112         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51113         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51114
51115 2013-03-04  Andreas Jaeger  <aj@suse.de>
51116
51117         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51118         common definitions.
51119
51120         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51121         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51122         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51123         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51124         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51126
51127 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51128
51129         [BZ #15055]
51130         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51131         __ieee754_sqrl instead of __sqrl.
51132
51133 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51134
51135         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51136         * sysdeps/powerpc/fpu_control.h: ... here.
51137         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51138         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51139         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51140         * sysdeps/powerpc/bits/mathinline.h: ... here.
51141
51142 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51143
51144         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51145         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51146         to just [NEED_DL_SYSINFO_DSO].
51147         * elf/dl-support.c: Likewise.
51148         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51149         * elf/rtld.c (dl_main): Likewise.
51150         * elf/setup-vdso.h (setup_vdso): Likewise.
51151         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51152         * sysdeps/unix/sysv/linux/dl-sysdep.c
51153         (_dl_discover_osversion): Likewise.
51154
51155 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51156
51157         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51158         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51159
51160 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51161
51162         * NEWS: Mention libm performance improvements and non-x86 PI
51163         futex support.
51164
51165         * csu/libc-start.c (__pthread_initialize_minimal): Change
51166         function arguments.
51167         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51168
51169 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51170
51171         [BZ #13550]
51172         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51173         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51174         <bp-sym.h> and <bp-asm.h>.
51175         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51176         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51177         and <bp-asm.h>.
51178         (memcpy): Don't use BP_SYM.
51179         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51180         <bp-asm.h>.
51181         (__mpn_add_n): Don't use BP_SYM.
51182         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51183         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51184         and <bp-asm.h>.
51185         (__mpn_addmul_1): Don't use BP_SYM.
51186         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51187         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51188         <bp-sym.h>.
51189         (_setjmp): Don't use BP_SYM.
51190         (__novmx_setjmp): Likewise.
51191         (__GI__setjmp): Likewise.
51192         (__vmx_setjmp): Likewise.
51193         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51194         <bp-sym.h>.
51195         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51196         (__bzero): Don't use BP_SYM.
51197         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51198         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51199         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51200         <bp-sym.h> and <bp-asm.h>.
51201         (memcpy): Don't use BP_SYM.
51202         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51203         <bp-sym.h> and <bp-asm.h>.
51204         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51205         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51206         <bp-sym.h> and <bp-asm.h>.
51207         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51208         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51209         <bp-asm.h>.
51210         (__mpn_lshift): Don't use BP_SYM.
51211         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51212         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51213         <bp-asm.h>.
51214         (memset): Don't use BP_SYM.
51215         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51216         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51217         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51218         <bp-asm.h>.
51219         (__mpn_mul_1): Don't use BP_SYM.
51220         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51221         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51222         <bp-sym.h> and <bp-asm.h>.
51223         (memcmp): Don't use BP_SYM.
51224         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51225         <bp-sym.h> and <bp-asm.h>.
51226         (memcpy): Don't use BP_SYM.
51227         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51228         <bp-sym.h> and <bp-asm.h>.
51229         (memset): Don't use BP_SYM.
51230         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51231         <bp-sym.h> and <bp-asm.h>.
51232         (strncmp): Don't use BP_SYM.
51233         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51234         <bp-sym.h> and <bp-asm.h>.
51235         (memcpy): Don't use BP_SYM.
51236         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51237         <bp-sym.h> and <bp-asm.h>.
51238         (memset): Don't use BP_SYM.
51239         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51240         <bp-sym.h> and <bp-asm.h>.
51241         (__memchr): Don't use BP_SYM.
51242         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51243         <bp-sym.h> and <bp-asm.h>.
51244         (memcmp): Don't use BP_SYM.
51245         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51246         <bp-sym.h> and <bp-asm.h>.
51247         (memcpy): Don't use BP_SYM.
51248         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51249         <bp-sym.h> and <bp-asm.h>.
51250         (__mempcpy): Don't use BP_SYM.
51251         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51252         <bp-sym.h> and <bp-asm.h>.
51253         (__memrchr): Don't use BP_SYM.
51254         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51255         <bp-sym.h> and <bp-asm.h>.
51256         (memset): Don't use BP_SYM.
51257         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51258         <bp-sym.h> and <bp-asm.h>.
51259         (__rawmemchr): Don't use BP_SYM.
51260         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51261         <bp-sym.h> and <bp-asm.h>.
51262         (__STRCMP): Don't use BP_SYM.
51263         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51264         <bp-sym.h> and <bp-asm.h>.
51265         (strchr): Don't use BP_SYM.
51266         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51267         <bp-sym.h> and <bp-asm.h>.
51268         (__strchrnul): Don't use BP_SYM.
51269         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51270         <bp-sym.h> and <bp-asm.h>.
51271         (strlen): Don't use BP_SYM.
51272         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51273         <bp-sym.h> and <bp-asm.h>.
51274         (strncmp): Don't use BP_SYM.
51275         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51276         <bp-sym.h> and <bp-asm.h>.
51277         (__strnlen): Don't use BP_SYM.
51278         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51279         <bp-asm.h>.
51280         (__mpn_rshift): Don't use BP_SYM.
51281         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51282         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51283         <bp-sym.h> and <bp-asm.h>.
51284         (__sigsetjmp): Don't use BP_SYM.
51285         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51286         (L(start_addresses)): Don't use BP_SYM.
51287         (_start): Likewise.
51288         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51289         <bp-asm.h>.
51290         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51291         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51292         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51293         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51294         <bp-asm.h>.
51295         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51296         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51297         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51298         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51299         <bp-asm.h>.
51300         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51301         comments.
51302         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51303         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51304         <bp-asm.h>.
51305         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51306         FIXME comments.
51307         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51308         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51309         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51310         <bp-asm.h>.
51311         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51312         comment.
51313         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51314         and <bp-asm.h>.
51315         (strncmp): Don't use BP_SYM,
51316         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51317         <bp-asm.h>.
51318         (__mpn_sub_n): Don't use BP_SYM.
51319         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51320         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51321         and <bp-asm.h>.
51322         (__mpn_submul_1): Don't use BP_SYM.
51323         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51325         <bp-sym.h> and <bp-asm.h>.
51326         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51328         <bp-sym.h> and <bp-asm.h>.
51329         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51330         comment.
51331
51332 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51333
51334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51335         Use ZK to minimize writes to Z.
51336         (sub_magnitudes): Simplify code a bit.
51337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51338         Use ZK to minimize writes to Z.
51339         (sub_magnitudes): Simplify code a bit.
51340
51341 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51342
51343         * csu/gmon-start.c: Add special exception to license text.
51344
51345 2013-02-27  Richard Henderson  <rth@redhat.com>
51346
51347         * scripts/config.guess: Update from config.git.
51348         * scripts/config.sub: Likewise.
51349
51350 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51351
51352         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51353
51354         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51355
51356         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51357
51358         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51359
51360         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51361
51362 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51363
51364         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51365         [$(build-shared = yes].
51366
51367 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51368
51369         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51370         (__mul): Reduce iterations for calculating mantissa.
51371
51372         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51373         MPTWO.
51374         (__mpranred): Likewise.
51375
51376         [BZ #15160]
51377         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51378         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51379
51380 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51381
51382         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51383         Define __attribute__.
51384
51385 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51386
51387         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51388         unused.
51389         * posix/regex_internal.h (__attribute): Remove.
51390         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51391         (re_string_context_at): Likewise.
51392         (bitset_not): Use __attribute__ and mark function as possibly
51393         unused.
51394         (bitset_merge): Likewise.
51395         (bitset_mask): Likewise.
51396         (re_string_char_size_at): Likewise.
51397         (re_string_wchar_at): Likewise.
51398         (re_string_elem_size_at): Likewise.
51399
51400 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51401
51402         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51403         code.
51404         (cc32): Likewise.
51405
51406         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51407         (__acr): Likewise.
51408         (__cpy): Likewise.
51409         (norm): Likewise.
51410         (denorm): Likewise.
51411         (__dbl_mp): Likewise.
51412         (add_magnitudes): Likewise.
51413         (sub_magnitudes): Likewise.
51414         (__mul): Likewise.
51415         (__inv): Likewise.
51416
51417         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51418         style.
51419
51420         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51421         style.
51422
51423         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51424         code.
51425
51426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51427         up changes with default code.
51428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51429         Likewise.
51430
51431 2013-02-24  Allan McRae  <allan@archlinux.org>
51432
51433         * manual/socket.texi (The Internet Namespace): Order menu items
51434         to match that in the file.
51435
51436         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51437         node listing of the info page menu.
51438
51439 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51440
51441         [BZ #13550]
51442         * sysdeps/i386/bp-asm.h: Remove file.
51443         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51444         (PARMS): Do not use macros from bp-asm.h.
51445         (S1): Likewise.
51446         (S2): Likewise.
51447         (SIZE): Likewise.
51448         (__mpn_add_n): Do not use BP_SYM
51449         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51450         "bp-asm.h".
51451         (PARMS): Do not use macros from bp-asm.h.
51452         (S1): Likewise.
51453         (SIZE): Likewise.
51454         (__mpn_addmul_1): Do not use BP_SYM
51455         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51456         "bp-asm.h".
51457         (PARMS): Do not use macros from bp-asm.h.
51458         (SIGMSK): Likewise.
51459         (_setjmp): Likewise.  Do not use BP_SYM.
51460         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51461         "bp-asm.h".
51462         (PARMS): Do not use macros from bp-asm.h.
51463         (SIGMSK): Likewise.
51464         (setjmp): Likewise.  Do not use BP_SYM.
51465         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51466         "bp-asm.h".
51467         (PARMS): Do not use macros from bp-asm.h.
51468         (__frexp): Do not use BP_SYM.
51469         (frexp): Likewise.
51470         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51471         "bp-asm.h".
51472         (PARMS): Do not use macros from bp-asm.h.
51473         (__frexpf): Do not use BP_SYM.
51474         (frexpf): Likewise.
51475         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51476         "bp-asm.h".
51477         (PARMS): Do not use macros from bp-asm.h.
51478         (__frexpl): Do not use BP_SYM.
51479         (frexpl): Likewise.
51480         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51481         "bp-asm.h".
51482         (PARMS): Do not use macros from bp-asm.h.
51483         (__remquo): Do not use BP_SYM.
51484         (remquo): Likewise.
51485         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51486         "bp-asm.h".
51487         (PARMS): Do not use macros from bp-asm.h.
51488         (__remquof): Do not use BP_SYM.
51489         (remquof): Likewise.
51490         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51491         "bp-asm.h".
51492         (PARMS): Do not use macros from bp-asm.h.
51493         (__remquol): Do not use BP_SYM.
51494         (remquol): Likewise.
51495         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51496         "bp-asm.h".
51497         (PARMS): Do not use macros from bp-asm.h.
51498         (DEST): Likewise.
51499         (SRC): Likewise.
51500         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51501         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51502         "bp-asm.h".
51503         (PARMS): Do not use macros from bp-asm.h.
51504         (strlen): Do not use BP_SYM.
51505         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51506         "bp-asm.h".
51507         (PARMS): Do not use macros from bp-asm.h.
51508         (S1): Likewise.
51509         (S2): Likewise.
51510         (SIZE): Likewise.
51511         (__mpn_add_n): Do not use BP_SYM.
51512         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51513         "bp-asm.h".
51514         (PARMS): Do not use macros from bp-asm.h.
51515         (S1): Likewise.
51516         (SIZE): Likewise.
51517         (__mpn_addmul_1): Do not use BP_SYM.
51518         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51519         weak_alias.
51520         (bzero): Likewise.
51521         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51522         "bp-asm.h".
51523         (PARMS): Do not use macros from bp-asm.h.
51524         (S): Likewise.
51525         (SIZE): Likewise.
51526         (__mpn_lshift): Do not use BP_SYM.
51527         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51528         "bp-asm.h".
51529         (PARMS): Do not use macros from bp-asm.h.
51530         (DEST): Likewise.
51531         (SRC): Likewise.
51532         (LEN): Likewise.
51533         (memcpy): Likewise.  Do not use BP_SYM.
51534         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51535         libc_hidden_def and weak_alias.
51536         (mempcpy): Do not use BP_SYM in weak_alias.
51537         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51538         "bp-asm.h".
51539         (PARMS): Do not use macros from bp-asm.h.
51540         (DEST): Likewise.
51541         (LEN): Likewise.
51542         [!BZERO_P] (CHR): Likewise.
51543         (memset): Likewise.  Do not use BP_SYM.
51544         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51545         "bp-asm.h".
51546         (PARMS): Do not use macros from bp-asm.h.
51547         (S1): Likewise.
51548         (SIZE): Likewise.
51549         (__mpn_mul_1): Do not use BP_SYM.
51550         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51551         "bp-asm.h".
51552         (PARMS): Do not use macros from bp-asm.h.
51553         (S): Likewise.
51554         (SIZE): Likewise.
51555         (__mpn_rshift): Do not use BP_SYM.
51556         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51557         "bp-asm.h".
51558         (PARMS): Do not use macros from bp-asm.h.
51559         (STR): Likewise.
51560         (CHR): Likewise.
51561         (strchr): Likewise.  Do not use BP_SYM.
51562         (index): Do not use BP_SYM in weak_alias.
51563         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51564         "bp-asm.h".
51565         (PARMS): Do not use macros from bp-asm.h.
51566         (DEST): Likewise.
51567         (SRC): Likewise.
51568         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51569         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51570         "bp-asm.h".
51571         (PARMS): Do not use macros from bp-asm.h.
51572         (strlen): Do not use BP_SYM.
51573         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51574         "bp-asm.h".
51575         (PARMS): Do not use macros from bp-asm.h.
51576         (S1): Likewise.
51577         (S2): Likewise.
51578         (SIZE): Likewise.
51579         (__mpn_sub_n): Do not use BP_SYM.
51580         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51581         "bp-asm.h".
51582         (PARMS): Do not use macros from bp-asm.h.
51583         (S1): Likewise.
51584         (SIZE): Likewise.
51585         (__mpn_submul_1): Do not use BP_SYM.
51586         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51587         "bp-asm.h".
51588         (PARMS): Do not use macros from bp-asm.h.
51589         (S1): Likewise.
51590         (S2): Likewise.
51591         (SIZE): Likewise.
51592         (__mpn_add_n): Do not use BP_SYM.
51593         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51594         weak_alias.
51595         (bzero): Likewise.
51596         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51597         "bp-asm.h".
51598         (PARMS): Do not use macros from bp-asm.h.
51599         (BLK2): Likewise.
51600         (LEN): Likewise.
51601         (memcmp): Do not use BP_SYM.
51602         (bcmp): Do not use BP_SYM in weak_alias.
51603         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51604         "bp-asm.h".
51605         (PARMS): Do not use macros from bp-asm.h.
51606         (DEST): Likewise.
51607         (SRC): Likewise.
51608         (LEN): Likewise.
51609         (memcpy): Likewise.  Do not use BP_SYM.
51610         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51611         "bp-asm.h".
51612         (PARMS): Do not use macros from bp-asm.h.
51613         (DEST): Likewise.
51614         (SRC): Likewise.
51615         (LEN): Likewise.
51616         (memmove): Likewise.  Do not use BP_SYM.
51617         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51618         "bp-asm.h".
51619         (PARMS): Do not use macros from bp-asm.h.
51620         (DEST): Likewise.
51621         (SRC): Likewise.
51622         (LEN): Likewise.
51623         (__mempcpy): Likewise.  Do not use BP_SYM.
51624         (mempcpy): Do not use BP_SYM in weak_alias.
51625         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51626         "bp-asm.h".
51627         (PARMS): Do not use macros from bp-asm.h.
51628         (DEST): Likewise.
51629         (LEN): Likewise.
51630         [!BZERO_P] (CHR): Likewise.
51631         (memset): Likewise.  Do not use BP_SYM.
51632         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51633         "bp-asm.h".
51634         (PARMS): Do not use macros from bp-asm.h.
51635         (STR2): Likewise.
51636         (strcmp): Do not use BP_SYM.
51637         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51638         "bp-asm.h".
51639         (PARMS): Do not use macros from bp-asm.h.
51640         (STR): Likewise.
51641         (DELIM): Likewise.
51642         [USE_AS_STRTOK_R] (SAVE): Likewise.
51643         (FUNCTION): Likewise.  Do not use BP_SYM.
51644         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51645         aliases.
51646         (strtok_r): Likewise.
51647         (__GI___strtok_r): Likewise.
51648         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51649         (PARMS): Do not use macros from bp-asm.h.
51650         (S): Likewise.
51651         (SIZE): Likewise.
51652         (__mpn_lshift): Do not use BP_SYM.
51653         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51654         (PARMS): Do not use macros from bp-asm.h.
51655         (STR): Likewise.
51656         (CHR): Likewise.
51657         (__memchr): Do not use BP_SYM.
51658         (memchr): Do not use BP_SYM in weak_alias.
51659         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51660         (PARMS): Do not use macros from bp-asm.h.
51661         (BLK2): Likewise.
51662         (LEN): Likewise.
51663         (memcmp): Do not use BP_SYM.
51664         (bcmp): Do not use BP_SYM in weak_alias.
51665         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51666         (PARMS): Do not use macros from bp-asm.h.
51667         (S1): Likewise.
51668         (SIZE): Likewise.
51669         (__mpn_mul_1): Do not use BP_SYM.
51670         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51671         "bp-asm.h".
51672         (PARMS): Do not use macros from bp-asm.h.
51673         (STR): Likewise.
51674         (CHR): Likewise.
51675         (__rawmemchr): Do not use BP_SYM.
51676         (rawmemchr): Do not use BP_SYM in weak_alias.
51677         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51678         (PARMS): Do not use macros from bp-asm.h.
51679         (S): Likewise.
51680         (SIZE): Likewise.
51681         (__mpn_rshift): Do not use BP_SYM.
51682         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51683         (PARMS): Do not use macros from bp-asm.h.
51684         (SIGMSK): Likewise.
51685         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51686         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51687         (_start): Do not use BP_SYM.
51688         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51689         (PARMS): Do not use macros from bp-asm.h.
51690         (DEST): Likewise.
51691         (SRC): Likewise.
51692         (__stpcpy): Likewise.  Do not use BP_SYM.
51693         (stpcpy): Do not use BP_SYM in weak_alias.
51694         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51695         "bp-asm.h".
51696         (PARMS): Do not use macros from bp-asm.h.
51697         (DEST): Likewise.
51698         (SRC): Likewise.
51699         (LEN): Likewise.
51700         (__stpncpy): Likewise.  Do not use BP_SYM.
51701         (stpncpy): Do not use BP_SYM in weak_alias.
51702         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51703         (PARMS): Do not use macros from bp-asm.h.
51704         (STR): Likewise.
51705         (CHR): Likewise.
51706         (strchr): Likewise.  Do not use BP_SYM.
51707         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51708         "bp-asm.h".
51709         (PARMS): Do not use macros from bp-asm.h.
51710         (STR): Likewise.
51711         (CHR): Likewise.
51712         (__strchrnul): Likewise.  Do not use BP_SYM.
51713         (strchrnul): Do not use BP_SYM in weak_alias.
51714         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51715         "bp-asm.h".
51716         (PARMS): Do not use macros from bp-asm.h.
51717         (STOP): Likewise.
51718         (strcspn): Do not use BP_SYM.
51719         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51720         "bp-asm.h".
51721         (PARMS): Do not use macros from bp-asm.h.
51722         (STR): Likewise.
51723         (STOP): Likewise.
51724         (strpbrk): Likewise.  Do not use BP_SYM.
51725         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51726         "bp-asm.h".
51727         (PARMS): Do not use macros from bp-asm.h.
51728         (STR): Likewise.
51729         (CHR): Likewise.
51730         (strrchr): Likewise.  Do not use BP_SYM.
51731         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51732         (PARMS): Do not use macros from bp-asm.h.
51733         (SKIP): Likewise.
51734         (strspn): Do not use BP_SYM.
51735         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51736         (PARMS): Do not use macros from bp-asm.h.
51737         (STR): Likewise.
51738         (DELIM): Likewise.
51739         (SAVE): Likewise.
51740         (FUNCTION): Likewise.  Do not use BP_SYM.
51741         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51742         aliases.
51743         (strtok_r): Likewise.
51744         (__GI___strtok_r): Likewise.
51745         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51746         (PARMS): Do not use macros from bp-asm.h.
51747         (S1): Likewise.
51748         (S2): Likewise.
51749         (SIZE): Likewise.
51750         (__mpn_sub_n): Do not use BP_SYM.
51751         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51752         "bp-asm.h".
51753         (PARMS): Do not use macros from bp-asm.h.
51754         (S1): Likewise.
51755         (SIZE): Likewise.
51756         (__mpn_submul_1): Do not use BP_SYM.
51757         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51758         <bp-sym.h>.
51759         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51760         and <bp-asm.h>.
51761         (PARMS): Do not use macros from bp-asm.h.
51762         (FLAGS): Likewise.
51763         (PTID): Likewise.
51764         (TLS): Likewise.
51765         (CTID): Likewise.
51766         (__clone): Do not use BP_SYM.
51767         (clone): Do not use BP_SYM in weak_alias.
51768         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51769         and <bp-asm.h>.
51770         (PARMS): Do not use macros from bp-asm.h.
51771         (LEN): Likewise.
51772         (__mmap64): Do not use BP_SYM.
51773         (mmap64): Do not use BP_SYM in weak_alias.
51774         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51775         <bp-sym.h> and <bp-asm.h>.
51776         (PARMS): Do not use macros from bp-asm.h.
51777         (__posix_fadvise64_l64): Do not use BP_SYM.
51778         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51779         (PARMS): Do not use macros from bp-asm.h.
51780         (NSOPS): Likewise.
51781         (semtimedop): Do not use BP_SYM.
51782         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51783         and <bp-asm.h>.
51784
51785 2013-02-21  Allan McRae  <allan@archlinux.org>
51786
51787         * manual/message.texi (Charset conversion in gettext):
51788         Move @end statement to beginning of line.
51789
51790 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51791
51792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51793         static.
51794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51795         Likewise.
51796
51797         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51798         (denorm): Likewise.
51799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51801
51802 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51803
51804         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51805         tail-call to the resolved function if pltexit isn't needed.
51806
51807 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51808
51809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51810         or Y being zero as being unlikely.
51811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51812         Likewise.
51813
51814 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51815
51816         * manual/nss.texi (System Databases and Name Service Switch):
51817         Remove frobnicate @pxref.
51818
51819 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51820
51821         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51822         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51823
51824 2013-02-20  Petr Machata  <pmachata@redhat.com>
51825
51826         * elf/elf.h (R_ARM_TARGET1): New macro.
51827         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51828         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51829         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51830         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51831         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51832         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51833         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51834         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51835         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51836         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51837         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51838         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51839         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51840         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51841         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51842         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51843         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51844         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51845         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51846         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51847         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51848         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51849         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51850         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51851         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51852         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51853         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51854         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51855         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51856         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51857         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51858         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51859         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51860         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51861         (R_ARM_THM_GOT_BREL12): Likewise.
51862         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51863         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51864         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51865         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51866         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51867         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51868         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51869         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51870         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51871
51872 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51873
51874         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51875         __attribute_used__ to __attribute__ ((unused)).
51876
51877 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51878
51879         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51880         powerpc mpa.c.
51881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51882         comment formatting.
51883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51884
51885 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51886
51887         [BZ #13550]
51888         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51889         Remove macro.
51890         (ENTER): Remove both macro definitions.
51891         (LEAVE): Likewise.
51892         (CHECK_BOUNDS_LOW): Likewise.
51893         (CHECK_BOUNDS_HIGH): Likewise.
51894         (CHECK_BOUNDS_BOTH): Likewise.
51895         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51896         (RETURN_BOUNDED_POINTER): Likewise.
51897         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51898         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51899         (POP_ERRNO_LOCATION_RETURN): Likewise.
51900         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51901         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51902         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51903         macros.
51904         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51905         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51906         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51907         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51908         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51909         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51910         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51911         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51912         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51913         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51914         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51915         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51916         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51917         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51918         removed macros.
51919         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51920         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51921         macros.
51922         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51923         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51924         * sysdeps/i386/i586/memset.S (memset): Likewise.
51925         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51926         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51927         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51928         macros.
51929         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51930         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51931         Change uses of L(2) to L(out).
51932         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51933         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51934         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51935         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51936         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51937         removed macros.
51938         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51939         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51940         macros.
51941         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51942         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51943         (RETURN): Do not use macro LEAVE.
51944         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51945         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51946         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51947         * sysdeps/i386/i686/memset.S (memset): Likewise.
51948         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51949         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51950         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51951         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51952         Likewise.
51953         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51954         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51955         L(1_2) and L(1_3) into L(1).
51956         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51957         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51958         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51959         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51960         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51961         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51962         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51963         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51964         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51965         macros.
51966         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51967         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51968         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51969         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51970         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51971         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51972         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51973         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51974         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51975         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51976         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51977         * sysdeps/i386/strspn.S (strspn): Likewise.
51978         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51979         conditional code.
51980         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51981         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51982         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51983         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51984         L(1_3) into L(1_1).
51985         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51986         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51987         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51988         macros.
51989         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51990
51991 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51992
51993         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51994         macro.
51995
51996 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51997
51998         * math/atest-exp.c (exp_mpn): Remove ROUND.
51999         * math/atest-exp2.c (exp_mpn): Likewise.
52000         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52001
52002         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52003         * stdlib/tst-tls-atexit-lib.c: Likewise.
52004         * stdlib/tst-tls-atexit.c: Likewise.
52005
52006 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52007
52008         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52009         and __attribute_alloc_size__.
52010
52011 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52012
52013         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52014         __attribute_alloc_size__.
52015         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52016         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52017
52018 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52019
52020         * include/programs/xmalloc.h: New file.
52021         * catgets/gencat.c: Include it.
52022         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52023         * elf/pldd.c: Likewise.
52024         * iconv/iconv_charmap.c: Likewise.
52025         * iconv/iconvconfig.c: Likewise.
52026         * iconv/strtab.c: Likewise.
52027         * locale/programs/locale.c: Likewise.
52028         * locale/programs/localedef.h: Likewise.
52029         * locale/programs/simple-hash.c: Likewise.
52030         * nscd/nscd.h: Likewise.
52031         * nss/makedb.c: Likewise.
52032         * sysdeps/generic/ldconfig.h: Likewise.
52033
52034 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52035
52036         * Versions.def: Add GLIBC_2.18.
52037         * include/link.h (struct link_map): New member l_tls_dtor_count.
52038         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52039         (__call_tls_dtors): Likewise.
52040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52041         __cxa_thread_atexit_impl.
52042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52043         Likewise.
52044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52045         Likewise.
52046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52047         Likewise.
52048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52049         Likewise.
52050         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52052         Likewise.
52053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52054         Likewise.
52055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52057         Likewise.
52058         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52059         (tests): Add test case tst-tls-atexit.
52060         (modules-names): Add shared library for tst-tls-atexit.
52061         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52062         (GLIBC_PRIVATE): Add __call_tls_dtors.
52063         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52064         for libstdc++.
52065         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52066         * stdlib/tst-tls-atexit.c: New test case.
52067         * stdlib/tst-tls-atexit-lib.c: New test case.
52068
52069         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52070
52071         * elf/Versions (ld): Add _dl_find_dso_for_object.
52072         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52073         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52074         (dl_open_worker): Use _dl_find_dso_for_object.
52075         * elf/dl-sym.c (do_sym): Likewise.
52076         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52077
52078 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52079
52080         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52081         Syntactic changes only.
52082         (_dl_runtime_profile): Do a tail-call to the resolved function.
52083
52084 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52085
52086         [BZ #13550]
52087         * sysdeps/x86_64/bp-asm.h: Remove file.
52088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52089         <bp-sym.h> and <bp-asm.h>.
52090         (__clone): Do not use BP_SYM.
52091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52092         <bp-sym.h> and <bp-asm.h>.
52093         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52094         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52095         "bp-asm.h".
52096         (_setjmp): Do not use BP_SYM.
52097         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52098         "bp-asm.h".
52099         (setjmp): Do not use BP_SYM.
52100         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52101         libc_hidden_def.
52102         (mempcpy): Do not use BP_SYM in weak_alias.
52103         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52104         "bp-asm.h".
52105         (strchr): Do not use BP_SYM.
52106         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52107         "bp-asm.h".
52108         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52109         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52110         (_start): Do not use BP_SYM.
52111         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52112         "bp-asm.h".
52113         (strcat): Do not use BP_SYM.
52114         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52115         "bp-asm.h".
52116         (STRCMP): Do not use BP_SYM.
52117         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52118         "bp-asm.h".
52119         (STRCPY): Do not use BP_SYM.
52120         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52121         "bp-asm.h".
52122         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52123         "bp-asm.h".
52124         (FUNCTION): Do not use BP_SYM.
52125         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52126         weak_alias.
52127         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52128
52129 2013-02-17  Andreas Jaeger  <aj@suse.de>
52130
52131         * time/Versions: Sort entries.
52132         * string/Versions: Likewise.
52133         * resolv/Versions: Likewise.
52134         * posix/Versions: Likewise.
52135         * iconv/Versions: Likewise.
52136         * elf/Versions: Likewise.
52137         * wcsmbs/Versions: Likewise.
52138
52139 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52140
52141         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52142         loop termination condition.
52143
52144         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52145         variable to calculate EZ.
52146         (__sqr): Likewise.
52147
52148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52149         the lower precision input.
52150
52151 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52152
52153         [BZ #13550]
52154         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52155         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52156         (run-via-rtld-prefix): Do not handle %-bp tests.
52157         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52158         (all-object-suffixes): Remove .ob.
52159         (bppfx): Remove variable.
52160         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52161         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52162         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52163         [$(build-bounded) = yes] (libtype.ob): Likewise.
52164         * Makerules (elide-routines.ob): Remove variable.
52165         (do-tests-clean): Do not handle *-bp.out.
52166         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52167         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52168         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52169         (tests): Do not include $(tests-bp.out).
52170         (xtests): Do not include $(xtests-bp.out).
52171         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52172         [$(build-bounded) = yes] ($(addprefix
52173         $(objpfx),$(binaries-bounded))): Remove rule.
52174         ($(objpfx)%-bp.out): Remove rule.
52175         * config.make.in (build-bounded): Remove variable.
52176         * crypt/Makefile [$(build-bounded) = yes]
52177         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52178         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52179         append to variable.
52180         [$(build-bounded) = yes] (install-lib): Likewise.
52181         [$(build-bounded) = yes] (generated): Likewise.
52182         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52183         Remove rule.
52184         * intl/Makefile [$(build-bounded) = yes]
52185         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52186         * math/Makefile [$(build-bounded) = yes]
52187         ($(tests:%=$(objpfx)%-bp): Likewise.
52188         * misc/Makefile [$(build-bounded) = yes]
52189         ($(objpfx)tst-tsearch-bp): Likewise.
52190         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52191         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52192         Remove dependency.
52193         * string/Makefile (o-objects.ob): Remove variable.
52194         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52195         (CFLAGS-.ob): Remove variable.
52196         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52197         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52198         both definitions of variable.
52199         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52200         (ASFLAGS-.ob): Remove variable.
52201
52202 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52203
52204         [BZ #13550]
52205         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52206         Remove __BOUNDED_POINTERS__ from condition.
52207         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52208         * string/bits/string2.h [!__NO_STRING_INLINES &&
52209         !__BOUNDED_POINTERS__]: Likewise.
52210         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52211         Likewise.
52212         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52213         Remove conditional code.
52214         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52215         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52216         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52217         condition.
52218
52219         [BZ #13550]
52220         * csu/libc-start.c: Do not include <bp-sym.h>.
52221         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52222         * elf/dl-open.c: Do not include <bp-sym.h>.
52223         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52224         * math/fegetenv.c: Do not include <bp-sym.h>.
52225         (fegetenv): Do not use BP_SYM in versioned symbols.
52226         * nptl/sysdeps/pthread/bits/libc-lockP.h
52227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52228         <bp-sym.h>.
52229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52230         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52232         (__pthread_mutex_destroy): Likewise.
52233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52234         (__pthread_mutex_lock): Likewise.
52235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52236         (__pthread_mutex_trylock): Likewise.
52237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52238         (__pthread_mutex_unlock): Likewise.
52239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52240         (__pthread_mutexattr_init): Likewise.
52241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52242         (__pthread_mutexattr_destroy): Likewise.
52243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52244         (__pthread_mutexattr_settype): Likewise.
52245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52246         (__pthread_rwlock_init): Likewise.
52247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52248         (__pthread_rwlock_destroy): Likewise.
52249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52250         (__pthread_rwlock_rdlock): Likewise.
52251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52252         (__pthread_rwlock_tryrdlock): Likewise.
52253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52254         (__pthread_rwlock_wrlock): Likewise.
52255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52256         (__pthread_rwlock_trywrlock): Likewise.
52257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52258         (__pthread_rwlock_unlock): Likewise.
52259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52260         (__pthread_key_create): Likewise.
52261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52262         (__pthread_setspecific): Likewise.
52263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52264         (__pthread_getspecific): Likewise.
52265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52266         Likewise.
52267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52268         (_pthread_cleanup_push_defer): Likewise.
52269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52270         (_pthread_cleanup_pop_restore): Likewise.
52271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52272         (pthread_setcancelstate): Likewise.
52273         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52274         <bp-sym.h>.
52275         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52276         (memchr): Do not use BP_SYM in weak_alias.
52277         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52278         (fegetenv): Do not use BP_SYM in versioned symbols.
52279         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52280         (fesetenv): Do not use BP_SYM in versioned symbols.
52281         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52282         (feupdateenv): Do not use BP_SYM in versioned symbols.
52283         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52284         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52285         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52286         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52287         (open64): Do not use BP_SYM in weak_alias.
52288         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52289         (fegetenv): Do not use BP_SYM in versioned symbols.
52290         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52291         (fesetenv): Do not use BP_SYM in versioned symbols.
52292         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52293         (feupdateenv): Do not use BP_SYM in versioned symbols.
52294         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52295         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52296         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52297         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52298         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52299         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52300         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52301         <bp-sym.h>.
52302         (__libc_start_main): Do not use BP_SYM.
52303
52304 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52305
52306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52307         redundant return line.
52308         (norm): Likewise.
52309         (denorm): Likewise.
52310         (dbl_mp): Likewise.
52311         (sub_magnitudes): Likewise.
52312         (__add): Likewise.
52313         (__sub): Likewise.
52314         (__mul): Likewise.
52315         (__inv): Likewise.
52316         (__dvd): Likewise.
52317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52318         (norm): Likewise.
52319         (denorm): Likewise.
52320         (dbl_mp): Likewise.
52321         (sub_magnitudes): Likewise.
52322         (__add): Likewise.
52323         (__sub): Likewise.
52324         (__mul): Likewise.
52325         (__inv): Likewise.
52326         (__dvd): Likewise.
52327
52328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52329         instead of __mul.
52330         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52331         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52332         (cc32): Likewise.
52333
52334         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52335         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52337         of __mul for squares.
52338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52339         function
52340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52341         Likewise.
52342         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52343         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52344
52345 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52346
52347         [BZ #13550]
52348         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52349         code.
52350         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52351         prototype or function definition.  Rename ubp_* variables and
52352         parameters.  Remove argv definitions conditional on
52353         [__BOUNDED_POINTERS__].
52354         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52355         * elf/dl-runtime.c (_dl_fixup): Likewise.
52356         * include/set-hooks.h (RUN_HOOK): Likewise.
52357         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52358         definition.
52359         * string/strcpy.c (strcpy): Do not use __unbounded.
52360         * sysdeps/generic/frame.h (struct layout): Likewise.
52361         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52362         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52363         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52364         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52365         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52366         (__backtrace): Likewise.
52367         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52368         use __ptrvalue.
52369         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52370         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52371         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52372         Likewise.
52373         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52374         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52375         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52376         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52377         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52378         Do not use __unbounded.
52379         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52380         Rename __unboundedrlimits parameter to rlimits in prototype.
52381         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52382         Do not use __unbounded.
52383         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52384         not use __ptrvalue.
52385         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52386         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52387         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52388         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52389         __ptrvalue or __unbounded.
52390         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52391         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52392         use __unbounded.
52393         (__new_msgctl): Do not use __ptrvalue.
52394         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52395         __unbounded.
52396         (__libc_msgrcv): Do not use __ptrvalue.
52397         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52398         startup_info): Do not use __unbounded.
52399         (__libc_start_main): Likewise.  Rename ubp_* variables and
52400         parameters.  Remove argv definitions conditional on
52401         [__BOUNDED_POINTERS__].
52402         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52403         __ptrvalue.
52404         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52405         use __unbounded.
52406         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52407         or __ptrvalue.
52408         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52409         use __unbounded.
52410         (__new_shmctl): Do not use __ptrvalue.
52411         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52412         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52413         Likewise.
52414         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52416         (__libc_sigaction): Likewise.
52417         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52418         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52419         Likewise.
52420         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52421
52422 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52423
52424         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52425
52426         * string/mempcpy.c: Implement by calling memcpy.
52427
52428 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52429
52430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52431
52432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52433         evaluation.
52434
52435         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52436         values in the mantissa.
52437
52438         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52439         minimize writes to Z.
52440         (sub_magnitudes): Simplify code a bit.
52441
52442 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52443
52444         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52445         from the message.  The linker prefixes all warnings with that already.
52446
52447 2013-02-12  Andreas Schwab  <schwab@suse.de>
52448
52449         [BZ #15078]
52450         * posix/regexec.c (extend_buffers): Add parameter min_len.
52451         (check_matching): Pass minimum needed length.
52452         (clean_state_log_if_needed): Likewise.
52453         (get_subexp): Likewise.
52454         * posix/Makefile (tests): Add bug-regex34.
52455         (bug-regex34-ENV): Define.
52456         * posix/bug-regex34.c: New file.
52457
52458         [BZ #11561]
52459         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52460         elements compare against the byte sequence of it, not its name.
52461         * posix/Makefile (tests): Add bug-regex35.
52462         (bug-regex35-ENV): Define.
52463         * posix/bug-regex35.c: New file.
52464
52465 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52466
52467         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52468         comment.
52469         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52470         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52471         (CHECK_EOL): Add undef.
52472
52473 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52474
52475         * bits/stdlib-bsearch.h: New file.
52476         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52477         * stdlib/stdlib.h: Likewise.
52478
52479 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52480
52481         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52482         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52483         declaration.
52484         * manual/search.texi (Array Search Function): Add missing const in
52485         lfind prototype.
52486         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52487         declaration to use rlim_t.
52488         (Basic Scheduling Functions): Remove erroneous const from
52489         sched_getparam prototype.  Remove erroneous * from
52490         sched_get_priority_max and sched_get_priority_min prototypes.
52491         (Resource Usage): Fix summary @comment on vtimes to refer to
52492         sys/vtimes.h rather than vtimes.h.
52493         Add missing *s in vtimes prototype.
52494         (Limits on Resources): Fix ulimit prototype to return long int.
52495         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52496         prototypes to use long int rather than double.
52497         (BSD Random): Fix initstate and setstate to use char *, not void *.
52498         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52499         prototype to make second argument 'struct aiocb64 *const[]'.
52500         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52501         (Status of AIO Operations): Remove erroneous const in aio_return and
52502         aio_return64 prototypes.
52503         (Synchronizing I/O): Fix sync prototype to return void.
52504         * manual/startup.texi (Suboptions): Remove an erroneous const in
52505         getsubopt prototype.
52506         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52507         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52508         use size_t rather than int.
52509         (Scanning All Users): Likewise for getpwent_r.
52510         (Setting Groups): Add missing const to setgroups prototype.
52511         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52512         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52513         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52514         'const void *' rather than 'const char *'.
52515         (Host Address Functions): Likewise for inet_ntop.
52516         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52517         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52518         ssize_t for return value.
52519         (Sending Data): Likewise for send, sendto, sendmsg.
52520         (Socket Option Functions): Add a missing const in setsockopt prototype.
52521         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52522         use wchar_t for the argument.
52523         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52524         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52525         take no arguments.
52526         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52527         double/float/long double for second argument.
52528         Fix return types of significand, significandf, significandl.
52529         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52530         argument in fchmod prototype.
52531         (File Owner): Use uid_t and gid_t in fchown prototype.
52532         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52533         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52534         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52535         use 'const struct dirent **' as argument types to CMP function pointer
52536         argument.
52537         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52538         (File Times): Fix summary magic @comment for struct utimbuf and utime
52539         to refer to utime.h, not time.h.
52540         * manual/string.texi (Argz Functions): Add missing const in
52541         argz_extract and argz_next prototypes.
52542         (Finding Tokens in a String): Likewise for basename.
52543         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52544         (Copying and Concatenation): Fix typo in wmemmove prototype.
52545         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52546         (Signal Stack): Remove erroneous const in sigstack prototype.
52547         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52548         prototype.
52549         (Simple Calendar Time): Likewise for stime.
52550         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52551         prototype.
52552         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52553         say sys/sysctl.h instead.
52554         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52555         and vsyslog prototypes.
52556
52557 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52558
52559         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52560         Remove.
52561
52562 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52563
52564         * misc/sys/mman.h: Fix typo in mremap comment.
52565
52566 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52567
52568         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52569         the '\0' terminator.
52570
52571 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52572
52573         [BZ #13550]
52574         * debug/segfault.c: Don't include <bp-checks.h>.
52575         * sysdeps/generic/bp-checks.h: Remove file.
52576         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52577         (__GETDENTS): Don't use CHECK_N.
52578         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52579         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52580         (__getgroups): Don't use CHECK_N.
52581         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52582         (setgroups): Don't use CHECK_N.
52583         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52584         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52585         (__libc_msgrcv): Don't use CHECK_N.
52586         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52587         (__libc_msgsnd): Don't use CHECK_N.
52588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52589         <bp-checks.h>.
52590         (__libc_pread): Don't use CHECK_N.
52591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52592         include <bp-checks.h>.
52593         (__libc_pread64): Don't use CHECK_N.
52594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52595         include <bp-checks.h>.
52596         (__libc_pwrite): Don't use CHECK_N.
52597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52598         include <bp-checks.h>.
52599         (__libc_pwrite64): Don't use CHECK_N.
52600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52601         <bp-checks.h>.
52602         (__libc_pread): Don't use CHECK_N.
52603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52604         include <bp-checks.h>.
52605         (__libc_pread64): Don't use CHECK_N.
52606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52607         include <bp-checks.h>.
52608         (__libc_pwrite): Don't use CHECK_N.
52609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52610         include <bp-checks.h>.
52611         (__libc_pwrite64): Don't use CHECK_N.
52612         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52613         (do_pread): Don't use CHECK_N.
52614         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52615         (do_pread64): Don't use CHECK_N.
52616         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52617         (do_pwrite): Don't use CHECK_N.
52618         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52619         (do_pwrite64): Don't use CHECK_N.
52620         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52621         (__libc_readv): Don't use CHECK_N.
52622         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52623         (semop): Don't use CHECK_N.
52624         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52625         <bp-checks.h>.
52626         (semtimedop): Don't use CHECK_N.
52627         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52628         (__libc_pread): Don't use CHECK_N.
52629         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52630         <bp-checks.h>.
52631         (__libc_pread64): Don't use CHECK_N.
52632         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52633         <bp-checks.h>.
52634         (__libc_pwrite): Don't use CHECK_N.
52635         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52636         <bp-checks.h>.
52637         (__libc_pwrite64): Don't use CHECK_N.
52638         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52639         <bp-checks.h>.
52640         (__libc_msgrcv): Don't use CHECK_N.
52641         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52642         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52643         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52644         (__libc_writev): Don't use CHECK_N.
52645
52646 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52647
52648         * string/strcpy.c: Removed unused variable.
52649
52650         * Makeconfig (+sysdep-includes): Define with := rather than =.
52651         Use an existing include/ subdir of each sysdeps dir before it.
52652
52653 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52654
52655         * nscd/connection.c (register_traced_file): Comment function.
52656         [HAVE_INOTIFY] (union __inev): Define.
52657         [HAVE_INOTIFY] (inotify_check_files): New function.
52658         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52659         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52660         clear_db_cache.
52661         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52662
52663 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52664
52665         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52666         loaded if not already and that a failure is permanent.
52667
52668 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52669
52670         [BZ #15006]
52671         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52672         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52673
52674 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52675
52676         [BZ #13550]
52677         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52678         (CHECK_1_NULL_OK): Likewise.
52679         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52680         (__fxstat): Do not use CHECK_1.
52681         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52682         <bp-checks.h>.
52683         (___fxstat64): Do not use CHECK_1.
52684         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52685         <bp-checks.h>.
52686         (__fxstatat): Do not use CHECK_1.
52687         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52688         <bp-checks.h>.
52689         (__fxstatat64): Do not use CHECK_1.
52690         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52691         <bp-checks.h>.
52692         (__fxstat): Do not use CHECK_1.
52693         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52694         <bp-checks.h>.
52695         (__fxstatat): Do not use CHECK_1.
52696         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52697         <bp-checks.h>.
52698         (__getresgid): Do not use CHECK_1.
52699         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52700         <bp-checks.h>.
52701         (__getresuid): Do not use CHECK_1.
52702         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52703         <bp-checks.h>.
52704         (__lxstat): Do not use CHECK_1.
52705         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52706         <bp-checks.h>.
52707         (__old_msgctl): Do not use CHECK_1.
52708         (__new_msgctl): Likewise.
52709         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52710         <bp-checks.h>.
52711         (__new_setrlimit): Do not use CHECK_1.
52712         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52713         <bp-checks.h>.
52714         (__old_shmctl): Do not use CHECK_1.
52715         (__new_shmctl): Likewise.
52716         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52717         <bp-checks.h>.
52718         (__xstat): Do not use CHECK_1.
52719         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52720         (__lxstat): Do not use CHECK_1.
52721         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52722         <bp-checks.h>.
52723         (___lxstat64): Do not use CHECK_1.
52724         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52725         (__old_msgctl): Do not use CHECK_1.
52726         (__new_msgctl): Likewise.
52727         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52728         <bp-checks.h>.
52729         (__gettimeofday): Do not use CHECK_1.
52730         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52731         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52732         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52733         <bp-checks.h>.
52734         (__gettimeofday): Do not use CHECK_1.
52735         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52736         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52737         (__new_shmctl): Do not use CHECK_1.
52738         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52739         <bp-checks.h>.
52740         (do_sigtimedwait): Do not use CHECK_1.
52741         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52742         <bp-checks.h>.
52743         (do_sigwaitinfo): Do not use CHECK_1.
52744         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52745         <bp-checks.h>.
52746         (msgctl): Do not use CHECK_1.
52747         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52748         <bp-checks.h>.
52749         (shmctl): Do not use CHECK_1.
52750         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52751         (ustat): Do not use CHECK_1.
52752         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52753         <bp-checks.h>.
52754         (__fxstat): Do not use CHECK_1.
52755         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52756         <bp-checks.h>.
52757         (__fxstatat): Do not use CHECK_1.
52758         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52759         <bp-checks.h>.
52760         (__lxstat): Do not use CHECK_1.
52761         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52762         <bp-checks.h>.
52763         (__xstat): Do not use CHECK_1.
52764         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52765         (__xstat): Do not use CHECK_1.
52766         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52767         (___xstat64): Do not use CHECK_1.
52768
52769         [BZ #13550]
52770         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52771         definitions.
52772         (CHECK_BOUNDS_HIGH): Likewise.
52773         * string/strcpy.c: Do not include <bp-checks.h>.
52774         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52775
52776 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52777
52778         * nscd/nscd-client.h (__nscd_drop_map_ref):
52779         Add __attribute__ ((unused)).
52780         * nis/nss-nisplus.h (niserr2nss): Likewise.
52781
52782         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52783         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52784
52785         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52786         Remove inline keyword.
52787         * include/rounding-mode.h (round_away): Likewise.
52788         * libio/wfileops.c (adjust_wide_data): Likewise.
52789         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52790         (__m128i_strloadu_tolower): Likewise.
52791         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52792         (__m128i_strloadu_tolower): Likewise.
52793         * time/mktime.c (ydhms_diff): Likewise.
52794         * locale/elem-hash.h (elem_hash): Likewise.
52795         * locale/setlocale.c (setdata): Likewise.
52796         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52797         (re_string_wchar_at): Likewise.
52798         (bitset_not, bitset_merge, bitset_mask): Likewise.
52799         [!(__GNUC__ > 3)] (inline): Remove macro.
52800         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52801         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52802         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52803         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52804         * string/memcmp.c (memcmp_bytes): Likewise.
52805         * locale/programs/locarchive.c (compute_hashval): Likewise.
52806         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52807         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52808         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52809         * nss/getent.c (print_rpc, print_protocols): Likewise.
52810         (print_passwd, print_group, print_aliases): Likewise.
52811         * nis/nss-nisplus.h (niserr2nss): Likewise.
52812         * nscd/connections.c (restart_p): Likewise.
52813         Change return type to bool.
52814
52815 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52816
52817         * Makeconfig (all-Depend-files): Add existing
52818         $(sorted-subdirs:=/Depend) files.
52819         (all-subdirs): Remove nss.
52820         * sysdeps/unix/inet/Subdirs: Add it here instead.
52821         * hesiod/Depend: New file.
52822
52823         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52824         instead of calling alloca.
52825
52826         * io/lseek.c (__lseek): Rename to __libc_lseek.
52827         Define __lseek as an alias.
52828
52829         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52830
52831 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52832
52833         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52834         else clause and remove check for non-standard endianness.
52835
52836 2013-02-04  David S. Miller  <davem@davemloft.net>
52837
52838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52839
52840 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52841
52842         [BZ #13550]
52843         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52844         (__ubp_memchr): Remove prototype.
52845         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52846         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52847         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52848         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52849         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52850         Remove alias.
52851         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52852         (__ubp_memchr): Likewise.
52853         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52854         (__ubp_memchr): Likewise.
52855         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52856         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52857         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52858         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52859         CHECK_STRING.
52860         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52861         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52862         (__getcwd): Do not use CHECK_STRING.
52863         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52864         <bp-checks.h>.
52865         (__real_chown): Do not use CHECK_STRING.
52866         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52867         <bp-checks.h>.
52868         (fchownat): Do not use CHECK_STRING.
52869         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52870         CHECK_STRING.
52871         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52872         <bp-checks.h>.
52873         (__lchown): Do not use CHECK_STRING.
52874         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52875         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52876         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52877         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52879         include <bp-checks.h>.
52880         (truncate64): Do not use CHECK_STRING.
52881         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52882         <bp-checks.h>.
52883         (__real_chown): Do not use CHECK_STRING.
52884         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52885         <bp-checks.h>.
52886         (__lchown): Do not use CHECK_STRING.
52887         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52888         <bp-checks.h>.
52889         (__chown): Do not use CHECK_STRING.
52890         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52891         <bp-checks.h>.
52892         (truncate64): Do not use CHECK_STRING.
52893         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52894         Likewise.
52895         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52896         (__xmknod): Do not use CHECK_STRING.
52897         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52898         <bp-checks.h>.
52899         (__xmknodat): Do not use CHECK_STRING.
52900         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52901         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52902
52903 2013-02-04  Andreas Schwab  <schwab@suse.de>
52904
52905         [BZ #14142]
52906         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52907         * include/netdb.h: Likewise for h_errno.
52908         * elf/tst-stackguard1.c: Include <tls.h>.
52909
52910 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52911
52912         * elf/link.h (struct link_map): Extend the l_addr comment.
52913         * include/link.h (struct link_map): Likewise.
52914
52915 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52916
52917         [BZ #13550]
52918         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52919         (BOUNDED_1): Remove macro.
52920         * debug/backtrace.c: Don't include <bp-checks.h>.
52921         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52922         (__backtrace): Likewise.
52923         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52924         <bp-checks.h>.
52925         (__backtrace): Don't use BOUNDED_1.
52926         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52927         <bp-checks.h>.
52928         (__backtrace): Don't use BOUNDED_1.
52929         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52930         (__backtrace): Don't use BOUNDED_1.
52931         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52932         (shmat): Don't use BOUNDED_N.
52933
52934 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52935
52936         [BZ #13550]
52937         * sysdeps/generic/bp-start.h: Remove file.
52938         * csu/libc-start.c: Don't include <bp-start.h>.
52939         (LIBC_START_MAIN): Set up __environ directly instead of using
52940         INIT_ARGV_and_ENVIRON.
52941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52942         <bp-start.h>.
52943
52944         [BZ #13550]
52945         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52946         definitions.
52947         (CHECK_FCNTL): Likewise.
52948         (CHECK_N_PAGES): Likewise.
52949
52950         [BZ #13550]
52951         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52952         definitions.
52953         (CHECK_SIGSET_NULL_OK): Likewise.
52954         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52955         <bp-checks.h>.
52956         (sigpending): Don't use CHECK_SIGSET.
52957         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52958         <bp-checks.h>.
52959         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52960         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52961         <bp-checks.h>.
52962         (do_sigsuspend): Don't use CHECK_SIGSET.
52963         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52964         use CHECK_SIGSET.
52965         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52966         (do_sigwait): Don't use CHECK_SIGSET.
52967         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52968         use CHECK_SIGSET.
52969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52970         include <bp-checks.h>.
52971         (sigpending): Don't use CHECK_SIGSET.
52972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52973         include <bp-checks.h>.
52974         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52975         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52976         <bp-checks.h>.
52977         (sigpending): Don't use CHECK_SIGSET.
52978         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52979         <bp-checks.h>.
52980         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52981
52982         [BZ #13550]
52983         * sysdeps/generic/bp-semctl.h: Remove file.
52984         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52985         <bp-checks.h> and <bp-semctl.h>.
52986         (__old_semctl): Don't use CHECK_SEMCTL.
52987         (__new_semctl): Likewise.
52988         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52989         and <bp-semctl.h>.
52990         (__old_semctl): Don't use CHECK_SEMCTL.
52991         (__new_semctl): Likewise.
52992         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52993         <bp-checks.h> and <bp-semctl.h>.
52994         (__old_semctl): Don't use CHECK_SEMCTL.
52995         (__new_semctl): Likewise.
52996         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52997         <bp-checks.h> and <bp-semctl.h>.
52998         (semctl): Don't use CHECK_SEMCTL.
52999
53000         [BZ #13550]
53001         * Makerules (elide-bp-thunks): Remove variable.
53002         (elide-routines.oS): Don't use $(elide-bp-thunks).
53003         (elide-routines.os): Likewise.
53004         (elide-routines.o): Likewise.
53005         (elide-routines.op): Likewise.
53006         (elide-routines.og): Likewise.
53007         (objects): Don't use $(bp-thunks).
53008         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53009         include.
53010         (common-generated): Do not add s-proto-bp.d.
53011         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53012         (int): Likewise.
53013         (typ): Likewise.
53014         Do not generate makefile rules for bounded-pointer thunks.
53015         * sysdeps/generic/bp-thunks.h: Remove file.
53016         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53017         * sysdeps/unix/s-proto-bp.S: Likewise.
53018
53019         [BZ #15062]
53020         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53021         parts of result separately when argument is not close to line from
53022         -i to i and one part of argument is small.
53023         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53024         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53025         * math/libm-test.inc (cacos_test): Add more tests.
53026         (casin_test): Likewise.
53027         (casinh_test): Likewise.
53028         * sysdeps/i386/fpu/libm-test-ulps: Update.
53029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53030
53031 2013-01-31  David S. Miller  <davem@davemloft.net>
53032
53033         * po/de.po: Update from translation team.
53034
53035 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53036
53037         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53038
53039 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53040
53041         * configure.in (_AC_PROG_CC_C89): New definition.
53042         * configure: Regenerate.
53043
53044         * configure.in (AC_PROG_CPP): New definition.
53045         * configure: Regenerate.
53046
53047 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53048
53049         * debug/tst-backtrace.h: New file.
53050         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53051         (ret): Remove variable.
53052         (x): Likewise.
53053         (FAIL): Remove macro.
53054         (NO_INLINE): Likewise.
53055         (fn1): Use match function instead of strstr.
53056         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53057         (ret): Remove variable.
53058         (x): Likewise.
53059         (FAIL): Remove macro.
53060         (NO_INLINE): Likewise.
53061         (fn): Use match function instead of strstr.
53062         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53063         (ret): Remove variable.
53064         (x): Likewise.
53065         (FAIL): Remove macro.
53066         (NO_INLINE): Likewise.
53067         (handle_signal): Use match function instead of strstr.
53068         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53069         (ret): Remove variable.
53070         (x): Likewise.
53071         (FAIL): Remove macro.
53072         (NO_INLINE): Likewise.
53073         (handle_signal): Use match function instead of strstr.
53074
53075 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53076
53077         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53078
53079 2013-01-23  David S. Miller  <davem@davemloft.net>
53080
53081         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53082         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53083         argument of CAS if possible.
53084         * sysdeps/sparc/sparc64/bits/atomic.h
53085         (__arch_compare_and_exchange_val_32_acq): Likewise.
53086         (__arch_compare_and_exchange_val_64_acq): Likewise.
53087
53088 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53089
53090         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53091         * sysdeps/posix/ulimit.c: ... this.
53092         Include <limits.h>.
53093         * sysdeps/unix/bsd/ulimit.c: Remove file.
53094
53095 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53096
53097         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53098         (LDFLAGS-tst-array5): Likewise.
53099
53100 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53101
53102         [BZ #15036]
53103         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53104         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53105         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53106         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53107
53108 2013-01-21  David S. Miller  <davem@davemloft.net>
53109
53110         * sysdeps/sparc/backtrace.c: New file.
53111         * sysdeps/sparc/sparc32/backtrace.h: New file.
53112         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53113         * sysdeps/sparc/sparc64/backtrace.h: New file.
53114         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53115         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53116         -funwind-tables.
53117
53118 2013-01-21  Andreas Schwab  <schwab@suse.de>
53119
53120         [BZ #15020]
53121         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53122         closed its stdout.
53123
53124 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53125
53126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53127         "mpa2.h".
53128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53129
53130 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53131             Mark Mitchell  <mark@codesourcery.com>
53132             Tom de Vries  <tom@codesourcery.com>
53133             Paul Pluzhnikov  <ppluzhnikov@google.com>
53134
53135         * debug/tst-backtrace2.c: New file.
53136         * debug/tst-backtrace3.c: Likewise.
53137         * debug/tst-backtrace4.c: Likewise.
53138         * debug/tst-backtrace5.c: Likewise.
53139         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53140         (CFLAGS-tst-backtrace3.c): Likewise.
53141         (CFLAGS-tst-backtrace4.c): Likewise.
53142         (CFLAGS-tst-backtrace5.c): Likewise.
53143         (LDFLAGS-tst-backtrace2): Likewise.
53144         (LDFLAGS-tst-backtrace3): Likewise.
53145         (LDFLAGS-tst-backtrace4): Likewise.
53146         (LDFLAGS-tst-backtrace5): Likewise.
53147         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53148         tst-backtrace4 and tst-backtrace5.
53149
53150 2013-01-18  Anton Blanchard  <anton@samba.org>
53151             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53152
53153         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53154         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53155         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53156         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53158         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53159         "+r" and remove output regs list as redundant.  Add explicit inline
53160         asm to specify register of return val to work around compiler codegen
53161         bug.  Remove (int) cast on return value.  Add return type parameter to
53162         use in macro so that this macro does not truncate return value for
53163         64-bit values.
53164         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53165         pass to INTERNAL_VSYSCALL_NCS.
53166         (INLINE_VSYSCALL): Add 'long int' as return type to
53167         INTERNAL_VSYSCALL_NCS macro invocation.
53168         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53169         INTERNAL_VSYSCALL_NCS macro invocation.
53170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53171
53172 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53173
53174         [BZ #14496]
53175         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53176         Fix application of SIMD FP exception mask.
53177
53178         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53179         mp_no from a power of two.
53180         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53181         __mpexp_twomm1.  Use __pow_mp.
53182
53183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53184         multiplication.
53185
53186 2013-01-17  David S. Miller  <davem@davemloft.net>
53187
53188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53189
53190 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53191
53192         [BZ #15023]
53193         * include/complex.h: Condition contents on [!_COMPLEX_H].
53194         (__kernel_casinhf): New prototype.
53195         (__kernel_casinh): Likewise.
53196         (__kernel_casinhl): Likewise.
53197         * math/Makefile (libm_calls): Add k_casinh.
53198         * math/k_casinh.c: New file.
53199         * math/k_casinhf.c: Likewise.
53200         * math/k_casinhl.c: Likewise.
53201         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53202         finite nonzero arguments.
53203         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53204         finite nonzero arguments.
53205         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53206         finite nonzero arguments.
53207         * math/s_casinh.c: Do not include <float.h>.
53208         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53209         * math/s_casinhf.c: Do not include <float.h>.
53210         (__casinhf): Move code for finite nonzero arguments to
53211         k_casinhf.c.
53212         * math/s_casinhl.c: Do not include <float.h>.
53213         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53214         redefine.
53215         (__casinhl): Move code for finite nonzero arguments to
53216         k_casinhl.c.
53217         * math/libm-test.inc (cacos_test): Add more tests.
53218         * sysdeps/i386/fpu/libm-test-ulps: Update.
53219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53220
53221 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53222
53223         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53224         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53225         [!HAVE_MREMAP]: Remove [defined linux] case.
53226         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53227
53228 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53229
53230         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53231
53232 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53233
53234         * elf/elf.h (R_386_SIZE32): New relocation.
53235         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53236         R_386_SIZE32.
53237         (elf_machine_rela): Likewise.
53238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53239         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53240
53241 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53242
53243         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53244         (FP_FAST_FMA): Do not define.
53245         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53246         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53247         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53248         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53249         !_SOFT_FLOAT]: Likewise.
53250         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53251         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53252         value.
53253         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53254         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53255         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53256         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53257         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53258         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53259         file.
53260
53261 2013-01-16  Andreas Schwab  <schwab@suse.de>
53262
53263         [BZ #14327]
53264         * include/stdlib.h (__mktemp): Add declaration.
53265         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53266         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53267
53268 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53269
53270         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53271         definitions.
53272         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53273         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53274         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53275         definitions here.
53276         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53277         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53278         definitions.
53279         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53280         and ONE.
53281         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53282         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53283         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53284         definitions.
53285         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53286         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53287         definitions.
53288         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53289
53290         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53291
53292 2013-01-15  David S. Miller  <davem@davemloft.net>
53293
53294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53295         trunc{,f} to libm-sysdep_routes.
53296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53298         file.
53299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53301         file.
53302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53303         file.
53304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53306         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53307         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53308         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53309         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53310         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53311         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53312
53313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53314         nearbyint{,f} to libm-sysdep_routes.
53315         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53317         New file.
53318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53319         file.
53320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53321         New file.
53322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53323         file.
53324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53326         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53327         file.
53328         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53329         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53330         file.
53331         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53332         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53333         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53334
53335         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53336         libc_feholdexcept and libc_fesetenv.
53337
53338 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53339
53340         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53341
53342 2013-01-14  David S. Miller  <davem@davemloft.net>
53343
53344         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53345         (SPARC_ASM_VIS2_IFUNC): Likewise.
53346         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53348         use of 'siam' instruction.
53349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53350         Likewise.
53351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53352         Likewise.
53353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53354         Likewise.
53355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53360         file.
53361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53362         file.
53363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53364         file.
53365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53366         file.
53367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53372         new VIS2 routines.
53373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53376         Likewise.
53377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53382         routines to libm-sysdep_routines.
53383         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53384
53385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53386         fdim/fdimf to libm-sysdep_routines.
53387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53388         file.
53389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53391         file.
53392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53395         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53396         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53397         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53398         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53399
53400 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53401
53402         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53403         to optimize copies.
53404
53405         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53408
53409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53410         local variable MPTWO.
53411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53412         Likewise.
53413
53414 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53415
53416         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53417         GLOB_NOESCAPE.
53418
53419 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53420
53421         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53422
53423 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53424
53425         * manual/pattern.texi (glob_t): Document gl_flags.
53426         (glob64_t): Likewise.
53427
53428 2013-01-11  David S. Miller  <davem@davemloft.net>
53429
53430         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53431         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53432         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53433         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53434         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53435         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53436         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53437         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53438         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53439         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53440         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53441         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53442         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53443
53444         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53445         sparc V9 rather than using V8 code.
53446         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53447         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53448
53449         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53450         Move to...
53451         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53452         Here.
53453
53454 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53455
53456         [BZ #14941]
53457         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53458         not in the main loop.
53459         * configure: Regenerated.
53460
53461 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53462
53463         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53464         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53465         to just #else.
53466         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53467         [!__GLIBC_HAVE_LONG_LONG] case.
53468         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53469         condition to just #else.
53470         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53471         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53472         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53473         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53474         unconditional.
53475         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53476         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53477         #elif condition to just #else.
53478         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53479         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53480         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53481         #elif condition to just #else.
53482
53483 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53484
53485         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53486         (EF_MIPS_ARCH_64): Fix value.
53487         (EF_MIPS_ARCH_32R2): New.
53488         (EF_MIPS_ARCH_64R2): New.
53489
53490 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53491
53492         * Makeconfig (+link-pie-before-libc): New.
53493         (+link-pie-after-libc): Likewise.
53494         (+link-pie-tests): Likewise.
53495         (+link-pie): Rewritten.
53496         (link-before-libc): Remove $(config-LDFLAGS).
53497         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53498         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53499         (config-LDFLAGS): Renamed to ...
53500         (rtld-LDFLAGS): This.
53501         (rtld-tests-LDFLAGS): New macro.
53502         (link-libc-rpath-link): Likewise.
53503         (link-libc-tests-rpath-link): Likewise.
53504         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53505         (link-libc): Prepand $(link-libc-rpath-link).
53506         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53507         (test-program-prefix): New macro.
53508         (test-via-rtld-prefix): Likewise.
53509         (test-program-cmd): Likewise.
53510         (host-test-program-cmd): Likewise.
53511         * Makefile ($(common-objpfx)testrun.sh): Replace
53512         $(run-program-prefix) with $(test-program-prefix).
53513         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53514         $(rtld-LDFLAGS).
53515         ($(common-objpfx)shlib.lds): Likewise.
53516         (build-module-helper): Likewise.
53517         ($(common-objpfx)format.lds): Likewise.
53518         * Rules (binaries-pie-tests): New.
53519         (binaries-pie-notests): Likewise.
53520         (binaries-pie): Rewritten.
53521         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53522         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53523         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53524         (make-test-out): Replace $(host-built-program-cmd) with
53525         $(host-test-program-cmd).
53526         * config.make.in (build-hardcoded-path-in-tests): New variable.
53527         * configure.in (--enable-hardcoded-path-in-tests): New configure
53528         option.
53529         (hardcoded_path_in_tests): New AC_SUBST.
53530         * configure: Regenerated.
53531         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53532         $(built-program-cmd) with $(test-program-cmd).
53533         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53534         (test_program_cmd): This.
53535         * elf/Makefile ($(objpfx)order.out): Run test with
53536         $(test-program-prefix).
53537         ($(objpfx)order2.out): Likewise.
53538         ($(objpfx)tst-initorder.out): Likewise.
53539         ($(objpfx)tst-initorder2.out): Likewise.
53540         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53541         $(test-program-cmd).
53542         ($(objpfx)tst-array1-static.out): Likewise.
53543         ($(objpfx)tst-array2.out): Likewise.
53544         ($(objpfx)tst-array3.out): Likewise.
53545         ($(objpfx)tst-array4.out): Likewise.
53546         ($(objpfx)tst-array5.out): Likewise.
53547         ($(objpfx)tst-array5-static.out): Likewise.
53548         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53549         $(test-program-cmd).
53550         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53551         $(run-program-prefix) with $(test-program-prefix).
53552         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53553         (test_program_prefix): This.
53554         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53555         $(run-program-prefix) with $(test-program-prefix).
53556         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53557         (test_program_prefix): This.
53558         * iconvdata/tst-tables.sh: Likewise.
53559         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53560         $(run-program-prefix) with $(test-program-prefix).
53561         ($(objpfx)tst-translit.out): Likewise.
53562         ($(objpfx)tst-gettext2.out): Likewise.
53563         ($(objpfx)tst-gettext4.out): Likewise.
53564         ($(objpfx)tst-gettext6.out): Likewise.
53565         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53566         (test_program_prefix): This.
53567         * intl/tst-gettext2.sh: Likewise.
53568         * intl/tst-gettext4.sh  Likewise.
53569         * intl/tst-gettext6.sh: Likewise.
53570         * intl/tst-translit.sh: Likewise.
53571         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53572         with $(test-program-cmd).
53573         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53574         $(run-program-prefix) with $(test-program-prefix).
53575         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53576         (test_program_prefix): This.
53577         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53578         $(run-program-prefix) with $(test-program-prefix).
53579         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53580         (test_program_prefix): This.
53581         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53582         * posix/Makefile ($(objpfx)globtest.out): Replace
53583         $(run-via-rtld-prefix) and $(test-wrapper) with
53584         $(test-program-prefix) and $(test-via-rtld-prefix).
53585         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53586         $(test-program-prefix).
53587         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53588         $(host-test-program-cmd).
53589         (tst-spawn-ARGS): Likewise.
53590         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53591         $(test-program-prefix).
53592         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53593         (test_via_rtld_prefix): This.
53594         (test_wrapper): Renamed to ...
53595         (test_program_prefix): This.
53596         (run_program_prefix): Replaced by test_program_prefix.
53597         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53598         (test_program_prefix): This.
53599         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53600         with $(host-test-program-cmd).
53601         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53602         $(run-program-prefix) with $(test-program-prefix).
53603         ($(objpfx)tst-printf.out): Likewise.
53604         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53605         $(test-program-cmd).
53606         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53607         (test_program_prefix): This.
53608         * stdio-common/tst-unbputc.sh: Likewise.
53609         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53610         $(run-program-prefix) with $(test-program-prefix).
53611         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53612         (test_program_prefix): This.
53613         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53614         $(built-program-cmd) with $(test-program-cmd).
53615
53616 2013-01-11  Andreas Jaeger  <aj@suse.de>
53617
53618         [BZ #15003]
53619         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53620         value. Sync with Linux 3.7.
53621
53622 2013-01-10  David S. Miller  <davem@davemloft.net>
53623
53624         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53625         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53626         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53627
53628 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53629
53630         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53631         never set.
53632         * configure: Regenerated.
53633
53634 2013-01-10  David S. Miller  <davem@davemloft.net>
53635
53636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53637         sparc V9 rather than using V8 code.
53638         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53639         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53640
53641 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53642
53643         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53644         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53645         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53646         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53647         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53648         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53649         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53650         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53651         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53652         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53653         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53654         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53655         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53656         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53657         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53658         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53659         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53660         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53661         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53662         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53663         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53664         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53665         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53666         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53667         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53668         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53669         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53670
53671 2013-01-10  David S. Miller  <davem@davemloft.net>
53672
53673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53674
53675 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53676
53677         * posix/Makefile (tests-static): New variable.
53678         (tests): Add $(tests-static).
53679         (tst-exec-static-ARGS): New variable.
53680         (tst-spawn-static-ARGS): Likewise.
53681         * posix/tst-exec-static.c: New file.
53682         * posix/tst-spawn-static.c: Likewise.
53683         * posix/tst-exec.c: Support run directly.
53684         * posix/tst-spawn.c: Likewise.
53685
53686 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53687
53688         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53689         long.
53690         * math/bits/mathcalls.h (llrint): Likewise.
53691         (llround): Likewise.
53692         * stdlib/stdlib.h (struct drand48_data): Likewise.
53693         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53694         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53695         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53696         Likewise.
53697         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53698         Likewise.
53699         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53700         (elf_greg_t): Likewise.
53701         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53702         (__jmp_buf): Likewise.
53703         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53704         definitions.
53705         (llrint): Likewise, for all definitions.
53706         (llrintl): Likewise.
53707
53708         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53709         Remove [__GNUC__] condition.
53710         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53711         condition to just [__USE_ISOC99].
53712         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53713
53714 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53715
53716         [BZ #14200]
53717         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53718         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53719         defined.
53720         (_POSIX_V6_ILP32_OFF32): Likewise.
53721         (_XBS5_ILP32_OFF32): Likewise.
53722         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53723         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53724
53725 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53726
53727         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53728
53729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53730         doubles __mpexp_twomm1.  Adjust usage.
53731         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53732         Remove.
53733
53734 2013-01-10  Andreas Schwab  <schwab@suse.de>
53735
53736         [BZ #14964]
53737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53738         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53739
53740 2013-01-09  David S. Miller  <davem@davemloft.net>
53741
53742         [BZ #15003]
53743         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53744         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53745         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53746         (TCP_FASTOPEN): Define.
53747         (tcp_repair_opt): New structure.
53748         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53749         enum values.
53750         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53751         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53752         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53753         (tcp_cookie_transactions): New structure.
53754
53755 2013-01-09  Anton Blanchard  <anton@samba.org>
53756
53757         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53758         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53759         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53760         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53761
53762 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53763
53764         * include/features.h (__USE_ANSI): Remove.
53765
53766 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53767
53768         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53769
53770         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53771
53772 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53773
53774         * sysdeps/s390/fpu/libm-test-ulps: Update.
53775
53776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53777
53778         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53779         (__acr): Likewise.
53780         (__cpy): Likewise.
53781         (norm): Likewise.
53782         (denorm): Likewise.
53783         (__mp_dbl): Likewise.
53784         (__dbl_mp): Likewise.
53785         (add_magnitudes): Likewise.
53786         (sub_magnitudes): Likewise.
53787         (__add): Likewise.
53788         (__sub): Likewise.
53789         (__mul): Likewise.
53790         (__inv): Likewise.
53791         (__dvd): Likewise.
53792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53793         (__acr): Likewise.
53794         (__cpy): Likewise.
53795         (norm): Likewise.
53796         (denorm): Likewise.
53797         (__mp_dbl): Likewise.
53798         (__dbl_mp): Likewise.
53799         (add_magnitudes): Likewise.
53800         (sub_magnitudes): Likewise.
53801         (__add): Likewise.
53802         (__sub): Likewise.
53803         (__mul): Likewise.
53804         (__inv): Likewise.
53805         (__dvd): Likewise.
53806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53807         (__acr): Likewise.
53808         (__cpy): Likewise.
53809         (norm): Likewise.
53810         (denorm): Likewise.
53811         (__mp_dbl): Likewise.
53812         (__dbl_mp): Likewise.
53813         (add_magnitudes): Likewise.
53814         (sub_magnitudes): Likewise.
53815         (__add): Likewise.
53816         (__sub): Likewise.
53817         (__mul): Likewise.
53818         (__inv): Likewise.
53819         (__dvd): Likewise.
53820
53821 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53822
53823         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53824         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53825         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53826         2 && __USE_EXTERN_INLINES]: Likewise.
53827
53828 2013-01-08  Andreas Jaeger  <aj@suse.de>
53829
53830         [BZ# 14985]
53831         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53832         Remove.
53833         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53834         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53835
53836 2013-01-07  Anton Blanchard  <anton@samba.org>
53837
53838         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53839         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53840         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53841         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53842         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53843         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53844         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53845         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53847         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53848         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53849         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53851         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53853         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53854         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53855         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53856         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53859         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53861         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53862         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53864         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53865         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53867         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53868         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53870         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53871         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53873         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53875         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53876         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53877         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53878         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53879         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53880         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53881
53882 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53883
53884         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53885         (__MALLOC_PMT): Likewise.
53886         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53887         [__GNUC__], only on [_LIBC].
53888         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53889         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53890         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53891         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53892         forward declaration.
53893         (realloc_hook_ini): Likewise.
53894         (memalign_hook_ini): Likewise.
53895         (__libc_memalign): Do not use __MALLOC_PMT in variable
53896         declaration.
53897         (__libc_valloc): Likewise.
53898         (__libc_pvalloc): Likewise.
53899         (__libc_calloc): Likewise.
53900         (__posix_memalign): Likewise.
53901
53902         [BZ #14996]
53903         * math/s_casinh.c: Include <float.h>.
53904         (__casinh): Do not do computation with squaring and square root
53905         for large arguments.
53906         * math/s_casinhf.c: Include <float.h>.
53907         (__casinhf): Do not do computation with squaring and square root
53908         for large arguments.
53909         * math/s_casinhl.c: Include <float.h>.
53910         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53911         (__casinhl): Do not do computation with squaring and square root
53912         for large arguments.
53913         * math/libm-test.inc (casin_test): Add more tests.
53914         (casinh_test): Likewise.
53915         * sysdeps/i386/fpu/libm-test-ulps: Update.
53916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53917
53918 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53919
53920         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53921         (__x86_64_raw_data_cache_size): Likewise.
53922         (__x86_64_data_cache_size_half): Likewise.
53923         (__x86_64_raw_data_cache_size_half): Likewise.
53924         (__x86_64_shared_cache_size): Likewise.
53925         (__x86_64_raw_shared_cache_size): Likewise.
53926         (__x86_64_shared_cache_size_half): Likewise.
53927         (__x86_64_raw_shared_cache_size_half): Likewise.
53928         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53929         to ...
53930         (__x86_data_cache_size): This.
53931         (__x86_64_raw_data_cache_size): Renamed to ...
53932         (__x86_raw_data_cache_size): This.
53933         (__x86_64_data_cache_size_half): Renamed to ...
53934         (__x86_data_cache_size_half): This.
53935         (__x86_64_raw_data_cache_size_half): Renamed to ...
53936         (__x86_raw_data_cache_size_half): This.
53937         (__x86_64_shared_cache_size): Renamed to ...
53938         (__x86_shared_cache_size): This.
53939         (__x86_64_raw_shared_cache_size): Renamed to ...
53940         (__x86_raw_shared_cache_size): This.
53941         (__x86_64_shared_cache_size_half): Renamed to ...
53942         (__x86_shared_cache_size_half): This.
53943         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53944         (__x86_raw_shared_cache_size_half): This.
53945         * sysdeps/x86_64/memcpy.S: Updated.
53946         * sysdeps/x86_64/memset.S: Likewise.
53947         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53948         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53949         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53950
53951 2013-01-04  David S. Miller  <davem@davemloft.net>
53952
53953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53954
53955 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53956
53957         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53958         1 to avoid redefinition warning.
53959         (__USE_GNU): Don't define.
53960         (init_signaling_nan): Protoize.
53961
53962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53963
53964 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53965
53966         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53968         (__cpymn): Likewise.
53969         (norm): Remove commented code.
53970         (denorm): Likewise.
53971         (__mp_dbl): Likewise.
53972         (__inv): Likewise.
53973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53974         (__cpymn): Likewise.
53975         (norm): Remove commented code.
53976         (denorm): Likewise.
53977         (__mp_dbl): Likewise.
53978         (__inv): Likewise.
53979
53980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53981         mp_no value for 1.0 and 2.0.
53982         (norm): Use RADIXI instead of radixi.d.
53983         (denorm): Likewise.
53984         (__mul): Use 0.0 instead of zero.d.
53985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53986         mp_no value for 1.0 and 2.0.
53987         (norm): Use RADIXI instead of radixi.d.
53988         (denorm): Likewise.
53989         (__mul): Use 0.0 instead of zero.d.
53990
53991 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53992
53993         [BZ #14994]
53994         * math/s_casinh.c (__casinh): Reduce finite argument to first
53995         quadrant then set signs of results at the end.
53996         * math/s_casinhf.c (__casinhf): Likewise.
53997         * math/s_casinhl.c (__casinhl): Likewise.
53998         * math/libm-test.inc (casin_test): Add more tests.
53999         (casinh_test): Likewise.
54000         * sysdeps/i386/fpu/libm-test-ulps: Update.
54001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54002
54003 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54004
54005         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54006
54007         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54008
54009         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54010         declarations.
54011         (denorm): Likewise.
54012         (__mp_dbl): Likewise.
54013         (__inv): Likewise.
54014
54015         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54016         and adjust the header comment.
54017
54018         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54019         variable name from declaration.
54020
54021 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54022
54023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54024         Initialize COMMON_CPUID_INDEX_7 element.
54025         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54026         (CPUID_RTM): Likewise.
54027         (HAS_RTM): Likewise.
54028         (COMMON_CPUID_INDEX_7): New enum.
54029
54030 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54031
54032         [BZ #14981]
54033         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54034         size is zero, record memory as freed.
54035
54036 2013-01-03  Andreas Jaeger  <aj@suse.de>
54037
54038         * po/ia.po: Add new Interlingua translation.
54039
54040 2012-01-03  Allan McRae  <allan@archlinux.org>
54041
54042         * locale/programs/localedef.c: Fix description of '--posix' flag.
54043
54044 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54045
54046         * NEWS: Update dates in second copyright notice.
54047         * README: Update copyright dates in example.
54048         * manual/libc.texinfo: Update copyright dates.
54049         * scripts/test-installation.pl: Update copyright date in --version
54050         output.
54051
54052         * hurd/ctty-input.c: Fix copyright notice formatting.
54053         * hurd/ctty-output.c: Likewise.
54054         * hurd/dtable.c: Likewise.
54055         * hurd/hurd-raise.c: Likewise.
54056         * hurd/hurdprio.c: Likewise.
54057         * hurd/msgportdemux.c: Likewise.
54058         * misc/sys/file.h: Likewise.
54059         * misc/sys/ioctl.h: Likewise.
54060         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54061         * sysdeps/mach/hurd/chdir.c: Likewise.
54062         * sysdeps/mach/hurd/fchdir.c: Likewise.
54063         * sysdeps/mach/hurd/rename.c: Likewise.
54064         * sysdeps/mach/hurd/rmdir.c: Likewise.
54065         * sysdeps/mach/hurd/seekdir.c: Likewise.
54066         * sysdeps/mach/hurd/setsid.c: Likewise.
54067         * sysdeps/posix/wait3.c: Likewise.
54068
54069         * All files with FSF copyright notices: Update copyright dates
54070         using scripts/update-copyrights.
54071         * intl/plural.c: Regenerated.
54072         * locale/programs/charmap-kw.h: Likewise.
54073         * locale/programs/locfile-kw.h: Likewise.
54074
54075 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54076
54077         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54078         four values.
54079
54080         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54081         calculation loop and add branch prediction.
54082
54083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54084         check access beyond bounds of m1np.
54085
54086         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54087         MPTWO.
54088         (__inv): Remove local variable MPTWO to use the global
54089         constant.
54090         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54091         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54092         variable MPTWO.
54093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54094         MP3HALFS static const.
54095
54096 2013-01-01  David S. Miller  <davem@davemloft.net>
54097
54098         * po/ca.po: Update from translation team.
54099
54100 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54101
54102         * scripts/update-copyrights: New file.
54103         * Makeconfig: Reformat copyright notice.
54104         * ctype/ctype.h: Likewise.
54105         * debug/swprintf_chk.c: Likewise.
54106         * elf/dl-cache.c: Likewise.
54107         * elf/dl-debug.c: Likewise.
54108         * elf/dl-object.c: Likewise.
54109         * grp/initgroups.c: Likewise.
54110         * hurd/Makefile: Likewise.
54111         * hurd/hurd/signal.h: Likewise.
54112         * hurd/hurdfault.c: Likewise.
54113         * hurd/hurdioctl.c: Likewise.
54114         * hurd/hurdlookup.c: Likewise.
54115         * hurd/intr-msg.c: Likewise.
54116         * iconv/gconv_open.c: Likewise.
54117         * libio/swprintf.c: Likewise.
54118         * locale/lc-ctype.c: Likewise.
54119         * locale/nl_langinfo.c: Likewise.
54120         * mach/Machrules: Likewise.
54121         * mach/Makefile: Likewise.
54122         * malloc/obstack.h: Likewise.
54123         * manual/Makefile: Likewise.
54124         * manual/tsort.awk: Likewise.
54125         * misc/bits/stab.def: Likewise.
54126         * nis/nis_print_group_entry.c: Likewise.
54127         * nis/nis_table.c: Likewise.
54128         * nis/nss_compat/compat-pwd.c: Likewise.
54129         * nis/nss_compat/compat-spwd.c: Likewise.
54130         * po/Makefile: Likewise.
54131         * posix/fnmatch.c: Likewise.
54132         * posix/regex.h: Likewise.
54133         * resolv/Makefile: Likewise.
54134         * resolv/nss_dns/dns-network.c: Likewise.
54135         * resolv/res_hconf.c: Likewise.
54136         * scripts/gen-sorted.awk: Likewise.
54137         * soft-fp/soft-fp.h: Likewise.
54138         * stdio-common/printf.h: Likewise.
54139         * stdlib/monetary.h: Likewise.
54140         * stdlib/random.c: Likewise.
54141         * stdlib/random_r.c: Likewise.
54142         * sysdeps/generic/Makefile: Likewise.
54143         * sysdeps/gnu/Makefile: Likewise.
54144         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54145         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54146         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54147         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54167         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54168         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54169         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54171         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54172         * sysdeps/mach/hurd/errnos.awk: Likewise.
54173         * sysdeps/mach/hurd/fork.c: Likewise.
54174         * sysdeps/mach/hurd/getcwd.c: Likewise.
54175         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54176         * sysdeps/mach/hurd/mmap.c: Likewise.
54177         * sysdeps/mach/hurd/utimes.c: Likewise.
54178         * sysdeps/mach/hurd/xmknod.c: Likewise.
54179         * sysdeps/posix/profil.c: Likewise.
54180         * sysdeps/posix/readdir_r.c: Likewise.
54181         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54182         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54183         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54184         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54187         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54188         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54190         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54191         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54192         * sysdeps/pthread/lio_listio.c: Likewise.
54193         * sysdeps/sparc/dl-procinfo.h: Likewise.
54194         * sysdeps/unix/i386/sysdep.S: Likewise.
54195         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54196         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54197         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54198         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54200         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54201         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54202         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54203         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54204         * sysdeps/wordsize-32/divdi3.c: Likewise.
54205         * time/sys/time.h: Likewise.
54206         * wcsmbs/Makefile: Likewise.
54207
54208 2013-01-01  David S. Miller  <davem@davemloft.net>
54209
54210         * po/fr.po: Update from translation team.
54211
54212         * catgets/gencat.c: Update copyright year.
54213         * csu/version.c: Likewise.
54214         * debug/catchsegv.sh: Likewise.
54215         * debug/pcprofiledump.c: Likewise.
54216         * debug/xtrace.sh: Likewise.
54217         * elf/ldconfig.c: Likewise.
54218         * elf/ldd.bash.in: Likewise.
54219         * elf/pldd.c: Likewise.
54220         * elf/sotruss.ksh: Likewise.
54221         * elf/sprof.c: Likewise.
54222         * iconv/iconv_prog.c: Likewise.
54223         * iconv/iconvconfig.c: Likewise.
54224         * locale/programs/locale.c: Likewise.
54225         * locale/programs/localedef.c: Likewise.
54226         * login/programs/pt_chown.c: Likewise.
54227         * malloc/memusage.sh: Likewise.
54228         * malloc/memusagestat.c: Likewise.
54229         * malloc/mtrace.pl: Likewise.
54230         * nscd/nscd.c: Likewise.
54231         * nss/getent.c: Likewise.
54232         * nss/makedb.c: Likewise.
54233         * posix/getconf.c: Likewise.
54234
54235 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54236
54237         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54238         numbers.
54239
54240 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54241
54242         * math/bits/mathcalls.h (modf): Use __nonnull.
54243
54244 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54245
54246         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54247         (split): Use macro CN instead of the bare value.
54248         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54249         could be used.
54250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54251         instead of the bare value.
54252         (power1): Likewise.
54253
54254 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54255
54256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54257         __ATAN_TWOM.
54258         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54259
54260         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54261         their values.
54262         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54264         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54265         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54266
54267 2012-12-28  Andreas Jaeger  <aj@suse.de>
54268
54269         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54270         values are from Linux 3.7.
54271
54272         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54273         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54274
54275 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54276
54277         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54278         TRUE case.
54279
54280         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54281         (norm): Likewise.
54282         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54283         variables with preprocessor constants.
54284         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54285         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54286         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54287
54288 2012-12-27  Bruno Haible  <bruno@clisp.org>
54289
54290         [BZ #14317]
54291         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54292         only if needed.
54293
54294 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54295
54296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54297         and use variable directly.
54298         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54299
54300         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54301         MPONE.
54302         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54304         variable MPONE.
54305         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54307         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54308         include directive.  Remove local variable MPONE.
54309         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54310         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54311         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54312
54313 2012-12-25  David S. Miller  <davem@davemloft.net>
54314
54315         * version.h (RELEASE): Set to "development".
54316         (VERSION): Set to "2.17.90".
54317         * NEWS: Add 2.18 section.
54318
54319 2012-12-21  David S. Miller  <davem@davemloft.net>
54320
54321         * po/hr.po: Update from translation team.
54322
54323 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54324
54325         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54326
54327 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54328
54329         * NEWS:  Mention new memcpy for MIPS.
54330
54331 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54332
54333         * manual/contrib.texi (Contributors): Spelling correction.
54334
54335 2012-12-15  David S. Miller  <davem@davemloft.net>
54336
54337         * po/ru.po: Update from translation team.
54338
54339 2012-12-13  David S. Miller  <davem@davemloft.net>
54340
54341         * NEWS: Mention IFUNC testsuite enhancements.
54342
54343         * po/pl.po: Update from translation team.
54344         * po/bg.po: Likewise.
54345
54346         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54347         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54348
54349 2012-12-11  David S. Miller  <davem@davemloft.net>
54350
54351         * po/sv.po: Update from translation team.
54352
54353         * po/vi.po: Update from translation team.
54354
54355         * po/cs.po: Update from translation team.
54356
54357         * po/de.po: Update from translation team.
54358         * po/eo.po: Likewise.
54359         * po/nl.po: Likewise.
54360
54361 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54362
54363         [BZ #14246]
54364         * manual/argp.texi (Argp Helper Functions): Move node to follow
54365         Argp Parsing State.
54366
54367         [BZ #14872]
54368         * manual/conf.texi (Limits on File System Capacity): Mention if
54369         terminating null is included in the max size.
54370
54371 2012-12-10  Andreas Jaeger  <aj@suse.de>
54372
54373         * po/cs.po: Update from translation team.
54374
54375 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54376
54377         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54378         void pointer and cast to uintptr_t.
54379         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54380         path.
54381         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54382         * sysdeps/s390/s390-64/memset.S: Likewise.
54383
54384 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54385
54386         [BZ #14833]
54387         * menual/message.texi (Message Translation): Fix typos.
54388         (Helper programs for gettext): Likewise.
54389
54390 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54391
54392         [BZ #14898]
54393         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54394         Change to -1.
54395
54396 2012-12-07  David S. Miller  <davem@davemloft.net>
54397
54398         * po/libc.pot: Update.
54399
54400 2012-12-07  Richard Henderson  <rth@redhat.com>
54401
54402         [BZ #10114]
54403         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54404         normal/normal case to before the switch.
54405         (_FP_DIV): Likewise.
54406
54407 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54408             Mike Frysinger  <vapier@gentoo.org>
54409
54410         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54411         check for __NR_fadvise64_64.
54412
54413 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54414
54415         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54416         0, not just to plain "0" as a statement.
54417         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54418         with cw.
54419
54420 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54421
54422         * NEWS: Use sourceware.org in Bugzilla URL.
54423
54424 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54425
54426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54427         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54428
54429         * stdio-common/tst-put-error.c (do_test): Add newline to the
54430         padded test to ensure flush.
54431
54432 2012-12-05  Jeff Law  <law@redhat.com>
54433
54434         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54435
54436 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54437
54438         * README: Don't refer to ports add-on as distributed separately.
54439         Mention AArch64 in list of systems supported in the ports add-on.
54440
54441         * LICENSES: Add more non-FSF copyright and license notices.
54442
54443         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54444         ((unused)).
54445
54446         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54447
54448         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54449         10000 as width of padded output.
54450
54451 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54452
54453         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54454
54455         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54456         variable LX with __attribute__ ((unused)).
54457         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54458         Likewise.
54459         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54461         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54462         with __attribute__ ((unused)).
54463
54464 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54465
54466         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54467
54468 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54469
54470         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54471         (CFLAGS-nldbl-acos.c): New variable.
54472         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54473         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54474         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54475         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54476         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54477         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54478         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54479         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54480         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54481         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54482         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54483         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54484         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54485         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54486         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54487         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54488         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54489         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54490         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54491         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54492         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54493         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54494         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54495         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54496         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54497         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54498         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54499         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54500         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54501         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54502         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54503         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54504         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54505         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54506         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54507         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54508         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54509         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54510         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54511         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54512         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54513         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54514         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54515         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54516         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54517         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54518         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54519         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54520         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54521         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54522         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54523         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54524         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54525         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54526         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54527         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54528         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54529         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54530         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54531         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54532         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54533         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54534         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54535         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54536         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54537         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54538         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54539         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54540         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54541         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54542         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54543         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54544         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54545         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54546         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54547         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54548         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54549         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54550         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54551         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54552         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54553         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54554         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54555         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54556         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54557         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54558         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54559         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54560         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54561         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54562         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54563         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54564         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54565         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54566         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54567         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54568         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54569
54570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54571         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54572
54573         [BZ #14914]
54574         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54575         whole low double instead of just low 47 bits when splitting values
54576         into two parts.
54577
54578 2012-12-03  Allan McRae  <allan@archlinux.org>
54579
54580         * manual/stdio.texi (Predefined Printf Handlers): Remove
54581         @hsep and @vsep usage.
54582
54583 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54584
54585         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54586         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54587
54588 2012-12-03  Jeff Law  <law@redhat.com>
54589
54590         * time/sys/time.h (settimeofday): Do not mark TV argument
54591         as __nonnull.
54592
54593 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54594
54595         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54596         when currently writing and seek to current position when not.
54597         * libio/Makefile (tests): Remove bug-fclose1.
54598         * libio/bug-fclose1.c: Delete.
54599
54600 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54601
54602         * manual/arith.texi (feenableexcept): Fix typo.
54603         (fedisableexcept): Likewise.
54604
54605 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54606
54607         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54608         second, differently-typed declaration, rather than a cast.
54609
54610 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54611
54612         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54613         * include/rpc/svc.h: ... here.
54614
54615 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54616
54617         [BZ #13013]
54618         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54619         depending n and resplen2 to catch cases where answer
54620         equals answerp2.
54621
54622 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54623
54624         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54625         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54626
54627 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54628
54629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54630
54631 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54632
54633         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54634
54635 2012-11-28  Jeff Law  <law@redhat.com>
54636
54637         [BZ #13761]
54638         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54639         dataset_temporary.  Track alloca usage into alloca_used.
54640         If dataset is large allocate and release it via malloc/free.
54641
54642 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54643
54644         [BZ #14197]
54645         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54646
54647 2012-11-28  David S. Miller  <davem@davemloft.net>
54648
54649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54650
54651 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54652
54653         [BZ #14803]
54654         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54655         of pi/2 rounded to nearest to 64 bits.
54656         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54657         nearest to 64 bits.
54658         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54659         bits.
54660
54661 2012-11-28  Jeff Law <law@redhat.com>
54662             Martin Osvald <mosvald@redhat.com>
54663
54664         [BZ #14889]
54665         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54666         * sunrpc/svc.c: Include time.h.
54667         (__svc_accept_failed): New function.
54668         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54669         any reason other than EINTR, call __svc_accept_failed.
54670         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54671         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54672
54673 2012-11-28  Andreas Schwab  <schwab@suse.de>
54674
54675         * scripts/abilist.awk: Also handle indirect functions in .opd
54676         section.
54677
54678 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54679
54680         [BZ #13881]
54681         * sysdeps/x86/fpu/powl_helper.c: New file.
54682         * sysdeps/x86/fpu/Makefile: Likewise.
54683         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54684         (p3): New object.
54685         (__ieee754_powl): Use __powl_helper for finite arguments except
54686         integer exponents below 8.
54687         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54688         (p3): New object.
54689         (__ieee754_powl): Use __powl_helper for finite arguments except
54690         integer exponents below 8.
54691         * math/libm-test.inc (pow_test): Add more tests and enable some
54692         previously disabled tests.
54693         * sysdeps/i386/fpu/libm-test-ulps: Update.
54694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54695
54696 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54697             Carlos O'Donell  <carlos_odonell@mentor.com>
54698
54699         * nss/makedb.c (is_prime): Assert that input is odd and greater
54700         than 4.  Note that fact in a comment too.
54701         (next_prime): Add 4 to input.
54702
54703 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54704
54705         [BZ #11741]
54706         * libio/Makefile (tests): Add test case tst-fwrite-error.
54707         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54708         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54709         * libio/tst-fwrite-error.c: New test case.
54710
54711 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54712
54713         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54714         before casting to void *.
54715         * include/libc-internal.h (__pointer_type): New macro.
54716         (__integer_if_pointer_type_sub): Likewise.
54717         (__integer_if_pointer_type): Likewise.
54718         (cast_to_integer): Likewise.
54719         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54720         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54721         before casting to atomic64_t.
54722         (atomic_exchange_acq): Likewise.
54723         (__arch_exchange_and_add_body): Likewise.
54724         (__arch_add_body): Likewise.
54725         (atomic_add_negative): Likewise.
54726         (atomic_add_zero): Likewise.
54727
54728 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54729
54730         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54731         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54732         (add_fdes): Likewise.
54733         (linear_search_fdes): Likewise.
54734         (binary_search_unencoded_fdes): Likewise.
54735
54736 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54737
54738         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54739
54740 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54741
54742         * configure.in: Autodetect C++ header directories.
54743         * configure: Regenerated.
54744
54745 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54746
54747         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54748
54749 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54750
54751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54752
54753 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54754
54755         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54756         LDBL_MANT_DIG == 106]: Disable some tests.
54757         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54758         Likewise.
54759         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54760         Likewise.
54761
54762         [BZ #14871]
54763         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54764         input for small inputs.  Return +/- pi/2 for large inputs.
54765         * math/libm-test.inc (atan_test): Add more tests.
54766
54767         * sysdeps/generic/unwind-dw2-fde-glibc.c
54768         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54769         __attribute__ ((unused)).
54770
54771         [BZ #14645]
54772         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54773         x * y if x and y are nonzero and z is zero.
54774
54775         [BZ #14811]
54776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54777         nonzero exponents with absolute value below 0x1p-117 to +/-
54778         0x1p-117.
54779
54780         [BZ #14869]
54781         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54782         up arguments below 2**-450, not just those below 2**-500.
54783         * math/libm-test.inc (hypot_test): Add another test.
54784
54785         [BZ #14868]
54786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54787         Return a+b for ratio over 2**120, not 2**60.
54788         * math/libm-test.inc (hypot_test): Add another test.
54789
54790         * math/libm-test.inc (clog_test): Use
54791         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54792         (clog10_test): Likewise.
54793
54794         [BZ #6778]
54795         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54796
54797 2012-11-22  Andreas Schwab  <schwab@suse.de>
54798
54799         * sysdeps/i386/fpu/libm-test-ulps: Update.
54800
54801 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54802
54803         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54804         printf output with newline.
54805
54806 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54807
54808         [BZ #14865]
54809         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54810         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54811         -z nodlopen, -z initfirst and -z execstack support.
54812         * configure: Regenerated.
54813
54814         * elf/elf.h (DF_1_NODIRECT): New macro.
54815         (DF_1_IGNMULDEF): Likewise.
54816         (DF_1_NOKSYMS): Likewise.
54817         (DF_1_NOHDR): Likewise.
54818         (DF_1_EDITED): Likewise.
54819         (DF_1_NORELOC): Likewise.
54820         (DF_1_SYMINTPOSE): Likewise.
54821         (DF_1_GLOBAUDIT): Likewise.
54822         (DF_1_SINGLETON): Likewise.
54823         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54824         DT_1_SUPPORTED_MASK bits.
54825         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54826
54827 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54828
54829         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54830
54831 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54832
54833         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54834         macro.
54835
54836         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54837         (sendmmsg): Move declarations...
54838         * socket/sys/socket.h: ... here.
54839         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54840         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54841         include it from...
54842         * socket/recvmmsg.c: ... this new file.
54843         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54844         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54845         definition of __sendmmsg hidden.
54846         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54847         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54848         Move ENOSYS stub into and include it from...
54849         * socket/sendmmsg.c: ... this new file.
54850         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54851         (sysdep_routines): Move recvmmsg and sendmmsg...
54852         * socket/Makefile (routines): ... here.
54853         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54854         (GLIBC_PRIVATE): Add __sendmmsg.
54855         * include/sys/socket.h (__sendmmsg): Add declarations.
54856         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54857         sendmmsg.
54858
54859 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54860
54861         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54862         variable I1 with __attribute__ ((unused)).
54863         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54864
54865 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54866
54867         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54868         DUMMY variables with __attribute__ ((unused)).
54869
54870         * bits/byteswap.h: Include <bits/types.h>.
54871         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54872
54873 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54874
54875         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54876         string_t.  Do not manually set errno.
54877         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54878         length with __strnlen.  Make sure to both set errno and return it on
54879         failure.
54880
54881 2012-11-19  David S. Miller  <davem@davemloft.net>
54882
54883         With help from Joseph Myers.
54884         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54885         very large arguments properly.
54886         * math/libm-test.inc (atan_test): New tests.
54887         (atan2_test): New tests.
54888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54890
54891 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54892
54893         [BZ #14856]
54894         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54895         Define to 3.
54896
54897         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54898         [POSIX] (EADDRNOTAVAIL): Likewise.
54899         [POSIX] (EAFNOSUPPORT): Likewise.
54900         [POSIX] (EALREADY): Likewise.
54901         [POSIX] (ECONNABORTED): Likewise.
54902         [POSIX] (ECONNREFUSED): Likewise.
54903         [POSIX] (ECONNRESET): Likewise.
54904         [POSIX] (EDESTADDRREQ): Likewise.
54905         [POSIX] (EDQUOT): Likewise.
54906         [POSIX] (EHOSTUNREACH): Likewise.
54907         [POSIX] (EIDRM): Likewise.
54908         [POSIX] (EISCONN): Likewise.
54909         [POSIX] (ELOOP): Likewise.
54910         [POSIX] (EMULTIHOP): Likewise.
54911         [POSIX] (ENETDOWN): Likewise.
54912         [POSIX] (ENETUNREACH): Likewise.
54913         [POSIX] (ENOBUFS): Likewise.
54914         [POSIX] (ENODATA): Likewise.
54915         [POSIX] (ENOLINK): Likewise.
54916         [POSIX] (ENOMSG): Likewise.
54917         [POSIX] (ENOPROTOOPT): Likewise.
54918         [POSIX] (ENOSR): Likewise.
54919         [POSIX] (ENOSTR): Likewise.
54920         [POSIX] (ENOTCONN): Likewise.
54921         [POSIX] (ENOTSOCK): Likewise.
54922         [POSIX] (EOPNOTSUPP): Likewise.
54923         [POSIX] (EOVERFLOW): Likewise.
54924         [POSIX] (EPROTO): Likewise.
54925         [POSIX] (EPROTONOSUPPORT): Likewise.
54926         [POSIX] (EPROTOTYPE): Likewise.
54927         [POSIX] (ESTALE): Likewise.
54928         [POSIX] (ETIME): Likewise.
54929         [POSIX] (ETXTBSY): Likewise.
54930         [POSIX] (EWOULDBLOCK): Likewise.
54931         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54932         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54933         [POSIX] (SEEK_CUR): Likewise.
54934         [POSIX] (SEEK_END): Likewise.
54935         [POSIX || UNIX98] (mode_t): Do not require.
54936         [POSIX] (off_t): Likewise.
54937         [POSIX] (pid_t): Likewise.
54938         [POSIX] (sys/stat.h): Do not allow header.
54939         [POSIX] (unistd.h): Likewise.
54940         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54941         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54942         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54943         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54944         require.
54945         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54946         sigevent): Specify elements.
54947         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54948         entry.
54949         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54950         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54951
54952         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54953         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54954         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54955         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54956         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54957         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54958         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54959         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54960         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54961         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54962         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54963         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54964         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54965         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54966         Likewise.
54967         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54968         Likewise.
54969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54970         Likewise.
54971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54972         Likewise.
54973         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54974         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54975         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54976         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54977         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54978         Specify lower bound on value.
54979         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54980         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54981         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54982         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54983         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54984         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54985         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54986         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54987         value.
54988         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54989         as optional.
54990         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54991         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54992         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54993         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54994         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54995         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54996         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54997         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54998         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54999         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55000         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55001         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55002         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55003         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55004         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55005         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55006         entry.
55007         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55008         optional.
55009         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55010         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55011         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55012         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55013         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55014         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55015         Likewise.
55016         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55017         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55018         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55019         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55020         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55021         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55022         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55023         as optional.
55024         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55025         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55027         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55028         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55029         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55030         specify as optional.
55031         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55032         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55033         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55034         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55035         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55036         [XPG3] (NL_LANGMAX): Likewise.
55037         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55038         [POSIX || XPG3] (NL_NMAX): Likewise.
55039         [POSIX || XPG3] (NL_SETMAX): Likewise.
55040         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55041         [XPG3] (NZERO): Likewise.
55042         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55043         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55044         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55045         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55046         (REG_ERANGE): Expect.
55047         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55048         optional-constant.
55049         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55050         Use (void) in prototype.
55051         [POSIX] (*_t): Allow.
55052         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55053         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55054         (WRDE_BADVAL): Expect.
55055
55056         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55057         expect.
55058         [XPG3 || XPG4] (O_RSYNC): Likewise.
55059         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55060         Likewise.
55061         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55062         [XPG3 || XPG4] (sigqueue): Likewise.
55063         [XPG3 || XPG4] (sigtimedwait): Likewise.
55064         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55065         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55066         [XPG3 || XPG4] (vsnprintf): Likewise.
55067         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55068         Likewise.
55069         [XPG3 || XPG4] (blksize_t): Likewise.
55070         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55071         Likewise.
55072         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55073         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55074         [XPG3 || XPG4] (struct itimerspec): Likewise.
55075         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55076         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55077         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55078         [XPG3 || XPG4] (clockid_t): Likewise.
55079         [XPG3 || XPG4] (timer_t): Likewise.
55080         [XPG3 || XPG4] (clock_getres): Likewise.
55081         [XPG3 || XPG4] (clock_gettime): Likewise.
55082         [XPG3 || XPG4] (clock_settime): Likewise.
55083         [XPG3 || XPG4] (nanosleep): Likewise.
55084         [XPG3 || XPG4] (timer_create): Likewise.
55085         [XPG3 || XPG4] (timer_delete): Likewise.
55086         [XPG3 || XPG4] (timer_gettime): Likewise.
55087         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55088         [XPG3 || XPG4] (timer_settime): Likewise.
55089         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55090         [XPG3 || XPG4] (getlogin_r): Likewise.
55091         [XPG3 || XPG4] (pread): Likewise.
55092         [XPG3 || XPG4] (pthread_atfork): Likewise.
55093         [XPG3 || XPG4] (pwrite): Likewise.
55094
55095         [BZ #14835]
55096         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55097         <bits/siginfo.h>.
55098
55099 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55100
55101         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55102         finalizing MALLSTREAM.
55103
55104         * sysdeps/mach/hurd/syncfs.c: New file.
55105
55106 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55107
55108         [BZ #14719]
55109         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55110         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55112         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55113         (_nss_dns_gethostbyname4_r): Likewise.
55114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55115         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55116
55117 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55118
55119         [BZ #13763]
55120         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55121
55122 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55123
55124         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55125         * elf/cache.c (print_entry): Print ",AArch64" for
55126         FLAG_AARCH64_LIB64
55127
55128         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55129         * elf/cache.c (print_entry): Print ",hard-float" for
55130         FLAG_ARM_LIBHF.
55131
55132 2012-11-18  David S. Miller  <davem@davemloft.net>
55133
55134         With help from Joseph Myers.
55135         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55136         cutoff to 2**-13.
55137         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55138         cutoff to 2**-25.
55139         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55140         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55141         small.
55142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55143         * math/libm-test.inc (y0_test): New tests.
55144         (y1_test): New tests.
55145         * sysdeps/i386/fpu/libm-test-ulps: Update.
55146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55148
55149 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55150
55151         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55152         64-bit targets.
55153         * configure: Regenerated.
55154
55155 2012-11-17  David S. Miller  <davem@davemloft.net>
55156
55157         [BZ #14811]
55158         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55159         nonzero exponents with absolute value below 0x1p-128 to +/-
55160         0x1p-128.
55161
55162 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55163
55164         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55165
55166         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55167
55168         * posix/getconf-speclist.c: New file.
55169         * posix/posix-envs.def: Likewise.
55170         * posix/confstr.c (START_ENV_GROUP): New macro.
55171         (END_ENV_GROUP): Likewise.
55172         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55173         (KNOWN_PRESENT_ENV_STRING): Likewise.
55174         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55175         (UNKNOWN_ENVIRONMENT): Likewise.
55176         (confstr): Include posix-envs.def instead of handling
55177         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55178         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55179         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55180         (END_ENV_GROUP): Likewise.
55181         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55182         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55183         (UNKNOWN_ENVIRONMENT): Likewise.
55184         (__sysconf): Include posix-envs.def instead of handling associated
55185         cases directly here.
55186         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55187         preprocessing getconf-speclist.c rather than running getconf or
55188         generating empty file.
55189
55190 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55191
55192         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55193
55194 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55195
55196         [BZ #14672]
55197         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55198
55199 2012-11-16  David S. Miller  <davem@davemloft.net>
55200
55201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55202         smaller than LDBL_EPSILON/2.0L, just return xm1.
55203
55204 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55205
55206         * elf/tst-array1.c (init): Set constructor priority to 1000.
55207         (fini): Set destructor priority to 1000.
55208         * elf/tst-array2dep.c: Likewise.
55209
55210 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55211
55212         [BZ #11741]
55213         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55214         (_IO_new_file_xsputn): Also return EOF if none of the input
55215         data was written when overflow failed.
55216         * libio/iopadn.c (_IO_padn): Likewise.
55217         * libio/iowpadn.c (_IO_wpadn): Likewise.
55218         * stdio-common/tst-put-error.c: Add copyright notice.
55219         (do_test): Add case for printing padded string.
55220         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55221         _IO_padn returned error.
55222         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55223         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55224         return EOF.
55225
55226 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55227
55228         * libio/libioP.h: Add comment note that the references to C++
55229         bits are now obsolete.
55230
55231 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55232
55233         * math/libm-test.inc (check_complex): Use asprintf.
55234
55235 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55236
55237         * debug/pcprofiledump.c (print_version): Update copyright year.
55238         * malloc/memusagestat.c (print_version): Likewise.
55239
55240 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55241
55242         [BZ #14831]
55243         * elf/Makefile (tests): Add tst-audit8.
55244         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55245         ($(objpfx)tst-audit8.out): New target.
55246         (tst-audit8-ENV): New variable.
55247         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55248         audit if l_reloc_result is NULL.
55249         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55250         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55251         * elf/tst-audit8.c: New file.
55252
55253 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55254
55255         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55256         * misc/Makefile (CFLAGS-select.c): Define.
55257         * posix/Makefile (CFLAGS-pause.c): Define.
55258
55259 2012-11-13  David S. Miller  <davem@davemloft.net>
55260
55261         * crypt/Makefile: Move test targets after toplevel Rules
55262         inclusion.  Grab any necessary sysdep routines when linking.
55263         * crypt/md5.c (md5_process_block): Remove define, we will always
55264         name it __md5_process_block.
55265         (md5_finish_ctx): Update md5_process_block call.
55266         (md5_stream): Likewise.
55267         (md5_process_bytes): Likewise.
55268         (md5_process_block): Rename to __md5_process_block and move to ...
55269         * crypt/md5-block.c: ... here.
55270         * crypt/sha256.c (sha256_process_block): Move to ...
55271         * crypt/sha256-block.c: ... here.
55272         * crypt/sha512.c (sha512_process_block): Move to ...
55273         * crypt/sha512-block.c: ... here.
55274         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55275         path.
55276         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55277         * sysdeps/sparc/sparc64/multiarch/Makefile
55278         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55279         crypt subdir.
55280         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55282         multiarch changes.
55283         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55284         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55285         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55286         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55287         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55288         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55289         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55290         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55291         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55292         file.
55293         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55294         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55295         file.
55296         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55297
55298 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55299
55300         * timezone/tzselect.ksh: Update from tzcode git revision
55301         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55302         * timezone/zdump.c: Likewise.
55303         * timezone/zic.c: Likewise.
55304         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55305         in TZVERSION setting, not $(PKGVERSION).
55306         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55307         REPORT_BUGS_TO settings.
55308
55309         [BZ #14838]
55310         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55311         macro.
55312
55313 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55314
55315         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55316         detection to immediately after _FP_ROUND().
55317         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55318         bits are 0.
55319
55320 2012-11-11  David S. Miller  <davem@davemloft.net>
55321
55322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55323         inttypes.h
55324         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55325         __close rather than their public counterparts.
55326
55327 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55328
55329         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55330         file.
55331         [UNIX98] (sem_timedwait): Do not expect.
55332         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55333         [XPG4 || UNIX98] (sockatmark): Do not expect.
55334         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55335         (clock_getcpuclockid): Do not expect.
55336         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55337         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55338         Do not expect.
55339         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55340         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55341         [UNIX98] (vwscanf): Likewise.
55342         [UNIX98] (vswscanf): Likewise.
55343
55344 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55345
55346         * timezone/version.h: Remove file.
55347         * timezone/README: Do not refer to version.h.
55348         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55349         $(objpfx)version.h.
55350         ($(objpfx)zdump.o): Likewise.
55351         ($(objpfx)version.h): New target.
55352
55353         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55354         2012i.
55355         * timezone/README: Don't mention modification to tzselect.ksh.
55356         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55357         work on unmodified tzselect.ksh.  Substitute version numbers in
55358         tzselect.ksh.
55359
55360         * Makefile (format-me): Remove.
55361         (INSTALL): Adjust indentation.  Use commands directly instead of
55362         using $(format-me).
55363
55364         * aclocal.m4 (ACX_PKGVERSION): New macro.
55365         (ACX_BUGURL): Likewise.
55366         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55367         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55368         (REPORT_BUGS_TO): Likewise.
55369         * configure: Regenerated.
55370         * config.h.in (PKGVERSION): New macro.
55371         (REPORT_BUGS_TO): Likewise.
55372         * config.make.in (PKGVERSION): New variable.
55373         (PKGVERSION_TEXI): Likewise.
55374         (REPORT_BUGS_TO): Likewise.
55375         (REPORT_BUGS_TEXI): Likewise.
55376         * Makefile (format-me): Use -I$(common-objpfx)manual.
55377         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55378         ($(common-objpfx)manual/%): New target.
55379         (manual/%): Remove target.
55380         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55381         (print_version): Use PKGVERSION.
55382         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55383         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55384         and REPORT_BUGS_TO.
55385         ($(objpfx)xtrace): Likewise.
55386         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55387         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55388         (print_version): Use PKGVERSION.
55389         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55390         (do_version): Use PKGVERSION.
55391         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55392         REPORT_BUGS_TO.
55393         (common-ldd-rewrite): Likewise.
55394         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55395         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55396         (print_version): Use PKGVERSION.
55397         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55398         * elf/pldd.c (argp_program_bug_address): Remove variable.
55399         (more_help): New function.
55400         (argp): Use more_help.
55401         (print_version): Use PKGVERSION.
55402         * elf/sln.c (main): Use PKGVERSION.
55403         (usage): Use REPORT_BUGS_TO.
55404         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55405         (top level): Use PKGVERSION.
55406         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55407         (print_version): Use PKGVERSION.
55408         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55409         (print_version): Use PKGVERSION.
55410         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55411         (print_version): Use PKGVERSION.
55412         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55413         (print_version): Use PKGVERSION.
55414         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55415         (print_version): Use PKGVERSION.
55416         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55417         (print_version): Use PKGVERSION.
55418         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55419         and BUGURL.
55420         ($(objpfx)memusage): Likewise.
55421         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55422         (do_version): Use PKGVERSION.
55423         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55424         (print_version): Use PKGVERSION.
55425         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55426         ($PKGVERSION): New variable.
55427         ($REPORT_BUGS_TO): Likewise.
55428         (usage): Use $REPORT_BUGS_TO.
55429         (top level): Use $PKGVERSION.
55430         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55431         ($(objpfx)pkgvers.texi): New rule.
55432         ($(objpfx)stamp-pkgvers): Likewise.
55433         * manual/install.texi: Include pkgvers.texi.
55434         (--with-pkgversion): Document new configure option.
55435         (--with-bugurl): Likewise.
55436         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55437         than necessarily for this particular distribution.  Use
55438         REPORT_BUGS_TO for where to report bugs.
55439         * INSTALL: Regenerated.
55440         * manual/libc.texinfo: Include pkgvers.texi.
55441         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55442         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55443         (print_version): Use PKGVERSION.
55444         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55445         (print_version): Use PKGVERSION.
55446         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55447         (print_version): Use PKGVERSION.
55448         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55449         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55450         macro.
55451         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55452         (print_version): Use PKGVERSION.
55453         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55454         (print_version): Use PKGVERSION.
55455         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55456         and PKGVERSION.
55457
55458         * timezone/checktab.awk: Update from tzcode 2012i.
55459         * timezone/ialloc.c: Likewise.
55460         * timezone/private.h: Likewise.
55461         * timezone/scheck.c: Likewise.
55462         * timezone/tzfile.h: Likewise.
55463         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55464         (TZVERSION): Hardcode tzcode version number.
55465         * timezone/zdump.c: Update from tzcode 2012i.
55466         * timezone/zic.c: Likewise.
55467         * timezone/version.h: New file.
55468         * timezone/README: Describe version.h.  Update upstream location.
55469
55470         [BZ #14824]
55471         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55472         (mktemp): Enable declaration.
55473         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55475         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55477         Likewise.
55478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55479         Likewise.
55480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55481         Likewise.
55482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55483         Likewise.
55484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55485         Likewise.
55486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55487         Likewise.
55488
55489         [BZ #14821]
55490         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55491         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55492         for copies of such integer values.
55493         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55494         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55495
55496 2012-11-09  Andreas Jaeger  <aj@suse.de>
55497
55498         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55499         definitions and declarations that are provided by
55500         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55501
55502 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55503
55504         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55505         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55506         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55507         definition.
55508
55509 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55510
55511         * elf/elf.h: Update comment before AArch64 relocations.
55512
55513 2012-11-07  David S. Miller  <davem@davemloft.net>
55514
55515         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55516         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55517         (__start_context): Declare.
55518         (__makecontext_ret): Delete.
55519         (__makecontext): Hook up __start_context instead of
55520         __makecontext_ret.
55521         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55522         (sysdep_routines): Add __start_context when in stdlib.
55523
55524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55525
55526         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55527         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55528         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55529         hardcoded "nm".
55530         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55531         (READELF): New variable.  Use it instead of hardcoded "readelf".
55532
55533 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55534
55535         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55536         * sysdeps/x86/Makefile: Here.
55537         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55538         * sysdeps/x86/tst-xmmymm.sh: This.
55539
55540 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55541
55542         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55543         expectations.
55544         [UNIX98] (pthread_barrier_t): Do not expect.
55545         [UNIX98] (pthread_barrierattr_t): Likewise.
55546         [UNIX98] (pthread_spinlock_t): Likewise.
55547         [UNIX98] (pthread_barrier_destroy): Likewise.
55548         [UNIX98] (pthread_barrier_init): Likewise.
55549         [UNIX98] (pthread_barrier_wait): Likewise.
55550         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55551         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55552         [UNIX98] (pthread_barrierattr_init): Likewise.
55553         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55554         [UNIX98] (pthread_getcpuclockid): Likewise.
55555         [UNIX98] (pthread_mutex_timedlock): Likewise.
55556         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55557         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55558         [UNIX98] (pthread_sigmask): Likewise.
55559         [UNIX98] (pthread_spin_destroy): Likewise.
55560         [UNIX98] (pthread_spin_init): Likewise.
55561         [UNIX98] (pthread_spin_lock): Likewise.
55562         [UNIX98] (pthread_spin_trylock): Likewise.
55563         [UNIX98] (pthread_spin_unlock): Likewise.
55564         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55565         Do not expect.
55566         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55567         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55568         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55569         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55570         [XPG3 || XPG4] (pthread_key_t): Likewise.
55571         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55572         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55573         [XPG3 || XPG4] (pthread_once_t): Likewise.
55574         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55575         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55576         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55577         [XPG3 || XPG4] (pthread_t): Likewise.
55578
55579         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55580         not expect.
55581         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55582
55583         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55584         Change function return type to int.
55585
55586         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55587         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55588         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55589         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55590         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55591         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55592         [!POSIX] (posix_madvise): Likewise.
55593         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55594         && !UNIX98].
55595         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55596         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55597         (mode_t): Likewise.
55598         (posix_mem_offset): Likewise.
55599         (posix_typed_mem_get_info): Likewise.
55600         (posix_typed_mem_open): Likewise.
55601
55602         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55603         Change condition to [XOPEN2K8].
55604
55605         * conform/conformtest.pl: Preprocess allow-header data with -x c
55606         instead of from stdin.
55607         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55608         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55609         [C99-based standards] (cerfc): Likewise.
55610         [C99-based standards] (cexp2): Likewise.
55611         [C99-based standards] (cexpm1): Likewise.
55612         [C99-based standards] (clog10): Likewise.
55613         [C99-based standards] (clog1p): Likewise.
55614         [C99-based standards] (clog2): Likewise.
55615         [C99-based standards] (clgamma): Likewise.
55616         [C99-based standards] (ctgamma): Likewise.
55617         [C99-based standards] (cerff): Likewise.
55618         [C99-based standards] (cerfcf): Likewise.
55619         [C99-based standards] (cexp2f): Likewise.
55620         [C99-based standards] (cexpm1f): Likewise.
55621         [C99-based standards] (clog10f): Likewise.
55622         [C99-based standards] (clog1pf): Likewise.
55623         [C99-based standards] (clog2f): Likewise.
55624         [C99-based standards] (clgammaf): Likewise.
55625         [C99-based standards] (ctgammaf): Likewise.
55626         [C99-based standards] (cerfl): Likewise.
55627         [C99-based standards] (cerfcl): Likewise.
55628         [C99-based standards] (cexp2l): Likewise.
55629         [C99-based standards] (cexpm1l): Likewise.
55630         [C99-based standards] (clog10l): Likewise.
55631         [C99-based standards] (clog1pl): Likewise.
55632         [C99-based standards] (clog2l): Likewise.
55633         [C99-based standards] (clgammal): Likewise.
55634         [C99-based standards] (ctgammal): Likewise.
55635         * conform/data/inttypes.h-data [C99-based standards]: Include
55636         stdint.h-data.  Remove all expectations for stdint.h contents.
55637         [C99-based standards] (PRI*): Do not allow.
55638         [C99-based standards] (SCN*): Likewise.
55639         [C99-based standards] (*_t): Likewise.
55640         [C99-based-standards] (PRId8): Expect macro.
55641         [C99-based-standards] (PRIi8): Likewise.
55642         [C99-based-standards] (PRIo8): Likewise.
55643         [C99-based-standards] (PRIu8): Likewise.
55644         [C99-based-standards] (PRIx8): Likewise.
55645         [C99-based-standards] (PRIX8): Likewise.
55646         [C99-based-standards] (SCNd8): Likewise.
55647         [C99-based-standards] (SCNi8): Likewise.
55648         [C99-based-standards] (SCNo8): Likewise.
55649         [C99-based-standards] (SCNu8): Likewise.
55650         [C99-based-standards] (SCNx8): Likewise.
55651         [C99-based-standards] (PRIdLEAST8): Likewise.
55652         [C99-based-standards] (PRIiLEAST8): Likewise.
55653         [C99-based-standards] (PRIoLEAST8): Likewise.
55654         [C99-based-standards] (PRIuLEAST8): Likewise.
55655         [C99-based-standards] (PRIxLEAST8): Likewise.
55656         [C99-based-standards] (PRIXLEAST8): Likewise.
55657         [C99-based-standards] (SCNdLEAST8): Likewise.
55658         [C99-based-standards] (SCNiLEAST8): Likewise.
55659         [C99-based-standards] (SCNoLEAST8): Likewise.
55660         [C99-based-standards] (SCNuLEAST8): Likewise.
55661         [C99-based-standards] (SCNxLEAST8): Likewise.
55662         [C99-based-standards] (PRIdFAST8): Likewise.
55663         [C99-based-standards] (PRIiFAST8): Likewise.
55664         [C99-based-standards] (PRIoFAST8): Likewise.
55665         [C99-based-standards] (PRIuFAST8): Likewise.
55666         [C99-based-standards] (PRIxFAST8): Likewise.
55667         [C99-based-standards] (PRIXFAST8): Likewise.
55668         [C99-based-standards] (SCNdFAST8): Likewise.
55669         [C99-based-standards] (SCNiFAST8): Likewise.
55670         [C99-based-standards] (SCNoFAST8): Likewise.
55671         [C99-based-standards] (SCNuFAST8): Likewise.
55672         [C99-based-standards] (SCNxFAST8): Likewise.
55673         [C99-based-standards] (PRId16): Likewise.
55674         [C99-based-standards] (PRIi16): Likewise.
55675         [C99-based-standards] (PRIo16): Likewise.
55676         [C99-based-standards] (PRIu16): Likewise.
55677         [C99-based-standards] (PRIx16): Likewise.
55678         [C99-based-standards] (PRIX16): Likewise.
55679         [C99-based-standards] (SCNd16): Likewise.
55680         [C99-based-standards] (SCNi16): Likewise.
55681         [C99-based-standards] (SCNo16): Likewise.
55682         [C99-based-standards] (SCNu16): Likewise.
55683         [C99-based-standards] (SCNx16): Likewise.
55684         [C99-based-standards] (PRIdLEAST16): Likewise.
55685         [C99-based-standards] (PRIiLEAST16): Likewise.
55686         [C99-based-standards] (PRIoLEAST16): Likewise.
55687         [C99-based-standards] (PRIuLEAST16): Likewise.
55688         [C99-based-standards] (PRIxLEAST16): Likewise.
55689         [C99-based-standards] (PRIXLEAST16): Likewise.
55690         [C99-based-standards] (SCNdLEAST16): Likewise.
55691         [C99-based-standards] (SCNiLEAST16): Likewise.
55692         [C99-based-standards] (SCNoLEAST16): Likewise.
55693         [C99-based-standards] (SCNuLEAST16): Likewise.
55694         [C99-based-standards] (SCNxLEAST16): Likewise.
55695         [C99-based-standards] (PRIdFAST16): Likewise.
55696         [C99-based-standards] (PRIiFAST16): Likewise.
55697         [C99-based-standards] (PRIoFAST16): Likewise.
55698         [C99-based-standards] (PRIuFAST16): Likewise.
55699         [C99-based-standards] (PRIxFAST16): Likewise.
55700         [C99-based-standards] (PRIXFAST16): Likewise.
55701         [C99-based-standards] (SCNdFAST16): Likewise.
55702         [C99-based-standards] (SCNiFAST16): Likewise.
55703         [C99-based-standards] (SCNoFAST16): Likewise.
55704         [C99-based-standards] (SCNuFAST16): Likewise.
55705         [C99-based-standards] (SCNxFAST16): Likewise.
55706         [C99-based-standards] (PRId32): Likewise.
55707         [C99-based-standards] (PRIi32): Likewise.
55708         [C99-based-standards] (PRIo32): Likewise.
55709         [C99-based-standards] (PRIu32): Likewise.
55710         [C99-based-standards] (PRIx32): Likewise.
55711         [C99-based-standards] (PRIX32): Likewise.
55712         [C99-based-standards] (SCNd32): Likewise.
55713         [C99-based-standards] (SCNi32): Likewise.
55714         [C99-based-standards] (SCNo32): Likewise.
55715         [C99-based-standards] (SCNu32): Likewise.
55716         [C99-based-standards] (SCNx32): Likewise.
55717         [C99-based-standards] (PRIdLEAST32): Likewise.
55718         [C99-based-standards] (PRIiLEAST32): Likewise.
55719         [C99-based-standards] (PRIoLEAST32): Likewise.
55720         [C99-based-standards] (PRIuLEAST32): Likewise.
55721         [C99-based-standards] (PRIxLEAST32): Likewise.
55722         [C99-based-standards] (PRIXLEAST32): Likewise.
55723         [C99-based-standards] (SCNdLEAST32): Likewise.
55724         [C99-based-standards] (SCNiLEAST32): Likewise.
55725         [C99-based-standards] (SCNoLEAST32): Likewise.
55726         [C99-based-standards] (SCNuLEAST32): Likewise.
55727         [C99-based-standards] (SCNxLEAST32): Likewise.
55728         [C99-based-standards] (PRIdFAST32): Likewise.
55729         [C99-based-standards] (PRIiFAST32): Likewise.
55730         [C99-based-standards] (PRIoFAST32): Likewise.
55731         [C99-based-standards] (PRIuFAST32): Likewise.
55732         [C99-based-standards] (PRIxFAST32): Likewise.
55733         [C99-based-standards] (PRIXFAST32): Likewise.
55734         [C99-based-standards] (SCNdFAST32): Likewise.
55735         [C99-based-standards] (SCNiFAST32): Likewise.
55736         [C99-based-standards] (SCNoFAST32): Likewise.
55737         [C99-based-standards] (SCNuFAST32): Likewise.
55738         [C99-based-standards] (SCNxFAST32): Likewise.
55739         [C99-based-standards] (PRId64): Likewise.
55740         [C99-based-standards] (PRIi64): Likewise.
55741         [C99-based-standards] (PRIo64): Likewise.
55742         [C99-based-standards] (PRIu64): Likewise.
55743         [C99-based-standards] (PRIx64): Likewise.
55744         [C99-based-standards] (PRIX64): Likewise.
55745         [C99-based-standards] (SCNd64): Likewise.
55746         [C99-based-standards] (SCNi64): Likewise.
55747         [C99-based-standards] (SCNo64): Likewise.
55748         [C99-based-standards] (SCNu64): Likewise.
55749         [C99-based-standards] (SCNx64): Likewise.
55750         [C99-based-standards] (PRIdLEAST64): Likewise.
55751         [C99-based-standards] (PRIiLEAST64): Likewise.
55752         [C99-based-standards] (PRIoLEAST64): Likewise.
55753         [C99-based-standards] (PRIuLEAST64): Likewise.
55754         [C99-based-standards] (PRIxLEAST64): Likewise.
55755         [C99-based-standards] (PRIXLEAST64): Likewise.
55756         [C99-based-standards] (SCNdLEAST64): Likewise.
55757         [C99-based-standards] (SCNiLEAST64): Likewise.
55758         [C99-based-standards] (SCNoLEAST64): Likewise.
55759         [C99-based-standards] (SCNuLEAST64): Likewise.
55760         [C99-based-standards] (SCNxLEAST64): Likewise.
55761         [C99-based-standards] (PRIdFAST64): Likewise.
55762         [C99-based-standards] (PRIiFAST64): Likewise.
55763         [C99-based-standards] (PRIoFAST64): Likewise.
55764         [C99-based-standards] (PRIuFAST64): Likewise.
55765         [C99-based-standards] (PRIxFAST64): Likewise.
55766         [C99-based-standards] (PRIXFAST64): Likewise.
55767         [C99-based-standards] (SCNdFAST64): Likewise.
55768         [C99-based-standards] (SCNiFAST64): Likewise.
55769         [C99-based-standards] (SCNoFAST64): Likewise.
55770         [C99-based-standards] (SCNuFAST64): Likewise.
55771         [C99-based-standards] (SCNxFAST64): Likewise.
55772         [C99-based-standards] (PRIdMAX): Likewise.
55773         [C99-based-standards] (PRIiMAX): Likewise.
55774         [C99-based-standards] (PRIoMAX): Likewise.
55775         [C99-based-standards] (PRIuMAX): Likewise.
55776         [C99-based-standards] (PRIxMAX): Likewise.
55777         [C99-based-standards] (PRIXMAX): Likewise.
55778         [C99-based-standards] (SCNdMAX): Likewise.
55779         [C99-based-standards] (SCNiMAX): Likewise.
55780         [C99-based-standards] (SCNoMAX): Likewise.
55781         [C99-based-standards] (SCNuMAX): Likewise.
55782         [C99-based-standards] (SCNxMAX): Likewise.
55783         [C99-based-standards] (PRIdPTR): Likewise.
55784         [C99-based-standards] (PRIiPTR): Likewise.
55785         [C99-based-standards] (PRIoPTR): Likewise.
55786         [C99-based-standards] (PRIuPTR): Likewise.
55787         [C99-based-standards] (PRIxPTR): Likewise.
55788         [C99-based-standards] (PRIXPTR): Likewise.
55789         [C99-based-standards] (SCNdPTR): Likewise.
55790         [C99-based-standards] (SCNiPTR): Likewise.
55791         [C99-based-standards] (SCNoPTR): Likewise.
55792         [C99-based-standards] (SCNuPTR): Likewise.
55793         [C99-based-standards] (SCNxPTR): Likewise.
55794         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55795         allow.
55796         * conform/data/stdint.h-data: Update comments to clarify
55797         requirements.
55798         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55799         type.
55800         [C99-based standards] (INT8_MAX): Likewise.
55801         [C99-based standards] (INT16_MIN): Likewise.
55802         [C99-based standards] (INT16_MAX): Likewise.
55803         [C99-based standards] (INT32_MIN): Likewise.
55804         [C99-based standards] (INT32_MAX): Likewise.
55805         [C99-based standards] (INT64_MIN): Likewise.
55806         [C99-based standards] (INT64_MAX): Likewise.
55807         [C99-based standards] (UINT8_MAX): Likewise.
55808         [C99-based standards] (UINT16_MAX): Likewise.
55809         [C99-based standards] (UINT32_MAX): Likewise.
55810         [C99-based standards] (UINT64_MAX): Likewise.
55811         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55812         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55813         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55814         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55815         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55816         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55817         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55818         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55819         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55820         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55821         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55822         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55823         [C99-based standards] (INT_FAST8_MIN): Likewise.
55824         [C99-based standards] (INT_FAST8_MAX): Likewise.
55825         [C99-based standards] (INT_FAST16_MIN): Likewise.
55826         [C99-based standards] (INT_FAST16_MAX): Likewise.
55827         [C99-based standards] (INT_FAST32_MIN): Likewise.
55828         [C99-based standards] (INT_FAST32_MAX): Likewise.
55829         [C99-based standards] (INT_FAST64_MIN): Likewise.
55830         [C99-based standards] (INT_FAST64_MAX): Likewise.
55831         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55832         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55833         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55834         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55835         [C99-based standards] (INTPTR_MIN): Likewise.
55836         [C99-based standards] (INTPTR_MAX): Likewise.
55837         [C99-based standards] (UINTPTR_MAX): Likewise.
55838         [C99-based standards] (INTMAX_MIN): Likewise.
55839         [C99-based standards] (INTMAX_MAX): Likewise.
55840         [C99-based standards] (UINTMAX_MAX): Likewise.
55841         [C99-based standards] (PTRDIFF_MIN): Likewise.
55842         [C99-based standards] (PTRDIFF_MAX): Likewise.
55843         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55844         [C99-based standards] (SIZE_MAX): Likewise.
55845         [C99-based standards] (WCHAR_MAX): Likewise.
55846         [C99-based standards] (WINT_MAX): Likewise.
55847         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55848         constraint on value.
55849         [C99-based standards] (WCHAR_MIN): Likewise.
55850         [C99-based standards] (WINT_MIN): Likewise.
55851         [C99-based standards] (*_t): Allow.
55852         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55853         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55854         Include math.h-data and complex.h-data.  Remove all expectations
55855         of math.h and complex.h contents.
55856         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55857         at end of line.
55858         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55859         (struct tm): Expect tag.
55860         [C99-based-standards] (wcstof): Expect function.
55861         [C99-based-standards] (wcstold): Likewise.
55862         [C99-based-standards] (wcstoll): Likewise.
55863         [C99-based-standards] (wcstoull): Likewise.
55864         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55865         macro-int-constant.  Specify type.
55866         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55867         constraint on value.
55868         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55869         Specify type.
55870         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55871         Specify value.
55872         [ISO C standards]: Do not allow headers.
55873         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55874         wcs[abcdefghijklmnopqrstuvwxyz]*.
55875         [ISO C standards] (*_t): Do not allow.
55876         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55877         Expect function.
55878         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55879         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55880         Specify type.
55881         [ISO C standards]: Do not allow headers.
55882         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55883         is[abcdefghijklmnopqrstuvwxyz]*.
55884         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55885         to[abcdefghijklmnopqrstuvwxyz]*.
55886         [ISO C standards] (*_t): Do not allow.
55887         * conform/data/stdalign.h-data: New file.
55888         * conform/data/stdbool.h-data: Likewise.
55889         * conform/data/stdnoreturn.h-data: Likewise.
55890
55891 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55892
55893         [BZ #14815]
55894         * manual/filesys.texi (Directory Entries): Typo fix.
55895         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55896
55897 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55898
55899         * elf/elf.h (EM_AARCH64): New macro.
55900         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55901         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55902         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55903         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55904         (R_AARCH64_TLSDESC): Likewise.
55905         (NT_ARM_TLS): Likewise.
55906         (NT_ARM_HW_BREAK): Likewise.
55907         (NT_ARM_HW_WATCH): Likewise.
55908
55909 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55910
55911         [BZ #14811]
55912         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55913         (__ieee754_powl): Saturate nonzero exponents with absolute value
55914         below 0x1p-79 to +/- 0x1p-79.
55915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55916         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55917         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55918         nonzero exponents with absolute value below 0x1p-32 to +/-
55919         0x1p-32.
55920         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55921         (__ieee754_powl): Saturate nonzero exponents with absolute value
55922         below 0x1p-79 to +/- 0x1p-79.
55923         * math/libm-test.inc (pow_test): Add more tests.
55924
55925 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55926
55927         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55928         _dl_s390_cap_flags with kernel. Increase string length.
55929         (_dl_s390_platforms): Add z196 and zEC12.
55930
55931 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55932
55933         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55934         Change XOPEN21K to XOPEN2K.
55935
55936 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55937
55938         * string/memmove.c: Use memcpy when possible.
55939
55940 2012-11-06  Andreas Jaeger  <aj@suse.de>
55941
55942         * po/eo.po: Update from translation team.
55943
55944 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55945
55946         [BZ #14793]
55947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55948         exponent and small x and y exponents, scale x or y up.  Increase
55949         by 2 the exponent used in scaling up.
55950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55952         * math/libm-test.inc (fma_test): Add more tests.
55953         (fma_test_towardzero): Likewise.
55954         (fma_test_downward): Likewise.
55955         (fma_test_upward): Likewise.
55956
55957 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55958
55959         [BZ #14805]
55960         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55961         fenv_t *.
55962
55963         [BZ #14801]
55964         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55965         namespace for names of struct fields.
55966         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55967         fenv_t fields.
55968         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55969         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55970
55971 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55972
55973         [BZ #3665]
55974         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55975
55976 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55977
55978         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55979         PTR_DEMANGLE.
55980
55981         [BZ #5246]
55982         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55983         PTR_DEMANGLE.
55984
55985 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55986
55987         [BZ #14797]
55988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55989         definitely overflow as x * y not x * y + z.
55990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55992         * math/libm-test.inc (fma_test): Add more tests.
55993         (fma_test_towardzero): Likewise.
55994         (fma_test_downward): Likewise.
55995         (fma_test_upward): Likewise.
55996
55997 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55998
55999         [BZ #157]
56000
56001         * include/stub-tag.h: Remove file.
56002         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56003         '#include' of it.
56004         * manual/maint.texi (Porting): Don't reference it.
56005         * Makerules ($(objpfx)stubs): Likewise.
56006         * dirent/closedir.c: Don't include <stub-tag.h>.
56007         * dirent/dirfd.c: Likewise.
56008         * dirent/fdopendir.c: Likewise.
56009         * dirent/getdents.c: Likewise.
56010         * dirent/getdents64.c: Likewise.
56011         * dirent/opendir.c: Likewise.
56012         * dirent/readdir.c: Likewise.
56013         * dirent/readdir64.c: Likewise.
56014         * dirent/readdir64_r.c: Likewise.
56015         * dirent/readdir_r.c: Likewise.
56016         * dirent/rewinddir.c: Likewise.
56017         * dirent/seekdir.c: Likewise.
56018         * dirent/telldir.c: Likewise.
56019         * gmon/profil.c: Likewise.
56020         * grp/setgroups.c: Likewise.
56021         * inet/if_index.c: Likewise.
56022         * io/access.c: Likewise.
56023         * io/chdir.c: Likewise.
56024         * io/chmod.c: Likewise.
56025         * io/chown.c: Likewise.
56026         * io/close.c: Likewise.
56027         * io/dup.c: Likewise.
56028         * io/dup2.c: Likewise.
56029         * io/dup3.c: Likewise.
56030         * io/euidaccess.c: Likewise.
56031         * io/faccessat.c: Likewise.
56032         * io/fchdir.c: Likewise.
56033         * io/fchmod.c: Likewise.
56034         * io/fchmodat.c: Likewise.
56035         * io/fchown.c: Likewise.
56036         * io/fchownat.c: Likewise.
56037         * io/fcntl.c: Likewise.
56038         * io/flock.c: Likewise.
56039         * io/fstatfs.c: Likewise.
56040         * io/fstatfs64.c: Likewise.
56041         * io/fstatvfs.c: Likewise.
56042         * io/fstatvfs64.c: Likewise.
56043         * io/futimens.c: Likewise.
56044         * io/fxstat.c: Likewise.
56045         * io/fxstat64.c: Likewise.
56046         * io/fxstatat.c: Likewise.
56047         * io/fxstatat64.c: Likewise.
56048         * io/getcwd.c: Likewise.
56049         * io/isatty.c: Likewise.
56050         * io/lchmod.c: Likewise.
56051         * io/lchown.c: Likewise.
56052         * io/link.c: Likewise.
56053         * io/linkat.c: Likewise.
56054         * io/lseek.c: Likewise.
56055         * io/lseek64.c: Likewise.
56056         * io/lxstat64.c: Likewise.
56057         * io/mkdir.c: Likewise.
56058         * io/mkdirat.c: Likewise.
56059         * io/mkfifo.c: Likewise.
56060         * io/mkfifoat.c: Likewise.
56061         * io/open.c: Likewise.
56062         * io/open64.c: Likewise.
56063         * io/openat.c: Likewise.
56064         * io/openat64.c: Likewise.
56065         * io/pipe.c: Likewise.
56066         * io/pipe2.c: Likewise.
56067         * io/poll.c: Likewise.
56068         * io/posix_fadvise.c: Likewise.
56069         * io/posix_fadvise64.c: Likewise.
56070         * io/posix_fallocate.c: Likewise.
56071         * io/posix_fallocate64.c: Likewise.
56072         * io/read.c: Likewise.
56073         * io/readlink.c: Likewise.
56074         * io/readlinkat.c: Likewise.
56075         * io/rmdir.c: Likewise.
56076         * io/sendfile.c: Likewise.
56077         * io/sendfile64.c: Likewise.
56078         * io/statfs.c: Likewise.
56079         * io/statfs64.c: Likewise.
56080         * io/statvfs.c: Likewise.
56081         * io/statvfs64.c: Likewise.
56082         * io/symlink.c: Likewise.
56083         * io/symlinkat.c: Likewise.
56084         * io/ttyname.c: Likewise.
56085         * io/ttyname_r.c: Likewise.
56086         * io/umask.c: Likewise.
56087         * io/unlink.c: Likewise.
56088         * io/unlinkat.c: Likewise.
56089         * io/utime.c: Likewise.
56090         * io/utimensat.c: Likewise.
56091         * io/write.c: Likewise.
56092         * io/xmknod.c: Likewise.
56093         * io/xmknodat.c: Likewise.
56094         * io/xstat.c: Likewise.
56095         * io/xstat64.c: Likewise.
56096         * login/getpt.c: Likewise.
56097         * login/grantpt.c: Likewise.
56098         * login/unlockpt.c: Likewise.
56099         * math/e_acoshl.c: Likewise.
56100         * math/e_acosl.c: Likewise.
56101         * math/e_asinl.c: Likewise.
56102         * math/e_atan2l.c: Likewise.
56103         * math/e_atanhl.c: Likewise.
56104         * math/e_coshl.c: Likewise.
56105         * math/e_expl.c: Likewise.
56106         * math/e_fmodl.c: Likewise.
56107         * math/e_gammal_r.c: Likewise.
56108         * math/e_hypotl.c: Likewise.
56109         * math/e_j0l.c: Likewise.
56110         * math/e_j1l.c: Likewise.
56111         * math/e_jnl.c: Likewise.
56112         * math/e_lgammal_r.c: Likewise.
56113         * math/e_log10l.c: Likewise.
56114         * math/e_log2l.c: Likewise.
56115         * math/e_logl.c: Likewise.
56116         * math/e_powl.c: Likewise.
56117         * math/e_rem_pio2l.c: Likewise.
56118         * math/e_sinhl.c: Likewise.
56119         * math/e_sqrtl.c: Likewise.
56120         * math/fclrexcpt.c: Likewise.
56121         * math/fedisblxcpt.c: Likewise.
56122         * math/feenablxcpt.c: Likewise.
56123         * math/fegetenv.c: Likewise.
56124         * math/fegetexcept.c: Likewise.
56125         * math/fegetround.c: Likewise.
56126         * math/feholdexcpt.c: Likewise.
56127         * math/fesetenv.c: Likewise.
56128         * math/fesetround.c: Likewise.
56129         * math/feupdateenv.c: Likewise.
56130         * math/fgetexcptflg.c: Likewise.
56131         * math/fraiseexcpt.c: Likewise.
56132         * math/fsetexcptflg.c: Likewise.
56133         * math/ftestexcept.c: Likewise.
56134         * math/k_cosl.c: Likewise.
56135         * math/k_rem_pio2l.c: Likewise.
56136         * math/k_sinl.c: Likewise.
56137         * math/k_tanl.c: Likewise.
56138         * math/s_asinhl.c: Likewise.
56139         * math/s_atanl.c: Likewise.
56140         * math/s_cbrtl.c: Likewise.
56141         * math/s_erfl.c: Likewise.
56142         * math/s_expm1l.c: Likewise.
56143         * math/s_log1pl.c: Likewise.
56144         * math/s_tanhl.c: Likewise.
56145         * misc/acct.c: Likewise.
56146         * misc/brk.c: Likewise.
56147         * misc/chflags.c: Likewise.
56148         * misc/chroot.c: Likewise.
56149         * misc/fchflags.c: Likewise.
56150         * misc/fgetxattr.c: Likewise.
56151         * misc/flistxattr.c: Likewise.
56152         * misc/fremovexattr.c: Likewise.
56153         * misc/fsetxattr.c: Likewise.
56154         * misc/fsync.c: Likewise.
56155         * misc/ftruncate.c: Likewise.
56156         * misc/futimes.c: Likewise.
56157         * misc/futimesat.c: Likewise.
56158         * misc/getdomain.c: Likewise.
56159         * misc/getdtsz.c: Likewise.
56160         * misc/gethostid.c: Likewise.
56161         * misc/gethostname.c: Likewise.
56162         * misc/getloadavg.c: Likewise.
56163         * misc/getpagesize.c: Likewise.
56164         * misc/getsysstats.c: Likewise.
56165         * misc/getxattr.c: Likewise.
56166         * misc/gtty.c: Likewise.
56167         * misc/ioctl.c: Likewise.
56168         * misc/lgetxattr.c: Likewise.
56169         * misc/listxattr.c: Likewise.
56170         * misc/llistxattr.c: Likewise.
56171         * misc/lremovexattr.c: Likewise.
56172         * misc/lsetxattr.c: Likewise.
56173         * misc/lutimes.c: Likewise.
56174         * misc/madvise.c: Likewise.
56175         * misc/mincore.c: Likewise.
56176         * misc/mlock.c: Likewise.
56177         * misc/mlockall.c: Likewise.
56178         * misc/mmap.c: Likewise.
56179         * misc/mprotect.c: Likewise.
56180         * misc/msync.c: Likewise.
56181         * misc/munlock.c: Likewise.
56182         * misc/munlockall.c: Likewise.
56183         * misc/munmap.c: Likewise.
56184         * misc/preadv.c: Likewise.
56185         * misc/preadv64.c: Likewise.
56186         * misc/ptrace.c: Likewise.
56187         * misc/pwritev.c: Likewise.
56188         * misc/pwritev64.c: Likewise.
56189         * misc/readv.c: Likewise.
56190         * misc/reboot.c: Likewise.
56191         * misc/remap_file_pages.c: Likewise.
56192         * misc/removexattr.c: Likewise.
56193         * misc/revoke.c: Likewise.
56194         * misc/select.c: Likewise.
56195         * misc/setdomain.c: Likewise.
56196         * misc/setegid.c: Likewise.
56197         * misc/seteuid.c: Likewise.
56198         * misc/sethostid.c: Likewise.
56199         * misc/sethostname.c: Likewise.
56200         * misc/setregid.c: Likewise.
56201         * misc/setreuid.c: Likewise.
56202         * misc/setxattr.c: Likewise.
56203         * misc/sstk.c: Likewise.
56204         * misc/stty.c: Likewise.
56205         * misc/swapoff.c: Likewise.
56206         * misc/swapon.c: Likewise.
56207         * misc/sync.c: Likewise.
56208         * misc/syncfs.c: Likewise.
56209         * misc/syscall.c: Likewise.
56210         * misc/truncate.c: Likewise.
56211         * misc/ualarm.c: Likewise.
56212         * misc/usleep.c: Likewise.
56213         * misc/ustat.c: Likewise.
56214         * misc/utimes.c: Likewise.
56215         * misc/vhangup.c: Likewise.
56216         * misc/writev.c: Likewise.
56217         * posix/_exit.c: Likewise.
56218         * posix/alarm.c: Likewise.
56219         * posix/execve.c: Likewise.
56220         * posix/fexecve.c: Likewise.
56221         * posix/fork.c: Likewise.
56222         * posix/fpathconf.c: Likewise.
56223         * posix/getaddrinfo.c: Likewise.
56224         * posix/getegid.c: Likewise.
56225         * posix/geteuid.c: Likewise.
56226         * posix/getgid.c: Likewise.
56227         * posix/getgroups.c: Likewise.
56228         * posix/getlogin.c: Likewise.
56229         * posix/getlogin_r.c: Likewise.
56230         * posix/getpgid.c: Likewise.
56231         * posix/getpid.c: Likewise.
56232         * posix/getppid.c: Likewise.
56233         * posix/getresgid.c: Likewise.
56234         * posix/getresuid.c: Likewise.
56235         * posix/getsid.c: Likewise.
56236         * posix/getuid.c: Likewise.
56237         * posix/glob64.c: Likewise.
56238         * posix/nanosleep.c: Likewise.
56239         * posix/pathconf.c: Likewise.
56240         * posix/pause.c: Likewise.
56241         * posix/posix_madvise.c: Likewise.
56242         * posix/pread.c: Likewise.
56243         * posix/pread64.c: Likewise.
56244         * posix/pwrite.c: Likewise.
56245         * posix/pwrite64.c: Likewise.
56246         * posix/sched_getaffinity.c: Likewise.
56247         * posix/sched_getp.c: Likewise.
56248         * posix/sched_gets.c: Likewise.
56249         * posix/sched_primax.c: Likewise.
56250         * posix/sched_primin.c: Likewise.
56251         * posix/sched_rr_gi.c: Likewise.
56252         * posix/sched_setaffinity.c: Likewise.
56253         * posix/sched_setp.c: Likewise.
56254         * posix/sched_sets.c: Likewise.
56255         * posix/sched_yield.c: Likewise.
56256         * posix/setgid.c: Likewise.
56257         * posix/setlogin.c: Likewise.
56258         * posix/setpgid.c: Likewise.
56259         * posix/setresgid.c: Likewise.
56260         * posix/setresuid.c: Likewise.
56261         * posix/setsid.c: Likewise.
56262         * posix/setuid.c: Likewise.
56263         * posix/sleep.c: Likewise.
56264         * posix/spawni.c: Likewise.
56265         * posix/sysconf.c: Likewise.
56266         * posix/times.c: Likewise.
56267         * posix/wait.c: Likewise.
56268         * posix/wait3.c: Likewise.
56269         * posix/wait4.c: Likewise.
56270         * posix/waitpid.c: Likewise.
56271         * resolv/gai_sigqueue.c: Likewise.
56272         * resource/getpriority.c: Likewise.
56273         * resource/getrlimit.c: Likewise.
56274         * resource/getrusage.c: Likewise.
56275         * resource/nice.c: Likewise.
56276         * resource/setpriority.c: Likewise.
56277         * resource/setrlimit.c: Likewise.
56278         * resource/ulimit.c: Likewise.
56279         * rt/aio_cancel.c: Likewise.
56280         * rt/aio_fsync.c: Likewise.
56281         * rt/aio_read.c: Likewise.
56282         * rt/aio_sigqueue.c: Likewise.
56283         * rt/aio_suspend.c: Likewise.
56284         * rt/aio_write.c: Likewise.
56285         * rt/clock_getres.c: Likewise.
56286         * rt/clock_gettime.c: Likewise.
56287         * rt/clock_nanosleep.c: Likewise.
56288         * rt/clock_settime.c: Likewise.
56289         * rt/lio_listio.c: Likewise.
56290         * rt/mq_close.c: Likewise.
56291         * rt/mq_getattr.c: Likewise.
56292         * rt/mq_notify.c: Likewise.
56293         * rt/mq_open.c: Likewise.
56294         * rt/mq_receive.c: Likewise.
56295         * rt/mq_send.c: Likewise.
56296         * rt/mq_setattr.c: Likewise.
56297         * rt/mq_timedreceive.c: Likewise.
56298         * rt/mq_timedsend.c: Likewise.
56299         * rt/mq_unlink.c: Likewise.
56300         * rt/shm_open.c: Likewise.
56301         * rt/shm_unlink.c: Likewise.
56302         * rt/timer_create.c: Likewise.
56303         * rt/timer_delete.c: Likewise.
56304         * rt/timer_getoverr.c: Likewise.
56305         * rt/timer_gettime.c: Likewise.
56306         * rt/timer_settime.c: Likewise.
56307         * setjmp/__longjmp.c: Likewise.
56308         * setjmp/setjmp.c: Likewise.
56309         * signal/kill.c: Likewise.
56310         * signal/killpg.c: Likewise.
56311         * signal/raise.c: Likewise.
56312         * signal/sigaction.c: Likewise.
56313         * signal/sigaltstack.c: Likewise.
56314         * signal/sigblock.c: Likewise.
56315         * signal/sigignore.c: Likewise.
56316         * signal/sigintr.c: Likewise.
56317         * signal/signal.c: Likewise.
56318         * signal/sigpause.c: Likewise.
56319         * signal/sigpending.c: Likewise.
56320         * signal/sigqueue.c: Likewise.
56321         * signal/sigreturn.c: Likewise.
56322         * signal/sigset.c: Likewise.
56323         * signal/sigsetmask.c: Likewise.
56324         * signal/sigstack.c: Likewise.
56325         * signal/sigsuspend.c: Likewise.
56326         * signal/sigtimedwait.c: Likewise.
56327         * signal/sigvec.c: Likewise.
56328         * signal/sigwait.c: Likewise.
56329         * signal/sigwaitinfo.c: Likewise.
56330         * signal/sysv_signal.c: Likewise.
56331         * socket/accept.c: Likewise.
56332         * socket/accept4.c: Likewise.
56333         * socket/bind.c: Likewise.
56334         * socket/connect.c: Likewise.
56335         * socket/getpeername.c: Likewise.
56336         * socket/getsockname.c: Likewise.
56337         * socket/getsockopt.c: Likewise.
56338         * socket/isfdtype.c: Likewise.
56339         * socket/listen.c: Likewise.
56340         * socket/recv.c: Likewise.
56341         * socket/recvfrom.c: Likewise.
56342         * socket/recvmsg.c: Likewise.
56343         * socket/send.c: Likewise.
56344         * socket/sendmsg.c: Likewise.
56345         * socket/sendto.c: Likewise.
56346         * socket/setsockopt.c: Likewise.
56347         * socket/shutdown.c: Likewise.
56348         * socket/sockatmark.c: Likewise.
56349         * socket/socket.c: Likewise.
56350         * socket/socketpair.c: Likewise.
56351         * stdio-common/ctermid.c: Likewise.
56352         * stdio-common/cuserid.c: Likewise.
56353         * stdio-common/remove.c: Likewise.
56354         * stdio-common/rename.c: Likewise.
56355         * stdio-common/renameat.c: Likewise.
56356         * stdio-common/tempname.c: Likewise.
56357         * stdlib/getcontext.c: Likewise.
56358         * stdlib/makecontext.c: Likewise.
56359         * stdlib/setcontext.c: Likewise.
56360         * stdlib/swapcontext.c: Likewise.
56361         * stdlib/system.c: Likewise.
56362         * streams/fattach.c: Likewise.
56363         * streams/fdetach.c: Likewise.
56364         * streams/getmsg.c: Likewise.
56365         * streams/getpmsg.c: Likewise.
56366         * streams/putmsg.c: Likewise.
56367         * streams/putpmsg.c: Likewise.
56368         * sysdeps/unix/bsd/getpt.c: Likewise.
56369         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56370         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56371         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56373         Likewise.
56374         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56375         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56376         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56377         * sysvipc/msgctl.c: Likewise.
56378         * sysvipc/msgget.c: Likewise.
56379         * sysvipc/msgrcv.c: Likewise.
56380         * sysvipc/msgsnd.c: Likewise.
56381         * sysvipc/semctl.c: Likewise.
56382         * sysvipc/semget.c: Likewise.
56383         * sysvipc/semop.c: Likewise.
56384         * sysvipc/semtimedop.c: Likewise.
56385         * sysvipc/shmat.c: Likewise.
56386         * sysvipc/shmctl.c: Likewise.
56387         * sysvipc/shmdt.c: Likewise.
56388         * sysvipc/shmget.c: Likewise.
56389         * termios/tcdrain.c: Likewise.
56390         * termios/tcflow.c: Likewise.
56391         * termios/tcflush.c: Likewise.
56392         * termios/tcgetattr.c: Likewise.
56393         * termios/tcgetpgrp.c: Likewise.
56394         * termios/tcsendbrk.c: Likewise.
56395         * termios/tcsetattr.c: Likewise.
56396         * termios/tcsetpgrp.c: Likewise.
56397         * time/adjtime.c: Likewise.
56398         * time/clock.c: Likewise.
56399         * time/getitimer.c: Likewise.
56400         * time/gettimeofday.c: Likewise.
56401         * time/setitimer.c: Likewise.
56402         * time/settimeofday.c: Likewise.
56403         * time/stime.c: Likewise.
56404         * time/time.c: Likewise.
56405
56406 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56407
56408         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56409         /usr/old/bin.
56410
56411         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56412         instead of spaces.
56413         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56414
56415 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56416
56417         [BZ #14796]
56418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56419         FE_TONEAREST before applying Dekker multiplication and Knuth
56420         addition.  Clear inexact exceptions and check for exact zero
56421         results afterwards.
56422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56425         * math/libm-test.inc (fma_test): Add more tests.
56426         (fma_test_towardzero): Likewise.
56427         (fma_test_downward): Likewise.
56428         (fma_test_upward): Likewise.
56429         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56430         function.
56431         (libc_fesetround): New macro.
56432         (libc_fesetroundf): Likewise.
56433         (libc_fesetroundl): Likewise.
56434         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56435         function.
56436         (libc_fesetround_387): Likewise.
56437         (libc_fesetroundf): New macro.
56438         (libc_fesetround): Likewise.
56439         (libc_fesetroundl): Likewise.
56440         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56441         function.
56442         (libc_fesetroundf): New macro.
56443         (libc_fesetround): Likewise.
56444         (libc_fesetroundl): Likewise.
56445         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56446         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56447         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56448         libm_hidden_ver.
56449         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56450         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56451         libm_hidden_def.
56452         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56453         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56454         libm_hidden_ver.
56455         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56456         libm_hidden_def.
56457
56458         [BZ #3439]
56459         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56460         integer constant usable in #if and use that to give value to enum
56461         constant.
56462         (FE_DIVBYZERO): Likewise.
56463         (FE_UNDERFLOW): Likewise.
56464         (FE_OVERFLOW): Likewise.
56465         (FE_INVALID): Likewise.
56466         (FE_INVALID_SNAN): Likewise.
56467         (FE_INVALID_ISI): Likewise.
56468         (FE_INVALID_IDI): Likewise.
56469         (FE_INVALID_ZDZ): Likewise.
56470         (FE_INVALID_IMZ): Likewise.
56471         (FE_INVALID_COMPARE): Likewise.
56472         (FE_INVALID_SOFTWARE): Likewise.
56473         (FE_INVALID_SQRT): Likewise.
56474         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56475         (FE_TONEAREST): Likewise.
56476         (FE_TOWARDZERO): Likewise.
56477         (FE_UPWARD): Likewise.
56478         (FE_DOWNWARD): Likewise.
56479         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56480         (FE_DIVBYZERO): Likewise.
56481         (FE_OVERFLOW): Likewise.
56482         (FE_UNDERFLOW): Likewise.
56483         (FE_INEXACT): Likewise.
56484         (FE_TONEAREST): Likewise.
56485         (FE_DOWNWARD): Likewise.
56486         (FE_UPWARD): Likewise.
56487         (FE_TOWARDZERO): Likewise.
56488         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56489         (FE_UNDERFLOW): Likewise.
56490         (FE_OVERFLOW): Likewise.
56491         (FE_DIVBYZERO): Likewise.
56492         (FE_INVALID): Likewise.
56493         (FE_TONEAREST): Likewise.
56494         (FE_TOWARDZERO): Likewise.
56495         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56496         (FE_OVERFLOW): Likewise.
56497         (FE_UNDERFLOW): Likewise.
56498         (FE_DIVBYZERO): Likewise.
56499         (FE_INEXACT): Likewise.
56500         (FE_TONEAREST): Likewise.
56501         (FE_TOWARDZERO): Likewise.
56502         (FE_UPWARD): Likewise.
56503         (FE_DOWNWARD): Likewise.
56504         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56505         (FE_DIVBYZERO): Likewise.
56506         (FE_OVERFLOW): Likewise.
56507         (FE_UNDERFLOW): Likewise.
56508         (FE_INEXACT): Likewise.
56509         (FE_TONEAREST): Likewise.
56510         (FE_DOWNWARD): Likewise.
56511         (FE_UPWARD): Likewise.
56512         (FE_TOWARDZERO): Likewise.
56513
56514 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56515
56516         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56517
56518 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56519
56520         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56521         commands.  Quote $PWD.
56522         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56523         -x" by "export".
56524         (remove_newlines): Remove.
56525
56526 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56527
56528         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56529         * stdlib/stdlib.h (atof): Moved to ...
56530         * include/bits/stdlib-float.h: Here.  New file.
56531         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56532         * stdlib/bits/stdlib-float.h: New file.
56533         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56534         -mno-sse -mno-mmx.
56535         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56536         <xmmintrin.h>.
56537
56538 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56539
56540         * conform/conformtest.pl (@headers): Add fenv.h.
56541         * conform/data/fenv.h-data: New file.
56542         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56543         include of <math/fenv.h>.
56544
56545         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56546         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56547         && !UNIX98].  Enables tests for XOPEN2K8.
56548         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56549         POSIX2008]: Likewise.
56550
56551         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56552         (struct rusage): Do not expect type or its members.
56553
56554         [BZ #3439]
56555         * math/math.h (FP_NAN): Define macro to integer constant usable in
56556         #if and use that to give value to enum constant.
56557         (FP_INFINITE): Likewise.
56558         (FP_ZERO): Likewise.
56559         (FP_SUBNORMAL): Likewise.
56560         (FP_NORMAL): Likewise.
56561
56562 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56563
56564         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56565         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56566         arguments.
56567
56568 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56569
56570         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56571         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56572         autoconf-time if not.
56573         * configure.in: Remove AC_PREREQ.
56574
56575 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56576
56577         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56578         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56579         of the internal implementation.
56580
56581 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56582
56583         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56584         except include of <misc/sys/syslog.h>.
56585
56586 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56587
56588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56589         function returns with a NULL context exit with zero.
56590
56591 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56592
56593         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56594
56595 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56596
56597         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56598         (run_program_cmd): This.
56599         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56600         (tst_langinfo): New variable.  Use it.
56601
56602 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56603
56604         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56605         floating point opcodes.
56606
56607 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56608
56609         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56610         variable.
56611
56612         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56613
56614         * sysdeps/mach/hurd/powerpc: Remove directory.
56615         * sysdeps/mach/powerpc: Likewise.
56616
56617 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56618
56619         * scripts/check-local-headers.sh: Ignore c++ headers.
56620
56621 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56622
56623         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56624         __libc_cleanup_region_start argument.
56625
56626 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56627
56628         [BZ #14784]
56629         [BZ #14785]
56630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56631         x * y using scaling, not as x * y + z.
56632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56634         * math/libm-test.inc (fma_test): Add more tests.
56635         (fma_test_towardzero): Likewise.
56636         (fma_test_downward): Likewise.
56637         (fma_test_upward): Likewise.
56638
56639 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56640
56641         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56642
56643 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56644
56645         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56646         New variable.
56647
56648 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56649
56650         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56651
56652 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56653
56654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56655         Fix sort order.
56656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56657         Likewise.
56658
56659 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56660
56661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56662         Fix the order of the list for glibc 2.17.
56663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56664         Likewise.
56665
56666 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56667
56668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56669
56670 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56671
56672         [BZ #14610]
56673         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56674         for low part of x being zero before using __atanl (y).
56675         * math/libm-test.inc (atan2_test): Add another test.
56676
56677         * manual/install.texi (Configuring and compiling): Document
56678         general use of test-wrapper and test-wrapper-env.
56679         * INSTALL: Regenerated.
56680
56681         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56682         (__fma): Do not extract and scale down low bits on after-rounding
56683         systems when result rounded to normal precision would have normal
56684         exponent.
56685         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56686         (__fmal): Do not extract and scale down low bits on after-rounding
56687         systems when result rounded to normal precision would have normal
56688         exponent.
56689         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56690         (__fmal): Do not extract and scale down low bits on after-rounding
56691         systems when result rounded to normal precision would have normal
56692         exponent.
56693         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56694         macro.
56695         (fma_test): Add more tests.
56696         (fma_test_towardzero): Likewise.
56697         (fma_test_downward): Likewise.
56698         (fma_test_upward): Likewise.
56699
56700 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56701
56702         * sysdeps/i386/tininess.h: Renamed to ...
56703         * sysdeps/x86/tininess.h: This.
56704         * sysdeps/x86_64/tininess.h: Removed.
56705
56706 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56707
56708         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56709         input.  Use $(build-program-cmd).
56710         ($(objpfx)tst-array1-static.out): Likewise.
56711         ($(objpfx)tst-array2.out): Likewise.
56712         ($(objpfx)tst-array3.out): Likewise.
56713         ($(objpfx)tst-array4.out): Likewise.
56714         ($(objpfx)tst-array5.out): Likewise.
56715         ($(objpfx)tst-array5-static.out): Likewise.
56716
56717 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56718
56719         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56720         if defined.
56721
56722         * nss/nsswitch.h (nss_interface_function): Provide new
56723         macro for use with NSS functions.
56724         * grp/initgroups.c: Use new macro.
56725         * nss/getXXbyYY.c: Likewise.
56726         * nss/getXXbyYY_r.c: Likewise.
56727         * nss/getXXent.c: Likewise.
56728         * nss/getXXent_r.c: Likewise.
56729         * sysdeps/posix/getaddrinfo.c: Likewise.
56730
56731 2012-10-30  Andreas Jaeger  <aj@suse.de>
56732
56733         * po/ru.po: Update Russion translation from translation project.
56734
56735 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56736
56737         [BZ #14152]
56738         [BZ #14783]
56739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56740         result and shift together with sticky bit instead of replicating
56741         round-to-nearest rounding.
56742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56744         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56745         missing underflow exceptions.
56746         (fma_test_towardzero): Add more tests.
56747         (fma_test_downward): Likewise.
56748         (fma_test_upward): Likewise.
56749
56750         [BZ #14047]
56751         * sysdeps/generic/tininess.h: New file.
56752         * sysdeps/i386/tininess.h: Likewise.
56753         * sysdeps/sh/tininess.h: Likewise.
56754         * sysdeps/x86_64/tininess.h: Likewise.
56755         * stdlib/tst-strtod-underflow.c: Likewise.
56756         * stdlib/tst-tininess.c: Likewise.
56757         * stdlib/strtod_l.c: Include <tininess.h>.
56758         (round_and_return): Do not set errno for exact underflow cases.
56759         Force an underflow exception when setting errno for underflow.
56760         Determine underflow based on rounding to normal precision if
56761         TININESS_AFTER_ROUNDING.
56762         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56763         ERANGE for exact underflow cases.
56764         * stdlib/Makefile (tests): Add tst-tininess and
56765         tst-strtod-underflow.
56766         ($(objpfx)tst-tininess): Use $(link-libm).
56767         ($(objpfx)tst-strtod-underflow): Likewise.
56768
56769 2012-10-30  Andreas Jaeger  <aj@suse.de>
56770
56771         [BZ#14767]
56772         * elf/Makefile (tests): Remove conditional for have-initfini-array
56773         since this is now always required and the variable does not exist
56774         anymore.
56775         (tests-static): Likewise.
56776         (modules-names): Likewise.
56777
56778         * po/eo.po: Add Esperanto translation from translation project.
56779
56780         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56781         merged with constructor/destructor.
56782         (init_array): Likewise.
56783         * elf/tst-array2dep.c (fini_array): Likewise.
56784         (init_array): Likewise.
56785
56786 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56787
56788         * manual/message.texi: Delete @cartouche tags.
56789
56790 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56791
56792         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56793         EOPNOTSUPP.
56794         * sysdeps/mach/hurd/fsync.c: Likewise.
56795
56796         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56797         [_POSIX_REALTIME_SIGNALS]: Change condition to
56798         [_POSIX_REALTIME_SIGNALS > 0].
56799
56800 2012-10-27  Andreas Jaeger  <aj@suse.de>
56801
56802         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56803         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56805         [__WORDSIZE != 64]: Likewise.
56806
56807 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56808
56809         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56810         *  iconvdata/tst-tables.sh: Likewise.
56811
56812 2012-10-25  David S. Miller  <davem@davemloft.net>
56813
56814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56815         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56816         of strtoull.
56817
56818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56819         ifunc-impl-list.c
56820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56821         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56822         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56823         file.
56824
56825 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56826
56827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56828         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56829         __getdirentries.
56830
56831 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56832             Jim Blandy  <jimb@codesourcery.com>
56833
56834         * scripts/cross-test-ssh.sh: New file.
56835         * manual/install.texi (Configuring and compiling): Document use of
56836         cross-test-ssh.sh.
56837         * INSTALL: Regenerated.
56838
56839 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56840
56841         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56842         EOPNOTSUPP.
56843
56844 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56845
56846         * Makeconfig (run-program-prefix): Fix comment.
56847
56848 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56849             Jim Blandy  <jimb@codesourcery.com>
56850
56851         * Makeconfig (test-wrapper): New variable,
56852         (test-wrapper-env): Likewise.
56853         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56854         (run-built-tests): Define to yes.
56855         (run-program-prefix): Use $(test-wrapper).
56856         (built-program-cmd): Likewise.
56857         * Rules (make-test-out): Use $(test-wrapper-env) and
56858         $(host-built-program-cmd).
56859         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56860         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56861         tst-pathopt.sh.
56862         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56863         $(test-wrapper-env) to tst-rtld-load-self.sh.
56864         ($(objpfx)order2.out): Use $(test-wrapper).
56865         ($(objpfx)tst-initorder.out): Likewise.
56866         ($(objpfx)tst-initorder2.out): Likewise.
56867         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56868         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56869         (test_wrapper_env): New variable.  Use it to run ld.so.
56870         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56871         Use it to run ld.so.
56872         (test_wrapper_env): Likewise.
56873         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56874         $(test-wrapper) to run-iconv-test.sh.
56875         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56876         (ICONV): Use $test_wrapper.
56877         * posix/Makefile ($(objpfx)globtest.out): Pass
56878         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56879         globtest.sh, not $(run-program-prefix).
56880         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56881         (test_wrapper): Likewise.
56882         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56883         set together with run_via_rtld_prefix.
56884         (run_program_prefix): Define in terms of test_wrapper and
56885         run_via_rtld_prefix.
56886
56887 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56888
56889         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56890         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56891         Targets removed.
56892
56893         [BZ #14743]
56894         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56895         Declare __clock_getres, __clock_gettime, __clock_settime,
56896         __clock_nanosleep, and __clock_getcpuclockid.
56897         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56898         Remove librt_hidden_def (clock_gettime).
56899         * sysdeps/unix/clock_gettime.c: Likewise.
56900         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56901         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56902         * rt/clock_getres.c: Define __clock_getres as an alias.
56903         * sysdeps/posix/clock_getres.c: Likewise.
56904         * rt/clock_settime.c: Define __clock_settime as an alias.
56905         * sysdeps/unix/clock_settime.c: Likewise.
56906         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56907         * sysdeps/unix/clock_nanosleep.c: Likewise.
56908         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56909         * rt/clock-compat.c: New file.
56910         * rt/Makefile (librt-routines): Add clock-compat and move
56911         $(clock-routines) to ...
56912         (routines): ... here, new variable.
56913         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56914         Don't add get_clockfreq here.
56915         * rt/Versions (libc: GLIBC_2.17): New version set.
56916         Add clock_* symbols here.
56917         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56918         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56919         (GLIBC_2.17): Add clock_* symbols.
56920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56924         Likewise.
56925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56926         Likewise.
56927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56931         * NEWS: Mention the move.
56932
56933         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56934         Use __open, __read, __close rather than their public counterparts.
56935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56936         (__get_clockfreq_via_cpuinfo): Likewise.
56937         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56938         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56939
56940         * config.h.in (HAVE_IFUNC): New #undef.
56941         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56942         was successful.
56943         * configure: Regenerated.
56944
56945 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56946
56947         * configure.in: Move READELF check to start of file.
56948         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56949         libc_cv_asm_gnu_indirect_function in the process.
56950         * configure: Regenerated.
56951
56952 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56953
56954         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56955         send the output to /dev/null.
56956         (libc_cv_cc_with_libunwind): Likewise.
56957         (libc_cv_as_noexecstack): Likewise.
56958         * configure: Regenerate.
56959
56960 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56961
56962         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56963
56964         * posix/globtest.sh (TMPDIR): Do not set.
56965         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56966         (testout): Likewise.
56967
56968 2012-10-24  Andreas Jaeger  <aj@suse.de>
56969
56970         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56971         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56972         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56973         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56974         posix_fadvise64, posix_fallocate64.
56975
56976         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56977         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56978         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56979         Likewise.
56980         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56981         Likewise.
56982         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56983
56984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56985         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56986         <bits/fcntl-linux.h>.
56987         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56988
56989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56990         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56991         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56992         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56993         [__WORDSIZE != 64]: Likewise.
56994
56995 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56996
56997         * Makeconfig (run-built-tests): New variable.
56998         * Rules [$(cross-compiling) = yes]: Change condition to
56999         [$(run-built-tests) = no].
57000         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57001         to [$(run-built-tests) = yes].
57002         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57003         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57004         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57005         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57006         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57007         * io/Makefile [$(cross-compiling) = no]: Likewise.
57008         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57009         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57010         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57011         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57012         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57013         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57014         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57015         * string/Makefile [$(cross-compiling) = no]: Likewise.
57016
57017         * posix/Makefile ($(objpfx)globtest.out): Pass
57018         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57019         $(rtld-installed-name).
57020         * posix/globtest.sh (elf_objpfx): Remove variable.
57021         (rtld_installed_name): Likewise.
57022         (library_path): Likewise.
57023         (run_program_prefix): New variable.  Use for running globtest
57024         binary.
57025
57026 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57027             Joseph Myers  <joseph@codesourcery.com>
57028
57029         * Makeconfig (host-built-program-cmd): New variable.
57030         * elf/Makefile (tst-stackguard1-ARGS): Use
57031         $(host-built-program-cmd).
57032         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57033         (tst-spawn-ARGS): Likewise.
57034         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57035
57036 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57037             Jim Blandy  <jimb@codesourcery.com>
57038
57039         * Makeconfig (run-via-rtld-prefix): New variable.
57040         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57041         (built-program-cmd): Likewise.
57042
57043 2012-10-22  Andreas Jaeger  <aj@suse.de>
57044
57045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57046         __O_RSYNC if it exists, otherwise to O_SYNC.
57047
57048 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57049             Joseph Myers  <joseph@codesourcery.com>
57050
57051         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57052         /dev/null.
57053         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57054         from /dev/null
57055         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57056         /dev/null.
57057
57058 2012-10-22  Andreas Jaeger  <aj@suse.de>
57059
57060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57061         Define always.
57062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57063
57064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57065         bits/fcntl-linux.h.
57066
57067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57068         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57069
57070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57071         to __O_LARGEFILE.
57072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57073         to __O_LARGEFILE.
57074
57075 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57076             Joseph Myers  <joseph@codesourcery.com>
57077
57078         * config.make.in (NM): New variable.
57079
57080 2012-10-21  Andreas Jaeger  <aj@suse.de>
57081
57082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57083         definitions and declarations that are provided by
57084         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57085
57086 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57087
57088         [BZ #14683]
57089         * elf/Makefile (tests-static): Add tst-leaks1-static.
57090         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57091         ($(objpfx)tst-leaks1-static): New rule.
57092         ($(objpfx)tst-leaks1-static-mem): Likewise.
57093         (tst-leaks1-static-ENV): New macro.
57094         * elf/dl-open.c (dl_open_worker): Check the main application
57095         only if SHARED is defined.
57096         * elf/tst-leaks1-static.c: New file.
57097
57098 2012-10-20  Andreas Jaeger  <aj@suse.de>
57099
57100         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57101         generic values for Linux.
57102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57103         and declarations that are provided by <bits/fcntl-linux.h> and
57104         include <bits/fcntl-linux.h>.
57105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57107
57108 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57109
57110         * io/fcntl.h: Move include of <bits/types.h> to the top and
57111         include it unconditionally.
57112
57113 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57114
57115         * wcsmbs/Makefile (tests-ifunc): New variable.
57116         (tests): Add $(tests-ifunc).
57117         * wcsmbs/test-wcschr-ifunc.c: New file.
57118         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57119         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57120         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57121         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57122         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57123
57124         * string/Makefile (tests-ifunc): New variable.
57125         (tests): Add $(tests-ifunc).
57126         * string/test-memccpy.c (TEST_NAME): New macro.
57127         * string/test-memchr.c (TEST_NAME): Likewise.
57128         * string/test-memcmp.c (TEST_NAME): Likewise.
57129         * string/test-memcpy.c (TEST_NAME): Likewise.
57130         * string/test-memmem.c (TEST_NAME): Likewise.
57131         * string/test-memmove.c (TEST_NAME): Likewise.
57132         * string/test-memset.c (TEST_NAME): Likewise.
57133         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57134         * string/test-stpcpy.c (TEST_NAME): Likewise.
57135         * string/test-stpncpy.c (TEST_NAME): Likewise.
57136         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57137         * string/test-strcasestr.c (TEST_NAME): Likewise.
57138         * string/test-strcat.c (TEST_NAME): Likewise.
57139         * string/test-strchr.c (TEST_NAME): Likewise.
57140         * string/test-strcmp.c(TEST_NAME): Likewise.
57141         * string/test-strcpy.c (TEST_NAME): Likewise.
57142         * string/test-strcspn.c (TEST_NAME): Likewise.
57143         * string/test-strlen.c (TEST_NAME): Likewise.
57144         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57145         * string/test-strncmp.c (TEST_NAME): Likewise.
57146         * string/test-strncpy.c (TEST_NAME): Likewise.
57147         * string/test-strnlen.c (TEST_NAME): Likewise.
57148         * string/test-strpbrk.c (TEST_NAME): Likewise.
57149         * string/test-strrchr.c (TEST_NAME): Likewise.
57150         * string/test-strspn.c (TEST_NAME): Likewise.
57151         * string/test-strstr.c (TEST_NAME): Likewise.
57152         * string/test-bcopy-ifunc.c: New file.
57153         * string/test-bzero-ifunc.c: Likewise.
57154         * string/test-memccpy-ifunc.c: Likewise.
57155         * string/test-memchr-ifunc.c: Likewise.
57156         * string/test-memcmp-ifunc.c: Likewise.
57157         * string/test-memcpy-ifunc.c: Likewise.
57158         * string/test-memmem-ifunc.c: Likewise.
57159         * string/test-memmove-ifunc.c: Likewise.
57160         * string/test-mempcpy-ifunc.c: Likewise.
57161         * string/test-memset-ifunc.c: Likewise.
57162         * string/test-rawmemchr-ifunc.c: Likewise.
57163         * string/test-stpcpy-ifunc.c: Likewise.
57164         * string/test-stpncpy-ifunc.c: Likewise.
57165         * string/test-strcasecmp-ifunc.c: Likewise.
57166         * string/test-strcasestr-ifunc.c: Likewise.
57167         * string/test-strcat-ifunc.c: Likewise.
57168         * string/test-strchr-ifunc.c: Likewise.
57169         * string/test-strchrnul-ifunc.c: Likewise.
57170         * string/test-strcmp-ifunc.c: Likewise.
57171         * string/test-strcpy-ifunc.c: Likewise.
57172         * string/test-strcspn-ifunc.c: Likewise.
57173         * string/test-strlen-ifunc.c: Likewise.
57174         * string/test-strncasecmp-ifunc.c: Likewise.
57175         * string/test-strncat-ifunc.c: Likewise.
57176         * string/test-strncmp-ifunc.c: Likewise.
57177         * string/test-strncpy-ifunc.c: Likewise.
57178         * string/test-strnlen-ifunc.c: Likewise.
57179         * string/test-strpbrk-ifunc.c: Likewise.
57180         * string/test-strrchr-ifunc.c: Likewise.
57181         * string/test-strspn-ifunc.c: Likewise.
57182         * string/test-strstr-ifunc.c: Likewise.
57183
57184         * debug/Makefile (tests-ifunc): New variable.
57185         (tests): Add $(tests-ifunc).
57186         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57187         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57188         * debug/test-stpcpy_chk-ifunc.c: New file.
57189         * debug/test-strcpy_chk-ifunc.c: Likewise.
57190
57191 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57192
57193         [BZ #13601]
57194         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57195         header is not read in.
57196
57197 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57198
57199         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57200         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57201         directly.  Pass built executable to script as
57202         $(built-program-cmd).
57203         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57204         $testprogram without using LD_LIBRARY_PATH and $ldso.
57205
57206         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57207         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57208         $(rtld-installed-name).
57209         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57210         (rtld_installed_name): Likewise.
57211         (library_path): Likewise.
57212         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57213         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57214         $(run-program-prefix) to tst-tables.sh.
57215         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57216         it to run tst-table-from and tst-table-to.
57217         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57218         Pass it to tst-table.sh.
57219         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57220         $(run-program-prefix) to tst-gettext.sh.
57221         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57222         tst-translit.sh.
57223         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57224         tst-gettext2.sh.
57225         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57226         to run tst-gettext.
57227         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57228         to run tst-gettext2.
57229         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57230         to run tst-translit.
57231         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57232         $(run-program-prefix) to tst-mtrace.sh.
57233         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57234         to run tst-mtrace.
57235         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57236         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57237         $(rtld-installed-name).
57238         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57239         (rtld_installed_name): Likewise.
57240         (run_program_prefix): New variable.  Use it to run wordexp-test.
57241
57242         * Makeconfig (ARCH): Remove all definitions.
57243         (machine): Likewise.
57244         [ARCH]: Remove conditional code.
57245         [!objdir]: Give error.
57246         [!objdir] (objpfx): Remove.
57247         [!objdir] (common-objpfx): Likewise.
57248         [!objdir] (common-objdir): Likewise.
57249         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57250         AC_CONFIG_FILES call.
57251         * configure: Regenerated.
57252
57253         [BZ #13888]
57254         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57255         or TMPDIR.
57256         (testout): Likewise.
57257
57258         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57259         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57260         $(rtld-installed-name).
57261         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57262         (rtld_installed_name): Likwise.
57263         (runit): Remove function.
57264         (run_getconf): New variable,  Use it for running getconf binary.
57265
57266 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57267
57268         [BZ #14716]
57269         * string/test-memmem.c (check_result): New function.
57270         (do_one_test): Use it.
57271         (check1): New function.
57272         (test_main): Use it.
57273
57274 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57275
57276         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57277
57278 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57279
57280         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57281         (_G_LSEEK64): Likewise.
57282         (_G_MMAP64): Likewise.
57283         (_G_FSTAT64): Likewise.
57284         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57285         (_G_LSEEK64): Likewise.
57286         (_G_MMAP64): Likewise.
57287         (_G_FSTAT64): Likewise.
57288         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57289         unconditional.  Call __mmap64 directly.
57290         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57291         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57292         __lseek64 directly.
57293         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57294         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57295         __mmap64 directly.
57296         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57297         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57298         __lseek64 directly.
57299         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57300         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57301         __lseek64 directly.
57302         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57303         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57304         __lseek64 directly.
57305         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57306         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57307         __fxstat64 directly.
57308         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57309         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57310         unconditional.
57311         (freopen64) [!_G_OPEN64]: Remove conditional code.
57312         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57313         unconditional.
57314         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57315         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57316         unconditional.
57317         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57318         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57319         unconditional.
57320         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57321         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57322         unconditional.
57323         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57324         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57325         unconditional.
57326         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57327         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57328         unconditional.
57329         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57330         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57331         unconditional.
57332         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57333
57334 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57335
57336         [BZ #12140]
57337         * manual/memory.texi (Malloc Tunable Parameters): Add note
57338         about free list pointers overwriting some perturb bytes.
57339         Wording suggested by Roland McGrath.
57340
57341 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57342
57343         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57344         (lgamma_test): Likewise.
57345         (tgamma_test): Likewise.
57346
57347 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57348
57349         [BZ #14700]
57350         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57351         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57352
57353 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57354
57355         * NEWS: Mention BZ #14716.
57356         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57357         when removing AVAILABLE1_USES_J macro.
57358
57359 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57360
57361         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57362         (__bswap_64): __uint64_t for unsigned 64-bit int.
57363
57364 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57365
57366         * include/string.h (memmem): Declare libc hidden alias.
57367         * string/memmem.c (memmem): Define libc hidden alias.
57368         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57369         __read, __close instead of open, read, close.
57370
57371 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57372
57373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57374         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57375         global and hidden.
57376         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57377         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57378         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57379         Likewise.
57380         (__rawmemchr_sse2): Likewise.
57381         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57382         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57383         (__strchr_sse2): Likewise.
57384         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57385         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57386         (__strcasecmp_sse2): Likewise.
57387         (__strncasecmp_sse2): Likewise.
57388         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57389         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57390         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57391         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57392         (__strrchr_sse2): Likewise.
57393         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57394         ifunc-impl-list.c.
57395         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57396         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57397         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57398         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57399         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57403         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57404         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57405         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57406         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57407         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57408         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57409         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57410         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57411         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57412         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57413         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57414         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57415         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57416         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57417         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57418         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57419         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57420         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57421         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57422         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57423         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57424         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57425
57426         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57427         global and hidden.
57428         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57429         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57430         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57431         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57432         Likewise.
57433         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57434         Likewise.
57435         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57436         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57437         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57438         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57439         ifunc-impl-list.c.
57440         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57441         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57442         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57449         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57450         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57451         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57452         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57453         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57454         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57456         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57457         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57458         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57459         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57461         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57462         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57463         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57464         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57465         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57466         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57467         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57468         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57469         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57470         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57471         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57472         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57473         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57474         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57475         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57476         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57477         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57478         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57479         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57480         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57481
57482         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57483         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57484         * include/ifunc-impl-list.h: New file.
57485         * misc/ifunc-impl-list.c: Likewise.
57486         * misc/Makefile (routines): Add ifunc-impl-list.
57487         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57488         * string/test-string.h: Include <ifunc-impl-list.h>.
57489         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57490         TEST_NAME]: New variables.
57491         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57492         are defined.
57493         (test_init): Call __libc_ifunc_impl_list to initialize
57494         func_list if TEST_IFUNC and TEST_NAME are defined.
57495
57496         * string/Makefile (strop-tests): Add bcopy and bzero.
57497         * string/test-bcopy.c: New file.
57498         * string/test-bzero.c: Likewise.
57499         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57500         defined.
57501         * string/test-memset.c: Support bzero test if TEST_BZERO is
57502         defined.
57503         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57504         __libc_memmove.
57505         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57506         __libc_memset.
57507         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57508         of memset.
57509
57510 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57511
57512         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57513         * configure: Regenerated.
57514
57515         * Makeconfig (+link-static-before-libc): Don't include
57516         $(link-static-libc).
57517
57518         * libio/libio.h (_IO_pos_t): Remove.
57519
57520 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57521
57522         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57523         McGrath.
57524
57525 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57526
57527         * crypt/crypt-entry.c: Include fips-private.h.
57528         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57529         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57530         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57531         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57532
57533 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57534
57535         * crypt/crypt-private.h: Include stdbool.h.
57536         (_ufc_setup_salt_r): Return bool.
57537         * crypt/crypt-entry.c: Include errno.h.
57538         (__crypt_r): Return NULL with EINVAL for bad salt.
57539         * crypt/crypt_util.c (bad_for_salt): New.
57540         (_ufc_setup_salt_r): Check that salt is long enough and within
57541         the specified alphabet.
57542         * crypt/badsalttest.c: New file.
57543         * crypt/Makefile (tests): Add it.
57544         ($(objpfx)badsalttest): New.
57545
57546 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57547
57548         * NEWS: Add entry for BZ #14602.
57549
57550 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57551
57552         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57553         type-generic.
57554         * math/libm-test.inc: Update comment listing what functions and
57555         macros are tested.
57556         (isgreater_test): New function.
57557         (isgreaterequal_test): Likewise.
57558         (isless_test): Likewise.
57559         (islessequal_test): Likewise.
57560         (islessgreater_test): Likewise.
57561         (isunordered_test): Likewise.
57562         (main): Call the new functions.
57563
57564 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57565
57566         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57567         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57568         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57569         * sysdeps/i386/configure: Regenerated.
57570         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57571         * sysdeps/mach/configure: Regenerated.
57572         * sysdeps/mach/hurd/configure: Regenerated.
57573         * sysdeps/powerpc/configure: Regenerated.
57574         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57575         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57576         * sysdeps/s390/s390-32/configure: Regenerated.
57577         * sysdeps/s390/s390-64/configure: Regenerated.
57578         * sysdeps/sh/configure: Regenerated.
57579         * sysdeps/sparc/configure: Regenerated.
57580         * sysdeps/unix/sysv/linux/configure: Regenerated.
57581         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57582         * sysdeps/x86_64/configure: Regenerated.
57583
57584         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57585         defined.  Don't check if MAP is NULL.
57586
57587 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57588
57589         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57590         (_G_stat64): Likewise.
57591         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57592         (_G_stat64): Likewise.
57593         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57594         instead of struct _G_stat64.
57595         * libio/fileops.c (mmap_remap_check): Likewise.
57596         (decide_maybe_mmap): Likewise.
57597         (_IO_new_file_seekoff): Likewise.
57598         (_IO_file_stat): Likewise.
57599         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57600         _G_off64_t.
57601         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57602         instead of struct _G_stat64.
57603         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57604
57605 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57606
57607         [BZ #14602]
57608         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57609         Replace with ...
57610         (CHECK_EOL): New macro.
57611         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57612         CHECK_EOL.
57613         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57614         Replace with CHECK_EOL.
57615         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57616         Replace with CHECK_EOL.
57617
57618 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57619
57620         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57621         type-generic.
57622         * math/libm-test.inc: Update comment listing what functions and
57623         macros are tested.
57624         (finite_test): New function.
57625         (isinf_test): Likewise.
57626         (isnan_test): Likewise.
57627         (fpclassify_test): Test subnormal input.
57628         (isfinite_test): Likewise.
57629         (isnormal_test): Likewise.
57630         (main): Call the new functions.
57631
57632 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57633
57634         [BZ #14660]
57635         * Makerules (%.dynsym): Force C locale when running
57636         $(OBJDUMP) --dynamic-syms.
57637
57638 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57639
57640         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57641         <stdint.h>.
57642
57643 2012-10-06  David S. Miller  <davem@davemloft.net>
57644
57645         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57646         upper 32-bits of the length value in %o2 since we use branch-on-register
57647         tests which consider the entire 64-bit register.
57648
57649 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57650
57651         * string/test-strstr.c (check2): Add a test for page boundary.
57652
57653 2012-10-05  David S. Miller  <davem@davemloft.net>
57654
57655         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57656         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57657         file.
57658         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57659         sysdep_routines.
57660         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57661         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57662         and bzero when HWCAP_SPARC_CRYPTO is present.
57663
57664 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57665
57666         [BZ #14602]
57667         * string/test-strstr.c (check2): New function.
57668         (test_main): Call check2.
57669
57670         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57671         and bug-strchr1.
57672         * string/bug-strcasestr1.c (do_test): Moved to ...
57673         * string/test-strcasestr.c (check1): Here.  New function.
57674         (do_one_test): Break out result checking code into ...
57675         (check_result): This.  New function.
57676         (do_one_test): Call check_result.
57677         (test_main): Call check1.
57678         * string/bug-strchr1.c (do_test): Moved to ...
57679         * string/test-strchr.c (check1): Here.  New function.
57680         (do_one_test): Break out result checking code into ...
57681         (check_result): This.  New function.
57682         (do_one_test): Call check_result.
57683         (test_main): Call check1.
57684         * string/bug-strstr1.c (main): Moved to ...
57685         * string/test-strstr.c (check1): Here.  New function.
57686         (do_one_test): Break out result checking code into ...
57687         (check_result): This.  New function.
57688         (do_one_test): Call check_result.
57689         (test_main): Call check1.
57690         * string/bug-strcasestr1.c: Removed.
57691         * string/bug-strchr1.c: Likewise.
57692         * string/bug-strstr1.c: Likewise.
57693
57694         * elf/Makefile (dl-routines): Add hwcaps.
57695         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57696         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57697         (_dl_important_hwcaps): Moved to ...
57698         * elf/dl-hwcaps.c: Here.  New file.
57699         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57700
57701         [BZ #14557]
57702         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57703         if IS_IN_rtld isn't defined.
57704
57705         * elf/dl-support.c (_dl_sysinfo_map): New.
57706         Include "get-dynamic-info.h" and "setup-vdso.h".
57707         (_dl_non_dynamic_init): Call setup_vdso.
57708         * elf/dynamic-link.h: Don't include <assert.h>.
57709         (elf_get_dynamic_info): Moved to ...
57710         * elf/get-dynamic-info.h: Here.  New file.
57711         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57712         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57713         * elf/setup-vdso.h: Here.  New file.
57714         * elf/rtld.c: Include "setup-vdso.h".
57715         (dl_main): Call setup_vdso.
57716
57717 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57718
57719         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57720         creal in comment listing functions tested.  List finite, isinf,
57721         isnan, isless, islessequal, isgreater, isgreaterequal,
57722         islessgreater, isunordered, lgamma_r and pow10 as functions and
57723         macros not tested.  Mention which functions not tested are aliases
57724         for other functions.  Fix typo.  Note that signs of NaNs are not
57725         tested.
57726
57727         * scripts/config.guess: Update from config.git.
57728         * scripts/config.sub: Likewise.
57729
57730 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57731
57732         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57733         * misc/madvise.c (madvise): Renamed to __madvise.
57734         Make madvise a weak alias.
57735         * include/sys/mman.h: Declare __madvise.
57736         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57737         * sysdeps/unix/syscalls.list
57738         (madvise): Make __madvise the strong name, and madvise a weak alias.
57739         * sysdeps/unix/sysv/linux/syscalls.list
57740         (madvise, mmap): Remove redundant entries.
57741         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57742         * malloc/malloc.c (mtrim): Likewise.
57743         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57744
57745 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57746
57747         * sysdeps/mach/hurd/dl-cache.c: File removed.
57748         * config.h.in (USE_LDCONFIG): New #undef.
57749         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57750         * configure: Regenerated.
57751         * elf/Makefile (dl-routines): Add dl-cache only under
57752         [$(use-ldconfig) = yes].
57753         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57754         cache on [USE_LDCONFIG].
57755         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57756         [USE_LDCONFIG].
57757         * elf/rtld.c (dl_main): Likewise.
57758
57759 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57760
57761         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57762         _SC_LEVEL4_CACHE_LINESIZE.
57763
57764 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57765
57766         * sysdeps/unix/bsd/confstr.h: File removed.
57767
57768 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57769
57770         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57771         sys/sdt-config.h.
57772
57773 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57774
57775         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57776         Make 'mapoff' field ElfW(Off) rather than off_t.
57777
57778 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57779
57780         * nscd/Makefile: Remove nscd-cflags and all its users.
57781         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57782         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57783
57784         [BZ #10631]
57785         * malloc.c (malloc_printerr): Clarify error message.
57786
57787 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57788
57789         [BZ #14648]
57790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57791         Set bit_FMA_Usable if FMA is supported.
57792         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57793         macro.
57794         (bit_FMA4_Usable): Updated.
57795         (index_FMA_Usable): New macro.
57796         (CPUID_FMA): Likewise.
57797         (HAS_FMA): Defined with bit_FMA_Usable.
57798
57799 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57800
57801         * bits/types.h (__swblk_t): Type removed.
57802         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57803         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57805         (__SWBLK_T_TYPE): Likewise.
57806         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57807         (__SWBLK_T_TYPE): Likewise.
57808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57809         (__SWBLK_T_TYPE): Likewise.
57810         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57811         (__SWBLK_T_TYPE): Likewise.
57812
57813 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57814             Honza Horak <hhorak@redhat.com>
57815
57816         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57817         (xdr_mapname): Use YPMAXMAP as maxsize.
57818         (xdr_peername): Use YPMAXPEER as maxsize.
57819         (xdr_keydat): Use YPAXRECORD as maxsize.
57820         (xdr_valdat): Use YPMAXRECORD as maxsize.
57821
57822 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57823
57824         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57825
57826         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57827         * csu/init-first.c: ... here.
57828         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57829         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57830         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57832         * sysdeps/i386/init-first.c: File removed.
57833         * sysdeps/sh/init-first.c: File removed.
57834
57835 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57836
57837         [BZ #14645]
57838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57839         if x * y might underflow to zero and z is zero.
57840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57842         * math/libm-test.inc (min_subnorm_value): New variable.
57843         (fma_test): Add more tests.
57844         (fma_test_towardzero): Likewise.
57845         (fma_test_downward): Likewise.
57846         (fma_test_upward): Likewise.
57847         (initialize): Set min_subnorm_value.
57848
57849 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57850
57851         [BZ #14638]
57852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57853         0 + 0.
57854         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57855         mode for addition resulting in exact zero.
57856         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57858         exact 0 + 0.
57859         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57860         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57861         * math/libm-test.inc (fma_test): Add more tests.
57862         (fma_test_towardzero): New function.
57863         (fma_test_downward): Likewise.
57864         (fma_test_upward): Likewise.
57865         (main): Call the new functions.
57866
57867 2012-09-28  David S. Miller  <davem@davemloft.net>
57868
57869         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57870
57871 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57872
57873         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57874         instead of SIGALRM.
57875
57876         * sysdeps/gnu/_G_config.h: Moved to ...
57877         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57878         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57879         * sysdeps/generic/_G_config.h: ... here.
57880
57881         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57882
57883         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57884
57885         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57886         Conditionalize target on [libnss_test1.so-version].
57887
57888         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57889
57890         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57891         (elfobjdir): Move out of conditionals.
57892
57893         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57894         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57895         (__nss_lookup_function): Conditionalize label remove_from_tree on
57896         [!DO_STATIC_NSS || SHARED], matching its only use.
57897
57898 2012-09-28  David S. Miller  <davem@davemloft.net>
57899
57900         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57901         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57902         file.
57903         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57904         sysdep_routines.
57905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57907         when HWCAP_SPARC_CRYPTO is present.
57908
57909 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57910
57911         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57912
57913 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57914
57915         [BZ #6530]
57916         * stdio-common/vfprintf.c (process_string_arg): Revert
57917         2000-07-22 change.
57918
57919 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57920
57921         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57922         for testcase.
57923         * stdio-common/tst-sprintf.c: Include <locale.h>
57924         (main): Test sprintf's handling of incomplete multibyte
57925         characters.
57926
57927 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57928
57929         * elf/dl-runtime.c (VERSYMIDX): Removed.
57930         * elf/dl-version.c (VERSYMIDX): Likewise.
57931         * elf/do-rel.h (VERSYMIDX): Likewise.
57932         (VALIDX): Likewise.
57933         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57934         * elf/rtld.c (VALIDX): Likewise.
57935         (ADDRIDX): Likewise.
57936         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57937         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57938         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57939         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57940         (VALIDX): Likewise.
57941         (ADDRIDX): Likewise.
57942
57943 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57944
57945         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57946
57947 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57948
57949         [BZ #11438]
57950         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57951         to global scope.
57952         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57953         addresses are in the same scope as 192.0.2/24.
57954         * posix/gai.conf: Document new scope table defaults.
57955
57956 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57957
57958         [BZ #5298]
57959         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57960         for ftell.  Compute offsets from write pointers instead.
57961         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57962
57963 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57964
57965         [BZ #14543]
57966         * libio/Makefile (tests): New test case tst-fseek.
57967         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57968         combination works in wide mode.
57969         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57970         state when the external buffer state changes.
57971
57972 2012-09-27  David S. Miller  <davem@davemloft.net>
57973
57974         [BZ #14376]
57975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57976         pass reloc->r_addend in as the 'high' argument to
57977         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57978
57979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57980
57981 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57982
57983         * rt/tst-aio2.c: Include <pthread.h>.
57984         * rt/tst-aio3.c: Likewise.
57985
57986 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57987
57988         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57989
57990 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57991
57992         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57993         contents on [SHARED].
57994
57995 2012-09-26  Marek Polacek  <polacek@redhat.com>
57996
57997         [BZ #14530]
57998         [BZ #13741]
57999         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58000         for C++ and GCC <4.3 as well as for non GCC compilers.
58001
58002 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58003
58004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58005
58006 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58007
58008         * Makefile.in (all, install): Declare with .PHONY.
58009         Reported by Michael Hope <michael.hope@linaro.org>.
58010
58011 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58012
58013         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58014         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58015         system header.
58016         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58017         Likewise.
58018         (sydep_routines): Add the new and the internal functions.
58019         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58020         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58022         (GLIBC_2.17): Add the new function.
58023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58024         (GLIBC_2.17): Likewise.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58026         (GLIBC_2.17): Likewise.
58027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58028         (GLIBC_2.17): Likewise.
58029         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58030
58031 2012-09-25  Alan Modra  <amodra@gmail.com>
58032
58033         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58034         Add release barrier before setting once_control to say
58035         initialisation is done.  Add hints on lwarx.  Use macro in
58036         place of isync.
58037         (clear_once_control): Add release barrier.
58038
58039 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58040
58041         [BZ #13629]
58042         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58043         specially.
58044         * math/s_clog10.c (__clog10): Likewise.
58045         * math/s_clog10f.c (__clog10f): Likewise.
58046         * math/s_clog10l.c (__clog10l): Likewise.
58047         * math/s_clogf.c (__clogf): Likewise.
58048         * math/s_clogl.c (__clogl): Likewise.
58049         * math/Makefile (libm-calls): Add x2y2m1.
58050         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58051         (__x2y2m1): Likewise.
58052         (__x2y2m1l): Likewise.
58053         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58054         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58055         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58056         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58057         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58058         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58059         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58060         * sysdeps/i386/fpu/libm-test-ulps: Update.
58061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58062
58063         [BZ #14621]
58064         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58065         int as type of variable DEPTH.
58066         (glob): Use size_t instead of int as type of variables NEWCOUNT
58067         and OLD_PATHC.
58068
58069 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58070
58071         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58072         Add s_sincosf-sse2.
58073         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58074         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58075         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58076         macros for using routine as __sincosf_ia32.
58077         Use macro for function declaration and weak_alias.
58078         * sysdeps/i386/fpu/libm-test-ulps: Update.
58079
58080         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58082
58083         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58084         subnormal argument.
58085         * math/s_cexpf.c (__cexpf): Likewise.
58086         * math/s_csinf.c (__csinf): Likewise.
58087         * math/s_csinhf.c (__csinhf): Likewise.
58088         * math/s_ctanf.c (__ctanf): Likewise.
58089         * math/s_ctanhf.c (__ctanhf): Likewise.
58090         * math/s_ccosh.c (__ccoshf): Likewise.
58091         * math/s_cexp.c (__cexpl): Likewise.
58092         * math/s_csin.c (__csin): Likewise.
58093         * math/s_csinh.c (__csinh): Likewise.
58094         * math/s_ctan.c (__ctan): Likewise.
58095         * math/s_ctanh.c (ctanh): Likewise.
58096         * math/s_ccoshl.c (__ccoshl): Likewise.
58097         * math/s_cexpl.c (__cexpl): Likewise.
58098         * math/s_csinl.c (__csinl): Likewise.
58099         * math/s_csinhl.c (__csinhl): Likewise.
58100         * math/s_ctanl.c (__ctanl): Likewise.
58101         * math/s_ctanhl.c (__ctanhl): Likewise.
58102
58103 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58104
58105         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58106         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58107         (_IO_off_t): Define to __off_t, not _G_off_t.
58108         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58109         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58110         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58111         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58112         type of __dummy and __dummy2 fields.
58113         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58114         (_G_ssize_t): Likewise.
58115         (_G_off_t): Likewise.
58116         (_G_pid_t): Likewise.
58117         (_G_uid_t): Likewise.
58118         (_G_wchar_t): Likewise.
58119         (_G_wint_t): Likewise.
58120         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58121         (_G_ssize_t): Likewise.
58122         (_G_off_t): Likewise.
58123         (_G_pid_t): Likewise.
58124         (_G_uid_t): Likewise.
58125         (_G_wchar_t): Likewise.
58126         (_G_wint_t): Likewise.
58127         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58128         (_G_ssize_t): Likewise.
58129         (_G_off_t): Likewise.
58130         (_G_pid_t): Likewise.
58131         (_G_uid_t): Likewise.
58132         (_G_wchar_t): Likewise.
58133         (_G_wint_t): Likewise.
58134
58135 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58136
58137         * malloc/arena.c: Include malloc-sysdep.h.
58138         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58139         is sufficient to shrink the heap or an unmap is needed.
58140         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58141         new function check_may_shrink_heap.
58142         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58143         new function check_may_shrink_heap.
58144
58145 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58146
58147         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58148         comments.
58149
58150 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58151
58152         * catgets/test-gencat.sh: Add "set -e".
58153         * elf/tst-pathopt.sh: Likewise.
58154         * grp/tst_fgetgrent.sh: Likewise.
58155         * iconvdata/run-iconv-test.sh: Likewise.
58156         * intl/tst-gettext.sh: Likewise.
58157         * intl/tst-gettext2.sh: Likewise.
58158         * intl/tst-gettext4.sh: Likewise.
58159         * intl/tst-gettext6.sh: Likewise.
58160         * intl/tst-translit.sh: Likewise.
58161         * io/ftwtest-sh: Likewise.
58162         * libio/test-freopen.sh: Likewise.
58163         * malloc/tst-mtrace.sh: Likewise.
58164         * posix/globtest.sh: Likewise.
58165         * posix/tst-getconf.sh: Likewise.
58166         * posix/wordexp-tst.sh: Likewise.
58167         * stdio-common/tst-printf.sh: Likewise.
58168         * stdio-common/tst-unbputc.sh: Likewise.
58169         * stdlib/tst-fmtmsg.sh: Likewise.
58170         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58171         * catgets/Makefile: Do not specify -e option when running
58172         testsuite shell scripts.
58173         * elf/Makefile: Likewise.
58174         * grp/Makefile: Likewise.
58175         * iconvdata/Makefile: Likewise.
58176         * intl/Makefile: Likewise.
58177         * io/Makefile: Likewise.
58178         * libio/Makefile: Likewise.
58179         * malloc/Makefile: Likewise.
58180         * posix/Makefile: Likewise.
58181         * stdio-common/Makefile: Likewise.
58182         * stdlib/Makefile: Likewise.
58183         * sysdeps/x86_64/Makefile: Likewise.
58184
58185         * io/ftwtest-sh: Add copyright header.
58186         * posix/globtest.sh: Likewise.
58187         * posix/tst-getconf.sh: Likewise.
58188         * posix/wordexp-tst.sh: Likewise.
58189         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58190
58191 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58192
58193         [BZ #13679]
58194         * Makeconfig (+link): Defined as $(+link-static) if
58195         $(build-shared) isn't yes.
58196         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58197         isn't yes.
58198         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58199
58200         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58201
58202         [BZ #14562]
58203         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58204         new chunk size with MALLOC_ALIGN_MASK.
58205
58206 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58207
58208         [BZ #5044]
58209         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58210         <rounding-mode.h>.
58211         (__printf_fphex): Determine rounding using get_rounding_mode and
58212         round_away.
58213         * stdio-common/tst-printf-round.c (struct hex_test): New
58214         structure.
58215         (hex_tests): New variable.
58216         (test_hex_in_one_mode): New function.
58217         (do_test): Also run tests for hex float output.
58218
58219 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58220
58221         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58222         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58223         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58224         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58225         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58226         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58227         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58228         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58229
58230 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58231
58232         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58233         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58234         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58235         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58236
58237 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58238
58239         [BZ #14579]
58240         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58241         mode only.
58242         * elf/tst-rtld-load-self.sh: New test.
58243         * elf/Makefile: Run it.
58244
58245 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58246
58247         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58248         (tst-writev-ENV): Remove.
58249         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58250
58251 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58252
58253         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58254
58255 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58256
58257         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58258         unconditional.
58259         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58260         Likewise.
58261         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58262         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58263         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58264         Likewise.
58265
58266 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58267
58268         [BZ #14587]
58269         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58270         * config.make.in (have-cpp-asm-debuginfo): Removed.
58271         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58272         * configure: Regenerated.
58273
58274 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58275
58276         [BZ #5044]
58277         * stdio-common/printf_fp.c: Include <stdbool.h> and
58278         <rounding-mode.h>.
58279         (___printf_fp): Determine rounding using get_rounding_mode and
58280         round_away.
58281         * stdio-common/tst-printf-round.c: New file.
58282         * stdio-common/Makefile (tests): Add tst-printf-round.
58283         (link-libm): New variable.
58284         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58285
58286 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58287
58288         [BZ #14576]
58289         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58290         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58291         Likewise.
58292         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58293         Likewise.
58294
58295 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58296
58297         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58298         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58299         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58300         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58301
58302 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58303
58304         [BZ #14518]
58305         * include/rounding-mode.h: New file.
58306         * sysdeps/generic/get-rounding-mode.h: Likewise.
58307         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58308         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58309         (MAX_VALUE): New macro.
58310         (MIN_VALUE): Likewise.
58311         (overflow_value): New function.
58312         (underflow_value): Likewise.
58313         (round_and_return): Use overflow_value and underflow_value to
58314         determine return values in overflow and underflow cases.  Use
58315         round_away to determine rounding depending on rounding mode.
58316         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58317         determine return values in overflow and underflow cases.
58318         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58319         (struct test_results): New structure.
58320         (struct test): Use struct test_results to store expected results
58321         for all rounding modes.
58322         (TEST): Include expected results for all rounding modes.
58323         (test_in_one_mode): New function.
58324         (do_test): Use test_in_one_mode to compute and check results.
58325         Check results for all rounding modes.
58326         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58327         $(link-libm).
58328
58329 2012-12-09  Allan McRae  <allan@archlinux.org>
58330
58331         * sysdeps/i386/fpu/libm-test-ulps: Update
58332
58333 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58334
58335         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58336         (_G_int32_t): Likewise.
58337         (_G_uint16_t): Likewise.
58338         (_G_uint32_t): Likewise.
58339         (_G_HAVE_BOOL): Likewise.
58340         (_G_HAVE_ATEXIT): Likewise.
58341         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58342         (_G_HAVE_IO_FILE_OPEN): Likewise.
58343         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58344         (_G_int32_t): Likewise.
58345         (_G_uint16_t): Likewise.
58346         (_G_uint32_t): Likewise.
58347         (_G_HAVE_BOOL): Likewise.
58348         (_G_HAVE_ATEXIT): Likewise.
58349         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58350         (_G_HAVE_IO_FILE_OPEN): Likewise.
58351         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58352         (_G_int32_t): Likewise.
58353         (_G_uint16_t): Likewise.
58354         (_G_uint32_t): Likewise.
58355         (_G_HAVE_BOOL): Likewise.
58356         (_G_HAVE_ATEXIT): Likewise.
58357         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58358         (_G_HAVE_IO_FILE_OPEN): Likewise.
58359
58360 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58361
58362         * csu/libc-tls.c: Update copyright years.
58363
58364 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58365
58366         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58367         [!_G_USING_THUNKS]: Remove conditional code.
58368         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58369         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58370
58371         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58372         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58373         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58374         (_G_VTABLE_LABEL_PREFIX): Likewise.
58375         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58376         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58377         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58378         (_G_VTABLE_LABEL_PREFIX): Likewise.
58379         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58380         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58381         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58382         (_G_VTABLE_LABEL_PREFIX): Likewise.
58383         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58384
58385 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58386
58387         * libio/Makefile: Include ../Makeconfig before tests.
58388         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58389         only if $(build-shared) is yes.
58390
58391         * iconv/gconv_db.c: Update copyright years.
58392
58393 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58394
58395         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58396         unwind info if defined PIC. Fix special cases description.
58397         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58398
58399         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58400         DP_HI_MASK entry.
58401         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58402
58403 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58404
58405         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58406
58407         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58408         is NULL.
58409
58410         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58411         (LDLIBS-tst-chk4): This.
58412         (LDFLAGS-tst-chk5): Renamed to ...
58413         (LDLIBS-tst-chk5): This.
58414         (LDFLAGS-tst-chk6): Renamed to ...
58415         (LDLIBS-tst-chk6): This.
58416         (LDFLAGS-tst-lfschk4): Renamed to ...
58417         (LDLIBS-tst-lfschk4): This.
58418         (LDFLAGS-tst-lfschk5): Renamed to ...
58419         (LDLIBS-tst-lfschk5): This.
58420         (LDFLAGS-tst-lfschk6): Renamed to ...
58421         (LDLIBS-tst-lfschk6): This.
58422
58423         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58424         on $(common-objpfx)soversions.mk.
58425
58426 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58427
58428         [BZ #10014]
58429         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58430         example host name.
58431
58432 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58433
58434         * malloc/arena.c (arena_get_retry): New function that gets
58435         another arena for the caller to try its request on.
58436         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58437         current arena cannot fulfill the request.
58438         (__libc_memalign): Likewise.
58439         (__libc_memalign): Likewise.
58440         (__libc_pvalloc): Likewise.
58441         (__libc_calloc): Likewise.
58442
58443 2012-09-05  John Tobey  <john.tobey@gmail.com>
58444
58445         [BZ #13542]
58446         * manual/arith.texi (Operations on Complex): Fix description
58447         of carg branch cut.
58448
58449 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58450
58451         [BZ #10014]
58452         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58453         host name.
58454
58455         [BZ #10038]
58456         * manual/memory.texi (Memory): Make order of menu items match
58457         order of sections.
58458
58459 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58460
58461         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58462         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58463         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58464
58465 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58466
58467         * csu/libc-tls.c (static_dtv): Renamed to ...
58468         (_dl_static_dtv): This.  Make it global.
58469         (_dl_initial_dtv): Removed.
58470         (__libc_setup_tls): Updated.
58471         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58472         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58473         DL_INITIAL_DTV.
58474
58475 2012-09-06  Petr Machata  <pmachata@redhat.com>
58476
58477         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58478         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58479         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58480         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58481
58482 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58483
58484         [BZ #14545]
58485         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58486         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58487         freeing dtv[-1].
58488
58489 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58490
58491         [BZ #14544]
58492         * Makeconfig (link-static-before-libc): Replace $(+prector)
58493         with $(+prectorT).
58494         (link-static-after-libc): Replace $(+postctor) with
58495         $(+postctorT).
58496         (link-bounded): Replace $(+prector)/$(+postctor) with
58497         $(+prectorT)/$(+postctorT).
58498         (+prectorT): New macro.
58499         (+postctorT): Likewise.
58500
58501 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58502
58503         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58504         (round_str): Handle values above the maximum for IBM long double
58505         as inexact.
58506         * stdlib/tst-strtod-round.c (tests): Regenerated.
58507
58508 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58509
58510         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58511         assembler flag.
58512         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58513         zarch_nohighgprs around the zarch optimized routines.
58514         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58515         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58516         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58517         for zarch.
58518
58519 2012-09-05  David S. Miller  <davem@davemloft.net>
58520
58521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58522
58523         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58524         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58525         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58526         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58527         entries.
58528
58529 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58530
58531         * malloc/arena.c: Fold copyright years.
58532         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58533
58534 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58535
58536         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58537
58538 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58539
58540         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58541
58542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58543
58544         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58545         change internal state upon failure.
58546
58547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58548
58549         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58550         * malloc/memusage.c (mmap): Likewise.
58551         (mmap64, mremap): Likewise.  Adjust name in comment.
58552
58553 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58554
58555         * libio/fileops.c: Fix typos in comments.
58556         * libio/oldfileops.c: Likewise.
58557         * libio/wfileops.c: Likewise.
58558
58559 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58560
58561         [BZ #1349]
58562         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58563         (tst-malloc-usable-ENV): Set environment for test case.
58564         * malloc/hooks.c (malloc_check_get_size): New function to get
58565         requested size.
58566         * malloc/malloc.c (musable): Use malloc_check_get_size.
58567         * malloc/tst-malloc-usable.c: New test case.
58568
58569 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58570
58571         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58572
58573 2012-09-05  Allan McRae  <allan@archlinux.org>
58574
58575         [BZ #13966]
58576         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58577         determine header location.
58578         * configure: Regenerated.
58579
58580 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58581
58582         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58583         float format.
58584         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58585         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58586         format.
58587         (test): Regenerate.
58588
58589 2012-09-04  David S. Miller  <davem@davemloft.net>
58590
58591         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58592         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58593         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58594
58595 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58596
58597         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58598         failures.
58599
58600         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58601
58602 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58603
58604         [BZ #9914]
58605         * libio/iogetdelim.c: Include <limits.h>.
58606         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58607         + len + 1 would overflow.
58608
58609 2012-09-03  Andreas Jaeger  <aj@suse.de>
58610
58611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58612         * sysdeps/i386/fpu/libm-test-ulps: Update.
58613
58614 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58615
58616         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58617         Add s_sinf-sse2, s_conf-sse2.
58618
58619         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58620         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58621         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58622         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58623
58624         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58625         for using routine as __sinf_ia32.
58626         Use macro for function declaration and weak_alias.
58627         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58628         for using routine as __cosf_ia32.
58629         Use macro for function declaration and weak_alias.
58630
58631         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58632         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58633
58634         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58635         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58637
58638         * math/libm-test.inc (cos_test): Add more test cases.
58639         (sin_test): Likewise.
58640         (sincos_test): Likewise.
58641
58642 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58643
58644         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58645         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58646         hidden.
58647         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58648
58649 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58650
58651         [BZ #14538]
58652         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58653         first element of the GOT.
58654         (elf_machine_load_address): Return the difference between
58655         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58656
58657 2012-09-01  Allan McRae  <allan@archlinux.org>
58658
58659         [BZ #13412]
58660         * configure.in (AWK): Require gawk version 3.0 or later.
58661         * configure: Regenerated.
58662
58663 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58664
58665         * sysdeps/unix/sysv/linux/kernel-features.h
58666         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58667         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58668         [__NR_clock_getres]: Make code unconditional.
58669         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58670         (clock_getcpuclockid): Remove code left unreachable by removal of
58671         conditionals.
58672         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58673         code unconditional.
58674         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58675         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58676         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58677         Make code unconditional.
58678         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58679         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58680         * sysdeps/unix/sysv/linux/clock_settime.c
58681         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58682         conditional code.
58683         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58684         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58685
58686 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58687
58688         [BZ #14476]
58689         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58690         scripts/test-installation.pl.
58691
58692         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58693         and $ld_so_version if it is set.
58694
58695 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58696
58697         [BZ #14516]
58698         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58699         failure if reading from procfs failed.
58700         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58701
58702 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58703
58704         * sysdeps/unix/sysv/linux/kernel-features.h
58705         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58706         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58707         Remove conditional code.
58708         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58709         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58710         Remove conditional code.
58711         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58712         * sysdeps/unix/sysv/linux/i386/fxstat.c
58713         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58714         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58715         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58716         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58717         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58718         * sysdeps/unix/sysv/linux/i386/lxstat.c
58719         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58721         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58722         Remove conditional code.
58723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58724         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58725         Remove conditional code.
58726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58727         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58728         <kernel-features.h>.
58729         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58730         Remove.
58731         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58732         Remove conditional code.
58733         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58734         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58735         Remove conditional.
58736
58737 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58738
58739         [BZ #5400]
58740         * NEWS: Add fixed bug number.
58741
58742 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58743
58744         [BZ #14519]
58745         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58746         underflowing exponent in case of negative sign.
58747         * stdlib/tst-strtod-round-data: Add more tests.
58748         * stdlib/tst-strtod-round.c (tests): Regenerated.
58749
58750         [BZ #3479]
58751         * stdlib/strtod_l.c (NDIG): Remove.
58752         (HEXNDIG): Likewise.
58753         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58754         smallest representable value.
58755         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58756         lie within an exact representation of 1/2 ulp of the result.
58757         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58758         unconditionally.
58759         (TENS_P9_IDX): Define unconditionally.
58760         (TENS_P9_SIZE): Likewise.
58761         (TENS_P10_IDX): Likewise.
58762         (TENS_P10_SIZE): Likewise.
58763         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58764         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58765         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58766         entries for 10^2^13 and 10^2^14.
58767         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58768         (TENS_P13_IDX): Define.
58769         (TENS_P13_SIZE): Likewise.
58770         (TENS_P14_IDX): Likewise.
58771         (TENS_P14_SIZE): Likewise.
58772         (_fpioconst_pow10): Change array size to
58773         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58774         unconditional.
58775         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58776         1024]: Add entries for 10^2^13 and 10^2^14.
58777         [LAST_POW10 > _LAST_POW10]: Remove #error.
58778         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58779         (_fpioconst_pow10): Change array size to
58780         FPIOCONST_POW10_ARRAY_SIZE.
58781         * stdlib/gen-fpioconst.c: New file.
58782         * stdlib/gen-tst-strtod-round.c: Likewise.
58783         * stdlib/tst-strtod-round-data: Likewise.
58784         * stdlib/tst-strtod-round.c: Likewise.
58785         * stdlib/Makefile (tests): Add tst-strtod-round.
58786
58787         [BZ #14459]
58788         * stdlib/strtod_l.c: Include <stdint.h>.
58789         (NDEBUG): Do not define.
58790         (round_and_return): Change EXPONENT parameter to type intmax_t.
58791         Rearrange calculations to avoid internal overflow possibilities.
58792         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58793         Rearrange calculations to avoid internal overflow possibilities.
58794         Assert that number fits inside MPNSIZE limbs.
58795         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58796         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58797         calculations and add assertions to avoid internal overflow
58798         possibilities.  Add casts to avoid signed/unsigned operations.
58799         * stdlib/tst-strtod-overflow.c: New file.
58800         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58801
58802 2012-08-25  Marek Polacek  <polacek@redhat.com>
58803
58804         * time/time.h: Fix some typos in comments.
58805
58806 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58807
58808         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58809         * posix/tst-rfc3484-2.c: Likewise.
58810         * posix/tst-rfc3484-3.c: Likewise.
58811
58812 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58813
58814         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58815         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58816
58817 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58818
58819         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58820         #include of fxstatat64.c.
58821
58822 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58823
58824         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58825         * shadow/getspent_r.c: Likewise.
58826         * shadow/getspnam.c: Likewise.
58827         * shadow/getspnam_r.c: Likewise.
58828         * gshadow/getsgent.c: Likewise.
58829         * gshadow/getsgent_r.c: Likewise.
58830         * gshadow/getsgnam.c: Likewise.
58831         * gshadow/getsgnam_r.c: Likewise.
58832         * inet/getnetbyad.c: Likewise.
58833         * inet/getnetbyad_r.c: Likewise.
58834         * inet/getnetbynm.c: Likewise.
58835         * inet/getnetbynm_r.c: Likewise.
58836         * inet/getnetent.c: Likewise.
58837         * inet/getnetent_r.c: Likewise.
58838         * inet/getproto.c: Likewise.
58839         * inet/getproto_r.c: Likewise.
58840         * inet/getprtent.c: Likewise.
58841         * inet/getprtent_r.c: Likewise.
58842         * inet/getprtname.c: Likewise.
58843         * inet/getprtname_r.c: Likewise.
58844         * inet/getrpcbyname.c: Likewise.
58845         * inet/getrpcbyname_r.c: Likewise.
58846         * inet/getrpcbynumber.c: Likewise.
58847         * inet/getrpcbynumber_r.c: Likewise.
58848         * inet/getrpcent.c: Likewise.
58849         * inet/getrpcent_r.c: Likewise.
58850         * inet/getaliasent.c: Likewise.
58851         * inet/getaliasent_r.c: Likewise.
58852         * inet/getaliasname.c: Likewise.
58853         * inet/getaliasname_r.c: Likewise.
58854         * nscd/getgrgid_r.c: Likewise.
58855         * nscd/getgrnam_r.c: Likewise.
58856         * nscd/gethstbyad_r.c: Likewise.
58857         * nscd/gethstbynm3_r.c: Likewise.
58858         * nscd/getpwnam_r.c: Likewise.
58859         * nscd/getpwuid_r.c: Likewise.
58860         * nscd/getsrvbynm_r.c: Likewise.
58861         * nscd/getsrvbypt_r.c: Likewise.
58862         * nscd/gai.c: Likewise.
58863
58864         * configure.in (build_nscd): New substituted variable, set
58865         by --disable-build-nscd and defaults to $use_nscd.
58866         * configure: Regenerated.
58867         * config.make.in (build-nscd): New substituted variable.
58868         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58869         Change conditional to require [$(build-nscd) = yes] as well.
58870         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58871
58872         [BZ# 13696]
58873         * configure.in (use_nscd): New substituted variable, set by
58874         --disable-nscd.  If enabled, define USE_NSCD.
58875         * configure: Regenerated.
58876         * config.h.in: Add USE_NSCD.
58877         * config.make.in (use-nscd): New substituted variable.
58878         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58879         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58880         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58881         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58882         (CFLAGS-getgrnam_r.c): Likewise.
58883         (CFLAGS-initgroups.c): Likewise.
58884         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58885         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58886         Variables removed.
58887         * inet/getnetgrent_r.c
58888         (nscd_setnetgrent): New function, broken out of ...
58889         (setnetgrent): ... here.  Call it.
58890         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58891         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58892         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58893         * nscd/Makefile (routines, aux): Move definitions after include of
58894         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58895         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58896         Conditionalize on [USE_NSCD].
58897         (is_nscd, nscd_init_cb): Likewise.
58898         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58899         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58900         * nss/nss_db/db-init.c: Likewise.
58901         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58902         [USE_NSCD].
58903         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58904         (make_request): Use it.
58905         (cache_valid_p): New function.
58906         (__check_pf): Use it.
58907         * NEWS: Add item for --disable-nscd.
58908
58909 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58910
58911         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58912         to support sed >= 4.2.1-20-ga9bf076.
58913         * configure: Regenerated.
58914
58915 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58916
58917         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58918         Conditionalize whole body on [IREL].
58919
58920 2012-08-22  Jeff Law <law@redhat.com>
58921
58922         [BZ #14505]
58923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58924         if the family is PF_UNSPEC.
58925
58926 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58927
58928         * Makerules (lib-version): Rename from V.
58929         (install-lib-nosubdir): Change V to lib-version.
58930
58931 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58932
58933         [BZ #14252]
58934         * powerpc32/power6/wcschr.c: New file.
58935         * powerpc32/power6/wcscpy.c: New file.
58936         * powerpc32/power6/wcsrchr.c: New file.
58937         * powerpc64/power6/wcschr.c: New file.
58938         * powerpc64/power6/wcscpy.c: New file.
58939         * powerpc64/power6/wcsrchr.c: New file.
58940
58941 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58942
58943         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58944         (two_way_short_needle): Use it.
58945         * string/strstr.c (AVAILABLE1_USES_J): Define.
58946         * string/strcasestr.c: Likewise.
58947
58948         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58949         array references.
58950         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58951
58952         [BZ #11607]
58953         * NEWS: Add an entry.
58954         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58955         define their defaults.
58956         (two_way_short_needle): Detect end-of-string on-the-fly.
58957         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58958         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58959         * string/bug-strcasestr1.c: New test.
58960         * string/Makefile: Run it.
58961
58962 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58963
58964         [BZ #11607]
58965         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58966         the first character.
58967
58968 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58969
58970         * csu/elf-init.c (__libc_csu_irel): Function removed.
58971         * csu/libc-start.c (apply_irel): New function.
58972         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58973
58974 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58975
58976         * sysdeps/unix/sysv/linux/kernel-features.h
58977         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58978         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58979         <kernel-features.h>.
58980         [__NR_fadvise64_64]: Make code unconditional.
58981         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58982         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58983         !__NR_fadvise64_64)]: Likewise.
58984         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58985         !__NR_fadvise64_64))]: Likewise.
58986         [__NR_fadvise64]: Make code unconditional.
58987         [!__NR_fadvise64]: Remove conditional code.
58988         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58989         <kernel-features.h>.
58990         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58991         unconditional.
58992         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58993         conditional code.
58994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58995         not include <kernel-features.h>.
58996         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58997         unconditional.
58998         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58999         conditional code.
59000         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59001         include <kernel-features.h>.
59002         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59003         unconditional.
59004         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59005         conditional code.
59006
59007 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59008
59009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59010         slight instruction rearrangements per scrollpipe analysis.
59011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59012
59013 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59014
59015         * manual/syslog.texi (syslog; vsyslog, closelog):
59016         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59017         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59018
59019         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59020         DSOCAPS to match condition on defining it.
59021
59022 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59023
59024         * sysdeps/unix/sysv/linux/kernel-features.h
59025         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59027         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59028         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59030         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59031         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59033         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59034         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59035
59036         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59037         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59038
59039         * sysdeps/unix/sysv/linux/kernel-features.h
59040         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59041         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59042         unconditional.
59043         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59044         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59045         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59046         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59047         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59048         Make code unconditional.
59049         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59050         (__mmap64) [!__NR_mmap2]: Likewise.
59051         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59052         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59053         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59054         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59055         [__NR_mmap2]: Make code unconditional.
59056         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59057         (__mmap64) [!__NR_mmap2]: Likewise.
59058
59059 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59060
59061         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59062
59063 2012-08-18  Andreas Jaeger  <aj@suse.de>
59064
59065         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59066
59067 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59068
59069         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59070         * include/unistd.h (__have_sock_cloexec): Likewise.
59071         (__have_pipe2): Likewise.
59072         (__have_dup3): Likewise.
59073
59074 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59075
59076         [BZ #9685]
59077         * include/unistd.h (__have_pipe2): Change define into an extern int.
59078         (__have_dup3): Likewise.
59079         * socket/have_sock_cloexec.c: Include fcntl.h.
59080         (__have_pipe2): New variable.
59081         (__have_dup3): Likewise.
59082
59083 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59084
59085         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59086
59087 2012-08-17  Marek Polacek  <polacek@redhat.com>
59088
59089         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59090         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59091
59092 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59093
59094         * configure.in: Add AC_SUBST for sysheaders.
59095         * configure: Regenerated.
59096         * config.make.in (sysheaders): New substituted variable.
59097
59098         * sysdeps/unix/mkfifo.c: Moved ...
59099         * sysdeps/posix/mkfifo.c: ... here.
59100         * sysdeps/unix/mkfifoat.c: Moved ...
59101         * sysdeps/posix/mkfifoat.c: ... here.
59102
59103         * sysdeps/unix/utime.c: Moved ...
59104         * sysdeps/posix/utime.c: ... here.
59105
59106         * sysdeps/unix/time.c: Moved ...
59107         * sysdeps/posix/time.c: ... here.
59108         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59109         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59110
59111         * sysdeps/unix/nice.c: Moved ...
59112         * sysdeps/posix/nice.c: ... here.
59113
59114         * sysdeps/unix/alarm.c: Moved ...
59115         * sysdeps/posix/alarm.c: ... here.
59116
59117         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59118
59119 2012-08-17  Jeff Law <law@redhat.com>
59120
59121         * intl/Makefile (codeset_mo): New variable.
59122         ($(codeset_mo)): New target.
59123         (tst-codeset.out): Depend on that.  Remove explicit rule.
59124         (tst-gettext3.out, tst-gettext5.out): Likewise.
59125         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59126         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59127         * intl/tst-codeset.sh: Remove.
59128         * intl/tst-gettext3.sh: Likewise.
59129         * intl/tst-gettext5.sh: Likewise.
59130
59131 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59132
59133         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59134         * sysdeps/unix/syscalls.list: ... here.
59135
59136         * sysdeps/posix/getaddrinfo.c
59137         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59138         (gaiconf_init, gaiconf_reload): Use them.
59139         [!_STATBUF_ST_NSEC]
59140         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59141         Define using time_t rather than struct timespec.
59142
59143         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59144         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59145         Macros removed.
59146         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59147         [!NO_THREADS].
59148         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59149         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59150         Likewise.
59151
59152         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59153         __libc_cleanup_push argument.
59154
59155         * bits/param.h: New file.
59156         * misc/sys/param.h: New file.
59157         * include/sys/param.h: New file.
59158         * misc/Makefile (headers): Add bits/param.h.
59159         * sysdeps/generic/sys/param.h: File removed.
59160         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59161         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59162         * sysdeps/mach/hurd/bits/param.h: New file.
59163         * sysdeps/mach/hurd/sys/param.h: File removed.
59164
59165         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59166         last change.
59167
59168         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59169         [_IO_MTSAFE_IO].
59170         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59171         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59172         New macros.
59173
59174         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59175         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59176         rather than -D_IO_MTSAFE_IO conditionally.
59177         * stdio-common/Makefile (CPPFLAGS): Likewise.
59178         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59179         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59180         Use $(libio-mtsafe).
59181         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59182         of -D_IO_MTSAFE_IO.
59183         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59184         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59185         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59186         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59187         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59188         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59189         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59190         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59191         (CFLAGS-fread_u_chk.c): Likewise.
59192         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59193         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59194         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59195         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59196         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59197         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59198         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59199         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59200         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59201
59202         * libio/Makefile: Test [$(libc-reentrant) = yes]
59203         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59204
59205         * Makeconfig
59206         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59207         * sysdeps/pthread/configure: File removed.
59208         * sysdeps/pthread/Makeconfig: New file.
59209         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59210         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59211
59212 2012-08-16  Gary Benson  <gbenson@redhat.com>
59213
59214         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59215         unmapping the first object in a namespace.
59216
59217 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59218
59219         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59220         (__internal_setnetgrent): ... this.  Add internal_function to
59221         definition.  Add libc_hidden_def.
59222         (setnetgrent): Update caller.
59223         (internal_endnetgrent): Renamed to ...
59224         (__internal_endnetgrent): ... this.  Add internal_function to
59225         definition.  Add libc_hidden_def.
59226         (endnetgrent): Update caller.
59227         (internal_getnetgrent_r): Renamed to ...
59228         (__internal_getnetgrent_r): ... this.  Add internal_function to
59229         definition.  Add libc_hidden_def.
59230         (__getnetgrent_r): Update caller.
59231         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59232
59233 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59234
59235         * stdlib/longlong.h: Update from GCC.
59236
59237 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59238
59239         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59240         on _QL, which is set by umul_ppmm but never used.
59241         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59242         variables, which are set by GMP macros but never used.
59243         * stdio-common/_itowa.c (_itowa): Likewise.
59244         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59245         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59246
59247 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59248
59249         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59250         struct La_sh_regs is not constant.
59251         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59252         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59253         and struct La_sparc64_regs are not constant.
59254
59255 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59256
59257         * sysdeps/unix/sysv/linux/kernel-features.h
59258         (__ASSUME_POSIX_TIMERS): Remove.
59259         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59260         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59261         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59262         Make code unconditional.
59263         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59264         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59265         Make code unconditional.
59266         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59267         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59268         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59269         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59270         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59271         Make code unconditional.
59272         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59273         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59274         (__libc_missing_posix_timers): Remove.
59275
59276 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59277
59278         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59279         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59280
59281         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59282
59283         * elf/dl-sym.c: Include <stdlib.h>.
59284
59285         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59286         constants, which avoids warnings in 32-bit builds.
59287
59288         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59289         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59290
59291         * misc/lseek.c: File moved to ...
59292         * io/lseek.c: ... here.
59293
59294         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59295
59296         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59297         shifting LEN more than 31 bits at once.
59298
59299 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59300
59301         [BZ #14195]
59302         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59303         segmentation fault for a case of two empty input strings.
59304         * string/test-strncasecmp.c (check1): Renamed to...
59305         (bz12205): ...this.
59306         (bz14195): Add new testcase for two empty input strings and N > 0.
59307         (test_main): Call new testcase, adapt for renamed function.
59308
59309 2012-08-15  Andreas Jaeger  <aj@suse.de>
59310
59311         [BZ #14090]
59312         * crypt/md5test2.c: New test, based on test supplied by Serge
59313         Belyshev <belyshev@depni.sinp.msu.ru>.
59314         * crypt/Makefile (xtests): Add md5test-giant..
59315         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59316
59317 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59318
59319         [BZ #14090]
59320         * crypt/md5.c (md5_process_block): Don't assume the buffer
59321         length is less than 2**32.
59322         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59323         length is less than 2**64.
59324
59325 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59326
59327         * string/str-two-way.h: Include <sys/param.h>.
59328         (MAX): Macro removed.
59329
59330         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59331         Move #define and #undef of memmove to just before and after
59332         including <string.h>.
59333
59334         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59335         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59336         and after including <string.h>.  Move declarations of
59337         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59338         to before #include "string/memmove.c".
59339
59340         * include/dirent.h: Declare __getdirentries.
59341
59342         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59343         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59344
59345 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59346
59347         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59348         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59349         * sysdeps/i386/configure: Regenerated.
59350         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59351         STABS_CURRENT_FILE, and STABS_FUN.
59352         (END): Remove call to STABS_FUN_END.
59353         (STABS_CURRENT_FILE1): Delete.
59354         (STABS_CURRENT_FILE): Likewise.
59355         (STABS_FUN): Likewise.
59356         (STABS_FUN_END): Likewise.
59357         (STABS_FUN2): Likewise.
59358         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59359         * sysdeps/x86_64/configure: Regenerated.
59360
59361 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59362
59363         * elf/dl-open.c: Include <atomic.h>.
59364         * elf/dl-lookup.c: Likewise.
59365
59366 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59367
59368         * sysdeps/unix/sysv/linux/kernel-features.h
59369         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59370         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59371         unconditionally.
59372         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59373         unconditionally.
59374         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59375         condition on __ASSUME_CLONE_THREAD_FLAGS.
59376
59377 2012-08-14  Andreas Jaeger  <aj@suse.de>
59378
59379         * sysdeps/i386/fpu/libm-test-ulps: Update.
59380
59381 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59382
59383         * include/atomic.h (atomic_exchange_and_add): Split into ...
59384         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59385         New atomic macros.
59386
59387 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59388
59389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59390
59391 2012-08-13  Jeff Law <law@redhat.com>
59392
59393         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59394         null byte in the output string.
59395
59396 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59397
59398         * sysdeps/unix/sysv/linux/kernel-features.h
59399         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59400         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59401         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59402         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59403         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59404         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59405         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59406
59407 2012-08-09  Jeff Law <law@redhat.com>
59408
59409         [BZ #13939]
59410         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59411         When avoid_arena is set, don't retry in the that arena.  Pick the
59412         next one, whatever it might be.
59413         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59414         (arena_lock): Pass in new parameter to arena_get2.
59415         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59416         arena_get2.
59417         (__libc_malloc): Unify retrying after main arena failure with
59418         __libc_memalign version.
59419         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59420
59421 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59422
59423         [BZ #14166]
59424         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59425         to __redirect_strstr.
59426         (__strstr_sse42): Use typeof __redirect_strstr.
59427         (__strstr_ia32): Likewise.
59428         (__libc_strstr): New prototype.
59429         (strstr): Renamed to ...
59430         (__libc_strstr): This.
59431         (strstr): New strong alias of __libc_strstr.
59432         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59433         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59434         __redirect_time.
59435         Include <time.h>.
59436         (__libc_time): New prototype.
59437         (time_ifunc): Replace time with __libc_time.
59438         (time): New strong alias and hidden definition of __libc_time.
59439         (__GI_time): Remove strong alias.
59440         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59441         Include <stddef.h>.
59442         (memmove): Redefined to __redirect_memmove.
59443         (__memmove_sse2): Use typeof __redirect_memmove.
59444         (__memmove_ssse3): Likewise.
59445         (__memmove_ssse3_back): Likewise.
59446         (__libc_memmove): New prototype.
59447         (memmove): Renamed to ...
59448         (__libc_memmove): This.
59449         (memmove): New strong alias of __libc_memmove.
59450
59451 2012-08-08  Mark Salter  <msalter@redhat.com>
59452
59453         * elf/elf.h
59454         (R_MN10300_TLS_GD): Define.
59455         (R_MN10300_TLS_LD): Likewise.
59456         (R_MN10300_TLS_LDO): Likewise.
59457         (R_MN10300_TLS_GOTIE): Likewise.
59458         (R_MN10300_TLS_IE): Likewise.
59459         (R_MN10300_TLS_LE): Likewise.
59460         (R_MN10300_TLS_DTPMOD): Likewise.
59461         (R_MN10300_TLS_DTPOFF): Likewise.
59462         (R_MN10300_TLS_TPOFF): Likewise.
59463         (R_MN10300_SYM_DIFF): Likewise.
59464         (R_MN10300_ALIGN): Likewise.
59465         (R_MN10300_NUM): Update.
59466
59467 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59468
59469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59470         Remove.
59471
59472 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59473
59474         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59475
59476         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59477         sysdeps/unix -> sysdeps/posix move.
59478         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59479
59480 2012-08-07      Allan McRae     <allan@archlinux.org>
59481
59482         [BZ #14303]
59483         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59484         (SUNOS_CPP): Likewise.
59485         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59486         not found.
59487         (open_input): Call CPP using execvp.
59488
59489 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59490
59491         * sysdeps/unix/sysv/linux/kernel-features.h
59492         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59493         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59494         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59495         (__ASSUME_WAITID_SYSCALL): Likewise.
59496         * sysdeps/unix/sysv/linux/dl-execstack.c
59497         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59498         code unconditional.
59499         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59500         conditional code.
59501         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59502         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59503         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59504         code.
59505         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59506         unconditional.
59507         [__ASSUME_WAITID_SYSCALL]: Likewise.
59508         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59509
59510 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59511
59512         * sysdeps/unix/closedir.c: Renamed to ...
59513         * sysdeps/posix/closedir.c: ... here.
59514         * sysdeps/unix/dirfd.c: Renamed to ...
59515         * sysdeps/posix/dirfd.c: ... here.
59516         * sysdeps/unix/dirstream.h: Renamed to ...
59517         * sysdeps/posix/dirstream.h: ... here.
59518         * sysdeps/unix/fdopendir.c: Renamed to ...
59519         * sysdeps/posix/fdopendir.c: ... here.
59520         * sysdeps/unix/opendir.c: Renamed to ...
59521         * sysdeps/posix/opendir.c: ... here.
59522         * sysdeps/unix/readdir.c: Renamed to ...
59523         * sysdeps/posix/readdir.c: ... here.
59524         * sysdeps/unix/readdir_r.c: Renamed to ...
59525         * sysdeps/posix/readdir_r.c: ... here.
59526         * sysdeps/unix/rewinddir.c: Renamed to ...
59527         * sysdeps/posix/rewinddir.c: ... here.
59528         * sysdeps/unix/seekdir.c: Renamed to ...
59529         * sysdeps/posix/seekdir.c: ... here.
59530         * sysdeps/unix/telldir.c: Renamed to ...
59531         * sysdeps/posix/telldir.c: ... here.
59532         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59533         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59534         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59535         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59536
59537         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59538         * bits/fcntl.h: ... here.
59539
59540         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59541         not 0.
59542         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59543         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59544         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59545         (struct flock): Move l_start, l_len to the beginning.
59546         Use __pid_t for l_pid.
59547         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59548         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59549         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59550         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59551         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59552         [__USE_LARGEFILE64] (struct flock64): New type.
59553         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59554
59555         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59556         * bits/dirent.h: ... here.
59557
59558         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59559         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59560
59561 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59562
59563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59564         Change from 2.6.0 to 2.6.16.
59565         * sysdeps/unix/sysv/linux/configure: Regenerated.
59566         * sysdeps/unix/sysv/linux/kernel-features.h
59567         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59568         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59569         version.
59570         (__ASSUME_UTIMES): Likewise.
59571         (__ASSUME_CLONE_STOPPED): Remove.
59572         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59573         architectures, not kernel version.
59574         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59575         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59576         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59577         (__ASSUME_WAITID_SYSCALL): Likewise.
59578         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59579         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59580         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59581         refer to older versions.
59582
59583 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59584
59585         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59586         Define alphasort64 as an alias.
59587         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59588         Define versionsort64 as an alias.
59589         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59590         Define scandir64 as an alias.
59591         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59592         Define scandirat64 as an alias.
59593         * dirent/alphasort64.c (alphasort64):
59594         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59595         * dirent/versionsort64.c: Likewise.
59596         * dirent/scandir64.c: Likewise.
59597         * dirent/scandirat64.c: Likewise.
59598         * sysdeps/wordsize-64/alphasort.c: File removed.
59599         * sysdeps/wordsize-64/alphasort64.c: File removed.
59600         * sysdeps/wordsize-64/scandir.c: File removed.
59601         * sysdeps/wordsize-64/scandir64.c: File removed.
59602         * sysdeps/wordsize-64/scandirat.c: File removed.
59603         * sysdeps/wordsize-64/scandirat64.c: File removed.
59604         * sysdeps/wordsize-64/versionsort.c: File removed.
59605         * sysdeps/wordsize-64/versionsort64.c: File removed.
59606         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59607         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59608         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59609         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59610         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59611         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59612         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59613         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59614
59615         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59617         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59619         [defined __arch64__ || defined __sparcv9]
59620         (__INO_T_MATCHES_INO64_T): New macro.
59621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59622         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59623         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59624         * sysdeps/unix/sysv/linux/bits/dirent.h
59625         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59626         (_DIRENT_MATCHES_DIRENT64): New macro.
59627
59628         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59629         Define lockf64 as an alias.
59630         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59631         Define fseeko64 as an alias.
59632         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59633         Define ftello64 as an alias.
59634         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59635         Define _IO_fgetpos64 and fgetpos64 as aliases.
59636         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59637         Define _IO_fsetpos64 and fsetpos64 as aliases.
59638         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59639         Conditionalize body on this.
59640         * libio/fseeko64.c: Likewise.
59641         * libio/ftello64.c: Likewise.
59642         * libio/iofgetpos64.c: Likewise.
59643         * libio/iofsetpos64.c: Likewise.
59644         * sysdeps/wordsize-64/lockf.c: File removed.
59645         * sysdeps/wordsize-64/lockf64.c: File removed.
59646         * sysdeps/wordsize-64/fseeko.c: File removed.
59647         * sysdeps/wordsize-64/fseeko64.c: File removed.
59648         * sysdeps/wordsize-64/ftello.c: File removed.
59649         * sysdeps/wordsize-64/ftello64.c: File removed.
59650         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59651         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59652         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59653         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59654         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59655         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59657         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59659         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59661         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59662         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59663         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59664
59665         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59666         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59667         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59668         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59669         [defined __arch64__ || defined __sparcv9]
59670         (__OFF_T_MATCHES_OFF64_T): New macro.
59671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59672         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59674         (__OFF_T_MATCHES_OFF64_T): New macro.
59675
59676 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59677
59678         * stdlib/secure-getenv.c (__secure_getenv): Replace
59679         GLIBC_2_16 with GLIBC_2_17.
59680
59681 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59682
59683         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59684         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59685
59686 2012-08-03  David S. Miller  <davem@davemloft.net>
59687
59688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59689
59690 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59691
59692         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59693         Remove.
59694         (__ASSUME_CORRECT_SI_PID): Likewise.
59695         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59696         (__ASSUME_TMPFS_NAME): Likewise.
59697         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59698         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59699         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59700         (HAVE_AUX_SECURE): Make definition unconditional.
59701         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59702         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59703
59704 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59705
59706         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59707         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59708         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59709         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59710         __eloop_threshold instead of SYMLOOP_MAX.
59711
59712         * sysdeps/generic/eloop-threshold.h: New file.
59713         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59714         of MAXSYMLINKS.
59715         * elf/chroot_canon.c (chroot_canon): Likewise.
59716
59717 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59718
59719         [BZ #13717]
59720         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59721         Change to 2.6.0 everywhere.
59722         * sysdeps/unix/sysv/linux/configure: Regenerated.
59723         * sysdeps/unix/sysv/linux/kernel-features.h
59724         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59725         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59726         kernel versions.
59727         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59728         (__ASSUME_FUTEX_REQUEUE): Remove.
59729         (__ASSUME_STATFS64): Define unconditionally.
59730         (__ASSUME_AT_SECURE): Likewise.
59731         (__ASSUME_CORRECT_SI_PID): Likewise.
59732         (__ASSUME_TGKILL): Define without depending on kernel version for
59733         i386.
59734         (__ASSUME_UTIMES): Likewise.
59735         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59736         kernel version.
59737         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59738         (__ASSUME_TMPFS_NAME): Likewise.
59739         * README: Update reference to Linux kernel versions.
59740
59741 2012-08-02  Marek Polacek  <polacek@redhat.com>
59742
59743         [BZ# 14150]
59744         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59745         libc_cv_asm_type_prefix with %.
59746         * configure: Regenerated.
59747         * include/libc-symbols.h: Remove comment about
59748         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59749         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59750         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59751         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59752         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59753         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59754         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59755         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59756         * elf/tst-unique2mod1.c: Likewise.
59757         * elf/tst-unique1mod2.c: Likewise.
59758         * elf/tst-unique1mod1.c: Likewise.
59759         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59760         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59761         Replace ASM_TYPE_DIRECTIVE with .type.
59762         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59763         * sysdeps/i386/sysdep.h: Likewise.
59764         * sysdeps/x86_64/sysdep.h: Likewise.
59765         * sysdeps/sh/sysdep.h: Likewise.
59766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59767         Do not define ASM_TYPE_DIRECTIVE.
59768         * sysdeps/powerpc/sysdep.h: Likewise.
59769         * sysdeps/powerpc/powerpc32/sysdep.h:
59770         Replace ASM_TYPE_DIRECTIVE with .type.
59771         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59772         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59773         * sysdeps/i386/fpu/e_powf.S: Likewise.
59774         * sysdeps/i386/fpu/e_expl.S: Likewise.
59775         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59776         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59777         * sysdeps/i386/fpu/e_pow.S: Likewise.
59778         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59779         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59780         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59781         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59782         * sysdeps/i386/fpu/e_log2.S: Likewise.
59783         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59784         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59785         * sysdeps/i386/fpu/e_powl.S: Likewise.
59786         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59787         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59788         * sysdeps/i386/fpu/e_logl.S: Likewise.
59789         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59790         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59791         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59792         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59793         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59794         * sysdeps/i386/fpu/e_log.S: Likewise.
59795         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59796         * sysdeps/i386/fpu/e_logf.S: Likewise.
59797         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59798         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59799         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59800         * sysdeps/i386/fpu/e_log10.S: Likewise.
59801         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59802         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59803         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59804         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59805         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59806         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59807         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59808         * sysdeps/i386/i686/strtok.S: Likewise.
59809         * sysdeps/i386/i386-mcount.S: Likewise.
59810         * sysdeps/i386/strtok.S: Likewise.
59811         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59812         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59813         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59814         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59815         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59816         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59817         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59818         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59819         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59820         * sysdeps/x86_64/_mcount.S: Likewise.
59821         * sysdeps/x86_64/strtok.S: Likewise.
59822         * sysdeps/sh/_mcount.S: Likewise.
59823
59824 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59825
59826         * libio/iofopen.c: Include <fcntl.h>.
59827         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59828         (_IO_fopen64, fopen64): Define as aliases.
59829         * libio/iofopen64.c: Include <fcntl.h>.
59830         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59831         Conditionalize body on this.
59832         * sysdeps/wordsize-64/iofopen.c: File removed.
59833         * sysdeps/wordsize-64/iofopen64.c: File removed.
59834
59835 2012-08-01  Marek Polacek  <polacek@redhat.com>
59836
59837         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59838         Use dlfcn directly instead of a variable.
59839         (binfmt-subdir): Do not define.
59840         (dlfcn): Likewise.
59841
59842 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59843
59844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59845         Remove all definitions.
59846         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59847         <kernel-features.h>.
59848         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59849         (miss_F_GETOWN_EX): Remove all definitions.
59850         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59851         macro definition.
59852         [!__ASSUME_FCNTL64]: Remove conditional code.
59853         [__ASSUME_FCNTL64]: Make code unconditional.
59854         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59855         <kernel-features.h>.
59856         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59857         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59858         (lockf64) [__NR_fcntl64]: Make code unconditional.
59859         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59860
59861         * sysdeps/unix/sysv/linux/kernel-features.h
59862         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59863         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59864         Make code unconditional.
59865         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59866         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59868         [__NR_vfork]: Make code unconditional.
59869         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59870         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59872         [__NR_vfork]: Make code unconditional.
59873         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59874         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59875
59876 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59877
59878         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59879         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59880
59881         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59882         Define mkstemp64 as an alias.
59883         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59884         Define mkstemps64 as an alias.
59885         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59886         Define mkostemp64 as an alias.
59887         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59888         Define mkostemps64 as an alias.
59889         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59890         Conditionalize body on this.
59891         * misc/mkostemp64.c: Likewise.
59892         * misc/mkostemps64.c: Likewise.
59893         * misc/mkstemps64.c: Likewise.
59894         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59895         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59896         * sysdeps/wordsize-64/mkostemp.c: File removed.
59897         * sysdeps/wordsize-64/mkstemp.c: File removed.
59898         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59899         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59901         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59902
59903         [BZ #14138]
59904         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59905         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59906         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59907         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59908
59909         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59910         compat_symbol macros from <shlib-compat.h> rather than the underlying
59911         default_symbol_version and symbol_version macros, so that DEFAULT
59912         lines in shlib-versions are respected.
59913         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59914
59915 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59916
59917         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59918         Declare with warn_unused_result.
59919         (setgid, setregid, setegid, setresgid): Likewise.
59920         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59921         Likewise.
59922         * WUR-REPORT: Remove set*id functions.
59923
59924 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59925
59926         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59927
59928 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59929
59930         [BZ #10191]
59931         * include/sys/socket.h (__libc_accept, __libc_accept4):
59932         Add attribute_hidden.
59933         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59934
59935         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59936         use of PTR_MANGLE.
59937         * inet/getnetgrent_r.c (setup): Likewise.
59938
59939         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59940
59941 2012-07-31  David S. Miller  <davem@davemloft.net>
59942
59943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59944
59945 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59946
59947         [BZ #13629]
59948         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59949         value between 1.0 and 2.0 and smaller part has absolute value less
59950         than 1.0.
59951         * math/s_clog10.c (__clog10): Likewise.
59952         * math/s_clog10f.c (__clog10f): Likewise.
59953         * math/s_clog10l.c (__clog10l): Likewise.
59954         * math/s_clogf.c (__clogf): Likewise.
59955         * math/s_clogl.c (__clogl): Likewise.
59956         * math/libm-test.inc (clog_test): Add more tests.
59957         (clog10_test): Likewise.
59958         * sysdeps/i386/fpu/libm-test-ulps: Update.
59959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59960
59961 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59962
59963         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59964         Exit with zero in case no suitable GID is found, and write a
59965         message to standard error.
59966
59967 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59968
59969         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59970         rather than to 1.
59971         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59972         (MAXPATHLEN): Removed.
59973         (NOGROUP, NODEV): New macros.
59974         (setbit, clrbit, isset, isclr): New macros.
59975         (howmany, roundup, powerof2): New macros.
59976         (DEV_BSIZE): New macro.
59977
59978         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59979         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59980
59981         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59982         definition on [!__NO_LONG_DOUBLE_MATH].
59983
59984         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59985         PTR_MANGLE and PTR_DEMANGLE.
59986
59987         * socket/accept4.c (accept4): Rename to __libc_accept4.
59988         Define accept4 as a weak alias.
59989
59990         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59991         on [_DIRENT_HAVE_D_TYPE].
59992         * io/ftw.c (ftw_dir): Likewise.
59993
59994         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59995
59996         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59997
59998         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59999         Use the BSD numbers rather than the arbitrary ones we had.
60000         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60001         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60002         (SIGXCPU, SIGXFSZ): New macros.
60003         (_NSIG): Now 32.
60004
60005         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60006         initializer on [_LIBC_REENTRANT].
60007
60008         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60009         definitions inside [_POSIX_MAPPED_FILES].
60010
60011         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60012
60013         * dirent/opendir.c: Include <fcntl.h>.
60014
60015         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60016         (__libc_getspecific): Likewise.
60017         (__libc_key_create): Likewise.
60018
60019         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60020         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60021         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60022         (tmpfile64): Define as alias.
60023         * sysdeps/wordsize-64/tmpfile.c: File removed.
60024         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60026         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60027
60028         * stdio-common/vfscanf.c: Include <stdbool.h>.
60029         * nss/makedb.c: Likewise.
60030         * stdio-common/_i18n_number.h: Likewise.
60031         * argp/argp-help.c: Likewise.
60032         * posix/wordexp.c: Likewise.
60033         * sysdeps/posix/spawni.c: Likewise.
60034         * nss/nss_files/files-initgroups.c: Likewise.
60035         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60036         * nss/nss_files/files-initgroups.c: Likewise.
60037         * nss/nss_db/db-netgrp.c: Likewise.
60038         * nss/nss_db/db-initgroups.c: Likewise.
60039         * io/fchmodat.c: Include <sys/stat.h>.
60040
60041         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60042         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60043
60044         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60045         [HAVE_MMAP].
60046
60047         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60048         Add multiple inclusion protection.
60049
60050 2012-07-27  David S. Miller  <davem@davemloft.net>
60051
60052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60053
60054 2012-07-27  Gary Benson  <gbenson@redhat.com>
60055
60056         [BZ #14298]
60057         * elf/rtld.c: Include <stap-probe.h>.
60058         (dl_main): Added static probes "init_start" and "init_complete".
60059         * elf/dl-load.c: Include <stap-probe.h>.
60060         (lose): Take new parameter "nsid".
60061         Added static probe "map_failed".
60062         (_dl_map_object_from_fd): Pass namespace id to lose.
60063         Added static probe "map_start".
60064         (open_verify): Pass namespace id to lose.
60065         * elf/dl-open.c: Include <stap-probe.h>.
60066         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60067         and "reloc_complete".
60068         * elf/dl-close.c: Include <stap-probe.h>.
60069         (_dl_close_worker): Added static probes "unmap_start" and
60070         "unmap_complete".
60071         * elf/rtld-debugger-interface.txt: New file documenting the above.
60072
60073 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60074
60075         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60076         rather than a string variable.
60077         * sunrpc/rpc_main.c (h_output): Likewise.
60078         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60079
60080 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60081
60082         * inet/check_native.c: New file.
60083
60084 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60085
60086         [BZ #13629]
60087         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60088         if larger part has absolute value 1.0.
60089         * math/s_clog10.c (__clog10): Likewise.
60090         * math/s_clog10f.c (__clog10f): Likewise.
60091         * math/s_clog10l.c (__clog10l): Likewise.
60092         * math/s_clogf.c (__clogf): Likewise.
60093         * math/s_clogl.c (__clogl): Likewise.
60094         * math/libm-test.inc (clog_test): Add more tests.
60095         (clog10_test): Likewise.
60096         * sysdeps/i386/fpu/libm-test-ulps: Update.
60097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60098
60099         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60100         (pltexit): Likewise.
60101         (La_regs): Likewise.
60102         (La_retval): Likewise.
60103         (int_retval): Likewise.
60104         Update #error for removed macros to refer only to definitions in
60105         tst-audit.h.
60106         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60107         macro.
60108         (pltexit): Likewise.
60109         (La_regs): Likewise.
60110         (La_retval): Likewise.
60111         (int_retval): Likewise.
60112         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60113         macro.
60114         (pltexit): Likewise.
60115         (La_regs): Likewise.
60116         (La_retval): Likewise.
60117         (int_retval): Likewise.
60118         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60119         macro.
60120         (pltexit): Likewise.
60121         (La_regs): Likewise.
60122         (La_retval): Likewise.
60123         (int_retval): Likewise.
60124         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60125         macro.
60126         (pltexit): Likewise.
60127         (La_regs): Likewise.
60128         (La_retval): Likewise.
60129         (int_retval): Likewise.
60130         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60131         macro.
60132         (pltexit): Likewise.
60133         (La_regs): Likewise.
60134         (La_retval): Likewise.
60135         (int_retval): Likewise.
60136         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60137         macro.
60138         (pltexit): Likewise.
60139         (La_regs): Likewise.
60140         (La_retval): Likewise.
60141         (int_retval): Likewise.
60142         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60143         macro definitions in tst-audit.h.
60144         * sysdeps/i386/tst-audit.h: New file.
60145         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60146         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60147         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60148         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60149         * sysdeps/sh/tst-audit.h: Likewise.
60150         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60151         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60152         * sysdeps/x86_64/tst-audit.h: Likewise.
60153
60154 2012-07-26  Andreas Jaeger  <aj@suse.de>
60155
60156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60157         ptrace.
60158
60159         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60160         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60161         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60162         PTRACE_O_MASK.
60163         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60164         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60165         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60166
60167         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60168         value.
60169
60170         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60171         _sigsys.
60172         (si_call_addr, si_syscall, si_arch): Define new macro.
60173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60174         _sigsys.
60175         (si_call_addr, si_syscall, si_arch): Define new marcro.
60176         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60177         _sigsys.
60178         (si_call_addr, si_syscall, si_arch): Define new macro.
60179         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60180         _sigsys.
60181         (si_call_addr, si_syscall, si_arch): Define new macro.
60182
60183 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60184
60185         [BZ #13717]
60186         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60187         Change to 2.4.21 where previously 2.4.1.
60188         * sysdeps/unix/sysv/linux/configure: Regenerated.
60189         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60190         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60191         Linux kernel version.
60192         (__ASSUME_STD_AUXV): Remove.
60193         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60194         kernel version.
60195         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60196         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60197         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60198         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60199         (__ASSUME_NETLINK_SUPPORT): Likewise.
60200         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60201         (__no_netlink_support): Remove conditional definition.
60202         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60203         Remove.
60204         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60205         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60206         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60207         (if_nameindex_ioctl): Remove.
60208         (if_nameindex_netlink): Do not handle __no_netlink_support.
60209         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60210         code.
60211         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60212         Remove conditional code.
60213         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60214         code.
60215         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60216         unconditional.
60217         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60218         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60219         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60220         Remove.
60221         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60222         [!__ASSUME_STD_AUXV]: Remove conditional code.
60223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60224         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60225         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60227         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60228         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60229         code.
60230         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60232         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60233         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60234         conditional code.
60235         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60237         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60238         code.
60239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60240         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60241         conditional code.
60242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60243         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60244         code unconditional.
60245         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60246         conditional code.
60247         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60248         unconditional.
60249         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60250         conditional code.
60251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60252         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60253         unconditional.
60254         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60255         conditional code.
60256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60257         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60258         code unconditional.
60259         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60260         conditional code.
60261         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60262         unconditional.
60263         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60264         conditional code.
60265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60266         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60267         code unconditional.
60268         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60269         conditional code.
60270         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60271         unconditional.
60272         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60273         conditional code.
60274
60275 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60276
60277         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60278         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60279         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60280         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60281         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60282         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60283         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60284         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60285         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60286         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60287         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60288         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60289         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60290         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60291         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60292         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60293         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60294         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60295         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60298         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60300
60301 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60302
60303         * Versions.def: Add GLIBC_2.17.
60304         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60305         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60306         Introduce __libc_secure_getenv.
60307         * stdlib/Versions (2.17): Add secure_getenv
60308         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60309         * stdlib/secure-getenv.c: Rename __secure_getenv to
60310         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60311         symbol __secure_getenv for GLIBC_2.0.
60312         * stdlib/tst-secure-getenv.c: New.
60313         * stdlib/Makefile (tests): Add testcase.
60314         * manual/startup.texi (Environment Access): Document
60315         secure_getenv.
60316         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60317         __libc_secure_getenv.
60318         * inet/ruserpass.c (ruserpass): Likewise.
60319         * malloc/mtrace.c (mtrace): Likewise.
60320         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60321         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60322         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60323         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60324         HAVE_SECURE_GETENV.
60325         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60326         __secure_getenv to __libc_secure_getenv.
60327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60329         Likewise.
60330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60331         Likewise.
60332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60339
60340 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60341
60342         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60343         (struct La_i86_retval): Likewise.
60344         (struct La_x86_64_regs): Likewise.
60345         (struct La_x86_64_retval): Likewise.
60346         (struct La_x32_regs): Likewise.
60347         (struct La_x32_retval): Likewise.
60348         (struct La_ppc32_regs): Likewise.
60349         (struct La_ppc32_retval): Likewise.
60350         (struct La_ppc64_regs): Likewise.
60351         (struct La_ppc64_retval): Likewise.
60352         (struct La_sh_regs): Likewise.
60353         (struct La_sh_retval): Likewise.
60354         (struct La_s390_32_regs): Likewise.
60355         (struct La_s390_32_retval): Likewise.
60356         (struct La_s390_64_regs): Likewise.
60357         (struct La_s390_64_retval): Likewise.
60358         (struct La_sparc32_regs): Likewise.
60359         (struct La_sparc32_retval): Likewise.
60360         (struct La_sparc64_regs): Likewise.
60361         (struct La_sparc64_retval): Likewise.
60362         (struct audit_ifaces): Remove architecture-specific pltenter and
60363         pltexit members.
60364         * sysdeps/i386/ldsodefs.h: New file.
60365         * sysdeps/powerpc/ldsodefs.h: Likewise.
60366         * sysdeps/s390/ldsodefs.h: Likewise.
60367         * sysdeps/sh/ldsodefs.h: Likewise.
60368         * sysdeps/sparc/ldsodefs.h: Likewise.
60369         * sysdeps/x86_64/ldsodefs.h: Likewise.
60370
60371 2012-07-25  Marek Polacek  <polacek@redhat.com>
60372
60373         [BZ #6808]
60374         * math/libm-test.inc (yn_test): Add another test.
60375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60376         to ERANGE when the result is +-Inf.
60377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60380         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60381
60382 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60383
60384         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60385         equal to 0.
60386         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60387         clock_t.
60388         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60389
60390 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60391
60392         * configure.in <sysdeps resolving>: Correct printing
60393         Implies_before.
60394         * configure: Regenerate.
60395
60396 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60397
60398         * math/w_ilogb.c: Include <limits.h>.
60399         * math/w_ilogbl.c: Likewise.
60400
60401 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60402
60403         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60404         va_copy.  Document allowing for unavailable va_copy only as
60405         pre-C99 compatibility.
60406         * manual/string.texi (Copying and Concatenation): Use va_copy
60407         instead of __va_copy in concat example.
60408
60409 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60410
60411         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60412         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60413         it if not null.
60414
60415         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60416         with O_NOLINK passed to __file_name_lookup.
60417
60418         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60419         with O_NOLINK passed to __file_name_lookup.
60420
60421         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60422         negative N or less than NGIDS.
60423
60424         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60425         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60426         enough.  Use memcpy instead of strncpy.
60427
60428 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60429
60430         * elf/Makefile (check-data): Remove.
60431         (localplt.data): New vpath directive.
60432         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60433         instead of $(check-data).
60434         * scripts/data/localplt-generic.data: Move to ...
60435         * sysdeps/generic/localplt.data: ... here.
60436         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60437         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60438         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60440         ... here.
60441         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60443         ... here.
60444         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60446         ... here.
60447         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60449         ... here.
60450         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60452         ... here.
60453         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60455         ... here.
60456
60457 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60458
60459         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60460         PPC32 and PPC64 files.
60461         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60462         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60463
60464 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60465
60466         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60467         __makecontext_ret to ...
60468         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60469         ... here and call exit if uc_link is NULL.  New file.
60470         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60471         __makecontext_ret.S.
60472         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60473         __makecontext_ret to ...
60474         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60475         ... here and call exit if uc_link is NULL.  New file.
60476         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60477         __makecontext_ret.S.
60478
60479 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60480
60481         * elf/elf.h (R_390_IRELATIVE): New definition.
60482         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60483         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60484         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60486         (elf_machine_lazy_rel): Likewise.
60487         * sysdeps/s390/dl-irel.h: New file.
60488         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60489         * sysdeps/s390/s390-64/memset.S: New asm code.
60490         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60491         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60492         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60493         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60494         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60495         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60497         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60498         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60499         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60500         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60501         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60502         * sysdeps/s390/s390-32/memset.S: New asm code.
60503         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60504
60505 2012-07-17  Marek Polacek  <polacek@redhat.com>
60506
60507         [BZ #14349]
60508         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60509         * sysdeps/s390/s390-64/configure.in: Likewise.
60510         * sysdeps/sparc/configure.in: Likewise.
60511         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60512         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60513         * sysdeps/i386/configure.in: Likewise.
60514         * sysdeps/x86_64/configure.in: Likewise.
60515         * sysdeps/sh/configure.in: Likewise.
60516         * sysdeps/s390/s390-32/configure: Regenerated.
60517         * sysdeps/s390/s390-64/configure: Likewise.
60518         * sysdeps/x86_64/configure: Likewise.
60519         * sysdeps/sh/configure: Likewise.
60520         * sysdeps/powerpc/powerpc64/configure: Likewise.
60521         * sysdeps/powerpc/powerpc32/configure: Likewise.
60522         * sysdeps/sparc/configure: Likwise.
60523         * sysdeps/i386/configure: Likewise.
60524
60525         * elf/dl-open.c: Comment fixes.
60526
60527 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60528
60529         * Makefile [CXX] (check-data): Remove.
60530         [CXX] (c++-types.data): New vpath directive.
60531         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60532         vpath.  Do not allow for C++ type data being missing.
60533         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60534         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60535         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60536         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60537         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60538         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60539         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60541         ... here.
60542         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60544         ... here.
60545         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60547         ... here.
60548         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60550         ... here.
60551         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60553         ... here.
60554         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60556         ... here.
60557         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60559         ... here.
60560         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60562
60563         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60564         definitions to architecture-specific files.
60565         (TLS_IE): Likewise.
60566         (TLS_LD): Likewise.
60567         (TLS_GD): Likewise.
60568         * sysdeps/i386/tls-macros.h: New file.
60569         * sysdeps/powerpc/tls-macros.h: Likewise.
60570         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60571         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60572         * sysdeps/sh/tls-macros.h: Likewise.
60573         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60574         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60575         * sysdeps/x86_64/tls-macros.h: Likewise.
60576
60577 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60578
60579         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60580         zero value for regular exit case.
60581
60582         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60583         (__start_context): Preserve zero value for regular exit case.
60584
60585 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60586             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60587
60588         * manual/setjmp.texi (setcontext): Clarify normal process
60589         termination when uc_link is the null pointer.
60590         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60591         exit call.
60592
60593 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60594
60595         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60596         preprocessor.  Test for each exception mask separately.
60597
60598 2012-07-16  Andreas Jaeger  <aj@suse.de>
60599
60600         * po/ru.po: Update from translation team.
60601
60602 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60603
60604         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60605         equal to 0.
60606         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60607         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60608         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60609         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60611
60612 2012-07-13  Andreas Jaeger  <aj@suse.de>
60613
60614         * po/fr.po: Update from translation team.
60615
60616 2012-07-12  Marek Polacek  <polacek@redhat.com>
60617
60618         [BZ #14173]
60619         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60620         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60621         loop condition.
60622
60623 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60624
60625         [BZ #13717]
60626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60627         Change to 2.4.1 where previously 2.4.0.
60628         * sysdeps/unix/sysv/linux/configure: Regenerated.
60629         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60630         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60631         version.
60632         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60633         (__ASSUME_AT_CLKTCK): Remove.
60634         (__ASSUME_AT_PAGESIZE): Likewise.
60635         (__ASSUME_AT_XID): Likewise.
60636         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60637         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60638         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60639         unconditionally.
60640         (HAVE_AUX_PAGESIZE): Likewise.
60641         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60642         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60643         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60644
60645 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60646
60647         [BZ #14307]
60648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60649         the temporary buffer used to invoke __gethostbyname2_r,
60650         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60651         host_data / struct gaih_addrtuple.
60652         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60653         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60654         header file nss/nsswitch.h.
60655         * nss/nsswitch.h (global scope): Add definition of implementation
60656         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60657         resolv/nss_dns/dns-host.c).
60658
60659 2012-07-11  Andreas Jaeger  <aj@suse.de>
60660
60661         * po/fr.po: Update from translation team.
60662
60663         * po/sv.po: Update from translation team
60664         * po/fr.po: Another update from translation team.
60665
60666 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60667
60668         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60669         for subnormals or multiply small sinh result by itself.
60670         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60672
60673 2012-07-11  David S. Miller  <davem@davemloft.net>
60674
60675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60676
60677 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60678
60679         [BZ #14347]
60680         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60681         (INTERNAL_MARK): Shift it here.
60682
60683 2012-07-10  Marek Polacek  <polacek@redhat.com>
60684
60685         [BZ #14151]
60686         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60687         libc_cv_asm_global_directive with .globl.
60688         * configure: Regenerated.
60689         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60690         with .globl.
60691         * sysdeps/i386/configure: Regenerated.
60692         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60693         with .globl.
60694         * sysdeps/x86_64/configure: Regenerated.
60695         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60696         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60697         * elf/tst-unique2mod2.c: Likewise.
60698         * elf/tst-unique2mod1.c: Likewise.
60699         * elf/tst-unique1mod2.c: Likewise.
60700         * elf/tst-unique1mod1.c: Likewise.
60701         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60702         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60703         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60704         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60705         * sysdeps/mach/sysdep.h: Likewise.
60706         * sysdeps/i386/sysdep.h: Likewise.
60707         * sysdeps/i386/i386-mcount.S: Likewise.
60708         * sysdeps/x86_64/_mcount.S: Likewise.
60709         * sysdeps/x86_64/sysdep.h: Likewise.
60710         * sysdeps/sh/_mcount.S: Likewise.
60711         * sysdeps/sh/sysdep.h: Likewise.
60712         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60713         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60714         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60715         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60716         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60717         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60718         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60719         * locale/localeinfo.h: Likewise.
60720         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60721         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60722
60723 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60724
60725         [BZ #14336]
60726         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60727         system".
60728         * manual/message.texi (The Uniforum approach): Likewise.
60729         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60730         (glibc iconv Implementation): Likewise.
60731
60732 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60733
60734         [BZ #14337]
60735         * math/s_clog.c (__clog): Avoid scaling a value down where that
60736         could result in underflow.
60737         * math/s_clog10.c (__clog10): Likewise.
60738         * math/s_clog10f.c (__clog10f): Likewise.
60739         * math/s_clog10l.c (__clog10l): Likewise.
60740         * math/s_clogf.c (__clogf): Likewise.
60741         * math/s_clogl.c (__clogl): Likewise.
60742         * math/libm-test.inc (clog_test): Add more tests.
60743         (clog10_test): Likewise.
60744         * sysdeps/i386/fpu/libm-test-ulps: Update.
60745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60746
60747 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60748
60749         [BZ #14283]
60750         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60751         by 7 not 8 to examine high bit of fractional part.
60752
60753         [BZ #14042]
60754         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60755         for call to __mcount_internal.
60756         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60757         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60758         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60759
60760 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60761
60762         [BZ #14154]
60763         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60764         approximation for values within 0x1p-13f of an odd multiple of
60765         pi/4.
60766         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60767         exception.  Add more tests.
60768         * sysdeps/i386/fpu/libm-test-ulps: Update.
60769
60770         [BZ #6778]
60771         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60772         inputs and return -1 for them.  Do not check for +Inf in case not
60773         reachable for +Inf.
60774         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60775         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60776         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60777         and return -1 for them.  Do not check for +Inf in case not
60778         reachable for +Inf.
60779         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60780         define.
60781         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60782         and return -1 for them.  Do not check for +Inf in case not
60783         reachable for +Inf.
60784         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60785         spurious underflow.
60786         * sysdeps/i386/fpu/libm-test-ulps: Update.
60787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60788
60789 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60790
60791         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60792
60793 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60794
60795         [BZ #14157]
60796         [BZ #14331]
60797         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60798         could result in spurious underflow.  Scale down values above
60799         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60800         * math/s_csqrtf.c (__csqrtf): Likewise.
60801         * math/s_csqrtl.c (__csqrtl): Likewise.
60802         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60803         spurious underflow.
60804         * sysdeps/i386/fpu/libm-test-ulps: Update.
60805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60806
60807 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60808
60809         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60810         xopen-msg.sed.
60811         * catgets/xopen-msg.awk: New file.
60812         * catgets/xopen-msg.sed: Removed.
60813
60814         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60815         po2text.sed.
60816         * intl/po2test.awk: New file.
60817         * intl/po2test.sed: Removed.
60818
60819 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60820
60821         [BZ #14328]
60822         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60823         or multiply small sinh result by itself.
60824         * math/s_ctanf.c (__ctanf): Likewise.
60825         * math/s_ctanh.c (__ctanh): Likewise.
60826         * math/s_ctanhf.c (__ctanhf): Likewise.
60827         * math/s_ctanhl.c (__ctanhl): Likewise.
60828         * math/s_ctanl.c (__ctanl): Likewise.
60829         * math/libm-test.inc (ctan_test_tonearest): New function.
60830         (ctan_test_towardzero): Likewise.
60831         (ctan_test_downward): Likewise.
60832         (ctan_test_upward): Likewise.
60833         (ctanh_test_tonearest): Likewise.
60834         (ctanh_test_towardzero): Likewise.
60835         (ctanh_test_downward): Likewise.
60836         (ctanh_test_upward): Likewise.
60837         (main): Call these new functions.
60838         * sysdeps/i386/fpu/libm-test-ulps: Update.
60839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60840
60841 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60842
60843         * .gitignore: Delete /ports entry.
60844
60845 2012-07-03  Andreas Jaeger  <aj@suse.de>
60846
60847         * po/bg.po: Update from translation team.
60848         * po/cs.po: Likewise.
60849         * po/de.po: Likewise.
60850         * po/hr.po: Likewise.
60851         * po/nl.pl: Likewise.
60852         * po/pl.po: Likewise.
60853         * po/vi.po: Likewise.
60854
60855 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60856
60857         * Makeconfig [!+link] (+link-before-libc): New variable.
60858         [!+link] (+link-after-libc): Likewise.
60859         [!+link] (+link-tests): Likewise.
60860         [!+link] (+link): Define in terms of $(+link-before-libc) and
60861         $(+link-after-libc).
60862         [!+link-static] (+link-static-before-libc): New variable.
60863         [!+link-static] (+link-static-after-libc): Likewise.
60864         [!+link-static] (+link-static-tests): Likewise.
60865         [!+link-static] (+link-static): Define in terms of
60866         $(+link-static-before-libc) and $(+link-static-after-libc).
60867         [build-shared] (link-libc-before-gnulib): New variable.
60868         [build-shared] (link-libc-tests): Likewise.
60869         [build-shared] (link-libc): Define in terms of
60870         $(link-libc-before-gnulib).
60871         [!build-shared] (link-libc-tests): New variable.
60872         (link-libc-static-tests): New variable.
60873         [!gnulib] (gnulib-arch): New variable.
60874         [!gnulib] (gnulib-tests): Likewise.
60875         [!gnulib] (static-gnulib-arch): Likewise.
60876         [!gnulib] (static-gnulib-tests): Likewise.
60877         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60878         Define with "=" instead of ":=".
60879         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60880         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60881         * Rules (binaries-all-notests): New variable.
60882         (binaries-all-tests): Likewise.
60883         (binaries-static-notests): Likewise.
60884         (binaries-static-tests): Likewise.
60885         (binaries-all): Define using $(binaries-all-notests) and
60886         $(binaries-all-tests).
60887         (binaries-static): Define using $(binaries-static-notests) and
60888         $(binaries-static-tests).
60889         (binaries-shared-tests): New variable.
60890         (binaries-shared-notests): Likewise.
60891         (binaries-shared): Remove variable.
60892         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60893         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60894         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60895         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60896         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60897         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60898         * elf/Makefile (sln-modules): New variable.
60899         (extra-objs): Add $(sln-modules:=.o).
60900         (ldconfig-modules): Add static-stubs.
60901         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60902         * elf/static-stubs.c: New file.
60903
60904         [BZ #14283]
60905         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60906         by 7 not 8 to examine high bit of fractional part.  Use volatile
60907         variables when splitting into final array of floats if
60908         __FLT_EVAL_METHOD__ != 0.
60909         * math/libm-test.inc (cos_test): Add another test.
60910         (sin_test): Likewise.
60911         * sysdeps/i386/fpu/libm-test-ulps: Update.
60912
60913         [BZ #14273]
60914         * math/libm-test.inc (cosh_test): Add more tests.
60915
60916         * version.h (RELEASE): Set to "development".
60917         (VERSION): Set to "2.16.90".
60918
60919 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60920
60921         * NEWS: Update copyright. Remove last-updated date.
60922         Mention math library bug fixes and timezone data changes.
60923         * README: Mention GNU/Hurd, x32, and HPPA support status.
60924
60925 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60926
60927         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60928
60929 2012-06-27  Andreas Jaeger  <aj@suse.de>
60930
60931         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60932
60933 2012-06-25  Andreas Jaeger  <aj@suse.de>
60934
60935         * sysdeps/s390/fpu/libm-test-ulps: Update.
60936
60937 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60938             Thomas Schwinge  <thomas@codesourcery.com>
60939
60940         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60941         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60942         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60943         fanotify_mark.
60944
60945 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60946
60947         * sysdeps/mach/start.c: Remove file.
60948         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60949         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60950         * sysdeps/sh/init-first.c: Likewise.
60951
60952         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60953         registers for frame unwinding purposes, add CFI directives.
60954         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60956         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60957         Likewise.
60958
60959         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60960         __fortify_fail returning.
60961         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60962
60963         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60964         sysdeps/sh/____longjmp_chk.S.
60965         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60966         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60967         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60968         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60969
60970         * sysdeps/sh/abort-instr.h: New file.
60971         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60972         process in case exit returns.
60973
60974         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60975         initialize the GOT register before use.
60976
60977         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60978         calculation of ARGC > 4.
60979
60980         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60981         meaningful names to some local labels.
60982
60983 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60984             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60985
60986         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60987         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60988         (__arch_compare_and_exchange_val_16_acq): Likewise.
60989         (__arch_compare_and_exchange_val_32_acq): Likewise.
60990         (atomic_exchange_and_add): Fix gUSA sequence.
60991         (atomic_add): Likewise.
60992         (atomic_add_negative): Likewise.
60993         (atomic_add_zero): Likewise.
60994         (atomic_bit_test_set): Likewise.
60995
60996 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60997
60998         [BZ #13579]
60999         * include/link.h (struct link_map): Add l_free_initfini.
61000         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61001         l_initfini.
61002         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61003         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61004         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61005         set.
61006
61007 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61008
61009         * configure.in: Use AC_LANG_SOURCE.
61010         * configure: Regenerate.
61011
61012 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61013
61014         * configure.in (libc_cv_localstatedir): New substituted variable.
61015         * configure: Regenerated.
61016         * config.make.in (localstatedir): New variable, substituted from
61017         libc_cv_localstatedir.
61018         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61019         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61020         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61021         * sysdeps/gnu/configure: Regenerated.
61022
61023 2012-06-21  Jeff Law  <law@redhat.com>
61024
61025         [BZ #14277]
61026         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61027         free.  Simplify list management for _LIBC case.
61028
61029 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61030
61031         [BZ #14273]
61032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61033         Clear sign bit of 64-bit integer value before comparing against
61034         overflow value.
61035
61036         * sysdeps/mach/configure: Regenerated.
61037
61038 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61039
61040         [BZ #14278]
61041         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61042
61043 2012-06-21  Jeff Law  <law@redhat.com>
61044
61045         [BZ #13882]
61046         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61047         uint16_t for elements in the "seen" array to avoid char overflows.
61048         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61049         * elf/dl-open.c (dl_open_worker): Likewise.
61050
61051 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61052
61053         * scripts/list-sources.sh: Scan PORTS for translations.
61054         * po/libc.pot: Regenerated.
61055
61056 2012-06-21  Andreas Jaeger  <aj@suse.de>
61057
61058         [BZ #12194]
61059         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61060         warning.
61061         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61062         * bits/byteswap-16.h (__bswap_16): Likewise.
61063         * bits/byteswap.h (__bswap_constant_16): Likewise.
61064
61065 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61066
61067         [BZ #14117]
61068         * sysdeps/i386/fpu_control.h: Removed.
61069         * sysdeps/x86_64/fpu_control.h: Moved to ...
61070         * sysdeps/x86/fpu_control.h: Here.
61071
61072         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61073         (_FPU_SETCW): Likewise.
61074
61075 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61076
61077         [BZ #14117]
61078         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61079         * sysdeps/x86/fpu/bits/mathinline.h: This.
61080         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61081
61082         [BZ #14050]
61083         [BZ #14117]
61084         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61085         functions if __x86_64__ is defined.
61086
61087 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61088
61089         * string/endian.h: Add !__ASSEMBLER__ condition for including
61090         conversion interfaces.
61091
61092 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61093
61094         [BZ #14241]
61095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61096         of ABS(x) in calculating zero to negative powers other than odd
61097         integers.
61098         * math/libm-test.inc (pow_test): Add more tests.
61099
61100 2012-06-15  Andreas Jaeger  <aj@suse.de>
61101
61102         * manual/contrib.texi (Contributors): Update entry of Liubov
61103         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61104         Machado Filho.
61105
61106 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61107
61108         * string/string.h: Add __wur to GNU version of strerror_r.
61109
61110 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61111
61112         [BZ #14229]
61113         * string/Makefile (tests): Add tst-strtok_r.
61114         * string/tst-strtok_r.c: New file.
61115         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61116         RAX_LP/RDX_LP on SAVE_PTR.
61117
61118 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61119
61120         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61121
61122 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61123
61124         * libm_test.inc (csqrt_test): Allow more spurious underflow
61125         exceptions.
61126         (j0_test): Likewise.
61127         (j1_test): Likewise.
61128         (y0_test): Likewise.
61129         (y1_test): Likewise.
61130
61131 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61132
61133         * po/Makefile (libc.pot): Use UTF-8 charset.
61134
61135 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61136
61137         [BZ #14210]
61138         Suppress sign-conversion warning from FD_SET.
61139         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61140         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61141         not unsigned long int.
61142         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61143
61144 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61145
61146         [BZ #14050]
61147         [BZ #14117]
61148         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61149         __extern_always_inline instead of __extern_inline.
61150         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61151         (__signbit): Likewise.
61152         (__signbitl): Support C++ namespace.
61153         (lrintf): New inline function.
61154         (lrint): Likewise.
61155         (llrintf): Likewise.
61156         (llrint): Likewise.
61157         (fmaxf): Likewise.
61158         (fmax): Likewise.
61159         (fminf): Likewise.
61160         (fmin): Likewise.
61161         (rint): Likewise.
61162         (rintf): Likewise.
61163         (ceil): Likewise.
61164         (ceilf): Likewise.
61165         (floor): Likewise.
61166         (floorf): Likewise.
61167         (nearbyint): Likewise.
61168         (nearbyintf): Likewise.
61169
61170 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61171
61172         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61173         non-default versions.
61174
61175 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61176
61177         [BZ #14218]
61178         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61179
61180 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61181
61182         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61183         (FE_UPWARD, FE_DOWNWARD): Don't define.
61184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61185         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61186
61187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61188         reading it.
61189         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61190         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61191
61192 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61193
61194         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61196         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61197         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61198
61199 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61200
61201         [BZ #14117]
61202         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61203         * sysdeps/i386/fpu/Implies: New file.
61204         * sysdeps/x86_64/fpu/Implies: Likewise.
61205         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61206         * sysdeps/x86/fpu/bits/fenv.h: This.
61207
61208         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61209         __SSE_MATH__.
61210
61211 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61212
61213         [BZ #14134]
61214         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61215         character 0xffff that matches the last element of the
61216         conversion table.
61217
61218 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61219
61220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61221         fmodl commit.
61222
61223 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61224
61225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61226         values higher than 25.6283.
61227
61228 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61229
61230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61231         subnormal exponent extraction and add some __builtin_expect.
61232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61233         Fix for subnormal mantissa calculation.
61234
61235 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61236
61237         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61238         cpu2 is -1 and errno is not ENOSYS.
61239
61240 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61241
61242         [BZ #14117]
61243         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61244         * sysdeps/x86/bits/string.h: This.
61245         * sysdeps/x86_64/bits/string.h: Removed.
61246
61247         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61248         if not compiling for x86-64, but compiling for >= i486.
61249
61250         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61251         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61252
61253         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61254         New macro from Linux kernel 3.4.0.
61255         (FP_XSTATE_MAGIC2): Likewise.
61256         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61257         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61258         (struct _fpx_sw_bytes): New struct.
61259         (struct _xsave_hdr): Likewise.
61260         (struct _ymmh_state): Likewise.
61261         (struct _xstate): Likewise.
61262
61263         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61264         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61265         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61266         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61267         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61268         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61269
61270         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61271         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61272         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61273         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61274         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61275         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61276
61277 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61278
61279         [BZ #13743]
61280         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61281         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61282         (sysdep_headers): Include sys/platform/ppc.h.
61283         * sysdeps/powerpc/test-gettimebase.c: Test for
61284         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61285         * manual/Makefile (appendices): Include platform.texi.
61286         * manual/contrib.texi (Contributors): Update @node pointers.
61287         * manual/maint.texi (Maintenance): Likewise.
61288         (Platform): New node.
61289         * manual/platform.texi: New file.  Document the new features.
61290
61291 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61292             Jakub Jelinek  <jakub@redhat.com>
61293
61294         [BZ #14188]
61295         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61296         where __builtin_expect is unavailable.
61297
61298 2012-06-03  David S. Miller  <davem@davemloft.net>
61299
61300         * stdlib/longlong.h: Updated from GCC.
61301
61302 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61303
61304         [BZ #14042]
61305         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61306         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61307         __mcount_internal.
61308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61309         (GLIBC_2.16): Likewise.
61310
61311 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61312
61313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61314
61315 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61316
61317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61318         (default-abi): New variable.
61319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61320         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61321         variable.
61322         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61323         Likewise.
61324         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61325         Likewise.
61326         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61327         Likewise.
61328
61329         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61330         definition.  Document in comment.
61331
61332 2012-06-01  David S. Miller  <davem@davemloft.net>
61333
61334         * stdlib/longlong.h: Updated from GCC.
61335
61336 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61337
61338         [BZ #14117]
61339         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61340         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61341         sys/debugreg.h sys/io.h here.
61342         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61343         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61344         sys/io.h.
61345         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61346         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61347         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61348         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61349         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61350         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61351
61352         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61353         Define only if __x86_64__ is defined.
61354
61355 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61356
61357         [BZ #14048]
61358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61359         Use int64_t for variable i.
61360         * math/libm-test.inc (fmod_test): Add more tests.
61361
61362         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61363         z computation is not scheduled after fetestexcept.
61364         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61365         Use math_force_eval instead of asm to ensure calculation scheduled
61366         before exception test.
61367         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61368         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61369
61370 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61371
61372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61373         computation is not scheduled after fetestexcept.
61374
61375 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61376
61377         [BZ #14117]
61378         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61379         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61380
61381 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61382
61383         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61384         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61385
61386 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61387
61388         [BZ #14117]
61389         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61390         <bits/wordsize.h>.
61391         (__WCHAR_MIN): Support __WORDSIZE == 64.
61392         (__WCHAR_MAX): Likewise.
61393
61394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61395         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61396
61397         [BZ #14183]
61398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61399         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61400
61401         [BZ #14117]
61402         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61403         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61404
61405         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61406         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61407
61408         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61409         Defined to 1 if __x86_64__ isn't defined.
61410         (_STAT_VER_LINUX_OLD): New.
61411         (st_atime): Remove duplicate.
61412         (st_mtime): Likewise.
61413         (st_ctime): Likewise.
61414
61415 2012-05-31  David S. Miller  <davem@davemloft.net>
61416
61417         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61418         entries.
61419
61420 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61421
61422         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61423         gen-libm-test.pl.
61424
61425         [BZ #14132]
61426         * elf/dl-reloc.c: Include <_itoa.h>.
61427         (_dl_reloc_bad_type): Remove use of INTUSE.
61428         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61429         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61430         * stdio-common/psiginfo.c (psiginfo): Likewise.
61431         * stdio-common/psignal.c (psignal): Likewise.
61432         * string/strsignal.c (strsignal): Likewise.
61433         * include/signal.h (_sys_siglist): Declare hidden proto.
61434         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61435         INTVARDEF with libc_hidden_data_def.
61436         * stdio-common/itoa-udigits.c: Likewise.
61437         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61438         (_itoa_lower_digits_internal): Remove declaration.
61439         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61440         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61441         (_sys_sigabbrev_internal): Remove aliases.
61442         (_sys_siglist): Define hidden alias.
61443
61444 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61445
61446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61447         bits/sysctl.h.
61448
61449 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61450
61451         [BZ #14117]
61452         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61453         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61454
61455         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61456         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61457         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61458         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61460         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61461
61462         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61463         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61464         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61465
61466         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61467         with __addr.
61468         (insw): Likewise.
61469         (insl): Likewise.
61470         (outsb): Likewise.
61471         (outsw): Likewise.
61472         (outsl): Likewise.
61473
61474         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61476         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61477
61478         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61479         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61480         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61481         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61482         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61483         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61484
61485         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61486         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61487
61488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61489         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61490
61491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61492         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61493         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61494
61495         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61496         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61497         to ...
61498         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61499
61500         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61501         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61502         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61503
61504         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61505         for x86-64.
61506         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61507
61508 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61509
61510         * math/math.h (M_El): Use two more decimal places.
61511         (M_LOG2El): Likewise.
61512         (M_LOG10El): Likewise.
61513         (M_LN2l): Likewise.
61514         (M_LN10l): Likewise.
61515         (M_PIl): Likewise.
61516         (M_PI_2l): Likewise.
61517         (M_PI_4l): Likewise.
61518         (M_1_PIl): Likewise.
61519         (M_2_PIl): Likewise.
61520         (M_2_SQRTPIl): Likewise.
61521         (M_SQRT2l): Likewise.
61522         (M_SQRT1_2l): Likewise.
61523
61524 2012-05-31  David S. Miller  <davem@davemloft.net>
61525
61526         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61527         values between float registers.
61528         * sysdeps/sparc/sparc64/memset.S: Likewise.
61529         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61530
61531 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61532
61533         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61534         -D_FORTIFY_SOURCE=1.
61535         (CPPFLAGS-tst-longjmp_chk.c): Define.
61536         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61537         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61538         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61539         CFLAGS-tst-wchar-h.c.
61540
61541 2012-05-31  Marek Polacek  <polacek@redhat.com>
61542
61543         [BZ #14132]
61544         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61545         __endmntent_internal): Remove declaration.
61546         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61547         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61548         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61549
61550 2012-05-30  David S. Miller  <davem@davemloft.net>
61551
61552         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61553         (___Q_simulate_exceptions): Use real FP ops rather than writing
61554         into the %fsr.
61555         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61556         Likewise.
61557
61558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61559
61560         [BZ #14117]
61561         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61562         * sysdeps/x86/bits/xtitypes.h: This.
61563
61564         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61565         * sysdeps/x86/bits/wordsize.h: This.
61566
61567         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61568         * sysdeps/x86/bits/huge_vall.h: This.
61569
61570         * sysdeps/i386/bits/select.h: Removed.
61571         * sysdeps/x86_64/bits/select.h: Renamed to ...
61572         * sysdeps/x86/bits/select.h: This.
61573
61574         * sysdeps/i386/bits/setjmp.h: Removed.
61575         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61576         * sysdeps/x86/bits/setjmp.h: This.
61577
61578         * sysdeps/i386/bits/mathdef.h: Removed.
61579         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61580         * sysdeps/x86/bits/mathdef.h: This.
61581
61582 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61583
61584         [BZ #14132]
61585         * include/sys/socket.h (__connect_internal)
61586         (__libc_sa_len_internal): Remove declaration.
61587         (__connect, __libc_sa_len): Declare hidden_proto.
61588         (SA_LEN): Remove use of INTUSE.
61589         * socket/connect.c: Add libc_hidden_def.
61590         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61591         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61592         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61593         alias.
61594         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61595         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61596         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61597         of adding _internal alias.
61598
61599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61600
61601         [BZ #14117]
61602         * sysdeps/i386/bits/link.h: Removed.
61603         * sysdeps/i386/bits/linkmap.h: Likewise.
61604         * sysdeps/x86_64/bits/link.h: Renamed to ...
61605         * sysdeps/x86/bits/link.h: This.
61606         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61607         * sysdeps/x86/bits/linkmap.h: This.
61608
61609         * sysdeps/i386/bits/endian.h: Removed.
61610         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61611         * sysdeps/x86/bits/endian.h: This.
61612
61613         * sysdeps/i386/bits/byteswap.h: Removed.
61614         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61615         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61616         * sysdeps/x86/bits/byteswap.h: This.
61617         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61618         * sysdeps/x86/bits/byteswap-16.h: This.
61619         * sysdeps/i386/Implies: Add x86.
61620         * sysdeps/x86_64/Implies: Likewise.
61621
61622 2012-05-30  David S. Miller  <davem@davemloft.net>
61623
61624         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61625         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61626         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61627         (FP_TRAPPING_EXCEPTIONS): Define.
61628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61629         (FP_TRAPPING_EXCEPTIONS): Define.
61630         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61631         subnormals only when inexact has been signalled or underflow
61632         exceptions are enabled.
61633         (_FP_PACK_CANONICAL): Likewise.
61634
61635 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61636
61637         [BZ #14183]
61638         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61639         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61640
61641 2012-05-30  Richard Henderson  <rth@twiddle.net>
61642
61643         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61644         with #ifndef NOT_IN_libc.
61645
61646         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61647         marked to avoid plt entry.
61648
61649 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61650
61651         [BZ #14112]
61652         * Makeconfig (default-abi): New macro.
61653         (abi-includes): Likewise.
61654         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61655         $(abi-$(default-abi)-lib-soname) for soname if defined.
61656         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61657         abi-variants.
61658         * Makefile (installed-stubs): Likewise.
61659         * include/stubs-biarch.h: Removed.
61660         * scripts/lib-names.awk: Only handle one library at a time.
61661         * scripts/soversions.awk: Remove WORDSIZE support.
61662         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61663         entries.
61664         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61665         Removed.
61666         (syscall-list-default-condition): Likewise.
61667         (syscall-list-default-condition): Likewise.
61668         (syscall-list-includes): Likewise.
61669         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61670         syscall-list-* with abi-*.  Handle undefined abi-variants.
61671         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61672         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61673         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61674         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61675         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61676         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61677         Removed.
61678         (syscall-list-32-options): Likewise.
61679         (syscall-list-32-condition): Likewise.
61680         (syscall-list-64-options): Likewise.
61681         (syscall-list-64-condition): Likewise.
61682         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61683         macro.
61684         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61685         Renamed to ...
61686         (abi-*): This.
61687         (abi-64-ld-soname): New macro.
61688         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61689         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61690         Renamed to ...
61691         (abi-*): This.
61692         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61693         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61694
61695 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61696
61697         * sysdeps/unix/sysv/linux/kernel-features.h
61698         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61699         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61700         include <kernel-features.h>.
61701         [!__NR_ftruncate64]: Remove conditional code.
61702         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61703         [__NR_ftruncate64]: Make code unconditional.
61704         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61705         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61706         include <kernel-features.h>.
61707         [!__NR_ftruncate64]: Remove conditional code.
61708         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61709         [__NR_ftruncate64]: Make code unconditional.
61710         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61712         include <kernel-features.h>.
61713         [!__NR_ftruncate64]: Remove conditional code.
61714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61715         [__NR_ftruncate64]: Make code unconditional.
61716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61718         include <kernel-features.h>.
61719         [!__NR_ftruncate64]: Remove conditional code.
61720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61721         [__NR_ftruncate64]: Make code unconditional.
61722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61723
61724         * configure.in (libc_cv_fpie): Weaken to a compile test using
61725         LIBC_TRY_CC_OPTION.
61726         * configure: Regenerated.
61727
61728 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61729
61730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61734         Refreshed.
61735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61741         Refreshed.
61742
61743 2012-05-27  David S. Miller  <davem@davemloft.net>
61744
61745         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61746         (___Q_zero): New.
61747         (__Q_simulate_exceptions): Return void.  Change to simulate
61748         exceptions by writing into the %fsr.
61749         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61750         (__Qp_handle_exceptions): Likewise.
61751         (numbers): Delete.
61752         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61753         __Qp_handle_exceptions.
61754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61755         __Qp_handle_exceptions.
61756         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61757         as unused and give dummy FP_RND_NEAREST initializer.
61758         (FP_INHIBIT_RESULTS): Define.
61759         (___Q_simulate_exceptions): Update declaration.
61760         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61761         formatting.
61762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61763         as unused and give dummy FP_RND_NEAREST initializer.
61764         (__Qp_handle_exceptions): Update declaration.
61765         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61766         formatting.
61767
61768 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61769
61770         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61771         the temporary FPU control word.
61772         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61773         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61774         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61775         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61776         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61777         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61778         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61779         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61780         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61781         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61782         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61783
61784 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61785
61786         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61787         fields.
61788
61789 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61790
61791         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61792         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61793         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61794         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61795         Likewise.
61796         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61797         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61798         Likewise.
61799
61800 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61801
61802         * po/h.po: Update from translation team.
61803
61804 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61805
61806         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61807
61808         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61809         handling of denormals.
61810         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61811         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61812         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61813         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61817         Likewise.
61818
61819 2012-05-26  Marek Polacek  <polacek@redhat.com>
61820
61821         [BZ #14152]
61822         * math/libm-test.inc (fma_test): Don't always expect underflow
61823         exception.
61824
61825 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61826
61827         [BZ #12416]
61828         * elf/tst-execstack.c: Include stackinfo.h.
61829         (do_test): Adjust test case to ensure that pthread_getattr_np
61830         behaviour remains the same after marking stack executable.
61831
61832 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61833
61834         * sysdeps/unix/sysv/linux/kernel-features.h
61835         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61836         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61837         kernel-features.h.
61838         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61839         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61840         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61841         kernel-features.h.
61842         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61843         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61844
61845 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61846
61847         * configure.in: Define the default includes to being none.
61848         * configure: Regenerated.
61849
61850 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61851
61852         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61853         * sysdeps/x86_64/setjmp.S: Likewise.
61854         * sysdeps/i386/bsd-setjmp.S: Likewise.
61855         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61856         * sysdeps/i386/setjmp.S: Likewise.
61857         * sysdeps/i386/__longjmp.S: Likewise.
61858         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61859         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61860
61861         * include/stap-probe.h: New file.
61862         * configure.in: Handle --enable-systemtap.
61863         * configure: Regenerated.
61864         * config.h.in (USE_STAP_PROBE): New #undef.
61865         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61866         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61867         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61868
61869 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61870
61871         [BZ #13717]
61872         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61873         to 2.4.0 where earlier.
61874         * sysdeps/unix/sysv/linux/configure: Regenerated.
61875         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61876         <kernel-features.h>.
61877         [__ASSUME_32BITUIDS]: Make code unconditional.
61878         [!__ASSUME_32BITUIDS]: Remove conditional code.
61879         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61880         <kernel-features.h>.
61881         [__ASSUME_32BITUIDS]: Make code unconditional.
61882         [!__ASSUME_32BITUIDS]: Remove conditional code.
61883         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61884         [__ASSUME_32BITUIDS]: Make code unconditional.
61885         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61886         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61887         <kernel-features.h>.
61888         [__ASSUME_32BITUIDS]: Make code unconditional.
61889         [!__ASSUME_32BITUIDS]: Remove conditional code.
61890         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61891         <kernel-features.h>.
61892         [__ASSUME_32BITUIDS]: Make code unconditional.
61893         [!__ASSUME_32BITUIDS]: Remove conditional code.
61894         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61895         <kernel-features.h>.
61896         [__ASSUME_32BITUIDS]: Make code unconditional.
61897         [!__ASSUME_32BITUIDS]: Remove conditional code.
61898         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61899         <kernel-features.h>.
61900         [__ASSUME_32BITUIDS]: Make code unconditional.
61901         [!__ASSUME_32BITUIDS]: Remove conditional code.
61902         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61903         <kernel-features.h>.
61904         [__ASSUME_32BITUIDS]: Make code unconditional.
61905         [!__ASSUME_32BITUIDS]: Remove conditional code.
61906         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61907         <kernel-features.h>.
61908         [__ASSUME_32BITUIDS]: Make code unconditional.
61909         [!__ASSUME_32BITUIDS]: Remove conditional code.
61910         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61911         <kernel-features.h>.
61912         [__ASSUME_32BITUIDS]: Make code unconditional.
61913         [!__ASSUME_32BITUIDS]: Remove conditional code.
61914         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61915         <kernel-features.h>.
61916         [__ASSUME_32BITUIDS]: Make code unconditional.
61917         [!__ASSUME_32BITUIDS]: Remove conditional code.
61918         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61919         <kernel-features.h>.
61920         [__ASSUME_32BITUIDS]: Make code unconditional.
61921         [!__ASSUME_32BITUIDS]: Remove conditional code.
61922         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61923         <kernel-features.h>.
61924         [__ASSUME_32BITUIDS]: Make code unconditional.
61925         [!__ASSUME_32BITUIDS]: Remove conditional code.
61926         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61927         <kernel-features.h>.
61928         [__NR_setresgid] (__setresgid): Do not declare.
61929         [__ASSUME_32BITUIDS]: Make code unconditional.
61930         [!__ASSUME_32BITUIDS]: Remove conditional code.
61931         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61932         <kernel-features.h>.
61933         [__NR_setresuid] (__setresuid): Do not declare.
61934         [__ASSUME_32BITUIDS]: Make code unconditional.
61935         [!__ASSUME_32BITUIDS]: Remove conditional code.
61936         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61937         <kernel-features.h>.
61938         [__ASSUME_32BITUIDS]: Make code unconditional.
61939         [!__ASSUME_32BITUIDS]: Remove conditional code.
61940         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61941         <kernel-features.h>.
61942         [__ASSUME_32BITUIDS]: Make code unconditional.
61943         [!__ASSUME_32BITUIDS]: Remove conditional code.
61944         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61945         <kernel-features.h>.
61946         [__ASSUME_32BITUIDS]: Make code unconditional.
61947         [!__ASSUME_32BITUIDS]: Remove conditional code.
61948         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61949         <kernel-features.h>.
61950         [__ASSUME_32BITUIDS]: Make code unconditional.
61951         [!__ASSUME_32BITUIDS]: Remove conditional code.
61952         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61953         <kernel-features.h>.
61954         [__ASSUME_32BITUIDS]: Make code unconditional.
61955         [!__ASSUME_32BITUIDS]: Remove conditional code.
61956         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61957         <kernel-features.h>.
61958         [__ASSUME_32BITUIDS]: Make code unconditional.
61959         [!__ASSUME_32BITUIDS]: Remove conditional code.
61960         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61961         <kernel-features.h>.
61962         [__ASSUME_32BITUIDS]: Make code unconditional.
61963         [!__ASSUME_32BITUIDS]: Remove conditional code.
61964         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61965         <kernel-features.h>.
61966         [__ASSUME_32BITUIDS]: Make code unconditional.
61967         [!__ASSUME_32BITUIDS]: Remove conditional code.
61968         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61969         <kernel-features.h>.
61970         [__ASSUME_32BITUIDS]: Make code unconditional.
61971         [!__ASSUME_32BITUIDS]: Remove conditional code.
61972         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61973         <kernel-features.h>.
61974         [__ASSUME_32BITUIDS]: Make code unconditional.
61975         [!__ASSUME_32BITUIDS]: Remove conditional code.
61976         * sysdeps/unix/sysv/linux/kernel-features.h
61977         (__ASSUME_SETRESUID_SYSCALL): Remove.
61978         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61979         (__ASSUME_32BITUIDS): Likewise.
61980         (__ASSUME_LDT_WORKS): Likewise.
61981         (__ASSUME_O_DIRECTORY): Likewise.
61982         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61983         architecture but not kernel version.
61984         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61985         (__ASSUME_MMAP2_SYSCALL): Likewise.
61986         (__ASSUME_STAT64_SYSCALL): Likewise.
61987         (__ASSUME_IPC64): Likewise.
61988         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61989         <kernel-features.h>.
61990         [__ASSUME_32BITUIDS]: Make code unconditional.
61991         [!__ASSUME_32BITUIDS]: Remove conditional code.
61992         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61993         <kernel-features.h>.
61994         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61995         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61996         132096]: Remove conditional code.
61997         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61998         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61999         <kernel-features.h>.
62000         [__ASSUME_32BITUIDS]: Make code unconditional.
62001         [!__ASSUME_32BITUIDS]: Remove conditional code.
62002         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62003         <kernel-features.h>.
62004         [__ASSUME_32BITUIDS]: Make code unconditional.
62005         [!__ASSUME_32BITUIDS]: Remove conditional code.
62006         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62007         <kernel-features.h>.
62008         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62009         unconditional.
62010         (__setresgid): Do not declare.
62011         [__ASSUME_32BITUIDS]: Make code unconditional.
62012         [!__ASSUME_32BITUIDS]: Remove conditional code.
62013         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62014         <kernel-features.h>.
62015         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62016         unconditional.
62017         (__setresuid): Do not declare.
62018         [__ASSUME_32BITUIDS]: Make code unconditional.
62019         [!__ASSUME_32BITUIDS]: Remove conditional code.
62020         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62021         <kernel-features.h>.
62022         [__ASSUME_32BITUIDS]: Make code unconditional.
62023         [!__ASSUME_32BITUIDS]: Remove conditional code.
62024         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62025         <kernel-features.h>.
62026         [__ASSUME_32BITUIDS]: Make code unconditional.
62027         [!__ASSUME_32BITUIDS]: Remove conditional code.
62028
62029 2012-05-25  Richard Henderson  <rth@twiddle.net>
62030
62031         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62032         dl_hwcap to ifunc resolver.
62033         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62034         elf_ifunc_invoke.
62035         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62036         dl_hwcap to ifunc resolver.
62037         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62038
62039 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62040
62041         [BZ #14153]
62042         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62043         for |x| <= 2**-26, not 2**-57.
62044         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62045         exception.
62046
62047 2012-05-24  Jeff Law  <law@redhat.com>
62048
62049         * stdio-common/Makefile (tests): Add bug25.
62050         * stdio-common/bug25.c: New test.
62051
62052 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62053
62054         [BZ #13576]
62055         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62056         multiple of MALLOC_ALIGNMENT in size.
62057         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62058
62059 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62060
62061         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62062         Require >= 256.
62063         (FILENAME_MAX): Use macro-int-constant.
62064         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62065         (_IOFBF): Use macro-int-constant.
62066         (_IOLBF): Likewise.
62067         (_IONBF): Likewise.
62068         (SEEK_CUR): Likewise.
62069         (SEEK_END): Likewise.
62070         (SEEK_SET): Likewise.
62071         (TMP_MAX): Likewise.
62072         (EOF): Use macro-int-constant.  Require < 0.
62073         (NULL): Use macro-constant.  Require == 0.
62074         (stdin): Require type to be FILE *.
62075         (stdout): Likewise.
62076         (stderr): Likewise.
62077         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62078         macro-int-constant.
62079         (EXIT_SUCCESS): Likewise.
62080         (NULL): Use macro-constant.  Require == 0.
62081         (RAND_MAX): Use macro-int-constant.
62082         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62083         [C99-based standards] (strtof): Require function.
62084         [C99-based standards] (strtold): Likewise.
62085         [C99-based standards] (strtoll): Likewise.
62086         [C99-based standards] (strtoull): Likewise.
62087         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62088         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62089         [ISO || ISO99 || ISO11] (math.h): Likewise.
62090         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62091         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62093
62094 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62095
62096         [BZ #14132]
62097         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62098         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62099         * intl/dgettext.c (DCGETTEXT): Likewise.
62100         * intl/gettext.c (DCGETTEXT): Likewise.
62101         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62102         * posix/regex_internal.h (gettext): Likewise.
62103         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62104         Remove declaration.
62105         * include/argz.h (__argz_count_internal)
62106         (__argz_stringify_internal): Remove declaration.
62107         (__argz_count, __argz_stringify): Declare hidden proto.
62108         * intl/dcgettext.c: Remove use of INTDEF.
62109         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62110         * string/argz-stringify.c: Likewise.
62111         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62112         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62113         Declare hidden proto.
62114         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62115         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62116         Declare hidden proto.
62117         * include/stdio.h (__asprintf_internal): Don't declare.
62118         (__asprintf): Don't define as macro.  Declare hidden proto.
62119         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62120         (__fsetlocking): Declare hidden proto.
62121         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62122         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62123         hidden proto.
62124         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62125         (_IO_setlinebuf): Remove use of INTUSE.
62126         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62127         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62128         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62129         Remove declaration.
62130         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62131         (_IO_do_flush): Remove use of INTUSE.
62132         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62133         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62134         (_IO_adjust_column, _IO_least_wmarker)
62135         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62136         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62137         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62138         (_IO_default_doallocate, _IO_wdefault_doallocate)
62139         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62140         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62141         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62142         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62143         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62144         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62145         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62146         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62147         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62148         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62149         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62150         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62151         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62152         proto.
62153         (_IO_flush_all_internal, _IO_adjust_column_internal)
62154         (_IO_default_uflow_internal, _IO_default_finish_internal)
62155         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62156         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62157         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62158         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62159         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62160         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62161         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62162         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62163         (_IO_file_close_internal, _IO_file_close_it_internal)
62164         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62165         (_IO_file_init_internal, _IO_file_attach_internal)
62166         (_IO_file_fopen_internal, _IO_file_read_internal)
62167         (_IO_file_sync_internal, _IO_file_seek_internal)
62168         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62169         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62170         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62171         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62172         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62173         (_IO_list_all_internal, _IO_link_in_internal)
62174         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62175         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62176         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62177         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62178         (_IO_do_write_internal, _IO_padn_internal)
62179         (_IO_getline_info_internal, _IO_getline_internal)
62180         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62181         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62182         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62183         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62184         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62185         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62186         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62187         with libc_hidden_ver, remove use of INTUSE.
62188         * libio/genops.c: Likewise.
62189         * libio/freopen.c: Likewise.
62190         * libio/freopen64.c: Likewise.
62191         * libio/iofclose.c: Likewise.
62192         * libio/iofdopen.c: Likewise.
62193         * libio/iofflush.c: Likewise.
62194         * libio/iofflush_u.c: Likewise.
62195         * libio/iofgets.c: Likewise.
62196         * libio/iofgets_u.c: Likewise.
62197         * libio/iofopen.c: Likewise.
62198         * libio/iofopncook.c: Likewise.
62199         * libio/iofread.c: Likewise.
62200         * libio/iofread_u.c: Likewise.
62201         * libio/ioftell.c: Likewise.
62202         * libio/iofwrite.c: Likewise.
62203         * libio/iogetline.c: Likewise.
62204         * libio/iogets.c: Likewise.
62205         * libio/iogetwline.c: Likewise.
62206         * libio/iopadn.c: Likewise.
62207         * libio/iopopen.c: Likewise.
62208         * libio/ioseekoff.c: Likewise.
62209         * libio/ioseekpos.c: Likewise.
62210         * libio/iosetbuffer.c: Likewise.
62211         * libio/iosetvbuf.c: Likewise.
62212         * libio/ioungetc.c: Likewise.
62213         * libio/ioungetwc.c: Likewise.
62214         * libio/iovdprintf.c: Likewise.
62215         * libio/iovsprintf.c: Likewise.
62216         * libio/iovsscanf.c: Likewise.
62217         * libio/memstream.c: Likewise.
62218         * libio/obprintf.c: Likewise.
62219         * libio/oldfileops.c: Likewise.
62220         * libio/oldiofclose.c: Likewise.
62221         * libio/oldiofdopen.c: Likewise.
62222         * libio/oldiofopen.c: Likewise.
62223         * libio/oldiopopen.c: Likewise.
62224         * libio/oldstdfiles.c: Likewise.
62225         * libio/putc.c: Likewise.
62226         * libio/setbuf.c: Likewise.
62227         * libio/setlinebuf.c: Likewise.
62228         * libio/stdfiles.c: Likewise.
62229         * libio/strops.c: Likewise.
62230         * libio/vasprintf.c: Likewise.
62231         * libio/vscanf.c: Likewise.
62232         * libio/vsnprintf.c: Likewise.
62233         * libio/vswprintf.c: Likewise.
62234         * libio/wfiledoalloc.c: Likewise.
62235         * libio/wfileops.c: Likewise.
62236         * libio/wgenops.c: Likewise.
62237         * libio/wmemstream.c: Likewise.
62238         * libio/wstrops.c: Likewise.
62239         * libio/__fpurge.c: Likewise.
62240         * libio/__fsetlocking.c: Likewise.
62241         * assert/assert.c: Likewise.
62242         * debug/fgets_chk.c: Likewise.
62243         * debug/fgets_u_chk.c: Likewise.
62244         * debug/fread_chk.c: Likewise.
62245         * debug/fread_u_chk.c: Likewise.
62246         * debug/gets_chk.c: Likewise.
62247         * debug/obprintf_chk.c: Likewise.
62248         * debug/vasprintf_chk.c: Likewise.
62249         * debug/vdprintf_chk.c: Likewise.
62250         * debug/vsnprintf_chk.c: Likewise.
62251         * debug/vsprintf_chk.c: Likewise.
62252         * malloc/mtrace.c: Likewise.
62253         * misc/error.c: Likewise.
62254         * misc/syslog.c: Likewise.
62255         * stdio-common/asprintf.c: Likewise.
62256         * stdio-common/fxprintf.c: Likewise.
62257         * stdio-common/getw.c: Likewise.
62258         * stdio-common/isoc99_fscanf.c: Likewise.
62259         * stdio-common/isoc99_scanf.c: Likewise.
62260         * stdio-common/isoc99_vfscanf.c: Likewise.
62261         * stdio-common/isoc99_vscanf.c: Likewise.
62262         * stdio-common/isoc99_vsscanf.c: Likewise.
62263         * stdio-common/printf-prs.c: Likewise.
62264         * stdio-common/printf_fp.c: Likewise.
62265         * stdio-common/printf_fphex.c: Likewise.
62266         * stdio-common/printf_size.c: Likewise.
62267         * stdio-common/putw.c: Likewise.
62268         * stdio-common/scanf.c: Likewise.
62269         * stdio-common/sprintf.c: Likewise.
62270         * stdio-common/tmpfile.c: Likewise.
62271         * stdio-common/vfprintf.c: Likewise.
62272         * stdio-common/vfscanf.c: Likewise.
62273         * stdlib/strfmon_l.c: Likewise.
62274         * sunrpc/openchild.c: Likewise.
62275         * sunrpc/xdr_stdio.c: Likewise.
62276         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62277         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62278
62279 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62280
62281         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62282
62283         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62284         in the third column, to generate for the shared library an IFUNC
62285         that uses _dl_vdso_vsym.
62286         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62287         * Makeconfig (object-suffixes-noshared): New variable.
62288
62289         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62290         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62291         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62292         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62293
62294         [BZ #14132]
62295         * include/sys/time.h (__gettimeofday): Remove macro.
62296         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62297         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62298         Remove INTDEF.
62299         (__gettimeofday): Add libc_hidden_def.
62300         (gettimeofday): Add libc_hidden_weak.
62301         * sysdeps/mach/gettimeofday.c: Likewise.
62302         * sysdeps/posix/gettimeofday.c: Likewise.
62303         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62304         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62305         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62306         (__gettimeofday_internal): Remove strong_alias.
62307         (__gettimeofday): Add libc_hidden_def.
62308         (gettimeofday): Add libc_hidden_weak.
62309         * sysdeps/unix/syscalls.list (gettimeofday):
62310         Remove __gettimeofday_internal alias.
62311
62312 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62313             H.J. Lu  <hongjiu.lu@intel.com>
62314
62315         [BZ #12495]
62316         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62317         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62318         (largebin_index_32_big): New.
62319         (largebin_index): Use it for 16-byte alignment.
62320         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62321         correction with front_misalign.
62322
62323 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62324
62325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62327         Likewise.
62328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62329         Likewise.
62330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62331         Likewise.
62332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62333         Likewise.
62334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62335         Likewise.
62336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62337         Likewise.
62338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62339         Likewise.
62340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62341         Likewise.
62342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62343         Likewise.
62344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62345         Likewise.
62346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62347         Likewise.
62348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62349         Likewise.
62350
62351         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62352         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62353
62354 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62355
62356         [BZ #10846]
62357         [BZ #14036]
62358         * math/libm-test.inc (exp_test): Add test from bug 14036.
62359         (pow_test): Add test from bug 10846.
62360
62361         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62362         and other flags.
62363         (special_function): Do not include flags in test name.
62364         (parse_args): Likewise.
62365         * sysdeps/i386/fpu/libm-test-ulps: Update.
62366         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62367         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62368         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62370
62371         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62372         exceptions.
62373         * math/libm-test.inc ("Philosophy"): Update comment about
62374         exception testing.
62375         (UNDERFLOW_EXCEPTION): New macro.
62376         (UNDERFLOW_EXCEPTION_OK): Likewise.
62377         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62378         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62379         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62380         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62381         (INVALID_EXCEPTION_OK): Update value.
62382         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62383         (OVERFLOW_EXCEPTION_OK): Likewise.
62384         (IGNORE_ZERO_INF_SIGN): Likewise.
62385         (test_exceptions): Handle underflow exceptions.
62386         (acos_test): Update for underflow exception expectations.
62387         (cexp_test): Likewise.
62388         (clog_test): Likewise.
62389         (clog10_test): Likewise.
62390         (csqrt_test): Likewise.
62391         (ctan_test): Likewise.
62392         (ctanh_test): Likewise.
62393         (exp_test): Likewise.
62394         (exp10_test): Likewise.
62395         (exp2_test): Likewise.
62396         (expm1_test): Likewise.
62397         (fma_test): Likewise.
62398         (j0_test): Likewise.
62399         (jn_test): Likewise.
62400         (nexttoward_test): Likewise.
62401         (pow_test): Likewise.
62402         (scalbn_test): Likewise.
62403         (scalbln_test): Likewise.
62404         (tan_test): Likewise.
62405         (y1_test): Likewise.
62406         * sysdeps/i386/fpu/libm-test-ulps: Update.
62407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62408
62409 2012-05-23  David S. Miller  <davem@davemloft.net>
62410
62411         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62412         (__libc_sigaction): Remove unused local variables.
62413
62414 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62415
62416         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62417
62418 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62419
62420         mktime: avoid signed integer overflow
62421         * time/mktime.c (__mktime_internal): Do not mishandle the case
62422         where diff == INT_MIN.
62423
62424         mktime: simplify computation of average
62425         * time/mktime.c (ranged_convert): Use new time_t_avg function
62426         instead of rolling our own (probably-slower) code.
62427
62428         mktime: do not assume signed right shift propagates sign bit
62429         * time/mktime.c (isdst_differ): New static function.
62430         (__mktime_internal): No need to normalize tm_isdst now.
62431         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62432         tm_isdst values.
62433
62434         mktime: merge another wrapv change from gnulib
62435         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62436         from some compilers.
62437
62438         mktime: remove incorrect attempt at unusual arithmetics
62439         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62440         The code didn't really work on such machines anyway.
62441         (TYPE_MINIMUM): Assume two's complement.
62442         (twos_complement_arithmetic): Verify that long_int and time_t
62443         are two's complement (or unsigned, in the latter case).
62444
62445         mktime: check signed shifts on long_int and time_t, too
62446         * time/mktime.c (SHR): Check that shifts work as desired
62447         on the types long_int and time_t too, as SHR is used on
62448         such types.
62449
62450         mktime: do not assume 'long' is wide enough
62451         * time/mktime.c (verify): Move decl up.
62452         (long_int): New type.
62453         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62454         to remove assumption in the code that 'long' is wide enough to
62455         store year values.  This assumption is not true on x32 and on
62456         some non-glibc platforms.
62457
62458         mktime: merge wrapv change from gnulib
62459         * time/mktime.c (WRAPV): New macro.
62460         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62461         (guess_time_tm, __mktime_internal): Do not assume that signed
62462         integer overflow wraps around; modern compilers generate code
62463         where this assumption is no longer valid.
62464
62465 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62466
62467         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62468         Replace "jmp L(pseudo_end)" with "ret".
62469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62470         Likewise.
62471
62472 2012-05-23  Andreas Jaeger  <aj@suse.de>
62473
62474         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62475         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62476
62477 2012-05-23  Andreas Jaeger  <aj@suse.de>
62478             Maximilian Attems  <max@stro.at>
62479
62480         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62481         New macros.
62482
62483 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62484
62485         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62486         code so that pseudo_end is just ret and the stack pointer is
62487         correct also for static library in error case.
62488
62489 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62490
62491         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62492         move to syscalls.list.
62493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62497
62498         * manual/install.texi (Running make install): Do not mention Linux
62499         kernel version for which pt_chown is not needed.
62500         (Linux): Do not mention problems with nscd with 2.0 kernels.
62501         * INSTALL: Regenerated.
62502
62503 2012-05-23  Andreas Jaeger  <aj@suse.de>
62504
62505         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62506         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62507         macro.
62508         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62509         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62510         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62511         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62512         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62518         * sysdeps/unix/sysv/linux/bits/in.h
62519         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62520
62521 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62522
62523         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62524         (PREPARE_VERSION): Just use assert instead, it will be elided
62525         under [NDEBUG] anyway.
62526
62527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62528
62529         * sysdeps/unix/sysv/linux/Makefile: Include
62530         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62531         (sysdep_routines): Remove sysctl.
62532         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62533         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62534         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62535         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62536         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62537
62538 2012-05-22  Andreas Jaeger  <aj@suse.de>
62539
62540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62541         that pseudo_end is just ret and the stack pointer is correct also
62542         for static library in error case.
62543
62544 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62545
62546         [BZ #14122]
62547         * nss/nsswitch.c (defconfig_entries): New variable.
62548         (__nss_database_lookup): Don't leak defconfig entries.
62549         (nss_parse_service_list): Don't leak on error paths.
62550         (free_database_entries): New function.
62551         (free_defconfig): New function.
62552         (free_mem): Move common code to free_database_entries.
62553
62554 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62555
62556         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62557         Add arch_prctl.
62558         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62559
62560         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62561         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62563         New macro.
62564         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62565         (INTERNAL_SYSCALL_TYPES): Likewise.
62566         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62567         (LOAD_REGS_TYPES_[1-6]): Likewise.
62568         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62569         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62570
62571 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62572
62573         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62574         copysignl for GLIBC_2_0.
62575         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62576         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62578         logbl for GLIBC_2_0.
62579         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62580         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62581
62582 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62583
62584         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62585         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62586
62587         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62588         Use "neg %eax".
62589
62590         * time/mktime.c: Update copyright years.
62591
62592 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62593
62594         mktime: merge comment-quoting-style change from gnulib
62595         * time/mktime.c: Quote 'like this' in comments.
62596         The GNU coding standards suggest that we no longer quote `like this',
62597         as "`" and "'" are typically rendered asymmetrically nowadays.
62598         The typical gnulib style is to quote 'like this' when quoting
62599         code, and "like this" when quoting English.
62600
62601         * time/mktime.c (compile-command): Add "-I.".
62602
62603         mktime: merge mktime-internal.h change from gnulib
62604         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62605
62606         mktime: merge time_r change from gnulib
62607         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62608
62609         mktime: merge DEBUG change from gnulib
62610         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62611         case system <time.h> has a #define.
62612
62613         mktime: merge <sys/types.h> change from gnulib
62614         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62615         since <time.t> is now guaranteed to define time_t.
62616
62617         mktime: merge HAVE_CONFIG_H change from gnulib
62618         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62619
62620 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62621
62622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62623         Use "neg %eax".
62624
62625         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62626         __rlim_t cast.
62627         (struct rusage): Use anonymous union to pad each field to
62628         __syscall_slong_t.
62629
62630 2012-05-21  David S. Miller  <davem@davemloft.net>
62631
62632         * Makefules (o-iterator): Remove .s cases.
62633         (compile-command.s): Delete.
62634         (COMPILE.s): Delete.
62635         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62636
62637 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62638
62639         * configure.in (libc_cv_predef_stack_protector): Only consider
62640         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62641         * configure: Regenerated.
62642
62643 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62644
62645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62646         New macro.  Use R*LP on int and pointer.
62647         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62648         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62649         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62650         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62651
62652         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62653         [__WORDSIZE_TIME64_COMPAT32] instead of
62654         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62655         (struct utmp): Likewise.
62656         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62657         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62658         Renamed to ...
62659         (__WORDSIZE_TIME64_COMPAT32): This.
62660         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62661         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62662         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62663         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62664         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62665         (__WORDSIZE_TIME64_COMPAT32): New macro.
62666
62667 2012-05-21  Andreas Jaeger  <aj@suse.de>
62668
62669         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62670         only if [SHARED]. Add prototype for __wcschr_ia32.
62671
62672 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62673
62674         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62675         of %rbp unmolested in the jmp_buf while mangling the low bits.
62676         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62677         unmolested high bits of %rbp while demangling the low bits.
62678         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62679
62680 2012-05-21  Andreas Jaeger  <aj@suse.de>
62681
62682         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62683         * sunrpc/svc_simple.c: Use it for registerrpc.
62684         * sunrpc/xcrypt.c: Use it for passwd2des.
62685
62686         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62687
62688 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62689
62690         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62691         Don't define if [__SYSCALL_WORDSIZE != 32].
62692         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62693         New macro.
62694
62695 2012-05-21  Bruno Haible  <bruno@clisp.org>
62696             Andreas Jaeger  <aj@suse.de>
62697
62698         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62699         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62700         inptr and inend for must_buffer_ch.
62701         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62702         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62703         * stdio-common/Makefile (tests): Remove bug15.
62704         (bug15-ENV): Remove macro.
62705         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62706         anymore.
62707
62708 2012-05-19  Andreas Jaeger  <aj@suse.de>
62709             Roland McGrath  <roland@hack.frob.com>
62710
62711         * manual/contrib.texi: Completely rewritten. It contains now an
62712         alphabetical list of contributors and their contributions.
62713
62714 2012-05-21  Richard Henderson  <rth@twiddle.net>
62715
62716         * misc/getauxval.c (__getauxval): Use unsigned long int.
62717         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62718         (getauxval): Use unsigned long int.
62719
62720 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62721
62722         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62723
62724 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62725
62726         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62727         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62728         __alignof__ (long double).
62729
62730 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62731
62732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62733
62734 2012-05-20  Richard Henderson  <rth@twiddle.net>
62735
62736         * misc/getauxval.c: New file.
62737         * misc/sys/auxv.h: New file.
62738         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62739         (routines): Add getauxval.
62740         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62741         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62742         * elf/dl-sysdep.c (_dl_auxv): Remove.
62743         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62744         * elf/dl-support.c (_dl_auxv): New variable.
62745         (_dl_aux_init): Initialize it.
62746         * manual/startup.texi (Auxiliary Vector): New node.
62747         * sysdeps/generic/bits/hwcap.h: New file.
62748         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62749         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62750         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62751         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62752         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62755         Update.
62756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62759         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62764
62765 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62766
62767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62768
62769 2012-05-19  David S. Miller  <davem@davemloft.net>
62770
62771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62772
62773 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62774
62775         [BZ #14123]
62776         * math/s_ccosh.c: Include <float.h>
62777         (__ccosh): Avoid internal overflow calculating sinh and cosh
62778         values before multiplying by sin and cos values.
62779         * math/s_ccoshf.c: Likewise.
62780         * math/s_ccoshl.c: Likewise.
62781         * math/s_csin.c: Likewise.
62782         * math/s_csinf.c: Likewise.
62783         * math/s_csinl.c: Likewise.
62784         * math/s_csinh.c: Likewise.
62785         * math/s_csinhf.c: Likewise.
62786         * math/s_csinhl.c: Likewise.
62787         * math/libm-test.inc (ccos_test): Add more tests.
62788         (ccosh_test): Likewise.
62789         (csin_test): Likewise.
62790         (csinh_test): Likewise.
62791         * sysdeps/i386/fpu/libm-test-ulps: Update.
62792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62793
62794 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62795
62796         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62797         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62798
62799         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62800
62801 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62802
62803         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62804         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62805         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62806         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62807         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62808         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62809         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62810         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62811         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62812         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62813         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62814         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62815         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62816         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62817         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62818         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62819         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62820         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62821         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62822         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62823         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62824         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62825         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62826         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62827         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62828         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62829         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62830         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62831         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62832         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62833         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62834
62835 2012-05-18  Andreas Jaeger  <aj@suse.de>
62836
62837         * csu/.gitignore: Delete.
62838
62839 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62840
62841         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62842         (timex): Use __syscall_slong_t.
62843
62844 2012-05-18  Andreas Jaeger  <aj@suse.de>
62845             Carlos O'Donell  <carlos_odonell@mentor.com>
62846
62847         * manual/install.texi (Configuring and compiling): Update
62848         description about files modified in the source directory.
62849         * INSTALL: Regenerated.
62850
62851 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62852
62853         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62854         value.  Use "or" to set return value to -1.
62855         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62856         negate return value.
62857
62858 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62859
62860         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62861         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62862         failure if the compiler has Graphite support disabled.
62863         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62864         Likewise.
62865         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62866         (CFLAGS-memmove.c): Likewise.
62867         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62868         Likewise.
62869
62870 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62871
62872         * sysdeps/x86_64/x32/_itoa.h: New file.
62873
62874         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62875         getdents system call only if kernel and user dirents have the
62876         same d_ino and d_off.
62877
62878         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62879         LLONG_MAX != LONG_MAX.
62880         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62881         (_fitoa_word): Likewise.
62882
62883         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62884         years.
62885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62886         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62887         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62888
62889         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62890         include <bits/wordsize.h>.  Check __x86_64__ instead of
62891         __WORDSIZE.
62892         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62893         if __x86_64__ is defined.  Use anonymous union on fpstate.
62894
62895         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62896         anonymous union.
62897
62898 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62899
62900         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62901         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62903         Refer to _rtld_local_ro instead of _rtld_global_ro.
62904         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62905         Likewise.
62906         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62907         Likewise.
62908         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62909         Likewise.
62910         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62911         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62912         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62913
62914         [BZ #10882]
62915         * sysdeps/powerpc/powerpc32/dl-machine.c
62916         (__elf_machine_runtime_setup) [PROF]: Don't reference
62917         _dl_prof_resolve.
62918
62919 2012-05-18  Andreas Jaeger  <aj@suse.de>
62920
62921         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62922         function only available for GCCs before 3.4 since GCC 3.4
62923         introduced a builtin.
62924         (lrint): Likewise.
62925         (llrintf): Likewise.
62926         (llrint): Likewise.
62927         (fmaxf): Likewise.
62928         (fmax): Likewise.
62929         (fminf): Likewise.
62930         (fmin): Likewise.
62931         (rint): Likewise.
62932         (rintf): Likewise.
62933         (nearbyint): Likewise.
62934         (nearbyintf): Likewise.
62935         (ceil): Likewise.
62936         (ceilf): Likewise.
62937         (floor): Likewise.
62938         (floorf): Likewise.
62939
62940 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62941
62942         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62943         on both fields and cast pointer to __syscall_ulong_t.
62944
62945         * bits/types.h (__fsword_t): New type.
62946         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62947         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62949         (__FSWORD_T_TYPE): Likewise.
62950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62951         (__FSWORD_T_TYPE): Likewise.
62952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62953         (__FSWORD_T_TYPE): Likewise.
62954         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62955         (__FSWORD_T_TYPE): Likewise.
62956         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62957         __SWORD_TYPE with __fsword_t.
62958         (statfs64): Likewise.
62959
62960 2012-05-17  David S. Miller  <davem@davemloft.net>
62961
62962         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62963
62964 2012-05-17  Andreas Jaeger  <aj@suse.de>
62965
62966         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62967         warning.
62968
62969 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62970
62971         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62972
62973 2012-05-17  Andreas Jaeger  <aj@suse.de>
62974
62975         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62976         when it is used.
62977
62978 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62979
62980         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62981
62982 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62983
62984         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62985         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62986
62987 2012-05-17  Andreas Jaeger  <aj@suse.de>
62988             Carlos O'Donell  <carlos_odonell@mentor.com>
62989
62990         [BZ #14059]
62991         * sysdeps/x86_64/multiarch/init-arch.h
62992         (bit_YMM_Usable): Rename to...
62993         (bit_AVX_Usable): ... this.
62994         (bit_FMA4_Usable): New macro.
62995         (bit_XMM_state): New macro.
62996         (bit_YMM_state): New macro.
62997         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62998         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62999         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63000         (CPUID_OSXSAVE): New macro.
63001         (CPUID_AVX): New macro.
63002         (CPUID_FMA4): New macro.
63003         (index_YMM_Usable): Rename to...
63004         (index_AVX_Usable): ... this.
63005         (HAS_AVX): Use HAS_ARCH_FEATURE.
63006         (HAS_FMA4): Likewise.
63007         (HAS_YMM_USABLE): Remove.
63008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63009         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63010         are present.
63011         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63012         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63013         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63014         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63015         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63016
63017 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63018
63019         * math/libm-test.c: Support platforms without multiple rounding modes.
63020         * math/bug-nextafter.c: Support platforms without FP exceptions.
63021         * math/bug-nexttoward.c: Likewise.
63022         * math/test-fenv.c: Likewise.
63023         * math/test-misc.c: Likewise.
63024         * stdlib/bug-getcontext.c: Likewise.
63025
63026 2012-05-17  Andreas Jaeger  <aj@suse.de>
63027
63028         * manual/examples/search.c (critter_cmp): Change signature to
63029         avoid warnings.
63030         * manual/string.texi (Collation Functions): Likewise.
63031
63032 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63033
63034         * bits/types.h: Fold copyright years.
63035         * bits/typesizes.h: Likewise.
63036         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63038         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63040         * time/time.h: Likewise.
63041
63042 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63043
63044         [BZ #208]
63045         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63046         in instead of returning them.  Return void.
63047         (__libc_mallinfo): Accumulate over all arenas.
63048         (__malloc_stats): Adjust for change in int_mallinfo interface.
63049
63050 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63051
63052         [BZ #10375]
63053         * configure.in (NM): Add AC_CHECK_TOOL for it.
63054         (libc_extra_cflags): New substituted variable.
63055         Check for -fstack-protector being used implicitly.
63056         * configure: Regenerated.
63057         * config.make.in (config-extra-cflags): New variable,
63058         gets @libc_extra_cflags@.
63059         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63060
63061         [BZ #10375]
63062         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63063         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63064         * configure: Regenerated.
63065         * config.make.in (CPPUNDEFS): New substituted variable.
63066         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63067         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63068         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63069
63070 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63071
63072         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63073         (mq_attr): Use __syscall_slong_t.
63074
63075 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63076
63077         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63078         Check __x86_64__ instead of __WORDSIZE.
63079         (_STAT_VER_LINUX): Likewise.
63080         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63081         __syscall_ulong_t and __syscall_slong_t.
63082         (stat64): Likewise.
63083
63084 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63085
63086         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63087
63088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63089
63090         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63091
63092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63093
63094         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63095         __syscall_ulong_t.
63096
63097         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63098         include <bits/wordsize.h>.  Check __x86_64__ instead of
63099         __WORDSIZE.
63100         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63101         defined.
63102         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63103
63104         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63105         include <bits/wordsize.h>.  Check __x86_64__ instead of
63106         __WORDSIZE.
63107         (user_regs_struct): Use "__extension__ unsigned long long"
63108         instead of "unsigned long" if __x86_64__ is defined.
63109         (user): Likewise.  Pad after pointer field if __ILP32__ is
63110         defined.
63111
63112 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63113
63114         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63115         versions 5 to 9.
63116         * configure: Regenerated.
63117         * manual/install.texi (texinfo): Increase version requirement to
63118         4.5 or later.
63119         * INSTALL: Regenerated.
63120
63121         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63122
63123 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63124
63125         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63126
63127         * sysdeps/x86_64/x32/ffs.c: New file.
63128
63129         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63130         __syscall_ulong_t.
63131         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63132         defined.  Use __syscall_ulong_t.
63133         (shminfo): Use __syscall_ulong_t.
63134         (shm_info): Likewise.
63135
63136         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63137         __syscall_ulong_t.
63138
63139         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63140         <bits/wordsize.h>.
63141         (msgqnum_t): Use __syscall_ulong_t.
63142         (msglen_t): Likewise.
63143         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63144         __syscall_ulong_t.
63145
63146         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63147         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63148
63149         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63150
63151         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63152         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63153
63154         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63155         __syscall_slong_t.
63156
63157         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63158         include <bits/wordsize.h>.  Check __x86_64__ instead of
63159         __WORDSIZE.
63160
63161         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63162         "unsigned long long int" if __x86_64__ is defined.
63163         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63164
63165         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63166         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63167         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63168
63169         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63170         <stdint.h>.
63171         (GET_PC): Cast to uintptr_t first.
63172         (GET_FRAME): Likewise.
63173         (GET_STACK): Likewise.
63174
63175         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63176         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63177         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63178         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63179         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63180         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63181         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63182         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63183         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63186         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63188         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63190         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63192         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63193         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63194         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63195         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63196         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63197         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63198         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63199         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63200         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63201         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63202         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63203         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63204
63205 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63206
63207         * Makerules (+depfiles): Also collect depfiles from .oS in
63208         $(extra-objs).
63209         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63210         .oS, $(libnldbl-routines)).
63211
63212         * Makerules (native-compile-mkdep-flags): Define.
63213         * sunrpc/Makefile (extra-objs): Add $(addprefix
63214         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63215         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63216         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63217         calling $(make-target-directory).
63218
63219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63220
63221         * bits/types.h (__snseconds_t): Removed.
63222         * time/time.h (struct timespec): Replace __snseconds_t with
63223         __syscall_slong_t.
63224         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63225         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63226         Likewise.
63227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63228         (__SNSECONDS_T_TYPE): Likewise.
63229         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63230         (__SNSECONDS_T_TYPE): Likewise.
63231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63232         (__SNSECONDS_T_TYPE): Likewise.
63233
63234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63235
63236         * sysdeps/mach/hurd/bits/typesizes.h
63237         (__SYSCALL_SLONG_TYPE): New macro.
63238         (__SYSCALL_ULONG_TYPE): Likewise.
63239
63240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63241
63242         * bits/types.h (__syscall_slong_t): New type.
63243         (__syscall_ulong_t): Likewise.
63244
63245         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63246         (__SYSCALL_ULONG_TYPE): Likewise.
63247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63248         (__SYSCALL_SLONG_TYPE): Likewise.
63249         (__SYSCALL_ULONG_TYPE): Likewise.
63250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63251         (__SYSCALL_SLONG_TYPE): Likewise.
63252         (__SYSCALL_ULONG_TYPE): Likewise.
63253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63254         (__SYSCALL_SLONG_TYPE): Likewise.
63255         (__SYSCALL_ULONG_TYPE): Likewise.
63256
63257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63258
63259         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63260         Add sigaltstack-offsets.sym.
63261         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63262         <sigaltstack-offsets.h>.
63263         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63264         longjmp_msg pointer.
63265         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63266         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63267         signal stack.
63268         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63269
63270 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63271
63272         * elf/stackguard-macros.h: Remove file.
63273         * sysdeps/generic/stackguard-macros.h: New file.
63274         * sysdeps/i386/stackguard-macros.h: Likewise.
63275         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63276         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63277         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63278         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63279         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63280         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63281         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63282         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63283         <elf/stackguard-macros.h>.
63284
63285         [BZ #14109]
63286         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63287         __aligned__ in attribute.
63288         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63289         (gregset_t): Likewise.
63290
63291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63292
63293         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63294         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63295         * sysdeps/x86_64/x32/Implies-after: New file.
63296
63297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63298
63299         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63300         and access return value for _dl_profile_fixup.  Use R10_LP to
63301         load frame size.
63302
63303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63304
63305         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63306
63307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63308
63309         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63310         * sysdeps/x86_64/x32/sysdep.h: New file.
63311
63312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63313
63314         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63315         * sysdeps/x86_64/setjmp.S: Likewise.
63316
63317 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63318
63319         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63320         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63321         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63322         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63323         remove unused global constant.
63324
63325 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63326
63327         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63328         include of <not-cancel.h>.
63329
63330 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63331
63332         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63333
63334 2012-05-15  Jeff Law  <law@redhat.com>
63335             Andreas Jaeger  <aj@suse.de>
63336
63337         [BZ #13594]
63338         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63339         out from...
63340         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63341         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63342         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63343         code changing __hst_map_handle.map.
63344
63345 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63346
63347         * configure.in (sysnames): Look for Implies-before and Implies-after
63348         files.
63349         * configure: Regenerated.
63350
63351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63352
63353         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63354         8-byte data alignment with LP_SIZE alignment.
63355
63356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63357
63358         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63359         into R10_LP.
63360
63361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63362
63363         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63364
63365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63366
63367         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63368         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63369         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63370         Likewise.
63371         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63372
63373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63374
63375         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63376         (stackinfo_sub_sp): Likewise.
63377
63378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63379
63380         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63381         RAX_LP.
63382
63383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63384
63385         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63386         into R*_LP.
63387
63388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63389
63390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63391         sizes into R*_LP.
63392
63393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63394
63395         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63396
63397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63398
63399         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63400         into R11_LP and load __x86_64_shared_cache_size_half into
63401         R8_LP.
63402
63403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63404
63405         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63406         R8_LP.
63407
63408 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63409
63410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63411         logb for POWER7.
63412         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63413         logbf for POWER7.
63414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63415         logbl for POWER7.
63416         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63417         powerpc32/power7/fpu/s_logb.c via #include.
63418         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63419         powerpc32/power7/fpu/s_logbf.c via #include.
63420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63421         powerpc32/power7/fpu/s_logbl.c via #include.
63422
63423 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63424
63425         * README.libm: Remove file.
63426
63427 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63428
63429         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63430         count for x32.  Use R*_LP and omit operand-size suffix.
63431
63432 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63433
63434         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63435         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63436         * sysdeps/x86_64/x32/shlib-versions: New file.
63437
63438 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63439
63440         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63441         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63442         Use _dl_fatal_printf instead.
63443
63444 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63445
63446         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63447         set if not set by the user.  Do not allow for being unset.
63448         * sysdeps/unix/sysv/linux/configure: Regenerated.
63449
63450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63451
63452         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63453         the `q' suffix from lea and replace .quad with ASM_ADDR.
63454
63455 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63456
63457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63458         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63459         instead of $17.
63460         (PTR_DEMANGLE): Likewise.
63461
63462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63463
63464         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63465         (LP_OP): Likewise.
63466         (ASM_ADDR): Likewise.
63467         (RAX_LP): Likewise.
63468         (RBP_LP): Likewise.
63469         (RBX_LP): Likewise.
63470         (RCX_LP): Likewise.
63471         (RDI_LP): Likewise.
63472         (RSI_LP): Likewise.
63473         (RSP_LP): Likewise.
63474         (R8_LP): Likewise.
63475         (R9_LP): Likewise.
63476         (R10_LP): Likewise.
63477         (R10_LP): Likewise.
63478         (R11_LP): Likewise.
63479         (R12_LP): Likewise.
63480         (R13_LP): Likewise.
63481         (R14_LP): Likewise.
63482         (R15_LP): Likewise.
63483
63484 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63485
63486         * sysdeps/x86_64/x32/dl-machine.h: New file.
63487
63488 2012-05-14  Andreas Jaeger  <aj@suse.de>
63489
63490         * manual/Makefile (subdir): Remove export of subdir.
63491         (all): Remove target.
63492         (.PHONY): Remove all from list.
63493         (mkinstalldirs): Remove.
63494         (.PHONY): Remove installdirs from list.
63495         ($(inst_infodir)/libc.info): Use make-target-directory.
63496         (installdirs): Remove.
63497         (subdir_%): Remove.
63498         (glibc-targets): Remove.
63499         (lib): Remove.
63500         (stubs): Remove.
63501         ($(objpfx)stubs ../po/manual.pot): Remove.
63502         ($(objpfx)stamp%): Remove.
63503         (make-target-directory): Remove.
63504         (subdir_install): Remove.
63505         (routines): Remove.
63506         (aux): Remove.
63507         (sources): Remove.
63508         (objects): Remove.
63509         (headers): Remove.
63510
63511         [BZ #13750]
63512         * manual/.gitignore: Remove, it's not needed anymore.
63513         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63514         all files in it.
63515         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63516         directory.
63517         (texis): Renamed to $(objpfx)texis.
63518         (texis-path): New, contains path to generated files.
63519         (chapters.%): Use texis-path for complete path, add extra argument
63520         libc-texinfo.sh.
63521         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63522         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63523         (summary,texi, stamp-summary): Use complete path of
63524         files. Generate files in build dir.
63525         (dir-add.texi): Build in build dir.
63526         (libm-err.texi,stamp-libm-err): Likewise.
63527         (version.texi, stamp-version): Likewise.
63528         (.%c.texi): Likewise.
63529         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63530         (mostlyclean): Remove target.
63531         (realclean): Remove target.
63532         (generated): Add new variable with contents from mostlyclean and
63533         realclean, remove entries duplicated in common-mostlyclean, add
63534         stamp-libm-err and stamp-version.
63535         (generated-dirs): Add libc directory.
63536         ($(inst_infodir)/libc.info): Install files from build dir.
63537
63538         * manual/install.texi (Configuring and compiling): Adjust since
63539         the info files are not part of the tar ball anymore.
63540
63541 2012-05-14  Andreas Jaeger  <aj@suse.de>
63542
63543         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63544         variable.
63545
63546 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63547
63548         [BZ #13717]
63549         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63550         to 2.2.0 where earlier.
63551         * sysdeps/unix/sysv/linux/configure: Regenerated.
63552         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63553         Remove conditional code.
63554         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63555         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63556         Remove conditional code.
63557         [!__NR_lchown]: Likewise.
63558         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63559         [__NR_lchown]: Likewise.
63560         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63561         comment referencing __ASSUME_LCHOWN_SYSCALL.
63562         * sysdeps/unix/sysv/linux/i386/sigaction.c
63563         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63564         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63565         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63566         Remove conditional code.
63567         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63568         (__protocol_available): Remove #if 0 code.
63569         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63570         conditional code.
63571         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63572         * sysdeps/unix/sysv/linux/kernel-features.h
63573         (__ASSUME_GETCWD_SYSCALL): Don't define.
63574         (__ASSUME_REALTIME_SIGNALS): Likewise.
63575         (__ASSUME_PREAD_SYSCALL): Likewise.
63576         (__ASSUME_PWRITE_SYSCALL): Likewise.
63577         (__ASSUME_POLL_SYSCALL): Likewise.
63578         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63579         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63580         non-SPARC.
63581         (__ASSUME_SIOCGIFNAME): Don't define.
63582         (__ASSUME_MSG_NOSIGNAL): Likewise.
63583         (__ASSUME_SENDFILE): Define unconditionally.
63584         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63585         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63586         conditional code.
63587         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63588         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63589         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63590         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63591         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63592         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63593         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63595         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63596         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63598         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63599         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63601         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63602         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63604         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63605         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63607         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63610         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63613         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63616         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63617         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63618         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63619         Remove conditional code.
63620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63621         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63622         Remove conditional code.
63623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63624         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63625         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63626         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63627         Remove conditional code.
63628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63629         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63630         Remove conditional code.
63631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63632         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63633         Remove conditional code.
63634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63635         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63636         Remove conditional code.
63637         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63638         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63639         Remove conditional code.
63640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63641         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63642         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63643         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63644         * sysdeps/unix/sysv/linux/sigaction.c
63645         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63646         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63647         * sysdeps/unix/sysv/linux/sigpending.c
63648         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63649         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63650         * sysdeps/unix/sysv/linux/sigprocmask.c
63651         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63652         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63653         * sysdeps/unix/sysv/linux/sigsuspend.c
63654         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63655         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63656         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63657         (__libc_missing_rt_sigs): Remove.
63658         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63659         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63660         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63661         Remove conditional code.
63662         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63663         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63664         return 1.
63665         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63666         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63667         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63668         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63669
63670 2012-05-14  Andreas Jaeger  <aj@suse.de>
63671
63672         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63673         it's not used in glibc.
63674         (__coshm1): Likewise.
63675         (__acosh1p): Likewise.
63676         (__sgn): Likewise.
63677
63678         * manual/string.texi (Copying and Concatenation): Add missing
63679         variable in concat example.
63680         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63681
63682 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63683
63684         [BZ #14103]
63685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63686         __builtin_clzl with __builtin_clzll.
63687
63688 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63689
63690         [BZ #14104]
63691         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63692         libc_freeres_ptr.
63693
63694 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63695
63696         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63697         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63698         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63699         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63700
63701 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63702
63703         * NEWS: Update ia64 info.
63704
63705 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63706
63707         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63708         used as bcopy.
63709
63710 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63711
63712         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63713         * sysdeps/unix/syscalls.list (dup3): Likewise.
63714         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63715         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63716
63717 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63718
63719         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63720         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63721
63722 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63723
63724         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63725         thread pointer.
63726         (TLS_IE): Use mov/add instead of movq/addq to load thread
63727         pointer.
63728         (TLS_GD_PREFIX): New.
63729         (TLS_GD): Use it.
63730
63731 2012-05-11  David S. Miller  <davem@davemloft.net>
63732
63733         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63734         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63735         (_FPU_SETCW): Likewise.
63736
63737 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63738
63739         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63740         is 32-byte aligned.
63741
63742 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63743
63744         [BZ #11837]
63745         * iconvdata/gb18030.c: Update tables.
63746         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63747         characters specially.
63748         (BODY for TO_LOOP): Add encoding of missing ranges.
63749
63750 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63751
63752         [BZ #13673]
63753         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63754         * sysdeps/mach/hurd/dup3.c: Likewise.
63755         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63756         * sysdeps/powerpc/memmove.c:: Likewise.
63757
63758 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63759
63760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63761         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63762
63763 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63764
63765         * elf/elf.h (R_X86_64_RELATIVE64): New.
63766         (R_X86_64_NUM): Updated.
63767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63768         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63769         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63770         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63771         tst-quad1pie tst-quad2pie
63772         (modules-names): Add tst-quadmod1 tst-quadmod2.
63773         ($(objpfx)tst-quad1): New dependency.
63774         ($(objpfx)tst-quad2): Likewise.
63775         ($(objpfx)tst-quad1pie): Likewise.
63776         ($(objpfx)tst-quad2pie): Likewise.
63777         * sysdeps/x86_64/tst-quad1.c: New file.
63778         * sysdeps/x86_64/tst-quad1pie.c: New file.
63779         * sysdeps/x86_64/tst-quad2.c: Likewise.
63780         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63781         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63782         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63783         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63784         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63785
63786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63787
63788         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63789         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63790         * streams/stropts.h (t_scalar_t): Define type.
63791
63792         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63793         (_PATH_PRESERVE): Set to "/var/lib".
63794         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63795
63796         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63797         instead of int.
63798
63799         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63800         if __dir_mkfile succeeded.
63801
63802         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63803         checking for _hurd_dtablesize.  Unlock it right after having
63804         finished _hurd_dtable allocation.
63805
63806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63807
63808         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63809         * sysdeps/mach/hurd/configure: Regenerated.
63810         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63811         special-casing to...
63812         * sysdeps/gnu/configure.in: ... this new file.
63813         * sysdeps/unix/sysv/linux/configure: Regenerated.
63814         * sysdeps/gnu/configure: New generated file.
63815
63816         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63817         for Linux: use nsec instead of usec, as well as:
63818         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63819         members of type struct timespec.
63820         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63821         New macros.
63822         (struct stat64): Likewise.
63823         (_STATBUF_ST_NSEC): New macro.
63824         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63825
63826         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63827         __strtoul_internal rather than strtoul.
63828
63829 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63830
63831         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63832         and reject them.
63833
63834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63835
63836         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63837         which preserves existing values.
63838         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63839
63840 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63841
63842         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63843         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63844         greater than FD_SETSIZE.
63845
63846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63847
63848         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63849         allocated, call __vm_protect to finish enabling the existing space, and
63850         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63851         allocate the remainder.
63852
63853 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63854
63855         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63856         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63857
63858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63859
63860         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63861         sysdeps/mach/hurd/readlink.c.
63862
63863         * posix/tst-sysconf.c (posix_options): Only use
63864         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63865         _POSIX_SYNCHRONIZED_IO when they are defined
63866         * sysdeps/mach/hurd/bits/posix_opt.h:
63867         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63868         (_XOPEN_REALTIME): Undefine macro.
63869         (_XOPEN_REALTIME_THREADS): Undefine macro.
63870         (_XOPEN_SHM): Undefine macro.
63871         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63872         macro to -1.
63873         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63874         macro to -1.
63875         (_POSIX_ASYNC_IO): Undefine macro.
63876         (_POSIX_PRIORITIZED_IO): Undefine macro.
63877         (_POSIX_SPIN_LOCKS): Define macro to -1.
63878
63879         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63880         SA_NODEFER, SA_RESETHAND.
63881         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63882         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63883         F_DUPFD_CLOEXEC.
63884
63885 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63886
63887         * elf/Makefile (pldd-modules): Define unconditionally.
63888
63889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63890
63891         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63892
63893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63894
63895         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63896         Return ENOENT when name is empty.
63897         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63898
63899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63900
63901         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63902
63903         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63904
63905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63906
63907         Fix mlock in all cases except non-readable pages.
63908         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63909         instead of VM_PROT_ALL as parameter to __vm_wire function.
63910
63911         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63912         (__mkdir): When path is `/', just fail with EEXIST.
63913         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63914
63915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63916
63917         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63918         <sys/uio.h> (for writev).
63919         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63920         and <sys/param.h> (for MIN).
63921
63922 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63923
63924         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63925         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63926         if interrupted.
63927
63928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63929
63930         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63931         Depend on against $(link-rpcuserlibs).
63932
63933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63934
63935         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63936         (__libc_stack_end): Do not use attribute_relro.
63937         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63938         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63939         to libthread-provided value.
63940         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63941         attribute_relro.
63942
63943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63944
63945         [BZ #3748]
63946         * bits/libc-lock.h (__libc_once_get): New macro.
63947         * sysdeps/mach/bits/libc-lock.h: Likewise.
63948         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63949         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63950         instead of using implementation details.
63951
63952         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63953         * libio/freopen.c: Likewise.
63954         * libio/freopen64.c: Likewise.
63955         * misc/syslog.c: Likewise.
63956         * nscd/connections.c: Likewise.
63957         * nscd/netgroupcache.c: Likewise.
63958         * sysdeps/posix/getcwd.c: Likewise.
63959
63960 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63961
63962         * math/w_ilogbf.c: Add #include <limits.h>.
63963
63964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63965
63966         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63967         path instead of returning without unlocking.
63968
63969         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63970         immediate-write ioctls.
63971         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63972
63973 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63974
63975         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63976         __builtin_frame_address instead of making assumptions about the
63977         location of the return address relative to DATA.  Force early load of
63978         the return address.
63979         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63980         __builtin_frame_address.
63981
63982         dup3 for GNU Hurd.
63983         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63984         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63985         implement dup3 and do some further code clean-ups.
63986         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63987         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63988
63989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63990
63991         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63992
63993         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63994         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63995         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63996         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63997         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63998         d->port.lock.
63999
64000         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64001         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64002         when handler == SIG_ERR, not when handler != SIG_ERR.
64003
64004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64005
64006         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64007         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64008         definitions.
64009
64010         accept4 for GNU Hurd.
64011         * include/sys/socket.h (__libc_accept4): New prototype.
64012         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64013         to implement __libc_accept4.
64014         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64015         __libc_accept4.
64016         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64017
64018         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64019         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64020         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64021         signal-defines.sym.
64022
64023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64024
64025         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64026
64027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64028
64029         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64030         assertion on O_CLOEXEC flag.
64031         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64032         * hurd/intern-fd.c: Likewise.
64033         * hurd/port2fd.c: Likewise.
64034
64035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64036
64037         [BZ #3906]
64038         * bits/in.h (IPV6_PKTINFO): Define new macro.
64039         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64040
64041 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64042
64043         [BZ #13954]
64044         [BZ #13955]
64045         [BZ #13956]
64046         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64047         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64048         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64049         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64050         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64051         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64052         * math/libm-test.inc (logb_test) : Additional logb tests.
64053
64054 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64055             Andreas Jaeger  <aj@suse.de>
64056
64057         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64058         * configure: Regenerated.
64059         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64060         * config.make.in (link-obsolete-rpc): New substituted variable.
64061         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64062         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64063         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64064         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64065         so that libc.a contains the symbols.
64066         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64067         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64068         * sunrpc/auth_none.c: Likewise.
64069         * sunrpc/auth_unix.c: Likewise.
64070         * sunrpc/authdes_prot.c: Likewise.
64071         * sunrpc/authuxprot.c: Likewise.
64072         * sunrpc/clnt_gen.c: Likewise.
64073         * sunrpc/clnt_perr.c: Likewise.
64074         * sunrpc/clnt_raw.c: Likewise.
64075         * sunrpc/clnt_simp.c: Likewise.
64076         * sunrpc/clnt_tcp.c: Likewise.
64077         * sunrpc/clnt_udp.c: Likewise.
64078         * sunrpc/clnt_unix.c: Likewise.
64079         * sunrpc/des_crypt.c: Likewise.
64080         * sunrpc/des_soft.c: Likewise.
64081         * sunrpc/get_myaddr.c: Likewise.
64082         * sunrpc/key_call.c: Likewise.
64083         * sunrpc/key_prot.c: Likewise.
64084         * sunrpc/netname.c: Likewise.
64085         * sunrpc/pm_getmaps.c: Likewise.
64086         * sunrpc/pm_getport.c: Likewise.
64087         * sunrpc/pmap_clnt.c: Likewise.
64088         * sunrpc/pmap_prot.c: Likewise.
64089         * sunrpc/pmap_prot2.c: Likewise.
64090         * sunrpc/pmap_rmt.c: Likewise.
64091         * sunrpc/publickey.c: Likewise.
64092         * sunrpc/rpc_cmsg.c: Likewise.
64093         * sunrpc/rpc_common.c: Likewise.
64094         * sunrpc/rpc_dtable.c: Likewise.
64095         * sunrpc/rpc_prot.c: Likewise.
64096         * sunrpc/rpc_thread.c: Likewise.
64097         * sunrpc/rtime.c: Likewise.
64098         * sunrpc/svc.c: Likewise.
64099         * sunrpc/svc_auth.c: Likewise.
64100         * sunrpc/svc_raw.c: Likewise.
64101         * sunrpc/svc_run.c: Likewise.
64102         * sunrpc/svc_tcp.c: Likewise.
64103         * sunrpc/svc_udp.c: Likewise.
64104         * sunrpc/svc_unix.c: Likewise.
64105         * sunrpc/svcauth_des.c: Likewise.
64106         * sunrpc/xcrypt.c: Likewise.
64107         * sunrpc/xdr.c: Likewise.
64108         * sunrpc/xdr_array.c: Likewise.
64109         * sunrpc/xdr_float.c: Likewise.
64110         * sunrpc/xdr_intXX_t.c: Likewise.
64111         * sunrpc/xdr_mem.c: Likewise.
64112         * sunrpc/xdr_rec.c: Likewise.
64113         * sunrpc/xdr_ref.c: Likewise.
64114         * sunrpc/xdr_sizeof.c: Likewise.
64115         * sunrpc/xdr_stdio.c: Likewise.
64116
64117 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64118
64119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64120         change.  Update copyright years.
64121
64122 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64123
64124         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64125
64126 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64127             Joseph Myers  <joseph@codesourcery.com>
64128             Paul Pluzhnikov  <ppluzhnikov@google.com>
64129
64130         [BZ #14012]
64131         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64132         requiring rpcgen.
64133         [cross-compiling] (extra-libs): Likewise.
64134         [cross-compiling] (extra-libs-others): Likewise.
64135         [cross-compiling] (librpcsvc-routines): Likewise.
64136         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64137         [cross-compiling] (omit-deps): Likewise.
64138         (sunrpc-CPPFLAGS): New variable.
64139         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64140         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64141         (cross-rpcgen-objs): New variable.
64142         (extra-objs): Append $(cross-rpcgen-objs).
64143         ($(cross-rpcgen-objs)): New rule.
64144         ($(objpfx)cross-rpcgen): Likewise.
64145         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64146         comment.
64147         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64148         ($(objpfx)x%.stmp): Likewise.
64149         * sunrpc/proto.h [IS_IN_build] (_): Define.
64150         [IS_IN_build] (_libc_intl_domainname): Likewise.
64151
64152 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64153
64154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64155         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64156         and R_X86_64_TPOFF64.
64157
64158 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64159
64160         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64161         sysdeps/unix/sysv/syscalls.list.
64162         (stime): Likewise.
64163         (utime): Likewise.
64164         * sysdeps/unix/sysv/syscalls.list: Remove file.
64165
64166 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64167
64168         [BZ #3440]
64169         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64170         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64171         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64172         (__LC_IDENTIFICATION): Make these macros useful in #if
64173         expressions, as required by C99.
64174
64175 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64176
64177         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64178         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64179         after this.
64180
64181 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64182
64183         * stdlib/longlong.h: Updated from GCC.
64184
64185 2012-05-09  Andreas Jaeger  <aj@suse.de>
64186
64187         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64188         default is first entry.
64189         (run_mode): Set type.
64190         (main): Remove informal message about syslog.
64191         (options): Fix typo.
64192
64193         [BZ #14053]
64194         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64195         to asm.
64196         (lrint): Likewise.
64197         (llrintf): Likewise.
64198         (llrint): Likewise.
64199         (rint): Likewise.
64200         (rintf): Likewise.
64201         (nearbyint): Likewise.
64202         (nearbyintf): Likewise.
64203
64204 2012-05-09  Andreas Jaeger  <aj@suse.de>
64205             Pedro Alves  <palves@redhat.com>
64206
64207         * nscd/nscd.c (run_mode): Use enum.
64208         (main): Cleanup coding style issue.
64209
64210 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64211             Andreas Jaeger  <aj@suse.de>
64212
64213         * nscd/nscd.c (go_background): Replaced with...
64214         (run_mode): ... this.
64215         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64216         (options): Add -F --foreground.
64217         (main): Implement it.
64218         (parse_opt): Parse it.
64219
64220 2012-05-09  Andreas Jaeger  <aj@suse.de>
64221
64222         [BZ #14083]
64223         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64224         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64225         -Wconversion warning.
64226         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64227         Likewise.
64228
64229 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64230
64231         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64232         == 0.
64233         (LC_ALL): Use macro-int-constant.
64234         (LC_COLLATE): Likewise.
64235         (LC_CTYPE): Likewise.
64236         (LC_MESSAGES): Likewise.
64237         (LC_MONETARY): Likewise.
64238         (LC_NUMERIC): Likewise.
64239         (LC_TIME): Likewise.
64240         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64241         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64242         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64243         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64244         Specify type.
64245         [C99-based standards] (float_t): Expect type.
64246         [C99-based standards] (double_t): Expect type.
64247         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64248         type.
64249         [C99-based standards] (HUGE_VALL): Likewise.
64250         [C99-based standards] (INFINITY): Likewise.
64251         [C99-based standards] (NAN): Likewise.
64252         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64253         [C99-based standards] (FP_NAN): Likewise.
64254         [C99-based standards] (FP_NORMAL): Likewise.
64255         [C99-based standards] (FP_SUBNORMAL): Likewise.
64256         [C99-based standards] (FP_ZERO): Likewise.
64257         [C99-based standards] (FP_FAST_FMA): Use
64258         optional-macro-int-constant.  Specify type.  Require == 1.
64259         [C99-based standards] (FP_FAST_FMAF): Likewise.
64260         [C99-based standards] (FP_FAST_FMAL): Likewise.
64261         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64262         [C99-based standards] (FP_ILOGBNAN): Likewise.
64263         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64264         Specify type.
64265         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64266         [C99-based standards] (math_errhandling): Specify type.
64267         [ISO99 || ISO11] (signgam): Do not allow.
64268         [non-C99-based standards] (copysignf): Do not allow.
64269         [non-C99-based standards] (exp2f): Likewise.
64270         [non-C99-based standards] (log2f): Likewise.
64271         [non-C99-based standards] (modff): Allow.
64272         [non-C99-based standards] (erff): Do not allow.
64273         [non-C99-based standards] (erfcf): Likewise.
64274         [non-C99-based standards] (gammaf): Likewise.
64275         [non-C99-based standards] (hypotf): Likewise.
64276         [non-C99-based standards] (j0f): Likewise.
64277         [non-C99-based standards] (j1f): Likewise.
64278         [non-C99-based standards] (jnf): Likewise.
64279         [non-C99-based standards] (lgammaf): Likewise.
64280         [non-C99-based standards] (tgammaf): Likewise.
64281         [non-C99-based standards] (y0f): Likewise.
64282         [non-C99-based standards] (y1f): Likewise.
64283         [non-C99-based standards] (ynf): Likewise.
64284         [non-C99-based standards] (isnanf): Likewise.
64285         [non-C99-based standards] (acoshf): Likewise.
64286         [non-C99-based standards] (asinhf): Likewise.
64287         [non-C99-based standards] (atanhf): Likewise.
64288         [non-C99-based standards] (cbrtf): Likewise.
64289         [non-C99-based standards] (expm1f): Likewise.
64290         [non-C99-based standards] (ilogbf): Likewise.
64291         [non-C99-based standards] (log1pf): Likewise.
64292         [non-C99-based standards] (logbf): Likewise.
64293         [non-C99-based standards] (nextafterf): Likewise.
64294         [non-C99-based standards] (remainderf): Likewise.
64295         [non-C99-based standards] (rintf): Likewise.
64296         [non-C99-based standards] (scalbf): Likewise.
64297         [non-C99-based standards] (copysignl): Likewise.
64298         [non-C99-based standards] (exp2l): Likewise.
64299         [non-C99-based standards] (log2l): Likewise.
64300         [non-C99-based standards] (modfl): Allow.
64301         [non-C99-based standards] (erfl): Do not allow.
64302         [non-C99-based standards] (erfcl): Likewise.
64303         [non-C99-based standards] (gammal): Likewise.
64304         [non-C99-based standards] (hypotl): Likewise.
64305         [non-C99-based standards] (j0l): Likewise.
64306         [non-C99-based standards] (j1l): Likewise.
64307         [non-C99-based standards] (jnl): Likewise.
64308         [non-C99-based standards] (lgammal): Likewise.
64309         [non-C99-based standards] (tgammal): Likewise.
64310         [non-C99-based standards] (y0l): Likewise.
64311         [non-C99-based standards] (y1l): Likewise.
64312         [non-C99-based standards] (ynl): Likewise.
64313         [non-C99-based standards] (isnanl): Likewise.
64314         [non-C99-based standards] (acoshl): Likewise.
64315         [non-C99-based standards] (asinhl): Likewise.
64316         [non-C99-based standards] (atanhl): Likewise.
64317         [non-C99-based standards] (cbrtl): Likewise.
64318         [non-C99-based standards] (expm1l): Likewise.
64319         [non-C99-based standards] (ilogbl): Likewise.
64320         [non-C99-based standards] (log1pl): Likewise.
64321         [non-C99-based standards] (logbl): Likewise.
64322         [non-C99-based standards] (nextafterl): Likewise.
64323         [non-C99-based standards] (remainderl): Likewise.
64324         [non-C99-based standards] (rintl): Likewise.
64325         [non-C99-based standards] (scalbl): Likewise.
64326         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64327         [non-C99-based standards] (FP_*): Do not allow.
64328         [C99-based standards] (FP_*): Change to
64329         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64330         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64331         allow.
64332         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64333         (SIG_ERR): Likewise.
64334         [X/Open-based standards] (SIG_HOLD): Likewise.
64335         (SIG_IGN): Likewise.
64336         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64337         positive value.
64338         (SIGFPE): Likewise.
64339         (SIGILL): Likewise.
64340         (SIGINT): Likewise.
64341         (SIGSEGV): Likewise.
64342         (SIGTER): Likewise.
64343         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64344         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64345         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64346         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64347         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64348         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64349         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64350         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64351         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64352         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64353         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64354         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64355         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64356         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64357         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64358         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64359         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64360         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64361         [X/Open-based standards] (SIGTRAP): Likewise.
64362         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64363         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64364         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64365         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64366         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64367         allow.
64368
64369 2012-05-08  Ian Wienand  <ianw@vmware.com>
64370
64371         [BZ #14080]
64372         * time/tzset.c (__tzset_parse_tz): Update default rules for
64373         daylight time changes in the Energy Policy Act of 2005.
64374
64375 2012-05-09  Andreas Jaeger  <aj@suse.de>
64376
64377         [BZ #13983]
64378         * elf/ldconfig.c (parse_conf): Change string to make clear that
64379         ldconfig only issued a warning if ld.so.conf does not exist.
64380
64381 2012-05-08  David S. Miller  <davem@davemloft.net>
64382
64383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64384         movxtod instead of popping the value on the stack.
64385
64386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64387
64388 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64389
64390         * config.h.in: Add HAVE_ARM_PCS_VFP.
64391
64392 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64393
64394         [BZ #13979]
64395         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64396         checking but the checks are disabled for any reason.
64397
64398 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64399
64400         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64401         and ELF64_R_TYPE with ELFW(R_TYPE).
64402
64403 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64404
64405         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64406         (ulimit): Likewise.
64407
64408         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64409         (settimeofday): Likewise.
64410
64411 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64412
64413         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64414         a struct th_u2 inside the union, and move tu_block/tu_code into
64415         a new th_u3 union of tu_block/tu_code inside of that.  Move
64416         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64417         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64418         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64419         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64420         (th_stuff): Change to th_u1.tu_stuff.
64421         (th_data): Define.
64422         (th_msg): Change to th_u1.th_u2.tu_data.
64423
64424 2012-05-07  David S. Miller  <davem@davemloft.net>
64425
64426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64427
64428         [BZ #14074]
64429         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64430         (SETUP_PIC_REG): Use it.
64431         (SETUP_PIC_REG_LEAF): Use it.
64432
64433 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64434
64435         [BZ #13885]
64436         [BZ #13923]
64437         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64438         USE_AS_EXPM1L.
64439         (EXPL_FINITE): Likewise.
64440         (FLDLOG): Likewise.
64441         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64442         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64443         e_expl.S.
64444         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64445         USE_AS_EXPM1L.
64446         (EXPL_FINITE): Likewise.
64447         (FLDLOG): Likewise.
64448         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64449         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64450         e_expl.S.
64451         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64452         test of -max_value argument for long double.
64453         * sysdeps/i386/fpu/libm-test-ulps: Update.
64454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64455
64456 2012-05-06  David S. Miller  <davem@davemloft.net>
64457
64458         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64459         quad soft-float symbols whose references which are compiler
64460         generated.
64461         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64462
64463 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64464
64465         [BZ #13884]
64466         [BZ #13914]
64467         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64468         USE_AS_EXP10L.
64469         (EXPL_FINITE): Likewise.
64470         (FLDLOG): Likewise.
64471         (c0): Likewise.
64472         (c1): Likewise.
64473         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64474         Adjust comments for base varying.
64475         (__expl_finite): Change alias to EXPL_FINITE.
64476         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64477         e_expl.S.
64478         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64479         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64480         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64481         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64482         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64483         USE_AS_EXP10L.
64484         (EXPL_FINITE): Likewise.
64485         (FLDLOG): Likewise.
64486         (c0): Likewise.
64487         (c1): Likewise.
64488         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64489         Adjust comments for base varying.
64490         (__expl_finite): Change alias to EXPL_FINITE.
64491         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64492         tests for bugs.
64493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64494
64495         [BZ #14064]
64496         * math/libm-test.inc (check_float_internal): Correct ulp
64497         calculation for subnormal expected results.
64498
64499 2012-05-06  Andreas Jaeger  <aj@suse.de>
64500
64501         * Makeconfig (+math-flags): New, set to -frounding-math.
64502         (+cflags): Add +math-flags so that all of glibc gets compiled with
64503         it.
64504
64505         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64506
64507 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64508
64509         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64510         Disable one test.
64511
64512         [BZ #13787]
64513         [BZ #13922]
64514         [BZ #14036]
64515         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64516         (__ieee754_expl): Allow for and saturate large arguments.
64517         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64518         (u_threshold): Likewise.
64519         (__exp): Call __ieee754_exp before checking for overflow and
64520         underflow.
64521         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64522         (u_threshold): Likewise.
64523         (__expf): Call __ieee754_expf before checking for overflow and
64524         underflow.
64525         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64526         (u_threshold): Likewise.
64527         (__expl): Call __ieee754_expl before checking for overflow and
64528         underflow.
64529         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64530         (__ieee754_expl): Allow for and saturate large arguments.
64531         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64532         missing overflow exception on overflow.
64533         (expm1_test): Do not allow missing overflow exception on overflow.
64534
64535         * sysdeps/i386/fpu/e_expl.c: Move to ...
64536         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64537         rather than using inline asm.
64538         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64539         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64540         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64541
64542         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64543         (nice): Likewise.
64544         (poll): Likewise.
64545         (signal): Likewise.
64546         (time): Likewise.
64547         (times): Likewise.
64548
64549 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64550
64551         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64552         sysdeps/unix/common/syscalls.list.
64553         (fchmod): Likewise.
64554         (fchown): Likewise.
64555         (ftruncate): Likewise.
64556         (getrusage): Likewise.
64557         (gettimeofday): Likewise.
64558         (setpgid): Likewise.
64559         (setregid): Likewise.
64560         (setreuid): Likewise.
64561         (sigaction): Likewise.
64562         (truncate): Likewise.
64563         (vhangup): Likewise.
64564         * sysdeps/unix/common/syscalls.list: Remove file.
64565         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64566         * sysdeps/unix/sysv/linux/Implies: Likewise.
64567
64568 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64569
64570         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64572         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64573         Moved to ...
64574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64575         Here.
64576         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64577         to ...
64578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64579         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64580         to ...
64581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64582         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64583         to ...
64584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64585         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64586         to ...
64587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64588         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64589         to ...
64590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64591         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64592         to ...
64593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64594         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64595         to ...
64596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64597         Here.
64598         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64599         to ...
64600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64601         Here.
64602         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64603         to ...
64604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64605         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64606         Moved to ...
64607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64608         Here.
64609         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64610         to ...
64611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64612
64613 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64614
64615         * sysdeps/unix/common/bits/dirent.h: Remove file.
64616         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64617
64618         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64619         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64620         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64621         * sysdeps/unix/bsd/isatty.c: Likewise.
64622         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64623         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64624         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64625
64626 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64627
64628         [BZ #13563]
64629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64630         long double comparison inaccuracies.
64631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64633
64634 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64635
64636         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64637         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64638
64639 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64640
64641         [BZ #14049]
64642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64643         nonzero digits before rounding a hex value.
64644         * stdlib/tst-strtod.c (tests): Add another test.
64645
64646 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64647
64648         * sysdeps/s390/fpu/libm-test-ulps: Update.
64649
64650 2012-05-03  Andreas Jaeger  <aj@suse.de>
64651
64652         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64653         does not get optimized out.
64654         (malloc_opt_barrier): New.
64655
64656 2012-05-03  Andreas Jaeger  <aj@suse.de>
64657             Roland McGrath  <roland@hack.frob.com>
64658
64659         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64660         intermediate file deletion.
64661         (generated): Add .symlist files.
64662
64663 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64664
64665         [BZ #13775]
64666         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64667         Redirect under this condition.
64668         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64669         [__USE_GNU] (__dprintf_chk): Not under this condition.
64670         [__USE_GNU] (__vdprintf_chk): Likewise.
64671         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64672         under this condition.
64673         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64674         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64675         [__USE_XOPEN2K8] (vdprintf): Likewise.
64676         [__USE_GNU] (__dprintf_chk): Not under this condition.
64677         [__USE_GNU] (__vdprintf_chk): Likewise.
64678         [__USE_GNU] (dprintf): Likewise.
64679         [__USE_GNU] (vdprintf): Likewise.
64680
64681 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64682
64683         * elf/Makefile (common-generated): Set this instead of generated for
64684         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64685         $(all-built-dso)-derived lists.
64686
64687 2012-05-03  Andreas Jaeger  <aj@suse.de>
64688
64689         * sysdeps/i386/fpu/libm-test-ulps: Update.
64690
64691         * FAQ: Removed.
64692         * FAQ.in: Likewise.
64693         * scripts/gen-FAQ.pl: Likewise.
64694         * manual/install.texi (Installation): Point to online location of
64695         FAQ.
64696         * Makefile (files-for-dist): Remove FAQ.
64697         (FAQ): Remove.
64698
64699 2012-05-02  Allan McRae  <allan@archlinux.org>
64700
64701         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64702         (LDFLAGS-reldepmod5.so): Likewise.
64703         (LDFLAGS-reldep6mod1.so): Likewise.
64704         (LDFLAGS-reldep6mod4.so): Likewise.
64705         (LDFLAGS-reldep8mod3.so): Likewise.
64706         (LDFLAGS-unload4mod1.so): Likewise.
64707         (LDFLAGS-unload4mod2.so): Likewise.
64708         (LDFLAGS-tst-initorder): Likewise.
64709         (LDFLAGS-tst-initordera2.so): Likewise.
64710         (LDFLAGS-tst-initordera3.so): Likewise.
64711         (LDFLAGS-tst-initordera4.so): Likewise.
64712         (LDFLAGS-tst-initorderb2.so): Likewise.
64713         (LDFLAGS-noload): Likewise.
64714         (LDFLAGS-next): Likewise.
64715         (LDFLAGS-order2mod1.so): Likewise.
64716         (LDFLAGS-order2mod2.so): Likewise.
64717         (LDFLAGS-tst-initorder2): Likewise.
64718         (LDFLAGS-tst-initorder2a.so): Likewise.
64719         (LDFLAGS-tst-initorder2b.so): Likewise.
64720         (LDFLAGS-tst-initorder2c.so): Likewise.
64721         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64722
64723 2012-05-02  David S. Miller  <davem@davemloft.net>
64724
64725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64726
64727 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64728
64729         [BZ #14055]
64730         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64731
64732 2012-05-02  Andreas Jaeger  <aj@suse.de>
64733
64734         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64735         since we manipulate rounding mode.
64736         (CPPFLAGS-test-idouble.c): Likewise.
64737         (CPPFLAGS-test-ifloat.c): Likewise.
64738         (CFLAGS-test-ldouble.c): Likewise.
64739         (CFLAGS-test-double.c): Likewise.
64740         (CFLAGS-test-float.c): Likewise.
64741         (CFLAGS-test-misc.c): Likewise.
64742         (CFLAGS-test-test-fenv.c): Likewise.
64743
64744 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64745
64746         [BZ #2550]
64747         [BZ #2570]
64748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64749         comparisons to determine direction to adjust input.
64750
64751 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64752
64753         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64754         output to the target.
64755
64756         * scripts/localplt.awk: New file.
64757         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64758         (check-localplt-CFLAGS): Variable removed.
64759         ($(all-built-dso:=.jmprel)): New static pattern rule.
64760         (generated): Add those targets.
64761         (localplt-built-dso): New variable.
64762         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64763
64764         * elf/check-localplt.c: File removed.
64765
64766         * scripts/check-execstack.awk: New file.
64767         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64768         (check-execstack-CFLAGS): Variable removed.
64769         ($(objpfx)check-execstack.h): Target removed.
64770         ($(objpfx)execstack-default): New target.
64771         (generated): Add that instead of check-execstack.h.
64772         ($(all-built-dso:=.phdr)): New static pattern rule.
64773         (generated): Add those targets.
64774         * elf/check-execstack.c: File removed.
64775
64776         * scripts/check-textrel.awk: New file.
64777         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64778         (check-textrel-CFLAGS): Variable removed.
64779         (all-built-dso): Use := to define.o
64780         ($(all-built-dso:=.dyn)): New static pattern rule.
64781         (generated): Add those targets.
64782         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64783         * config.make.in (READELF): New substituted variable.
64784         * elf/check-textrel.c: File removed.
64785
64786 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64787
64788         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64789         allow.
64790         * conform/data/ctype.h-data [C99-based standards] (isblank):
64791         Expect function.
64792         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64793         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64795         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64796         Specify type.  Require positive value.
64797         (EILSEQ): Likewise.
64798         (ERANGE): Likewise.
64799         [ISO || POSIX] (EILSEQ): Do not expect.
64800         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64801         Specify type.  Require positive value.
64802         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64803         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64804         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64805         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64806         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64807         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64808         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64809         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64810         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64811         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64812         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64813         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64814         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64815         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64816         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64817         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64818         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64819         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64820         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64821         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64822         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64823         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64824         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64825         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64826         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64827         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64828         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64829         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64830         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64831         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64832         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64833         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64834         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64835         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64836         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64837         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64838         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64839         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64840         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64841         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64842         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64843         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64844         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64845         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64846         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64847         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64848         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64849         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64850         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64851         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64852         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64853         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64854         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64855         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64856         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64857         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64858         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64859         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64860         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64861         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64862         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64863         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64864         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64865         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64866         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64867         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64868         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64869         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64870         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64871         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64872         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64873         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64874         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64875         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64876         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64877         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64878         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64879         Require >= 2.
64880         (FLT_ROUNDS): Expect as macro, not constant.
64881         (FLT_MANT_DIG): Use macro-int-constant.
64882         (DBL_MANT_DIG): Likewise.
64883         (LDBL_MANT_DIG): Likewise.
64884         (FLT_DIG): Likewise.
64885         (DBL_DIG): Likewise.
64886         (LDBL_DIG): Likewise.
64887         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64888         (DBL_MIN_EXP): Likewise.
64889         (LDBL_MIN_EXP): Likewise.
64890         (FLT_MAX_EXP): Use macro-int-constant.
64891         (DBL_MAX_EXP): Likewise.
64892         (LDBL_MAX_EXP): Likewise.
64893         (FLT_MAX_10_EXP): Likewise.
64894         (DBL_MAX_10_EXP): Likewise.
64895         (LDBL_MAX_10_EXP): Likewise.
64896         (FLT_MAX): Use macro-constant.
64897         (DBL_MAX): Likewise.
64898         (LDBL_MAX): Likewise.
64899         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64900         (DBL_EPSILON): Likewise.
64901         (LDBL_EPSILON): Likewise.
64902         (FLT_MIN): Likewise.
64903         (DBL_MIN): Likewise.
64904         (LDBL_MIN): Likewise.
64905         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64906         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64907         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64908         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64909         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64910         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64911         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64912         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64913         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64914         [ISO11] (FLT_TRUE_MIN): Likewise.
64915         [ISO11] (LDBL_TRUE_MIN): Likewise.
64916         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64917         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64918         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64919         (SCHAR_MAX): Likewise.
64920         (UCHAR_MAX): Likewise.
64921         (CHAR_MIN): Likewise.
64922         (CHAR_MAX): Likewise.
64923         (MB_LEN_MAX): Use macro-int-constant.
64924         (SHRT_MIN): Use macro-int-constant.  Specify type.
64925         (SHRT_MAX): Likewise.
64926         (USHRT_MAX): Likewise.
64927         (INT_MAX): Likewise.
64928         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64929         bound negative.
64930         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64931         bound with "U".
64932         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64933         bound with "L".
64934         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64935         bound negative.  Suffix upper bound with "L".
64936         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64937         bound with "UL".
64938         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64939         Specify type.
64940         [C99-based standards] (LLONG_MAX): Likewise.
64941         [C99-based standards] (ULLONG_MAX): Likewise.
64942         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64943         == 0.
64944         [ISO11] (max_align_t): Require type.
64945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64946
64947         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64948         from $CFLAGS, without defining away __attribute__ calls.
64949         (checknamespace): Use $CFLAGS_namespace.
64950
64951         * conform/conformtest.pl (@keywords): Only include C99 keywords
64952         for standards based on C99 or C11.
64953
64954         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64955         Disable tests.
64956         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64957         UNIX98]: Likewise.
64958
64959         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64960         usability of symbols in #if.
64961
64962         * conform/conformtest.pl: If macro or constant types start
64963         "promoted:", expect the symbol to be of the following type
64964         promoted by the integer promotions.
64965
64966         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64967         in one place.  Also handle "macro-constant".
64968
64969         * conform/conformtest.pl: Only accept expected macro values with
64970         "==".  Parse all "macro" lines in one place.
64971         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64972
64973         * conform/conformtest.pl: Handle braced types on "constant" lines
64974         instead of handling "typed-constant".
64975         * conform/data/signal.h-data: Use "constant" instead of
64976         "typed-constant".
64977
64978         * conform/conformtest.pl: Handle "optional-" at start of lines in
64979         one place rather than duplicating several cases.  Handle each
64980         format of "macro" line with initial "optional-".
64981
64982         * conform/conformtest.pl: Only accept expected constant or
64983         optional-constant values with "==".  Parse all "constant" lines in
64984         one place.  Parse all "optional-constant" lines in one place.
64985         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64986         * conform/data/fmtmsg.h-data: Likewise.
64987         * conform/data/netinet/in.h-data: Likewise.
64988         * conform/data/tar.h-data: Likewise.
64989         * conform/data/limits.h-data: Use "==" form on "constant" and
64990         "optional-constant" lines.
64991
64992         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64993         Use -std=c99 for XOPEN2K.
64994         (@knownproblems): Remove.
64995         (newtoken): Don't check %isknown.
64996
64997         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64998         Do not expect macro.
64999         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65000         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65001         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65002         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65003         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65004         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65005         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65006         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65007         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65008         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65009         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65010         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65011         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65012         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65013         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65014         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65015         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65016         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65017         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65018         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65019         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65020         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65021         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65022         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65023         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65024         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65025         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65026         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65027         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65028         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65029         [XPG3] (acosh): Likewise.
65030         [XPG3] (asinh): Likewise.
65031         [XPG3] (atanh): Likewise.
65032         [XPG3] (cbrt): Likewise.
65033         [XPG3] (expm1): Likewise.
65034         [XPG3] (ilogb): Likewise.
65035         [XPG3] (log1p): Likewise.
65036         [XPG3] (logb): Likewise.
65037         [XPG3] (nextafter): Likewise.
65038         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65039         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65040         [XPG3] (remainder): Likewise.
65041         [XPG3] (rint): Likewise.
65042         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65043         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65044         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65045         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65046         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65047         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65048         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65049         [UNIX98 || XOPEN2K] (scalb): Expect.
65050         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65051         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65052         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65053         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65054         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65055         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65056         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65057         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65058         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65059         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65060         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65061         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65062         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65063         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65064         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65065         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65066         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65067         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65068         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65069         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65070         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65071         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65072         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65073         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65074         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65075         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65076         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65077         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65078         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65079         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65080         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65081         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65082         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65083         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65084         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65085         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65086         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65087         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65088         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65089         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65090         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65091         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65092         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65093         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65094         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65095         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65096         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65097         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65098         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65099         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65100         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65101         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65102         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65103         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65104         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65105         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65106         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65107         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65108         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65109         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65110         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65111         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65112         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65113         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65114         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65115         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65116         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65117         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65118         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65119         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65120         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65121         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65122         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65123         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65124         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65125         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65126         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65127         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65128         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65129         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65130         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65131         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65132         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65133         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65134         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65135         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65136         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65137         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65138         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65139         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65140         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65141         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65142         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65143         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65144         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65145         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65146         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65147         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65148         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65149         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65150         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65151         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65152         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65153         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65154         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65155         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65156         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65157         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65158         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65159         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65160         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65161         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65162         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65163         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65164         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65165         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65166         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65167         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65168         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65169         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65170         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65171         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65172         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65173         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65174         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65175         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65176         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65177         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65178         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65179         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65180         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65181         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65182         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65183         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65184         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65185         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65186         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65187
65188         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65189         _XOPEN_SOURCE_EXTENDED for XPG4.
65190
65191         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65192
65193         * Makeconfig (localtime): Remove variable.
65194         (inst_localtime-file): Likewise.
65195
65196 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65197
65198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65199         Update.
65200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65201         Update.
65202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65203         Update.
65204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65205         Update.
65206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65207         Update.
65208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65209         Update.
65210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65211         Update.
65212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65213         Update.
65214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65215         Update.
65216
65217 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65218
65219         [BZ #2550]
65220         [BZ #2570]
65221         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65222         comparisons to determine direction to adjust input.
65223         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65224         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65225         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65226         Likewise.
65227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65228         Likewise.
65229         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65230         Likewise.
65231         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65232         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65233         Likewise.
65234         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65235         Likewise.
65236         * math/libm-test.inc (nexttoward_test): Add more tests.
65237
65238 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65239
65240         [BZ #14040]
65241         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65242         in version GLIBC_2.1, not GLIBC_2.0.
65243         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65244         Likewise.
65245
65246 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65247
65248         [BZ #13942]
65249         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65250         (1 - x) * (1 + x).
65251         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65252         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65253         * math/libm-test.inc (acos_test): Add more tests.
65254         (asin_test): Likewise.
65255         * sysdeps/i386/fpu/libm-test-ulps: Update.
65256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65257
65258         [BZ #14034]
65259         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65260         of square root.
65261         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65262         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65263         * math/libm-test.inc (acos_test_tonearest): New function.
65264         (acos_test_towardzero): Likewise.
65265         (acos_test_downward): Likewise.
65266         (acos_test_upward): Likewise.
65267         (asin_test_tonearest): Likewise.
65268         (asin_test_towardzero): Likewise.
65269         (asin_test_downward): Likewise.
65270         (asin_test_upward): Likewise.
65271         (main): Call the new functions.
65272         * sysdeps/i386/fpu/libm-test-ulps: Update.
65273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65274
65275         [BZ #13884]
65276         [BZ #13924]
65277         * math/e_exp10.c: Include <float.h>.
65278         (__ieee754_exp10): Handle underflow here rather than multiplying
65279         large negative argument by M_LN10.
65280         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65281         of __ieee754_expf.
65282         * math/e_exp10l.c: Include <float.h>.
65283         (__ieee754_exp10l): Handle underflow here rather than multiplying
65284         large negative argument by M_LN10l.
65285         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65286         spurious overflow exception on underflow.
65287
65288 2012-04-29  Marek Polacek  <polacek@redhat.com>
65289
65290         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65291         (__fortify_function): New macro.
65292         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65293         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65294         __extern_always_inline.
65295         * libio/bits/stdio2.h: Likewise.
65296         * libio/bits/stdio.h: Likewise.
65297         * string/string.h: Likewise.
65298         * string/bits/string3.h: Likewise.
65299         * include/stdio.h: Likewise.
65300         * stdlib/bits/stdlib.h: Likewise.
65301         * stdlib/stdlib.h: Likewise.
65302         * rt/bits/mqueue2.h: Likewise.
65303         * rt/mqueue.h: Likewise.
65304         * posix/bits/unistd.h: Likewise.
65305         * posix/unistd.h: Likewise.
65306         * io/bits/poll2.h: Likewise.
65307         * io/bits/fcntl2.h: Likewise.
65308         * io/fcntl.h: Likewise.
65309         * io/sys/poll.h: Likewise.
65310         * misc/bits/syslog.h: Likewise.
65311         * misc/bits/syslog-ldbl.h: Likewise.
65312         * misc/sys/syslog.h: Likewise.
65313         * socket/bits/socket2.h: Likewise.
65314         * socket/sys/socket.h: Likewise.
65315         * debug/tst-chk1.c: Likewise.
65316         * wcsmbs/bits/wchar2.h: Likewise.
65317         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65318         * wcsmbs/wchar.h: Likewise.
65319
65320 2012-04-29  Andreas Jaeger  <aj@suse.de>
65321
65322         * Makerules (tests): Remove enable-check-abi protection.
65323         (check-abi-warn): Remove.
65324         (check-abi-%): Remove check-abi-warn usage.
65325
65326         * configure.in: Remove check-abi configure option.
65327         * configure: Regenerated.
65328         * config.make.in (enable-check-abi): Remove.
65329
65330 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65331
65332         [BZ #14033]
65333         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65334         double functions to double *_finite functions.
65335
65336         [BZ #13941]
65337         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65338         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65339         LDBL_MIN_EXP.
65340         * stdio-common/Makefile (tests): Add tst-sprintf3.
65341         * stdio-common/tst-sprintf3.c: New file.
65342
65343         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65344         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65345
65346 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65347
65348         * conform/conformtest.pl: Remove duplicate typed-constant
65349         handling.
65350
65351 2012-04-28  David S. Miller  <davem@davemloft.net>
65352
65353         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65354         (check-abi-%): Remove AWK script prerequisite and explicit
65355         abilist directory.
65356         (check-abi): Rewrite to just diff the symlist with the abilist.
65357         (config-tls, config-abi-config): Delete, no longer used.
65358         (update-abi-%): Remove AWK script and explicit abilist directory.
65359         (update-abi): Rewrite to simply compare and conditionally copy the
65360         symlist and the sysdep abilist file.  Remove update-abi-config
65361         checks.
65362         * abilist/ld.abilist: Remove.
65363         * abilist/libBrokenLocale.abilist: Remove.
65364         * abilist/libanl.abilist: Remove.
65365         * abilist/libcrypt.abilist: Remove.
65366         * abilist/libdl.abilist: Remove.
65367         * abilist/librt.abilist: Remove.
65368         * abilist/libthread_db.abilist: Remove.
65369         * abilist/libutil.abilist: Remove.
65370         * scripts/extract-abilist.awk: Remove.
65371         * scripts/merge-abilist.awk: Remove.
65372         * sysdeps/generic/libcidn.abilist: New file.
65373         * sysdeps/generic/libnss_compat.abilist: New file.
65374         * sysdeps/generic/libnss_db.abilist: New file.
65375         * sysdeps/generic/libnss_dns.abilist: New file.
65376         * sysdeps/generic/libnss_files.abilist: New file.
65377         * sysdeps/generic/libnss_hesiod.abilist: New file.
65378         * sysdeps/generic/libnss_nis.abilist: New file.
65379         * sysdeps/generic/libnss_nisplus.abilist: New file.
65380         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65381         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65382         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65383         file.
65384         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65385         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65386         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65387         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65388         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65389         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65390         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65391         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65392         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65393         file.
65394         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65395         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65396         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65397         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65398         file.
65399         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65400         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65401         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65402         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65403         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65404         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65405         file.
65406         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65407         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65408         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65409         file.
65410         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65412         New file.
65413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65414         New file.
65415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65416         New file.
65417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65418         New file.
65419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65420         New file.
65421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65422         New file.
65423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65424         New file.
65425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65426         New file.
65427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65428         New file.
65429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65430         New file.
65431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65432         New file.
65433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65434         New file.
65435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65436         New file.
65437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65438         file.
65439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65440         New file.
65441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65442         New file.
65443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65444         file.
65445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65446         New file.
65447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65448         New file.
65449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65450         file.
65451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65452         New file.
65453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65454         New file.
65455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65456         New file.
65457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65458         New file.
65459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65460         New file.
65461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65462         New file.
65463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65465         file.
65466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65467         New file.
65468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65469         file.
65470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65471         file.
65472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65473         file.
65474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65475         file.
65476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65477         file.
65478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65479         New file.
65480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65481         file.
65482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65483         file.
65484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65485         New file.
65486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65487         file.
65488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65490         file.
65491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65492         New file.
65493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65494         file.
65495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65496         file.
65497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65498         file.
65499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65500         file.
65501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65502         file.
65503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65504         New file.
65505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65506         file.
65507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65508         file.
65509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65510         New file.
65511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65512         file.
65513         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65514         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65515         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65516         file.
65517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65518         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65519         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65520         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65521         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65522         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65523         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65524         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65525         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65526         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65529         file.
65530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65531         New file.
65532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65533         file.
65534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65535         file.
65536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65537         file.
65538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65539         file.
65540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65541         file.
65542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65543         New file.
65544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65545         New file.
65546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65547         file.
65548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65549         New file.
65550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65551         file.
65552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65554         file.
65555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65556         New file.
65557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65558         file.
65559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65560         file.
65561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65562         file.
65563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65564         file.
65565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65566         file.
65567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65568         New file.
65569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65570         New file.
65571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65572         file.
65573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65574         New file.
65575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65576         file.
65577
65578 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65579
65580         * conform/conformtest.pl: Fix typo in handling typed-constant from
65581         allow-header.
65582
65583 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65584
65585         * README: Cut down references to pre-2.6 Linux kernels and
65586         Linuxthreads.  Update lists of configurations in libc and ports
65587         and sort alphabetically.  Say "or newer" with Linux kernel version
65588         requirements.
65589
65590         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65591
65592 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65593
65594         [BZ #887]
65595         * math/libm-test.inc (logb_test_downward): New test to expose
65596         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65597         rounding mode.
65598
65599 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65600
65601         [BZ #14027]
65602         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65603         to be done.
65604         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65605         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65606
65607 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65608
65609         * sysdeps/unix/i386/brk.S: Remove file.
65610         * sysdeps/unix/i386/dl-brk.S: Likewise.
65611         * sysdeps/unix/i386/pipe.S: Likewise.
65612         * sysdeps/unix/i386/sigreturn.S: Likewise.
65613         * sysdeps/unix/i386/syscall.S: Likewise.
65614         * sysdeps/unix/i386/vfork.S: Likewise.
65615         * sysdeps/unix/i386/wait.S: Likewise.
65616
65617         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65618         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65619
65620         * configure.in (arm*-none*): Do not allow without
65621         --enable-hacker-mode.
65622         (netbsd*): Remove case setting base_os.
65623         (386bsd*): Likewise.
65624         (freebsd*): Likewise.
65625         (bsdi*): Likewise.
65626         (osf*): Likewise.
65627         (sunos*): Likewise.
65628         (ultrix*): Likewise.
65629         (newsos*): Likewise.
65630         (dynix*): Likewise.
65631         (*bsd*): Likewise.
65632         (sysv*): Likewise.
65633         (isc*): Likewise.
65634         (esix*): Likewise.
65635         (sco*): Likewise.
65636         (minix*): Likewise.
65637         (irix4*): Likewise.
65638         (irix6*): Likewise.
65639         (solaris[2-9]*): Likewise.
65640         (none): Likewise.
65641         * configure: Regenerated.
65642
65643 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65644
65645         [BZ #11521]
65646         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65647         overflow or cancellation in calculating denominator.
65648         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65649         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65650         down expression to avoid unexpected rounding in newer GCCs.
65651         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65652
65653 2012-04-26  David S. Miller  <davem@davemloft.net>
65654
65655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65656         long-double compat symbols.
65657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65670
65671 2012-04-25  David S. Miller  <davem@davemloft.net>
65672
65673         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65674         HWCAP_* values only after the memory barriers have been defined.
65675         (atomic_full_barrier): Define.
65676         (atomic_read_barrier): Define.
65677         (atomic_write_barrier): Define.
65678
65679 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65680
65681         * shlib-versions: Add libgcc_s version information.
65682         * sysdeps/generic/libgcc_s.h: Remove.
65683         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65684         libgcc_s.h.
65685         * sysdeps/gnu/unwind-resume.c: Likewise.
65686         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65687
65688 2012-04-25  David S. Miller  <davem@davemloft.net>
65689
65690         * sysdeps/unix/sparc/brk.S: Delete.
65691         * sysdeps/unix/sparc/dl-brk.S: Delete.
65692         * sysdeps/unix/sparc/pipe.S: Delete.
65693         * sysdeps/unix/sparc/sysdep.S: Delete.
65694         * sysdeps/unix/sparc/sysdep.h: Delete.
65695         * sysdeps/unix/sparc/vfork.S: Delete.
65696         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65697         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65698         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65699         (ret_ERRVAL, r0, r1, MOVE): Define.
65700         (JUMPTARGET): Remove.
65701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65702         sysdeps/unix/sparc/sysdep.h
65703         (ENTRY, END): Remove.
65704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65705
65706 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65707
65708         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65709         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65710         -DIS_IN_build.
65711
65712         * timezone/README: Update upstream location and email address for
65713         tzcode and tzdata.
65714         * timezone/zdump.c: Update from tzcode 2012b.
65715         * timezone/zic.c: Likewise.
65716
65717         * configure.in (libc_cv_as_needed): Remove test.
65718         * configure: Regenerated.
65719         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65720         conditional definition.
65721         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65722         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65723         * config.make.in (have-as-needed): Remove variable.
65724
65725 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65726             Paul Pluzhnikov  <ppluzhnikov@google.com>
65727
65728         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65729         strings correctly.
65730
65731 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65732
65733         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65734         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65735         * sysdeps/sh/strlen.S: Likewise.
65736
65737 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65738
65739         * sysdeps/unix/fork.S: Remove file.
65740         * sysdeps/unix/i386/fork.S: Likewise.
65741         * sysdeps/unix/sparc/fork.S: Likewise.
65742
65743         * sysdeps/unix/system.c: Remove file.
65744         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65745
65746         * sysdeps/unix/getegid.S: Remove file.
65747         * sysdeps/unix/geteuid.S: Likewise.
65748
65749 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65750
65751         * scripts/check-localplt.awk: New file.
65752         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65753         of diff.
65754         * scripts/data/localplt-generic.data: Add a comment.
65755
65756         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65757         NODE when __dir_mkfile failed.
65758         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65759         Reported by Ludovic Courtès <ludo@gnu.org>.
65760
65761 2012-04-24  Andreas Jaeger  <aj@suse.de>
65762
65763         * Makerules (common-clean): Also remove gen-as-const-headers
65764         files.
65765
65766 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65767
65768         * Makerules (native-compile): Do not change working directory for
65769         build.  Use $(OUTPUT_OPTION) in command.
65770         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65771
65772 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65773
65774         [BZ #13886]
65775         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65776         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65777         * math/libm-test.inc (floor_test): Add more tests.
65778         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65779
65780 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65781
65782         * sysdeps/unix/getdents.c: Remove file.
65783         * sysdeps/unix/sysv/getdents.c: Likewise.
65784         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65785
65786         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65787         sysdeps/unix/mman/syscalls.list.
65788         (mmap): Likewise.
65789         (mprotect): Likewise.
65790         (msync): Likewise.
65791         (munmap): Likewise.
65792         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65793         * sysdeps/unix/mman/syscalls.list: Remove.
65794         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65795
65796         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65797         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65798         * configure: Regenerated.
65799         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65800         $(libgcc_s_suffix).
65801         * config.make.in (libgcc_s_suffix): Remove variable.
65802
65803 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65804
65805         * sysdeps/unix/sysv/gethostname.c: Move to ...
65806         * sysdeps/posix/gethostname.c: ... here.
65807
65808         * sysdeps/unix/execve.S: Remove file.
65809
65810         * sysdeps/unix/_exit.S: Remove file.
65811
65812 2012-04-23  Andreas Jaeger  <aj@suse.de>
65813
65814         [BZ #13739]
65815         * manual/Makefile: Remove make dist support, there's no
65816         need for a stand-alone documentation tar ball.
65817         (TEXI2DVI): Define always, it's not in Makeconfig.
65818         (dist): Removed.
65819         (tar-it): Removed.
65820         (edition): Removed.
65821         (glibc-doc-$(edition).tar): Removed
65822         (%.Z): Removed.
65823         (%.gz): Removed.
65824         (%.uu): Removed.
65825         (ETAGS): Remove, it's in Makeconfig.
65826         (move-if-change): Remove, it's in Makeconfig.
65827
65828 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65829
65830         [BZ #13970]
65831         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65832         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65833         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65834         (strtod_l, strtof_l, strtold_l): Remove __wur.
65835         It is not necessarily an error to ignore strtol's return value.
65836         One can reliably look at the stored endptr to decide whether
65837         the number had valid syntax.
65838
65839 2012-04-21  Andreas Jaeger  <aj@suse.de>
65840
65841         [BZ #13739]
65842         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65843
65844 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65845
65846         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65847         * sysdeps/unix/sysv/Versions: Remove file.
65848
65849 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65850
65851         [BZ #13927]
65852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65853
65854 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65855
65856         [BZ #7064]
65857         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65858         version from __vm86.
65859
65860 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65861
65862         * sysdeps/unix/common/lxstat.c: Remove file.
65863         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65864
65865         * sysdeps/unix/sysv/Makefile: Remove file.
65866
65867         * sysdeps/unix/sysv/direct.h: Remove file.
65868
65869         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65870         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65871         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65872         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65873         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65874         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65875         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65876
65877         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65878
65879         * sysdeps/unix/xmknod.c: Remove file.
65880         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65881
65882         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65883
65884         * sysdeps/unix/sysv/i386/time.S: Remove file.
65885
65886         * sysdeps/unix/fxstat.c: Remove file.
65887         * sysdeps/unix/xstat.c: Likewise.
65888         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65889
65890         * sysdeps/unix/sysv/sigaction.c: Remove file.
65891
65892         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65893         (sysdep_headers): Remove variable.
65894         [termio.h not in sysdep_headers] (generated): Likewise.
65895         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65896         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65897         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65898         * sysdeps/unix/sysv/tcflow.c: Likewise.
65899         * sysdeps/unix/sysv/tcflush.c: Likewise.
65900         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65901         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65902         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65903         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65904         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65905
65906         * sysdeps/unix/siglist.c: Remove file.
65907
65908         * sysdeps/unix/getppid.S: Remove file.
65909
65910         * sysdeps/unix/mkdir.c: Remove file.
65911         * sysdeps/unix/rmdir.c: Likewise.
65912
65913 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65914
65915         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65916         ERR_MAX value.
65917         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65918         errlist-compat value.
65919
65920 2012-04-18  David S. Miller  <davem@davemloft.net>
65921
65922         * sysdeps/generic/memcopy.h (reg_char): Delete.
65923         * debug/strcat_chk.c: Use char, not reg_char.
65924         * debug/strcpy_chk.c: Likewise.
65925         * debug/strncat_chk.c: Likewise.
65926         * debug/strncpy_chk.c: Likewise.
65927         * string/memchr.c: Likewise.
65928         * string/memrchr.c: Likewise.
65929         * string/rawmemchr.c: Likewise.
65930         * string/strcat.c: Likewise.
65931         * string/strchr.c: Likewise.
65932         * string/strchrnul.c: Likewise.
65933         * string/strcmp.c: Likewise.
65934         * string/strcpy.c: Likewise.
65935         * string/strncat.c: Likewise.
65936         * string/strncmp.c: Likewise.
65937         * string/strncpy.c: Likewise.
65938
65939 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65940
65941         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65942         __builtin_memcopy is called when src and dest ranges are known to not
65943         overlap.
65944
65945 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65946
65947         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65948         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65949         fwd_align_merge macro call.
65950         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65951         bwd_align_merge macro call.
65952         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65953
65954 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65955
65956         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65957         bwd_align_merge macros.
65958         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65959         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65960         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65961
65962 2012-04-18  David S. Miller  <davem@davemloft.net>
65963
65964         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65965
65966 2012-04-18  Andreas Jaeger  <aj@suse.de>
65967
65968         [BZ# 6794]
65969         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65970         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65971         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65972
65973         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65974         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65975         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65976
65977         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65978         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65979         Adjust for changed ldbl-128 files.
65980
65981         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65982         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65983         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65984
65985 2012-04-17  David S. Miller  <davem@davemloft.net>
65986
65987         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65988
65989 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65990
65991         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65992         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65993         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65994         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65995         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65996         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65997
65998 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65999
66000         [BZ #6794]
66001         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66002         * math/libm-test.inc: Add ilogb errno and exception tests.
66003         * math/w_ilogb.c: New file: ilogb wrapper.
66004         * math/w_ilogbf.c: New file: ilogbf wrapper.
66005         * math/w_ilogbl.c: New file: ilogbl wrapper.
66006         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66007         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66008         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66009         exception being thrown with 0.0 as argument.
66010         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66011         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66012         exception being thrown with 0.0 as argument.
66013         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66014         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66015         exception being thrown with 0.0 as argument.
66016         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66017         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66018         exception being thrown with 0.0 as argument.
66019         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66020         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66021         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66022         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66023         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66024         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66025         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66026         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66027         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66028
66029 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66030
66031         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66032         with altivec.
66033
66034 2012-04-16  Marek Polacek  <polacek@redhat.com>
66035
66036         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66037
66038 2012-04-16  Marek Polacek  <polacek@redhat.com>
66039
66040         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66041         operands of fdivp instruction.
66042
66043 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66044
66045         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66046         * elf/tst-auditmod3b.c: Likewise.
66047         * elf/tst-auditmod4b.c: Likewise.
66048         * elf/tst-auditmod5b.c: Likewise.
66049         * elf/tst-auditmod6b.c: Likewise.
66050         * elf/tst-auditmod6c.c: Likewise.
66051         * elf/tst-auditmod7b.c: Likewise.
66052         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66053         * sysdeps/x86_64/preconfigure.in: Likewise.
66054         * sysdeps/x86_64/preconfigure: Regenerated.
66055
66056 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66057
66058         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66059         __ILP32__.
66060
66061 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66062
66063         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66064         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66065
66066 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66067
66068         [BZ #13973]
66069         * locale/iso-639.def: Fix gl language name. Spotted by
66070         Yaron Shahrabani.
66071
66072 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66073
66074         [BZ #2074]
66075         * libio/libio.h (__io_write_fn): Update comment.
66076
66077 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66078
66079         [BZ #2074]
66080         * stdio.texi (Hook Functions): The user provided writer function
66081         is not allowed to return -1.
66082
66083 2012-04-11  David S. Miller  <davem@davemloft.net>
66084
66085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66086
66087 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66088
66089         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66090         Add a leading slash to rtkaio.
66091
66092 2012-04-11  Jim Meyering  <meyering@redhat.com>
66093
66094         [BZ #11959]
66095         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66096         It is not necessarily an error to ignore fwrite's return
66097         value.  One can reliably use ferror to test for errors after
66098         the fact.
66099
66100 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66101
66102         * bits/types.h (__snseconds_t): New type.
66103         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66104
66105         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66107         (__SNSECONDS_T_TYPE): Likewise.
66108         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66109         (__SNSECONDS_T_TYPE): Likewise.
66110         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66111         (__SNSECONDS_T_TYPE): Likewise.
66112
66113 2012-04-10  Andreas Jaeger  <aj@suse.de>
66114
66115         [BZ #2636]
66116         * manual/time.texi (Processor Time): Return type of times is
66117         elapsed real time since an arbitrary point in the past.
66118         (CPU Time): Move CLK_TCK from here...
66119         (Processor Time): ...to here.  Correct description.
66120         * manual/conf.texi (Constants for Sysconf): Correct description of
66121         _SC_CLK_TCK.
66122
66123 2012-04-10  David S. Miller  <davem@davemloft.net>
66124
66125         [BZ #13967]
66126         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66127         where the is a gap between DT_REL(A) and DT_JMPREL.
66128
66129 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66130
66131         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66132         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66133         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66134
66135 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66136
66137         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66138         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66139         (dl_main): Handle --inhibit-cache.
66140         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66141         _dl_inhibit_cache.
66142         * elf/dl-load.c (_dl_map_object): Use it.
66143         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66144
66145 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66146
66147         [BZ #13872]
66148         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66149         (__ieee754_powl): Saturate large exponents rather than testing for
66150         overflow of y*log2(x).
66151         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66152         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66153         exceptions.
66154
66155         [BZ #11521]
66156         * math/s_ctan.c: Include <float.h>.
66157         (__ctan): Avoid internal overflow or cancellation in calculating
66158         denominator.
66159         * math/s_ctanf.c: Likewise.
66160         * math/s_ctanl.c: Likewise.
66161         * math/s_ctanh.c: Likewise.
66162         * math/s_ctanhf.c: Likewise.
66163         * math/s_ctanhl.c: Likewise.
66164         * math/libm-test.inc (ctan_test): Add more tests.
66165         (ctanh_test): Likewise.
66166         * sysdeps/i386/fpu/libm-test-ulps: Update.
66167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66168
66169 2012-04-09  Andreas Jaeger  <aj@suse.de>
66170
66171         [BZ #6894]
66172         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66173         is an optional BSD extension.
66174
66175         [BZ #10254]
66176         * manual/stdio.texi (Opening Streams): Document additional fopen
66177         parameters.
66178
66179 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66180
66181         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66182         %eax without telling the compiler.
66183
66184 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66185
66186         [BZ # 13963]
66187         * manual/install.texi: Use sourceware.org.
66188
66189 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66190
66191         [BZ #13873]
66192         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66193         (__ieee754_pow): Generate overflow and underflow using huge*huge
66194         and tiny*tiny rather than just returning constant infinity or zero
66195         for large exponents.
66196         * math/libm-test.inc (pow_test): Require overflow exceptions for
66197         applicable cases of large exponents.
66198
66199         [BZ #706]
66200         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66201         (__ieee754_pow): Use iterative multiplication algorithm only for
66202         integer exponents with absolute value below 1024.  Check for odd
66203         integer exponents when using algorithm for real exponents.
66204         * math/libm-test.inc (pow_test): Add more tests.
66205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66206
66207 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66208
66209         [BZ #13705]
66210         * math/libm-test.inc (exp_test): Do not allow overflow exception
66211         on underflow test.
66212
66213 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66214
66215         [BZ #13705]
66216         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66217         instead of __kernel_standard_f.
66218
66219 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66220
66221         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66222         * sysdeps/x86_64/memset_chk.S: Likewise.
66223
66224 2012-04-08  Andreas Jaeger  <aj@suse.de>
66225
66226         [BZ #10153]
66227         * manual/startup.texi (Environment Access): Describe return value
66228         for putenv and setenv.
66229
66230         [BZ #6895]
66231         * manual/filesys.texi (Directory Entries): Add description for
66232         DT_LNK.
66233
66234         [BZ #6890]
66235         * manual/filesys.texi (Directory Entries): Clarify that it's file
66236         system not operating system in the description of DT_UNKNOWN.
66237
66238         [BZ #6578]
66239         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66240
66241 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66242
66243         [BZ #6649]
66244         * manual/llio.texi (Opening and Closing Files): Add cross
66245         reference to explain mode argument.
66246
66247 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66248
66249         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66250         * sysdeps/x86_64/memset_chk.S: Likewise.
66251
66252 2012-04-07  David S. Miller  <davem@davemloft.net>
66253
66254         * elf/elf.h (R_SPARC_WDISP10): Define.
66255         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66256         R_SPARC_SIZE32.
66257         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66258         R_SPARC_SIZE64 and R_SPARC_H34.
66259
66260 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66261
66262         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66263         conditions and remove no longer applicable assertion.
66264
66265 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66266
66267         * bits/byteswap.h: Include <features.h>.
66268         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66269         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66270
66271 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66272
66273         * bits/byteswap.h (__bswap_16): Removed.
66274         Include <bits/byteswap-16.h> to get __bswap_16.
66275         * sysdeps/i386/bits/byteswap.h: Likewise.
66276         * sysdeps/s390/bits/byteswap.h: Likewise.
66277         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66278         * bits/byteswap-16.h: New file.
66279         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66280         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66281         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66282         * string/Makefile (headers): Add bits/byteswap-16.h.
66283
66284 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66285
66286         [BZ #13895]
66287         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66288         extra indirection.
66289         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66290         * nss/tst-nss-static.c: New.
66291
66292 2012-04-06  Robert Millan  <rmh@gnu.org>
66293
66294         [BZ #6486]
66295         * manual/llio.texi (File Position Primitive): lseek
66296         refers to WHENCE when it really means OFFSET.
66297
66298 2012-04-06  Andreas Jaeger  <aj@suse.de>
66299
66300         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66301         strncmp declarations.
66302
66303         * abilist/libc.abilist: Add __poll and __ppoll.
66304
66305 2012-04-05  David S. Miller  <davem@davemloft.net>
66306
66307         * scripts/check-local-headers.sh: Accept a host triplet in the
66308         path matched by the exclude regexp.
66309
66310         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66311         definition.
66312         * sysdeps/powerpc/powerpc32/dl-machine.h
66313         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66314         * sysdeps/s390/s390-32/dl-machine.h
66315         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66316         * sysdeps/sparc/sparc32/dl-machine.h
66317         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66318         * sysdeps/sparc/sparc64/dl-machine.h
66319         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66320
66321         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66322         lazy binding.
66323         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66324         undefined symbol errors.
66325
66326         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66327         DT_NEEDED entries.
66328
66329 2012-04-05  Michael Matz  <matz@suse.de>
66330
66331         [BZ #13592]
66332         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66333
66334 2012-04-05  Andreas Jaeger  <aj@suse.de>
66335
66336         [BZ #13908]
66337         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66338         comment.
66339
66340 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66341
66342         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66343         which ROUND is no valid rounding mode.
66344
66345 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66346
66347         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66348         read again.
66349         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66350
66351 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66352
66353         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66354         an exception using FPU order intentionally.
66355
66356 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66357
66358         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66359         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66360         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66361         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66362
66363 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66364
66365         [BZ #12340]
66366         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66367         EINVAL when BUFLEN is too smal.
66368
66369 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66370
66371         [BZ #13553]
66372         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66373         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66374
66375 2012-04-03  Andreas Jaeger  <aj@suse.de>
66376
66377         [BZ #13938]
66378         * manual/setjmp.texi (System V contexts): Fix sentence.
66379
66380         [BZ #13926]
66381         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66382         New macro for this case.
66383         [!__GNUC__] (__bswap_64): New inline function for this case.
66384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66385         * bits/byteswap.h: Likewise.
66386         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66387         ull, guard with __GLIBC_HAVE_LONG_LONG.
66388
66389         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66390         __GLIBC_HAVE_LONG_LONG.
66391
66392         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66393         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66394
66395 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66396
66397         [BZ #13691]
66398         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66399         inptr and inend, rather than using last_ch.
66400
66401 2012-04-02  David S. Miller  <davem@davemloft.net>
66402
66403         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66404         * stdio-common/printf-parse.h (read_int): Change return type to
66405         'int', return -1 on INT_MAX overflow.
66406         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66407         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66408         overflows INT_MAX.  Check for overflow of in-format-string precision
66409         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66410         SIZE_MAX not INT_MAX for integer overflow test.
66411         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66412         skip the construct in the format string but do not record anything.
66413         * stdio-common/bug22.c: Adjust to test both width/prevision
66414         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66415         explicitly for proper errno values.
66416
66417 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66418
66419         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66420         CHAR_MAX.
66421         * string/test-strcmp.c [! WIDE]: Likewise.
66422         * time/tst-mktime2.c: Likewise for INT_MAX.
66423         * string/test-string.h: #include <sys/param.h> for MIN.
66424
66425         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66426         * sysdeps/i386/init-first.c (init): Likewise.
66427         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66428         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66429         * sysdeps/sh/init-first.c (init): Likewise.
66430
66431 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66432
66433         * po/ru.po: Update from translation team.
66434         * po/vi.po: Likewise.
66435
66436 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66437
66438         * resolv/nss_dns/dns-host.c: Merge copyright years.
66439
66440 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66441
66442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66443         Optimize memcpy with prefetch if
66444         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66445         src, dst pointers have unequal 16 byte alignments.
66446
66447 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66448
66449         [BZ #13928]
66450         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66451         from a CNAME entry and return the minimum ttl for the query.
66452         (gaih_getanswer_slice): Likewise.
66453
66454 2012-03-30  Jeff Law  <law@redhat.com>
66455
66456         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66457         due to long keys.
66458         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66459         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66460
66461         * resolv/nss_dns/dns-host.c: Update copyright year.
66462
66463 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66464
66465         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66466         requests to save a system call.  Fix check that all bytes are sent.
66467
66468         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66469         comments for sendmmsg.
66470
66471 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66472
66473         [BZ #13691]
66474         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66475         with only 1 character between 0x0041 and 0x01b0.
66476         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66477         * wcsmbs/tst-mbsnrtowcs.c: New file.
66478
66479 2012-03-29  David S. Miller  <davem@davemloft.net>
66480
66481         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66482         small copies by hand.
66483
66484 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66485
66486         [BZ #13761]
66487         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66488         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66489         group memberships.
66490
66491 2012-03-28  David S. Miller  <davem@davemloft.net>
66492
66493         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66494         that branches into memcpy.
66495         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66498         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66500         bits.
66501         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66502         implementation too.
66503         * sysdeps/sparc/mempcpy.S: New file.
66504
66505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66506         the IFUNC routine in the libc case.
66507         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66508
66509         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66510         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66511         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66512         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66513         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66514         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66515         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66516         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66517
66518         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66519         loop to 256 bytes instead of 64 bytes and fix test signedness.
66520
66521         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66522         * sysdeps/sparc/sparc32/Makefile: rather than here...
66523         * sysdeps/sparc/sparc64/Makefile: and here.
66524
66525 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66526
66527         * malloc/mallocbug.c: Avoid warnings about unused variables.
66528
66529 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66530
66531         [BZ #13760]
66532         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66533         in the right place. Discard and retry query if response is
66534         larger than input buffer size.
66535
66536 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66537
66538         [BZ #369]
66539         [BZ #2678]
66540         [BZ #3866]
66541         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66542         x for large integer exponent.
66543         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66544         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66545         sign of result as needed afterwards.
66546         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66547         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66548         result for underflowing pow the same as for overflow.
66549         (__kernel_standard_l): Handle powl overflow and underflow here
66550         rather than calling __kernel_standard.
66551         * math/libm-test.inc (pow_test): Add more tests.
66552
66553         [BZ #3868]
66554         [BZ #13879]
66555         [BZ #13910]
66556         [BZ #13911]
66557         [BZ #13912]
66558         [BZ #13913]
66559         [BZ #13915]
66560         [BZ #13916]
66561         [BZ #13917]
66562         [BZ #13918]
66563         [BZ #13919]
66564         [BZ #13920]
66565         [BZ #13921]
66566         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66567         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66568         (__kernel_standard_l): New function.
66569         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66570         __kernel_standard.
66571         * math/w_acosl.c (__acosl): Likewise.
66572         * math/w_asinl.c (__asinl): Likewise.
66573         * math/w_atan2l.c (__atan2l): Likewise.
66574         * math/w_atanhl.c (__atanhl): Likewise.
66575         * math/w_coshl.c (__coshl): Likewise.
66576         * math/w_exp10l.c (__exp10l): Likewise.
66577         * math/w_exp2l.c (__exp2l): Likewise.
66578         * math/w_fmodl.c (__fmodl): Likewise.
66579         * math/w_hypotl.c (__hypotl): Likewise.
66580         * math/w_j0l.c (__j0l, __y0l): Likewise.
66581         * math/w_j1l.c (__j1l, __y1l): Likewise.
66582         * math/w_jnl.c (__jnl, __ynl): Likewise.
66583         * math/w_lgammal.c (__lgammal): Likewise.
66584         * math/w_log10l.c (__log10l): Likewise.
66585         * math/w_log2l.c (__log2l): Likewise.
66586         * math/w_logl.c (__logl): Likewise.
66587         * math/w_powl.c (__powl): Likewise.
66588         * math/w_remainderl.c (__remainderl): Likewise.
66589         * math/w_scalbl.c (sysv_scalbl): Likewise.
66590         * math/w_sinhl.c (__sinhl): Likewise.
66591         * math/w_sqrtl.c (__sqrtl): Likewise.
66592         * math/w_tgammal.c (__tgammal): Likewise.
66593         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66594         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66595         * math/libm-test.inc (acos_test): Add more tests.
66596         (acosh_test): Likewise.
66597         (asin_test): Likewise.
66598         (atanh_test): Likewise.
66599         (exp_test): Likewise.
66600         (exp10_test): Likewise.
66601         (exp2_test): Likewise.
66602         (expm1_test): Likewise.
66603         (lgamma_test): Likewise.
66604         (log_test): Likewise.
66605         (log10_test): Likewise.
66606         (log1p_test): Likewise.
66607         (log2_test): Likewise.
66608         (pow_test): Do not allow some spurious overflow exceptions.
66609         (sqrt_test): Add more tests.
66610         (tgamma_test): Likewise.
66611         (y0_test): Likewise.
66612         (y1_test): Likewise.
66613         (yn_test): Likewise.
66614
66615 2012-03-27  Anton Blanchard  <anton@samba.org>
66616
66617         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66618         MAP_HUGETLB.
66619         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66620         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66622
66623 2012-03-27  David S. Miller  <davem@davemloft.net>
66624
66625         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66626
66627         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66628         have-as-vis3 check.
66629
66630 2012-03-27  Andreas Jaeger  <aj@suse.de>
66631
66632         * sysdeps/x86_64/elf/configure.in: Moved to ...
66633         * sysdeps/x86_64/configure.in: ... here.
66634         * sysdeps/x86_64/elf/start.S: Moved to ...
66635         * sysdeps/x86_64/start.S: ... here.
66636         * sysdeps/x86_64/elf/configure: Delete.
66637
66638         * sysdeps/x86_64/configure.in: Merge contents from
66639         sysdeps/i386/configure.in (without i686 check).
66640
66641         * sysdeps/i386/elf/Versions: Merge into ...
66642         * sysdeps/i386/Versions: ... this.
66643         * sysdeps/i386/elf/Versions: Delete file.
66644         * sysdeps/i386/elf/start.S: Moved to ...
66645         * sysdeps/i386/start.S: ...here.
66646         * sysdeps/i386/elf/configure.in: Merge into...
66647         * sysdeps/i386/configure.in: ...here.
66648         * sysdeps/i386/elf/configure.in: Delete file.
66649         * sysdeps/i386/elf/configure: Delete file.
66650
66651         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66652         * debug/backtracesyms.c: ... here.
66653         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66654         * debug/backtracesymsfd.c: ... here.
66655         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66656         * sysdeps/generic/ifunc-sel.h: ... here.
66657
66658         * sysdeps/unix/i386/start.c: Delete file.
66659         * sysdeps/unix/sparc/start.c: Delete file.
66660         * sysdeps/unix/start.c: Delete file.
66661
66662         * sysdeps/sh/elf/configure.in: Moved to ...
66663         * sysdeps/sh/configure.in: ... here.
66664         * sysdeps/sh/elf/start.S: Moved to ...
66665         * sysdeps/sh/start.S: ... here.
66666         * sysdeps/sh/elf/configure: Delete file.
66667
66668         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66669         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66670         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66671         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66672         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66673         * sysdeps/powerpc/powerpc64/start.S: here.
66674         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66675         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66676         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66677         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66678         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66679
66680         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66681         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66682         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66683         * sysdeps/powerpc/powerpc32/start.S: ... here.
66684         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66685         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66686         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66687
66688         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66689         * sysdeps/powerpc/ifunc-sel.h: ... here.
66690         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66691         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66692
66693         * sysdeps/sparc/elf/configure.in: Moved to ...
66694         * sysdeps/sparc/configure.in: ... here.
66695         * sysdeps/sparc/elf/configure: Delete file.
66696         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66697         * sysdeps/sparc/sparc32/start.S: ... here.
66698         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66699         * sysdeps/sparc/sparc64/start.S: ... here.
66700         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66701         * sysdeps/sparc/sparc32/Makefile: ... this.
66702         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66703         * sysdeps/sparc/sparc64/Makefile: ... this.
66704
66705         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66706         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66707         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66708         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66709         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66710         * sysdeps/s390/s390-32/setjmp.S: ... here.
66711         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66712         * sysdeps/s390/s390-32/configure.in: ... here.
66713         * sysdeps/s390/s390-32/elf/configure: Delete file.
66714         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66715         * sysdeps/s390/s390-32/start.S: ... here.
66716
66717         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66718         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66719         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66720         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66721         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66722         * sysdeps/s390/s390-64/setjmp.S: ... here.
66723         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66724         * sysdeps/s390/s390-64/configure.in: ... here
66725         * sysdeps/s390/s390-64/elf/configure: Delete file.
66726         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66727         * sysdeps/s390/s390-64/start.S: ... here.
66728         * sysdeps/s390/s390-64/elf/configure: Delete.
66729
66730         * configure.in: Remove support for elf directories in sysdeps.
66731
66732         * configure: Regenerated.
66733         * sysdeps/i386/configure: Regenerated.
66734         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66735         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66736         * sysdeps/s390/s390-32/configure: Regenerated.
66737         * sysdeps/s390/s390-64/configure: Regenerated.
66738         * sysdeps/sh/configure: Regenerated.
66739         * sysdeps/sparc/configure: Regenerated.
66740         * sysdeps/x86_64/configure: Regenerated.
66741
66742 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66743
66744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66745
66746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66747         denormal result into account.
66748
66749 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66750
66751         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66752         Reported by Allan McRae <allan@archlinux.org>.
66753
66754 2012-03-23  Jeff Law  <law@redhat.com>
66755
66756         * nss/getnssent.c (__nss_getent): Fix typo.
66757
66758 2012-03-23  David S. Miller  <davem@davemloft.net>
66759
66760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66761
66762 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66763
66764         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66765         to pad to uint64_t for each field.
66766         (dl_tls_index): Replace unsigned long with uint64_t.
66767
66768 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66769         Paul Pluzhnikov  <ppluzhnikov@google.com>
66770
66771         [BZ #6528]
66772         * grp/Makefile (otherlibs): Don't set it.
66773         * inet/Makefile (otherlibs): Likewise.
66774         * login/Makefile (otherlibs): Likewise.
66775         * nscd/Makefile (otherlibs): Likewise.
66776         * posix/Makefile (otherlibs): Likewise.
66777         * pwd/Makefile (otherlibs): Likewise.
66778         * rt/Makefile (otherlibs): Likewise.
66779         * sunrpc/Makefile (otherlibs): Likewise.
66780         * nss/Makefile (otherlibs): Likewise.
66781         Add libnss_files to routines and static-only-routines.
66782         ($(objpfx)getent): Remove rule.
66783         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66784         static-only-routines.
66785
66786 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66787
66788         [BZ #13892]
66789         * math/s_cexp.c: Include <float.h>.
66790         (__cexp): Handle exp result overflowing not necessarily
66791         overflowing both real and imaginary parts of result.
66792         * math/s_cexpf.c: Likewise.
66793         * math/s_cexpl.c: Likewise.
66794         * math/libm-test.inc (cexp_test): Add more tests.
66795         * sysdeps/i386/fpu/libm-test-ulps: Update.
66796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66797
66798 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66799
66800         * include/link.h (ELFW): New macro.
66801         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66802         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66803
66804 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66805
66806         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66807         with uint64_t.
66808
66809 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66810
66811         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66812         declaration.
66813         (struct La_x32_retval): Likewise.
66814
66815 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66816
66817         * sysdeps/x86_64/preconfigure.in: New file.
66818         * sysdeps/x86_64/preconfigure: New generated file.
66819
66820 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66821
66822         [BZ #13824]
66823         * math/e_exp2l.c: Include <float.h>.
66824         (__ieee754_exp2l): Handle overflow and underflow cases
66825         separately.  Only pass fractional part of argument to
66826         __ieee754_expl.
66827         * math/libm-test.inc (exp2_test): Add more tests.
66828
66829         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66830         negating x to take absolute value.
66831         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66832         Likewise.
66833         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66834         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66835         Likewise.
66836         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66837         computing low part if x was negated.
66838         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66839
66840 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66841
66842         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66843         la_x32_gnu_pltexit.
66844         (pltexit): Cast int_retval to ptrdiff_t.
66845         * elf/tst-auditmod3b.c: Likewise.
66846         * elf/tst-auditmod4b.c: Likewise.
66847         * elf/tst-auditmod5b.c: Likewise.
66848         * elf/tst-auditmod6b.c: Likewise.
66849         * elf/tst-auditmod6c.c: Likewise.
66850         * elf/tst-auditmod7b.c: Likewise.
66851
66852         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66853         and x32_gnu_pltexit.
66854
66855         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66856         __ELF_NATIVE_CLASS.
66857         (La_x32_regs): New macro.
66858         (La_x32_retval): Likewise.
66859         (la_x32_gnu_pltenter): New function prototype.
66860         (la_x32_gnu_pltexit): Likewise.
66861
66862 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66863
66864         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66865         exponent.
66866
66867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66868
66869         * configure.in (libc_cv_cc_nofma): Check for option to disable
66870         generation of FMA instructions.
66871         * configure: Regenerate.
66872         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66873         * sysdeps/ieee754/dbl-64/Makefile: New file.
66874         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66875         Remove brandred-fma4.
66876         (CFLAGS-brandred-fma4.c): Remove.
66877         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66878         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66879         define.
66880         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66881         define.
66882
66883 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66884
66885         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66886         LLONG_MAX != LONG_MAX.
66887         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66888         (_fitoa_word): Likewise.
66889         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66890         LLONG_MAX != LONG_MAX.
66891         * stdio-common/_itowa.h: Include <_itoa.h>.
66892         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66893         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66894         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66895         only if not defined.
66896         (_ITOA_WORD_TYPE): Likewise.
66897         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66898         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66899
66900 2012-03-21  David S. Miller  <davem@davemloft.net>
66901
66902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66903
66904 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66905
66906         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66907         of x86_64 when setting libc_cv_slibdir, libdir and
66908         libc_cv_localedir.
66909         * sysdeps/unix/sysv/linux/configure: Regenerated.
66910
66911 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66912
66913         * manual/lang.texi (Old Varargs): Remove section.
66914         (How Variadic): Update menu.
66915         (va_start): Do not mention varargs.h.
66916
66917 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66918             Joseph Myers  <joseph@codesourcery.com>
66919
66920         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66921         link test.
66922         * configure: Regenerated.
66923
66924 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66925
66926         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66927         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66928         conformtest.pl
66929
66930 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66931
66932         * NOTES: Remove.
66933         * Makefile (files-for-dist): Remove NOTES.
66934         (NOTES): Remove rule.
66935         * README: Don't refer to NOTES.
66936         * manual/creature.texi: Don't include macros.texi.
66937         * manual/intro.texi (creature.texi): Remove comment referring to
66938         NOTES.
66939
66940         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66941         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66942         * configure: Regenerated.
66943         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66944         LIBC_TRY_CC_OPTION.
66945         (libc_cv_as_i686): Likewise.
66946         (libc_cv_cc_avx): Likewise.
66947         (libc_cv_cc_sse2avx): Likewise.
66948         (libc_cv_cc_fma4): Likewise.
66949         (libc_cv_cc_novzeroupper): Likewise.
66950         * sysdeps/i386/configure: Regenerated.
66951
66952         [BZ #13883]
66953         * sysdeps/i386/fpu/s_cexp.S: Remove.
66954         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66955         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66956         * math/libm-test.inc (cexp_test): Add more tests.
66957         * sysdeps/i386/fpu/libm-test-ulps: Update.
66958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66959
66960 2012-03-21  Allan McRae  <allan@archlinux.org>
66961
66962         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66963
66964 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66965
66966         [BZ #13871]
66967         * math/w_exp2.c: Do not include <float.h>.
66968         (o_threshold, u_threshold): Remove.
66969         (__exp2): Calculate result before checking finiteness and calling
66970         __kernel_standard.
66971         * math/w_exp2f.c: Likewise.
66972         * math/w_exp2l.c: Likewise.
66973         * math/libm-test.inc (exp2_test): Require overflow exception for
66974         1e6 input.
66975
66976         [BZ #3866]
66977         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66978         range of signed 64-bit integers before using fistpll.  Remove
66979         checks for whether integers fit in mantissa bits.
66980         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66981         the range of signed 32-bit integers before using fistpl.  Remove
66982         checks for whether integers fit in mantissa bits.
66983         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66984         (__ieee754_powl): Test for y outside the range of signed 64-bit
66985         integers before using fistpll.  Reduce 64-bit values to 63-bit
66986         ones as needed.
66987         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66988         divide-by-zero is raised for zero to large negative powers.
66989         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66990         (__ieee754_powl): Test for y outside the range of signed 64-bit
66991         integers before using fistpll.  Reduce 64-bit values to 63-bit
66992         ones as needed.
66993         * math/libm-test.inc (pow_test): Add more tests.
66994
66995 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66996
66997         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66998         <stdio-common/_itoa.h>.
66999         * debug/segfault.c: Likewise.
67000         * elf/dl-cache.c: Likewise.
67001         * elf/dl-minimal.c: Likewise.
67002         * elf/dl-misc.c: Likewise.
67003         * elf/dl-sysdep.c: Likewise.
67004         * elf/dl-version.c: Likewise.
67005         * elf/rtld.c: Likewise.
67006         * hurd/hurdsock.c: Likewise.
67007         * hurd/lookup-retry.c: Likewise.
67008         * malloc/malloc.c: Likewise.
67009         * malloc/mtrace.c: Likewise.
67010         * nscd/nscd_getgr_r.c: Likewise.
67011         * nscd/nscd_getpw_r.c: Likewise.
67012         * nscd/nscd_getserv_r.c: Likewise.
67013         * posix/getopt_init.c: Likewise.
67014         * posix/wordexp.c: Likewise.
67015         * stdio-common/_itoa.c: Likewise.
67016         * stdio-common/printf_fphex.c: Likewise.
67017         * stdio-common/vfprintf.c: Likewise.
67018         * string/_strerror.c: Likewise.
67019         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67020         * sysdeps/i386/i686/hp-timing.h: Likewise.
67021         * sysdeps/mach/_strerror.c: Likewise.
67022         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67023         * sysdeps/mach/hurd/sethostid.c: Likewise.
67024         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67025         * sysdeps/mach/xpg-strerror.c: Likewise.
67026         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67027         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67028         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67029         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67030         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67031         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67032         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67033         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67034         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67035         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67036         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67037         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67038         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67039         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67040         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67041         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67042         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67043         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67044         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67045         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67046         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67047
67048         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67049
67050         * stdio-common/_itoa.h: Moved to ...
67051         * sysdeps/generic/_itoa.h: Here.
67052
67053         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67054
67055         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67056         instead of "_itoa.h" and "_itowa.h".
67057         * stdio-common/vfprintf.: Likewise.
67058
67059 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67060
67061         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67062         <bits/wordsize.h>.
67063         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67064         (__signbit): Likwise.
67065         (llrintf): Likwise.
67066         (llrint): Likwise.
67067
67068 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67069
67070         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67071         __WORDSIZE != 64.
67072
67073 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67074
67075         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67076         OVERFLOW_EXCEPTION_OK.
67077         * math/libm-test.inc ("Philosophy"): Update comment about
67078         exception testing.
67079         (OVERFLOW_EXCEPTION): Define.
67080         (OVERFLOW_EXCEPTION_OK): Likewise.
67081         (INVALID_EXCEPTION_OK): Renumber.
67082         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67083         (IGNORE_ZERO_INF_SIGN): Likewise.
67084         (test_exceptions): Handle FE_OVERFLOW.
67085         (exp10_test): Expect overflow exceptions.
67086         (exp2_test): Likewise.
67087         (expm1_test): Likewise.
67088         (nextafter_test): Likewise.
67089         (pow_test): Likewise.
67090         (scalbn_test): Likewise.
67091         (scalbln_test): Likewise.
67092
67093 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67094
67095         * sysdeps/x86_64/bits/atomic.h
67096         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67097         64bit integer.
67098         (atomic_exchange_acq): Likewise.
67099         (__arch_exchange_and_add_body): Likewise.
67100         (__arch_add_body): Likewise.
67101         (atomic_add_negative): Likewise.
67102         (atomic_add_zero): Likewise.
67103
67104 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67105
67106         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67107         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67108
67109 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67110
67111         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67112         Check __x86_64__ instead of __WORDSIZE.
67113
67114 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67115
67116         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67117
67118 2012-03-19  David S. Miller  <davem@davemloft.net>
67119
67120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67121
67122         * sysdeps/sparc/fpu/fenv_private.h: New file.
67123         * sysdeps/sparc/fpu/math_private.h: Use it.
67124         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67125         Remove.
67126         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67127         (libc_feholdexcept_setroundl): Remove.
67128         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67129         Remove.
67130         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67131         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67132
67133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67134
67135         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67136         int64_t instead of long int.
67137         (INSERT_WORDS64): Likwise.
67138
67139 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67140
67141         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67142         _Unwind_GetCFA return to _Unwind_Ptr first.
67143
67144 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67145
67146         [BZ #13629]
67147         * math/s_clog.c: Include <float.h>.
67148         (__clog): Scale large or subnormal inputs.
67149         * math/s_clogf.c: Likewise.
67150         * math/s_clogl.c: Likewise.
67151         * math/s_clog10.c: Include <float.h>.
67152         (M_LOG10_2): Define.
67153         (__clog10): Scale large or subnormal inputs.
67154         * math/s_clog10f.c: Likewise.
67155         * math/s_clog10l.c: Likewise.
67156         * math/libm-test.inc (clog_test): Add more tests.
67157         (clog10_test): Likewise.
67158         * sysdeps/i386/fpu/libm-test-ulps: Update.
67159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67160
67161         [BZ #11451]
67162         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67163         x and y.
67164         * math/libm-test.inc (atan2_test): Add another test.
67165
67166         * Makerules (common-objdir-compile): Remove.
67167         * sysdeps/unix/Makefile (config-generated): Do not add
67168         $(unix-generated) to variable.
67169         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67170         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67171         Remove rule.
67172         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67173         Likewise.
67174         [generic bits/local_lim.h] (before-compile): Do not append to
67175         variable.
67176         [generic bits/local_lim.h] (common-generated): Likewise.
67177         [generic sys/param.h] (before-compile): Do not append to variable.
67178         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67179         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67180         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67181         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67182         include.
67183         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67184         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67185         [generic sys/param.h] ($(addprefix
67186         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67187         [generic sys/param.h] (common-generated): Do not append to
67188         variable.
67189         [generic sys/param.h] (sysdep_headers): Likewise.
67190         [generic bits/errno.h] (before-compile): Do not append to
67191         variable.
67192         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67193         rule.
67194         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67195         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67196         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67197         [generic bits/errno.h] (common-generated): Do not append to
67198         variable.
67199         [generic bits/ioctls.h] (before-compile): Do not append to
67200         variable.
67201         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67202         rule.
67203         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67204         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67205         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67206         rule.
67207         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67208         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67209         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67210         [generic bits/ioctls.h] (common-generated): Do not append to
67211         variable.
67212         [generic sys/syscall.h] (syscall.h): Remove variable.
67213         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67214         rule.
67215         [generic sys/syscall.h] (before-compile): Do not append to
67216         variable.
67217         [generic sys/syscall.h] (common-generated): Likewise.
67218         * sysdeps/unix/errnos-tmpl.c: Remove file.
67219         * sysdeps/unix/errnos.awk: Likewise.
67220         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67221         * sysdeps/unix/ioctls.awk: Likewise.
67222         * sysdeps/unix/mk-local_lim.c: Likewise.
67223         * sysdeps/unix/snarf-ioctls: Likewise.
67224
67225 2012-03-19  Richard Henderson  <rth@twiddle.net>
67226
67227         * sysdeps/i386/fpu/fenv_private.h: New file.
67228         * sysdeps/i386/fpu/math_private.h: Use it.
67229         (math_opt_barrier, math_force_eval): Remove.
67230         (libc_feholdexcept_setround_53bit): Remove.
67231         (libc_feupdateenv_53bit): Remove.
67232         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67233         (math_opt_barrier, math_force_eval): Remove.
67234         (libc_feholdexcept): Remove.
67235         (libc_feholdexcept_setround): Remove.
67236         (libc_fetestexcept, libc_fesetenv): Remove.
67237         (libc_feupdateenv_test): Remove.
67238         (libc_feupdateenv, libc_feholdsetround): Remove.
67239         (libc_feresetround): Remove.
67240
67241         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67242         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67243
67244         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67245         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67246         (libc_feupdateenv_testl): New.
67247         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67248         (libc_feupdateenv_testf): New.
67249         (libc_feupdateenv): Use libc_feupdateenv_test.
67250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67251         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67252
67253         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67254         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67255         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67256         (libc_feresetround_noex): New.
67257         (libc_feresetround_noexf): New.
67258         (libc_feresetround_noexl): New.
67259         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67260         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67261         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67262         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67263         SET_RESTORE_ROUND.
67264         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67266         (__cos): Likewise.
67267         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67268         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67269         SET_RESTORE_ROUND_NOEX.
67270         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67271         SET_RESTORE_ROUND_NOEXF.
67272         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67273         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67274         (libc_feholdsetroundf): New.
67275         (libc_feresetround, libc_feresetroundf): New.
67276
67277         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67278         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67279         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67280
67281         * sysdeps/generic/math_private.h: Include <fenv.h>.
67282         (default_libc_feholdexcept): New.
67283         (default_libc_feholdexcept_setround): New.
67284         (default_libc_fesetenv, default_libc_feupdateenv): New.
67285         (libc_feholdexcept): Only define if undefined.
67286         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67287         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67288         (libc_feholdexcept_setroundl): Likewise.
67289         (libc_feholdexcept_setround_53bit): Likewise.
67290         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67291         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67292         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67293         (libc_feupdateenv_53bit): Likewise.
67294         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67295         (libc_feholdexcept): Convert from macro to inline function.
67296         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67297         (libc_fesetenv, libc_feupdateenv): Likewise.
67298
67299         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67300         not previously defined.
67301         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67302         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67303         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67304         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67305         * sysdeps/ieee754/flt-32/math_private.h: New file.
67306         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67307         math_private.h below SET_FLOAT_WORD.
67308         (__isnan, __isinf_ns, __finite): Remove.
67309         (__isnanf, __isinf_nsf, __finitef): Remove.
67310
67311 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67312
67313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67314
67315 2012-03-17  David S. Miller  <davem@davemloft.net>
67316
67317         [BZ #6471]
67318         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67319         for 2.16.
67320
67321 2012-03-16  David S. Miller  <davem@davemloft.net>
67322
67323         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67324         warnings.
67325
67326         [BZ #6471]
67327         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67328         properly.
67329         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67330         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67331         sysdep_routines when subdir is sysvipc.
67332         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67333         __getshmlba helper.
67334
67335         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67336
67337 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67338
67339         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67340         [__LP64__].
67341
67342 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67343
67344         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67345         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67346         (__lround): Renamed to ...
67347         (__llround): This.  Replace long int with long long int.
67348         Define lround functions as aliases of llround functions.
67349         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67350
67351 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67352
67353         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67354         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67355         adresses to uintptr_t.  Replace "long int" and "unsigned long
67356         int" with "greg_t" on va_arg.
67357
67358 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67359
67360         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67361         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67362
67363         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67364         Move e_machine check before EI_CLASS check.  Handle x32
67365         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67366         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67367         SKIP_EM_IA_64 and include
67368         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67369
67370         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67371         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67372         (add_system_dir): New macro.
67373
67374         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67375         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67376
67377 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67378
67379         [BZ #2551]
67380         [BZ #2552]
67381         [BZ #2553]
67382         [BZ #2554]
67383         [BZ #2562]
67384         [BZ #2563]
67385         [BZ #2565]
67386         [BZ #2566]
67387         [BZ #2576]
67388         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67389         (y0): Likewise.
67390         * math/w_j0f.c (j0f): Likewise.
67391         (y0f): Likewise.
67392         * math/w_j0l.c (__j0l): Likewise.
67393         (__y0l): Likewise.
67394         * math/w_j1.c (j1): Likewise.
67395         (y1): Likewise.
67396         * math/w_j1f.c (j1f): Likewise.
67397         (y1f): Likewise.
67398         * math/w_j1l.c (__j1l): Likewise.
67399         (__y1l): Likewise.
67400         * math/w_jn.c (jn): Likewise.
67401         (yn): Likewise.
67402         * math/w_jnf.c (jnf): Likewise.
67403         (ynf): Likewise.
67404         * math/w_jnl.c (__jnl): Likewise.
67405         (__ynl): Likewise.
67406         * math/libm-test.inc (j0_test): Add more tests.
67407         (j1_test): Likewise.
67408         (jn_test): Likewise.  Add trailing semicolon to existing test.
67409         (y0_test): Likewise.
67410         (y1_test): Likewise.
67411         * sysdeps/i386/fpu/libm-test-ulps: Update.
67412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67413
67414         [BZ #13851]
67415         [BZ #13854]
67416         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67417         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67418         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67419         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67420         (__tanl): Set errno for infinite argument.
67421         * sysdeps/i386/fpu/mptan.c: Remove.
67422         * sysdeps/i386/fpu/s_tan.S: Likewise.
67423         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67424         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67425         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67426         * math/libm-test.inc (tan_test): Add more tests and enable more
67427         tests for double and long double.
67428         * sysdeps/i386/fpu/libm-test-ulps: Update.
67429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67430
67431 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67432
67433         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67434         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67435
67436 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67437
67438         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67439         * configure.in: Use it for both main tree and add-ons.
67440         * configure: Regenerated.
67441
67442 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67443
67444         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67445
67446 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67447
67448         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67449         in comment.
67450
67451         [BZ #13851]
67452         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67453         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67454         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67455         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67456         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67457         infinite argument.
67458         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67459         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67460         != 0 for prec == 2.
67461         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67462         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67463         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67464         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67465         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67466         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67467         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67468         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67469         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67470         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67471         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67472         * math/libm-test.inc (cos_test): Add more tests and enable more
67473         tests for long double.
67474         (sin_test): Likewise.
67475         (sincos_test): Likewise.
67476         * sysdeps/i386/fpu/libm-test-ulps: Update.
67477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67478
67479 2012-03-16  David S. Miller  <davem@davemloft.net>
67480
67481         * sysdeps/sparc/fpu/math_private.h: New file.
67482
67483 2012-03-15  David S. Miller  <davem@davemloft.net>
67484
67485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67486         file.
67487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67489         file.
67490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67496         sysdep routines.
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67498
67499         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67500         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67501
67502         * sysdeps/sparc/sparc-ifunc.h: New file.
67503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67504         sparc-ifunc.h
67505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67507         Likewise.
67508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67509         Likewise.
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67514         Likewise.
67515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67520         Likewise.
67521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67522         Likewise.
67523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67530         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67544         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67547
67548 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67549
67550         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67551         scaling.
67552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67553
67554 2012-03-15  Andreas Jaeger  <aj@suse.de>
67555
67556         [BZ #13852]
67557         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67558         ieee754/flt-32 implementation for sin, cos and sincos.
67559         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67560         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67561         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67562         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67563         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67564         ieee754/flt-32 implementation for tan.
67565
67566         * math/libm-test.inc (cos_test): Enable some large input tests for
67567         float as well
67568         (sin_test): Likewise.
67569         (sincos_test): Likewise.
67570         (tan_test): Add tests for large input.
67571
67572         * sysdeps/i386/fpu/libm-test-ulps: Update.
67573
67574 2012-03-15  Andreas Jaeger  <aj@suse.de>
67575
67576         [BZ #13658]
67577         * math/libm-test.inc (cos_test): Add more test cases.
67578         (sin_test): Likewise.
67579         (sincos_test): Likewise.
67580
67581 2012-03-15  Andreas Jaeger  <aj@suse.de>
67582
67583         [BZ #13837]
67584         * math/libm-test.inc (cos_test): Add a test case for large input
67585         value.
67586         (sin_test): Likewise.
67587         (sincos_test): Likewise.
67588
67589 2012-03-15  Andreas Jaeger  <aj@suse.de>
67590             Joseph Myers  <joseph@codesourcery.com>
67591
67592         [BZ #13658]
67593         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67594         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67595         * sysdeps/i386/fpu/branred.c: Likewise.
67596         * sysdeps/i386/fpu/dosincos.c: Likewise.
67597         * sysdeps/i386/fpu/mpa.c: Likewise.
67598         * sysdeps/i386/fpu/s_cos.S: Likewise.
67599         * sysdeps/i386/fpu/s_sin.S: Likewise.
67600         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67601         * sysdeps/i386/fpu/sincos32.c: Likewise.
67602
67603         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67604         Define.
67605         (libc_feupdateenv_53bit): Define.
67606         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67607         Define.
67608         (libc_feupdateenv_53bit): Define.
67609
67610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67611         53 bit (without extend i386 double precision).
67612
67613         * math/libm-test.inc (sincos_test): Add tests for large input.
67614         (sin): Likewise.
67615         (cos): Likewise.
67616
67617         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67618
67619 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67620
67621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67622
67623 2012-03-15  David S. Miller  <davem@davemloft.net>
67624
67625         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67626         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67627         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67628         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67641         file.
67642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67644         file.
67645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67647         file.
67648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67650         file.
67651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67652         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67653         fmin/fmax sysdep routines.
67654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67655
67656 2012-03-14  David S. Miller  <davem@davemloft.net>
67657
67658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67662         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67663         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67664         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67665         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67678         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67679         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67680         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67682         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67685         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67687         routines.
67688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67689         file.
67690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67692         file.
67693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67695         file.
67696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67698         file.
67699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67701         file.
67702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67704         file.
67705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67706         file.
67707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67708         file.
67709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67710         file.
67711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67712         New file.
67713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67714         file.
67715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67716         file.
67717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67719         file.
67720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67722         file.
67723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67725         file.
67726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67728         VIS3 routines.
67729
67730         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67731         New file.
67732
67733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67734
67735         * sysdeps/sparc/configure.in: New file.
67736         * sysdeps/sparc/configure: Generate.
67737         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67738         * configure: Regenerate.
67739         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67740         * config.make.in (have-as-vis3): New.
67741         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67742         available use -Av9d instead of -Av9a.
67743         * sysdeps/sparc/sparc64/Makefile: Likewise.
67744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67746         New file.
67747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67748         file.
67749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67750         New file.
67751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67752         file.
67753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67754         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67755         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67758
67759         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67760         fzeros/fnegs to load 0x80000000 into a float register instead of
67761         using the stack.
67762         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67763
67764 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67765
67766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67767         bits/syscall.h.
67768         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67769         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67770         ($(inst_includedir)/bits/syscall.h): Remove rule.
67771         ($(objpfx)bits/syscall.d): Include instead of
67772         $(objpfx)syscall-list.d.
67773         (generated): Change syscall-list.h and syscall-list.d to
67774         bits/syscall.h and bits/syscall.d.
67775
67776 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67777
67778         [BZ #13846]
67779         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67780
67781 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67782
67783         [BZ #13841]
67784         * math/s_csqrt.c: Include <float.h>.
67785         (__csqrt): Scale large or subnormal inputs.
67786         * math/s_csqrtf.c: Likewise.
67787         * math/s_csqrtl.c: Likewise.
67788         * math/libm-test.inc (csqrt_test): Add more tests.
67789         * sysdeps/i386/fpu/libm-test-ulps: Update.
67790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67791
67792         [BZ #13840]
67793         * math/libm-test.inc (hypot_test): Add more tests.
67794
67795 2012-03-13  David S. Miller  <davem@davemloft.net>
67796
67797         [BZ #13840]
67798         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67799         double-precision for the calculation instead of scaling.
67800
67801 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67802
67803         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67804         manipulate bits before adding and subtracting TWO52[sx].
67805         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67806         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67807         Likewise.
67808         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67809
67810 2012-03-13  David S. Miller  <davem@davemloft.net>
67811
67812         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67813         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67814         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67815         rtld-global-offsets.h
67816         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67817
67818         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67819         large parameters.
67820
67821         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67822
67823         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67824         'err' in the ifdef scope in which it is actually used.
67825
67826         * nss/nss_db/db-init.c: Include string.h
67827
67828 2012-03-12  David S. Miller  <davem@davemloft.net>
67829
67830         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67831         masking out of the most significant byte of random value used.
67832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67833         Fix coding style in previous change.
67834
67835         * sysdeps/unix/sysv/linux/kernel-features.h
67836         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67837         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67838         expression.
67839         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67840         later.
67841
67842 2012-03-11  David S. Miller  <davem@davemloft.net>
67843
67844         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67845         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67846         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67847         for 'resultvar' otherwise things get truncated on 64-bit.
67848
67849         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67850         Fix masking out of the most significant byte of random value used.
67851
67852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67853
67854 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67855
67856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67857
67858 2012-03-09  David S. Miller  <davem@davemloft.net>
67859
67860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67861         variables with appropriate CPP guards.
67862         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67863         from the frame pointer, not the stack pointer.  Correct layout
67864         comments.  Fix test on resulting framesize and the management of
67865         the outregs buffer for pltexit.  Preserve floating point return
67866         values across _dl_call_pltexit call.
67867         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67868         framesize and the management of the outregs buffer for pltexit.
67869         Preserve floating point return values across _dl_call_pltexit
67870         call.
67871         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67872         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67873         (la_sparc64_gnu_pltexit): New functions.
67874         (print_exit): Fix format string for return register value.
67875
67876 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67877
67878         * sunrpc/Makefile (others): Add rpcgen.
67879         ($(objpfx)rpcgen): Remove special build rule and dependency on
67880         libc.
67881         * sunrpc/rpcgen.c: New file.
67882
67883 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67884
67885         [BZ #13673]
67886         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67887         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67888         * sysdeps/i386/crti.S: Likewise.
67889         * sysdeps/i386/crtn.S: Likewise.
67890         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67891         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67892         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67893         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67894         * sysdeps/sh/crti.S: Likewise.
67895         * sysdeps/sh/crtn.S: Likewise.
67896         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67897
67898         [BZ #13673]
67899         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67900         with URL.
67901         * locale/programs/locfile-kw.gperf: Likewise.
67902         * locale/programs/charmap-kw.h: Regenerated.
67903         * locale/programs/locfile-kw.h: Likewise.
67904
67905         [BZ #13673]
67906         * intl/plural.y: Replace FSF snail mail address with URL.
67907         * intl/plural.c: Regenerated.
67908
67909 2012-03-09  Richard Henderson  <rth@twiddle.net>
67910
67911         * include/math_private.h: Remove file.
67912         * math/math_private.h: Move file ...
67913         * sysdeps/generic/math_private.h: ... here.
67914
67915         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67916         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67917         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67918
67919         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67920         and <math_private.h>.
67921         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67922         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67923         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67924         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67925         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67926         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67927         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67929         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67930         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67932         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67933         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67934         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67935         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67936         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67937         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67938         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67939         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67940         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67942         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67943         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67944         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67945         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67946         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67947         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67948         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67950         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67951         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67953         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67954         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67955         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67957         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67958         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67959         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67960         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67961         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67962         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67963         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67964         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67965         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67966         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67967         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67968         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67969         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67970         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67971         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67972         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67973         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67974         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67975         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67976         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67977         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67978         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67979         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67980         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67981         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67982         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67984         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67985         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67986         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67987         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67988         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67989         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67990         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67992         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67993         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67994         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67995         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67997         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67998         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67999         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68000         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68001         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68002         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68003         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68004         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68005         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68006         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68007         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68008         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68009         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68010         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68011         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68012         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68013         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68014         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68015         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68016         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68017         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68018         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68019         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68021         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68022         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68023         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68024         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68025         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68026         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68027         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68028         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68029         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68030         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68031         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68032         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68033         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68034         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68035         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68036         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68037         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68038         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68039         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68040         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68041         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68042         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68043         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68044         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68045         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68046         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68047         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68048         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68049         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68050         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68051         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68052         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68053         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68054         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68055         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68056         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68057         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68058         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68059         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68060         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68061         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68062         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68063         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68064         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68065         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68066         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68067         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68068         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68069         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68070         * sysdeps/ieee754/k_standard.c: Likewise.
68071         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68072         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68073         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68074         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68075         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68076         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68077         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68078         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68079         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68080         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68081         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68082         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68083         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68084         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68085         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68086         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68087         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68088         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68089         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68090         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68091         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68092         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68093         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68094         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68095         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68096         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68097         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68098         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68099         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68100         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68101         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68102         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68103         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68104         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68105         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68106         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68107         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68108         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68109         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68111         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68112         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68113         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68114         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68115         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68116         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68117         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68119         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68120         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68121         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68152         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68154         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68156         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68161         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68162         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68164         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68166         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68168         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68169         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68170         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68174         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68175         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68176         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68178         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68179         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68180         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68181         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68182         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68183         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68186         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68187         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68188         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68189         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68190         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68191         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68192         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68193         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68194         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68195         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68196         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68197         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68198         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68200         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68201         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68202         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68203         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68206         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68207         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68208         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68209         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68210         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68211         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68212         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68213         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68214         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68215         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68216         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68217         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68218         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68219         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68220         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68221         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68222         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68223         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68224         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68225         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68226         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68227         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68228         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68229         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68230         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68231         * sysdeps/ieee754/s_lib_version.c: Likewise.
68232         * sysdeps/ieee754/s_matherr.c: Likewise.
68233         * sysdeps/ieee754/s_signgam.c: Likewise.
68234         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68235         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68236         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68237         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68238         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68239         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68240         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68241         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68242         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68243         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68244         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68245         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68246         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68247         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68248         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68249         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68250         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68251         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68252         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68254         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68255
68256 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68257
68258         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68259         * sunrpc/rpc_main.c: Likewise.
68260         * sunrpc/rpc_svcout.c: Likewise.
68261
68262 2012-03-09  David S. Miller  <davem@davemloft.net>
68263
68264         * include/math_private.h: New file.
68265
68266 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68267
68268         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68269         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68270         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68271         from <bits/socket_type.h>.
68272         (enum __socket_type): Don't define here.
68273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68275         bits/socket_type.h.
68276
68277         [BZ #13566]
68278         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68279         checking __USE_GNU.
68280
68281         * Makerules ($(inst_includedir)/%.h): New rule.
68282         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68283         (install-others): Remove variable setting.
68284         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68285
68286 2012-03-08  Richard Henderson  <rth@twiddle.net>
68287
68288         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68289         from macro to inline function; merge with the
68290         !__LIBC_INTERNAL_MATH_INLINES version.
68291         (__ieee754_sqrtf): Likewise.
68292
68293         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68294         to inline function.
68295         (__rintf, __floor, __floorf): Likewise.
68296
68297         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68298         macro to inline function.
68299         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68300
68301         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68302         not <math/math_private.h>.
68303
68304 2012-03-08  David S. Miller  <davem@davemloft.net>
68305
68306         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68307         copyright year.
68308         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68309
68310 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68311
68312         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68313         normalization.
68314         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68315         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68316
68317 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68318
68319         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68320         be defined individually, they must be defined as a block.  Define
68321         S for printing a string instead of hidint the different by using a
68322         macro for adding the 'l'.
68323         * stdio-common/tst-fphex-wide.c: Adjust.
68324
68325 2012-03-07  Marek Polacek  <polacek@redhat.com>
68326
68327         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68328
68329 2012-03-08  Marek Polacek  <polacek@redhat.com>
68330
68331         [BZ #13806]
68332         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68333         * stdio-common/tst-fphex.c: Define a few macros to make the
68334         test reusable.  Use them.
68335         * stdio-common/tst-fphex-wide.c: New file.
68336
68337 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68338
68339         [BZ #6911]
68340         * manual/macros.texi (gnusystems): New macro.
68341         (nongnusystems): Likewise.
68342         (gnulinuxhurdsystems): Likewise.
68343         (gnuhurdsystems): Likewise..
68344         (gnulinuxsystems): Likewise.
68345         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68346         variants of the GNU system, not "GNU system".
68347         * manual/conf.texi: Likewise.
68348         * manual/errno.texi: Likewise.  Update example of errno macro
68349         expansion.
68350         * manual/filesys.texi: Likewise.
68351         (getumask): Document as specific to GNU/Hurd.
68352         * manual/install.texi: Likewise.  Reword some references to
68353         GNU/Linux.
68354         * manual/intro.texi: Likewise.
68355         * manual/io.texi: Likewise.
68356         (File Name Portability): Detail which constraints are inapplicable
68357         to all GNU systems and which are only inapplicable to GNU/Hurd.
68358         * manual/job.texi: Likewise.
68359         * manual/llio.texi: Likewise.
68360         (O_NOCTTY): Document as present on GNU/Linux.
68361         * manual/maint.texi: Likewise.
68362         * manual/memory.texi: Likewise.
68363         * manual/pattern.texi: Likewise.
68364         * manual/pipe.texi: Likewise.
68365         * manual/process.texi: Likewise.
68366         * manual/resource.texi: Likewise.
68367         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68368         child on GNU/Hurd.
68369         * manual/setjmp.texi: Likewise.
68370         * manual/signal.texi: Likewise.
68371         * manual/startup.texi: Likewise.
68372         * manual/stdio.texi: Likewise.
68373         * manual/terminal.texi: Likewise.
68374         (ONLCR): Document as POSIX.
68375         (OXTABS): Document availability on GNU/Linux as XTABS.
68376         (ONOEOT): Document availability separately from other bits.
68377         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68378         * manual/time.texi: Likewise.
68379         * manual/users.texi: Likewise.
68380         * INSTALL: Regenerated.
68381         * sysdeps/gnu/errlist.c: Regenerated.
68382
68383         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68384         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68385         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68386         puts.
68387         * configure: Regenerated.
68388
68389 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68390
68391         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68392         default includes instead of AC_HEADER_CHECK.
68393         * sysdeps/i386/configure: Regenerated.
68394
68395         [BZ #10716]
68396         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68397         * math/s_cacoshf.c (__cacoshf): Likewise.
68398         * math/s_cacoshl.c (__cacoshl): Likewise.
68399         * math/s_casinh.c (__casinh): Set signs of result from argument.
68400         * math/s_casinhf.c (__casinhf): Likewise.
68401         * math/s_casinhl.c (__casinhl): Likewise.
68402         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68403         (casinh_test): Add more tests.
68404         * sysdeps/i386/fpu/libm-test-ulps: Update.
68405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68406
68407 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68408
68409         * po/zh_TW.po: Update from translation team.
68410
68411         * login/Makefile (distribute): Remove variable.
68412         * catgets/Makefile: Likewise.
68413         * mach/Makefile: Likewise.
68414         * malloc/Makefile: Likewise.
68415         * misc/Makefile: Likewise.
68416         * iconv/Makefile: Likewise.
68417         * nscd/Makefile: Likewise.
68418         * hurd/Makefile: Likewise.
68419         * manual/Makefile: Likewise.
68420         * locale/Makefile: Likewise.
68421         * intl/Makefile: Likewise.
68422         * conform/Makefile: Likewise.
68423         * nss/Makefile: Likewise.
68424         * time/Makefile: Likewise.
68425         * soft-fp/Makefile: Likewise.
68426         * dirent/Makefile: Likewise.
68427         * gmon/Makefile: Likewise.
68428         * po/Makefile: Likewise.
68429         * rt/Makefile: Likewise.
68430         * socket/Makefile: Likewise.
68431         * math/Makefile: Likewise.
68432         * signal/Makefile: Likewise.
68433         * debug/Makefile: Likewise.
68434         * elf/Makefile: Likewise.
68435         * timezone/Makefile: Likewise.
68436         * stdlib/Makefile: Likewise.
68437         * iconvdata/Makefile: Likewise.
68438         * sunrpc/Makefile: Likewise.
68439         * io/Makefile: Likewise.
68440         * argp/Makefile: Likewise.
68441         * inet/Makefile: Likewise.
68442         * hesiod/Makefile: Likewise.
68443         * grp/Makefile: Likewise.
68444         * csu/Makefile: Likewise.
68445         * wctype/Makefile: Likewise.
68446         * crypt/Makefile: Likewise.
68447         * libio/Makefile: Likewise.
68448         * string/Makefile: Likewise.
68449         * nis/Makefile: Likewise.
68450         * resolv/Makefile: Likewise.
68451         * stdio-common/Makefile: Likewise.
68452         * wcsmbs/Makefile: Likewise.
68453         * dlfcn/Makefile: Likewise.
68454         * posix/Makefile: Likewise.
68455
68456         [BZ #6959]
68457         * timezone/Makefile: Don't install timezone files, just the programs
68458         and scripts.
68459
68460 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68461
68462         * nss/databases.def: Add missing gshadow entry.
68463
68464         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68465
68466 2012-03-06  Marek Polacek  <polacek@redhat.com>
68467
68468         [BZ #13726]
68469         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68470         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68471         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68472         * stdio-common/tst-long-dbl-fphex.c: New file.
68473
68474 2012-03-06  David S. Miller  <davem@davemloft.net>
68475
68476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68477         (set_obp_int): New function.
68478         (get_obp_int): New function.
68479         (__get_clockfreq_via_dev_openprom): Likewise.
68480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68481         Avoid unused variable warnings on 'val' and use builtin_expect.
68482         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68483         __builtin_expect.
68484         (INLINE_CLONE_SYSCALL): Likewise.
68485
68486 2012-03-05  David S. Miller  <davem@davemloft.net>
68487
68488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68489
68490 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68491
68492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68493
68494         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68495         only for |x| >= 40.
68496         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68497
68498 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68499
68500         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68501         Replace gettimeofday with __vdso_gettimeofday.
68502
68503         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68504         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68505         __vdso_clock_gettime and __vdso_getcpu.
68506
68507         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68508         time with __vdso_time.
68509
68510 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68511
68512         * manual/lang.texi (size_t): Note types to which size_t may be
68513         equivalent with the GNU C Library, but do not describe when
68514         differences between them are significant.
68515
68516 2012-03-05  Andreas Jaeger  <aj@suse.de>
68517
68518         * sysdeps/i386/fpu/libm-test-ulps: Update.
68519
68520 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68521
68522         [BZ #3976]
68523         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68524         (__ieee754_pow): Save and restore rounding mode and use
68525         round-to-nearest for main computations.
68526         * math/libm-test.inc (pow_test_tonearest): New function.
68527         (pow_test_towardzero): Likewise.
68528         (pow_test_downward): Likewise.
68529         (pow_test_upward): Likewise.
68530         (main): Call the new functions.
68531         * sysdeps/i386/fpu/libm-test-ulps: Update.
68532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68533
68534         [BZ #3976]
68535         * math/libm-test.inc (cosh_test_tonearest): New function.
68536         (cosh_test_towardzero): Likewise.
68537         (cosh_test_downward): Likewise.
68538         (cosh_test_upward): Likewise.
68539         (sinh_test_tonearest): Likewise.
68540         (sinh_test_towardzero): Likewise.
68541         (sinh_test_downward): Likewise.
68542         (sinh_test_upward): Likewise.
68543         (main): Call the new functions.
68544         * sysdeps/i386/fpu/libm-test-ulps: Update.
68545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68546
68547 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68548
68549         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68550         default stack guard is set in last bytes.
68551         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68552
68553 2012-03-05  Kees Cook  <keescook@chromium.org>
68554
68555         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68556
68557         [BZ #13656]
68558         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68559         possibly allocate from heap instead of stack.
68560         * stdio-common/bug-vfprintf-nargs.c: New file.
68561         * stdio-common/Makefile (tests): Add nargs overflow test.
68562
68563 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68564
68565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68566
68567 2012-03-03  Marek Polacek  <polacek@redhat.com>
68568
68569         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68570         * math/math_private.h: Likewise.
68571         * stdlib/tst-strtod.c: Likewise.
68572         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68573         * sysdeps/x86_64/bits/atomic.h: Likewise.
68574
68575 2012-03-02  David S. Miller  <davem@davemloft.net>
68576
68577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68581         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68582         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68583         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68584         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68585
68586 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68587
68588         [BZ #13792]
68589         * manual/examples/README: New file, says the example source files
68590         can be used under GPL>=2.
68591         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68592         line containing just "*/".
68593         * manual/examples/add.c: Add copyright header (GPL>=2).
68594         * manual/examples/argp-ex1.c: Likewise.
68595         * manual/examples/argp-ex2.c: Likewise.
68596         * manual/examples/argp-ex3.c: Likewise.
68597         * manual/examples/argp-ex4.c: Likewise.
68598         * manual/examples/atexit.c: Likewise.
68599         * manual/examples/db.c: Likewise.
68600         * manual/examples/dir.c: Likewise.
68601         * manual/examples/dir2.c: Likewise.
68602         * manual/examples/execinfo.c: Likewise.
68603         * manual/examples/filecli.c: Likewise.
68604         * manual/examples/filesrv.c: Likewise.
68605         * manual/examples/fmtmsgexpl.c: Likewise.
68606         * manual/examples/genpass.c: Likewise.
68607         * manual/examples/inetcli.c: Likewise.
68608         * manual/examples/inetsrv.c: Likewise.
68609         * manual/examples/isockad.c: Likewise.
68610         * manual/examples/longopt.c: Likewise.
68611         * manual/examples/memopen.c: Likewise.
68612         * manual/examples/memstrm.c: Likewise.
68613         * manual/examples/mkfsock.c: Likewise.
68614         * manual/examples/mkisock.c: Likewise.
68615         * manual/examples/mygetpass.c: Likewise.
68616         * manual/examples/pipe.c: Likewise.
68617         * manual/examples/popen.c: Likewise.
68618         * manual/examples/rprintf.c: Likewise.
68619         * manual/examples/search.c: Likewise.
68620         * manual/examples/select.c: Likewise.
68621         * manual/examples/setjmp.c: Likewise.
68622         * manual/examples/sigh1.c: Likewise.
68623         * manual/examples/sigusr.c: Likewise.
68624         * manual/examples/stpcpy.c: Likewise.
68625         * manual/examples/strdupa.c: Likewise.
68626         * manual/examples/strftim.c: Likewise.
68627         * manual/examples/strncat.c: Likewise.
68628         * manual/examples/subopt.c: Likewise.
68629         * manual/examples/swapcontext.c: Likewise.
68630         * manual/examples/termios.c: Likewise.
68631         * manual/examples/testopt.c: Likewise.
68632         * manual/examples/testpass.c: Likewise.
68633         * manual/examples/timeval_subtract.c: Likewise.
68634
68635         [BZ #13792]
68636         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68637         function to ...
68638         * manual/timeval_subtract.c.texi: ... here, new file.
68639
68640 2012-03-02  David S. Miller  <davem@davemloft.net>
68641
68642         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68643
68644 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68645
68646         [BZ #3976]
68647         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68648         (__sin): Save and restore rounding mode and use round-to-nearest
68649         for all computations.
68650         (__cos): Save and restore rounding mode and use round-to-nearest
68651         for all computations.
68652         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68653         <fenv.h>.
68654         (tan): Save and restore rounding mode and use round-to-nearest for
68655         all computations.
68656         * math/libm-test.inc (cos_test_tonearest): New function.
68657         (cos_test_towardzero): Likewise.
68658         (cos_test_downward): Likewise.
68659         (cos_test_upward): Likewise.
68660         (sin_test_tonearest): Likewise.
68661         (sin_test_towardzero): Likewise.
68662         (sin_test_downward): Likewise.
68663         (sin_test_upward): Likewise.
68664         (tan_test_tonearest): Likewise.
68665         (tan_test_towardzero): Likewise.
68666         (tan_test_downward): Likewise.
68667         (tan_test_upward): Likewise.
68668         (main): Call the new functions.
68669         * sysdeps/i386/fpu/libm-test-ulps: Update.
68670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68671
68672         [BZ #10135]
68673         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68674         small n, then large n, before computing and testing k+n.
68675         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68676         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68677         Likewise.
68678         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68679         Likewise.
68680         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68681         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68682         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68683         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68684         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68686         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68687         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68688         * math/libm-test.inc (scalbn_test): Add more tests.
68689         (scalbln_test): Likewise.
68690
68691         * manual/filesys.texi (mode_t): Describe constraints on size and
68692         signedness, not exact equivalence to a particular type.
68693         (ino_t): Likewise.
68694         (ino64_t): Likewise.
68695         (dev_t): Likewise.
68696         (nlink_t): Likewise.
68697         (blkcnt_t): Likewise.
68698         (blkcnt64_t): Likewise.
68699         * manual/llio.texi (off_t): Likewise.
68700
68701         [BZ #3976]
68702         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68703         (__ieee754_exp): Save and restore rounding mode and use
68704         round-to-nearest for all computations.
68705         * math/libm-test.inc (exp_test_tonearest): New function.
68706         (exp_test_towardzero): Likewise.
68707         (exp_test_downward): Likewise.
68708         (exp_test_upward): Likewise.
68709         (main): Call the new functions.
68710         * sysdeps/i386/fpu/libm-test-ulps: Update.
68711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68712
68713 2012-03-01  Chris Demetriou  <cgd@google.com>
68714
68715         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68716         have predictable order.
68717
68718 2012-03-01  David S. Miller  <davem@davemloft.net>
68719
68720         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68721
68722         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68723         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68724         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68725         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68726
68727         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68728         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68729         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68731         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68732         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68733         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68734         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68735         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68736
68737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68738
68739         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68740         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68741         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68742
68743         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68744         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68745         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68746         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68747         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68748         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68749         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68750         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68751         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68752         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68753         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68754         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68756         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68757         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68759         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68760         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68761         * sysdeps/sparc/elf/configure: Regenerated.
68762
68763 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68764
68765         * configure.in (AS, LD): Require binutils 2.20 or later.
68766         * configure: Regenerated.
68767         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68768         as required minimum version.
68769         * INSTALL: Regenerated.
68770
68771         [BZ #2541]
68772         [BZ #4108]
68773         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68774         before squaring exponent.
68775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68776         bottom long double and 27 bits of top long double before squaring
68777         exponent.
68778         * math/libm-test.inc (erfc_test): Add more tests.
68779         * sysdeps/i386/fpu/libm-test-ulps: Update.
68780         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68782
68783 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68784
68785         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68786         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68787         containing bit-fields.
68788         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68789         * soft-fp/single.h (_FP_UNION_S): Likewise.
68790         * soft-fp/double.h (_FP_UNION_D): Likewise.
68791
68792 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68793
68794         [BZ #13786]
68795         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68796         not include ../strcmp.S.
68797         [USE_AS_STRNCASECMP_L]: Likewise.
68798         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68799         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68800         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68801         (__strncasecmp_l_ia32): Define as alias to
68802         __strncasecmp_l_nonascii.
68803
68804         [BZ #5794]
68805         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68806         * sysdeps/i386/fpu/libm-test-ulps: Update.
68807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68808
68809         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68811
68812 2012-02-29  Jeff Law  <law@redhat.com>
68813
68814         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68815         out of bounds read.
68816
68817 2012-02-29  Marek Polacek  <polacek@redhat.com>
68818
68819         [BZ #13706]
68820         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68821         * elf/Makefile: Add rules to run tst-unused-dep.out.
68822
68823 2012-02-28  David S. Miller  <davem@davemloft.net>
68824
68825         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68826         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68827         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68828         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68829         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68830         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68831
68832 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68833
68834         * math/libm-test.inc (llround_test): Move one test from
68835         lround_test.  Use TEST_f_L in moved test.
68836         (lround_test): Move misplaced test to llround_test.  Add testcase
68837         from bug 2561.
68838
68839 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68840
68841         * sysdeps/x86_64/fpu/e_expf.S: New file.
68842         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68843
68844 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68845
68846         [BZ #13637]
68847         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68848         of remain_len that may cause incomplete multi-byte character and
68849         false match.
68850         * posix/bug-regex33.c: New file.
68851         * posix/Makefile (tests): Add bug-regex33.
68852
68853 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68854
68855         * manual/macros.texi: New file.
68856         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68857         * manual/libc.texinfo: Include macros.texi.
68858         * manual/creatute.texi: Likewise.
68859         * manual/install.texi: Likewise.
68860         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68861         @glibcadj{} in references to the GNU C Library.
68862         * manual/charset.texi: Likewise.
68863         * manual/conf.texi: Likewise.
68864         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68865         when not using those macros.
68866         * manual/creature.texi: Likewise.
68867         * manual/crypt.texi: Likewise.
68868         * manual/errno.texi: Likewise.
68869         * manual/filesys.texi: Likewise.
68870         * manual/header.texi: Likewise.
68871         * manual/install.texi: Likewise.
68872         * manual/intro.texi: Likewise.
68873         * manual/io.texi: Likewise.
68874         * manual/job.texi: Likewise.
68875         * manual/lang.texi: Likewise.
68876         * manual/libc.texiinfo: Likewise.
68877         * manual/llio.texi: Likewise.
68878         * manual/locale.texi: Likewise.
68879         * manual/maint.texi: Likewise.
68880         * manual/math.texi: Likewise.
68881         * manual/memory.texi: Likewise.
68882         * manual/message.texi: Likewise.
68883         * manual/nss.texi: Likewise.
68884         * manual/pattern.texi: Likewise.
68885         * manual/process.texi: Likewise.
68886         * manual/resource.texi: Likewise.
68887         * manual/search.texi: Likewise.
68888         * manual/setjmp.texi: Likewise.
68889         * manual/signal.texi: Likewise.
68890         * manual/socket.texi: Likewise.
68891         * manual/startup.texi: Likewise.
68892         * manual/stdio.texi: Likewise.
68893         * manual/string.texi: Likewise.
68894         * manual/sysinfo.texi: Likewise.
68895         * manual/syslog.texi: Likewise.
68896         * manual/terminal.texi: Likewise.
68897         * manual/time.texi: Likewise.
68898         * manual/users.texi: Likewise.
68899         * INSTALL: Regenerated.
68900         * NOTES: Regenerated.
68901         * sysdeps/gnu/errlist.c: Regenerated.
68902
68903 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68904
68905         * include/dirent.h: Include <dirstream.h> before
68906         <dirent/dirent.h>.
68907
68908 2012-02-28  David S. Miller  <davem@davemloft.net>
68909
68910         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68911         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68912         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68913         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68914
68915 2012-02-27  David S. Miller  <davem@davemloft.net>
68916
68917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68919         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68920         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68921
68922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68923         frame pointer instead of stack pointer relative arg slot.
68924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68925         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68926         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68927
68928 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68929
68930         [BZ #3992]
68931         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68932
68933 2012-02-27  David S. Miller  <davem@davemloft.net>
68934
68935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68939         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68940         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68941         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68942         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68943
68944 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68945
68946         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68947         later.  Allow versions 5-9.
68948         * configure: Regenerated.
68949         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68950         required minimum version and 4.6 as recommended version.  Do not
68951         mention bugs in GCC 2.7 and 2.8.
68952         * INSTALL: Regenerated.
68953
68954 2012-02-27  David S. Miller  <davem@davemloft.net>
68955
68956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68960         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68961         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68962         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68963         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68964
68965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68966         manipulate bits before adding and subtracting TWO112[sx].
68967         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68968
68969 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68970
68971         [BZ #13775]
68972         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68973         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68974         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68975         being in POSIX, because they are in 1003.1-2008.
68976
68977         * rt/tst-aio.c: Include <fcntl.h>.
68978         * rt/tst-aio7.c: Likewise.
68979         * rt/tst-aio64.c: Likewise.
68980
68981         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68982
68983 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68984
68985         * manual/install.texi (--with-headers): Describe headers as
68986         interface headers, not private headers.
68987         (Specific advice for GNU/Linux systems): Describe use of headers
68988         from "make headers_install", not private headers from older
68989         kernels.
68990         * INSTALL: Regenerated.
68991         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68992         Change to 2.6.19.
68993         * sysdeps/unix/sysv/linux/configure: Regenerated.
68994
68995         * manual/llio.texi (fclean): Remove documentation.
68996
68997         * manual/Makefile (libc-texi-generated): New variable.  Include
68998         version.texi.
68999         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69000         $(libc-texi-generated), not duplicated list of files.
69001         (version.texi, stamp-version): New rules.
69002         (realclean): Remove $(libc-texi-generated), not individual files
69003         from that list.  Do not remove dir-add.texinfo.
69004         * manual/libc.texinfo: Comment out uses of edition numbers and
69005         references to printed manual.  Remove last-updated dates.
69006         (EDITION): Comment out.
69007         (ISBN): Likewise.
69008         (VERSION, UPDATED): Remove.
69009         (version.texi): Include.
69010
69011 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69012
69013         * sysdeps/posix/spawni.c: Include <signal.h>.
69014         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69015         * sysdeps/pthread/aio_fsync.c: Likewise.
69016
69017 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69018
69019         * conform/Makefile (tests): Run only when not cross-compiling and
69020         when fast-check is not defined.
69021
69022         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69023         * conform/data/limits.h-data: Fixes for POSIX2008.
69024         * conform/run-conformtest.sh: Run all tests.
69025         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69026         headers.
69027         * include/bits/dlfcn.h: Likewise.
69028         * include/langinfo.h: Likewise.
69029         * include/monetary.h: Likewise.
69030         * include/sys/poll.h: Likewise.
69031
69032         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69033         for __USE_GNU.
69034         * posix/spawn.h: Define __need_sigset_t.
69035         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69036         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69037         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69038         to get sigevent_t only.
69039         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69040         only for __USE_GNU.
69041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69042         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69043         process_vm_writev only for __USE_GNU.
69044         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69045
69046         * conform/Makefile: For now ignore errors from run-conformtest.
69047         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69048         POSIX to avoid namespace pollution.  Don't prepend headers.
69049         * conform/data/aio.h-data: Fixes for POSIX testing.
69050         * conform/data/fcntl.h-data: Likewise.
69051         * conform/data/glob.h-data: Likewise.
69052         * conform/data/grp.h-data: Likewise.
69053         * conform/data/pthread.h-data: Likewise.
69054         * conform/data/pwd.h-data: Likewise.
69055         * conform/data/signal.h-data: Likewise.
69056         * conform/data/spawn.h-data: Likewise.
69057         * conform/data/stdio.h-data: Likewise.
69058         * conform/data/stdlib.h-data: Likewise.
69059         * conform/data/stropts.h-data: Likewise.
69060         * conform/data/sys/mman.h-data: Likewise.
69061         * conform/data/sys/stat.h-data: Likewise.
69062         * conform/data/sys/types.h-data: Likewise.
69063         * conform/data/sys/wait.h-data: Likewise.
69064         * conform/data/time.h-data: Likewise.
69065         * conform/data/unistd.h-data: Likewise.
69066         * conform/data/utime.h-data: Likewise.
69067
69068         * io/sys/stat.h: fchmod was always in POSIX.
69069         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69070         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69071         * rt/aio.h: Define __need_timespec before including <time.h>.
69072         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69073         struct.  Add forward declaration of pthread_attr_t and use it in
69074         sigevent.
69075         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69076         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69077         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69078         always remove CLK_TCK definition.
69079
69080 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69081
69082         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69083
69084 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69085
69086         * conform/run-conformtest.sh: New file.
69087         * conform/Makefile: Run run-conformtest for tests.
69088         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69089         support.
69090
69091         * conform/data/uchar.h-data: New file.
69092         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69093         * conform/data/arpa/inet.h-data: Likewise.
69094         * conform/data/assert.h-data: Likewise.
69095         * conform/data/complex.h-data: Likewise.
69096         * conform/data/cpio.h-data: Likewise.
69097         * conform/data/ctype.h-data: Likewise.
69098         * conform/data/dirent.h-data: Likewise.
69099         * conform/data/dlfcn.h-data: Likewise.
69100         * conform/data/errno.h-data: Likewise.
69101         * conform/data/fcntl.h-data: Likewise.
69102         * conform/data/float.h-data: Likewise.
69103         * conform/data/fmtmsg.h-data: Likewise.
69104         * conform/data/fnmatch.h-data: Likewise.
69105         * conform/data/ftw.h-data: Likewise.
69106         * conform/data/glob.h-data: Likewise.
69107         * conform/data/grp.h-data: Likewise.
69108         * conform/data/iconv.h-data: Likewise.
69109         * conform/data/inttypes.h-data: Likewise.
69110         * conform/data/langinfo.h-data: Likewise.
69111         * conform/data/libgen.h-data: Likewise.
69112         * conform/data/limits.h-data: Likewise.
69113         * conform/data/locale.h-data: Likewise.
69114         * conform/data/math.h-data: Likewise.
69115         * conform/data/monetary.h-data: Likewise.
69116         * conform/data/mqueue.h-data: Likewise.
69117         * conform/data/ndbm.h-data: Likewise.
69118         * conform/data/net/if.h-data: Likewise.
69119         * conform/data/netdb.h-data: Likewise.
69120         * conform/data/netinet/in.h-data: Likewise.
69121         * conform/data/nl_types.h-data: Likewise.
69122         * conform/data/poll.h-data: Likewise.
69123         * conform/data/pthread.h-data: Likewise.
69124         * conform/data/pwd.h-data: Likewise.
69125         * conform/data/regex.h-data: Likewise.
69126         * conform/data/sched.h-data: Likewise.
69127         * conform/data/search.h-data: Likewise.
69128         * conform/data/semaphore.h-data: Likewise.
69129         * conform/data/setjmp.h-data: Likewise.
69130         * conform/data/signal.h-data: Likewise.
69131         * conform/data/spawn.h-data: Likewise.
69132         * conform/data/stdarg.h-data: Likewise.
69133         * conform/data/stdio.h-data: Likewise.
69134         * conform/data/stdlib.h-data: Likewise.
69135         * conform/data/string.h-data: Likewise.
69136         * conform/data/strings.h-data: Likewise.
69137         * conform/data/stropts.h-data: Likewise.
69138         * conform/data/sys/ipc.h-data: Likewise.
69139         * conform/data/sys/mman.h-data: Likewise.
69140         * conform/data/sys/msg.h-data: Likewise.
69141         * conform/data/sys/resource.h-data: Likewise.
69142         * conform/data/sys/select.h-data: Likewise.
69143         * conform/data/sys/sem.h-data: Likewise.
69144         * conform/data/sys/shm.h-data: Likewise.
69145         * conform/data/sys/socket.h-data: Likewise.
69146         * conform/data/sys/stat.h-data: Likewise.
69147         * conform/data/sys/statvfs.h-data: Likewise.
69148         * conform/data/sys/time.h-data: Likewise.
69149         * conform/data/sys/timeb.h-data: Likewise.
69150         * conform/data/sys/times.h-data: Likewise.
69151         * conform/data/sys/types.h-data: Likewise.
69152         * conform/data/sys/uio.h-data: Likewise.
69153         * conform/data/sys/un.h-data: Likewise.
69154         * conform/data/sys/utsname.h-data: Likewise.
69155         * conform/data/sys/wait.h-data: Likewise.
69156         * conform/data/syslog.h-data: Likewise.
69157         * conform/data/tar.h-data: Likewise.
69158         * conform/data/termios.h-data: Likewise.
69159         * conform/data/utime.h-data: Likewise.
69160         * conform/data/utmpx.h-data: Likewise.
69161         * conform/data/varargs.h-data: Likewise.
69162         * conform/data/wchar.h-data: Likewise.
69163         * conform/data/wctype.h-data: Likewise.
69164         * conform/data/wordexp.h-data: Likewise.
69165
69166         * include/stropts.h: New file.
69167         * include/uchar.h: New file.
69168         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69169         * include/assert.h: Likewise.
69170         * include/ctype.h: Likewise.
69171         * include/dirent.h: Likewise.
69172         * include/dlfcn.h: Likewise.
69173         * include/fcntl.h: Likewise.
69174         * include/fnmatch.h: Likewise.
69175         * include/glob.h: Likewise.
69176         * include/grp.h: Likewise.
69177         * include/libio.h: Likewise.
69178         * include/locale.h: Likewise.
69179         * include/math.h: Likewise.
69180         * include/net/if.h: Likewise.
69181         * include/netdb.h: Likewise.
69182         * include/netinet/in.h: Likewise.
69183         * include/pthread.h: Likewise.
69184         * include/pwd.h: Likewise.
69185         * include/regex.h: Likewise.
69186         * include/sched.h: Likewise.
69187         * include/search.h: Likewise.
69188         * include/setjmp.h: Likewise.
69189         * include/signal.h: Likewise.
69190         * include/stdio.h: Likewise.
69191         * include/stdlib.h: Likewise.
69192         * include/string.h: Likewise.
69193         * include/sys/cdefs.h: Likewise.
69194         * include/sys/mman.h: Likewise.
69195         * include/sys/msg.h: Likewise.
69196         * include/sys/resource.h: Likewise.
69197         * include/sys/select.h: Likewise.
69198         * include/sys/socket.h: Likewise.
69199         * include/sys/stat.h: Likewise.
69200         * include/sys/statvfs.h: Likewise.
69201         * include/sys/time.h: Likewise.
69202         * include/sys/times.h: Likewise.
69203         * include/sys/uio.h: Likewise.
69204         * include/sys/utsname.h: Likewise.
69205         * include/sys/wait.h: Likewise.
69206         * include/termios.h: Likewise.
69207         * include/time.h: Likewise.
69208         * include/ulimit.h: Likewise.
69209         * include/unistd.h: Likewise.
69210         * include/utime.h: Likewise.
69211         * include/wchar.h: Likewise.
69212         * include/wctype.h: Likewise.
69213         * include/wordexp.h: Likewise.
69214
69215         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69216
69217         * time/time.h: TIME_UTC must be a macro.
69218         Make timespec_get available for ISO C11 only as well.
69219
69220 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69221
69222         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69223         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69224
69225 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69226
69227         * configure.in: Use -o not -a in test for unsupported multi-arch.
69228
69229 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69230
69231         * manual/texinfo.tex: Update to version 2012-01-19.16.
69232
69233 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69234
69235         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69236
69237 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69238
69239         [BZ #13738]
69240         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69241         * manual/fdl-1.3.texi: New file.
69242         * manual/fdl-1.1.texi: File removed.
69243
69244         [BZ #13738]
69245         * manual/libc.texinfo (FDL_VERSION): New @set.
69246         Use it for mention of FDL in cover text.
69247         (Documentation License): Use it in @include file name.
69248
69249 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69250             Roland McGrath  <roland@hack.frob.com>
69251
69252         [BZ #5461]
69253         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69254         (not LONG_LONG_MAX and LONG_LONG_MIN.
69255         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69256         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69257         name.
69258         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69259
69260 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69261
69262         [BZ #2547]
69263         [BZ #11365]
69264         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69265         manipulate bits before adding and subtracting TWO23[sx].
69266         * math/libm-test.inc (nearbyint_test): Add more tests.
69267
69268 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69269
69270         [BZ #2548]
69271         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69272         bits before adding and subtracting TWO23[sx].
69273         * math/libm-test.inc (rint_test): Add more tests.
69274         (rint_test_tonearest): Likewise.
69275         (rint_test_towardzero): Likewise.
69276         (rint_test_downward): Likewise.
69277         (rint_test_upward: Likewise.
69278
69279 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69280
69281         [BZ #10110]
69282         * include/stdc-predef.h: New file.  Extracted from features.h.
69283         * include/features.h: Include stdc-predef.h.
69284         * Makefile (headers): Add stdc-predef.h.
69285         * CONFORMANCE (Compiler limitations): Update.
69286
69287 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69288
69289         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69290
69291 2012-02-21  David S. Miller  <davem@davemloft.net>
69292
69293         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69294         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69295
69296 2012-02-20  David S. Miller  <davem@davemloft.net>
69297
69298         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69299         using a normal save/restore sequence, rather than allocating a
69300         dummy stack frame just to store a frame pointer and restore.
69301         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69302
69303 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69304
69305         * manual/install.texi: Fix stray word in line-wrapped comment.
69306
69307 2012-02-20  David S. Miller  <davem@davemloft.net>
69308
69309         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69310         both binutils and gcc support GOTDATA.
69311
69312         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69313         "rd %pc" in the PIC register setup sequences.
69314
69315         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69316         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69317         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69318         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69319         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69320         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69321         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69322         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69324         (SYSCALL_ERROR_HANDLER): Likewise.
69325         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69326         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69328         (SYSCALL_ERROR_HANDLER): Likewise.
69329
69330         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69331         (HAVE_GCC_GOTDATA): New.
69332         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69333         relocation support in both binutils and gcc.
69334         * sysdeps/sparc/elf/configure: Regenerate.
69335
69336         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69337         * sysdeps/sparc/sparc32/elf/configure: Delete.
69338         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69339         * sysdeps/sparc/sparc64/elf/configure: Delete.
69340         * sysdeps/sparc/elf/configure.in: New file.
69341         * sysdeps/sparc/elf/configure: Generate.
69342
69343         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69344         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69345         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69346         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69347         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69348
69349 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69350
69351         * manual/install.texi: Do not mention specific glibc version
69352         numbers.
69353         * manual/libc.texinfo (VERSION, UPDATED): Update.
69354         (@copying): Use @copyright{} and range of years.
69355
69356 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69357
69358         [BZ #13695]
69359         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69360         [crti.S not in sysdirs] (generated): Do not append.
69361         [crti.S not in sysdirs] (omit-deps): Likewise.
69362         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69363         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69364         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69365         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69366         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69367         Likewise.
69368         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69369         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69370         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69371         * csu/defs.awk: Remove file.
69372         * sysdeps/generic/initfini.c: Likewise.
69373         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69374         variable.
69375         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69376         Likewise.
69377
69378 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69379
69380         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69381         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69382         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69383         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69384         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69385         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69386         <bits/epoll.h>.
69387         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69388         (__EPOLL_PACKED): Define to empty if not defined by
69389         <bits/epoll.h>.
69390         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69392         bits/epoll.h.
69393
69394 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69395
69396         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69397         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69398         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69399         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69400         <bits/timerfd.h>.
69401         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69403         bits/timerfd.h.
69404
69405 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69406
69407         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69408         in C locale.
69409         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69410         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69411         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69413
69414 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69415
69416         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69417         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69418
69419 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69420
69421         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69422         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69423         defined.
69424         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69425         Likewise.
69426         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69427         entry for 2.16.
69428
69429 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69430
69431         * math/w_acos.c: Use non-signaling floating-point comparisons.
69432         * math/w_acosf.c: Likewise.
69433         * math/w_acosh.c: Likewise.
69434         * math/w_acoshf.c: Likewise.
69435         * math/w_acoshl.c: Likewise.
69436         * math/w_acosl.c: Likewise.
69437         * math/w_asin.c: Likewise.
69438         * math/w_asinf.c: Likewise.
69439         * math/w_asinl.c: Likewise.
69440         * math/w_atanh.c: Likewise.
69441         * math/w_atanhf.c: Likewise.
69442         * math/w_atanhl.c: Likewise.
69443         * math/w_exp2.c: Likewise.
69444         * math/w_exp2f.c: Likewise.
69445         * math/w_exp2l.c: Likewise.
69446         * math/w_j0.c: Likewise.
69447         * math/w_j0f.c: Likewise.
69448         * math/w_j0l.c: Likewise.
69449         * math/w_j1.c: Likewise.
69450         * math/w_j1f.c: Likewise.
69451         * math/w_j1l.c: Likewise.
69452         * math/w_jn.c: Likewise.
69453         * math/w_jnf.c: Likewise.
69454         * math/w_log.c: Likewise.
69455         * math/w_log10.c: Likewise.
69456         * math/w_log10f.c: Likewise.
69457         * math/w_log10l.c: Likewise.
69458         * math/w_log2.c: Likewise.
69459         * math/w_log2f.c: Likewise.
69460         * math/w_log2l.c: Likewise.
69461         * math/w_logf.c: Likewise.
69462         * math/w_logl.c: Likewise.
69463         * math/w_sqrt.c: Likewise.
69464         * math/w_sqrtf.c: Likewise.
69465         * math/w_sqrtl.c: Likewise.
69466         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69467         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69468         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69469         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69470         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69471
69472 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69473
69474         [BZ #9739]
69475         * manual/string.texi (strnlen): Use correct parameter name in
69476         equivalent expression.
69477
69478 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69479
69480         [BZ #11174]
69481         * manual/users.texi (seteuid): Consistently use neweuid for
69482         argument name.
69483
69484 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69485
69486         [BZ #13704]
69487         * manual/nss.texi (Services in the NSS configuration): Correct
69488         list of services in example configuration file.
69489
69490 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69491
69492         [BZ #11322]
69493         * manual/arith.texi: Remove statements about negative zero
69494         behaving identically to zero.
69495
69496 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69497
69498         [BZ #5993]
69499         * manual/install.texi: Do not document upgrading from libc5.
69500
69501 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69502
69503         [BZ #4596]
69504         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69505
69506 2012-02-18  David S. Miller  <davem@davemloft.net>
69507
69508         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69509         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69510         %o7 across the call.
69511         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69512         instead.
69513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69514         SETUP_PIC_REG_LEAF.
69515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69516         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69517         * sysdeps/sparc/crtn.S: Likewise.
69518
69519 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69520
69521         * aout/Makefile: Remove.
69522
69523 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69524
69525         [BZ #13058]
69526         * manual/examples/argp-ex1.c (main): Format definition in GNU
69527         style.
69528         * manual/examples/argp-ex2.c (main): Likewise.
69529         * manual/examples/argp-ex3.c (main): Likewise.
69530         * manual/examples/argp-ex4.c (main): Likewise.
69531         * manual/examples/longopt.c (main): Use new-style prototype
69532         definition.
69533         * manual/examples/strncat.c (main): Specify return type and use
69534         (void) for arguments.
69535         * manual/examples/subopt.c (main): Use char **argv argument.
69536
69537 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69538
69539         [BZ #5077]
69540         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69541         rounding modes.
69542
69543 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69544
69545         [BZ #6907]
69546         * manual/string.texi (strchr): Change when strchrnul is
69547         recommended.
69548
69549 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69550
69551         [BZ #174]
69552         * manual/locale.texi (setlocale): Document LOCPATH.
69553
69554 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69555
69556         [BZ #10210]
69557         * manual/process.texi (execle): Move @dots{} before last argument.
69558
69559 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69560
69561         [BZ #12047]
69562         * manual/charset.texi (Generic Charset Conversion): Fix typo
69563         (LC_TYPE -> LC_CTYPE).
69564
69565 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69566
69567         [BZ #5805]
69568         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69569         (scalbnf): Likewise.
69570         (scalbnl): Likewise.
69571         (scalbln): Likewise.
69572         (scalblnf): Likewise.
69573         (scalblnl): Likewise.
69574         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69575         (vwarnx): Likewise.
69576         (verr): Likewise.
69577         (verrx): Likewise.
69578         * manual/filesys.texi (telldir): Use braces around return type.
69579         * manual/llio.texi (mmap): Add space after comma.
69580         (mmap64): Likewise.
69581         * manual/math.texi (jn): Use @var{} on parameter names.
69582         (jnf): Likewise.
69583         (jnl): Likewise.
69584         (yn): Likewise.
69585         (ynf): Likewise.
69586         (ynl): Likewise.
69587         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69588         line.
69589         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69590         "...".
69591         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69592         (sched_get_priority_max): Likewise.
69593         * manual/signal.texi (sigvec): Add space after comma.
69594         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69595         names.
69596         (if_indextoname): Likewise.
69597         (if_freenameindex): Likewise.
69598         (sendto): Use ',' instead of '.' in prototype.
69599         * manual/startup.texi (syscall): Use @dots{} instead of literal
69600         "...".
69601         * manual/stdio.texi (__fpending): Separate initial words of
69602         paragraph from @deftypefun line.
69603         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69604         "...".
69605         (vsyslog): Use @var{} on parameter names.
69606         * manual/terminal.texi (stty): Use @var{} on parameter names.
69607         * manual/users.texi (getutmp): Use @var{} on parameter names.
69608         (getutmpx): Likewise.
69609
69610 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69611
69612         [BZ #6884]
69613         * manual/stdio.texi (fopen): Fix typos in description of
69614         ",ccs=STRING".
69615
69616 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69617
69618         [BZ #4026]
69619         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69620         get clock_id definition.
69621
69622 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69623
69624         [BZ #4822]
69625         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69626         (madvise): Cast every argument to void on its own.
69627
69628 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69629
69630         [BZ #9902]
69631         * manual/startup.texi (Exit Status): Fix typo.
69632
69633 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69634
69635         [BZ #10140]
69636         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69637         * manual/examples/argp-ex2.c: Likewise.
69638         * manual/examples/argp-ex3.c: Likewise.
69639
69640 2012-02-16  Richard Henderson  <rth@redhat.com>
69641
69642         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69643         * sysdeps/s390/s390-32/initfini.c: Remove.
69644         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69645         * sysdeps/s390/s390-64/initfini.c: Remove.
69646
69647 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69648
69649         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69650         compiler output for sysdeps/generic/initfini.c.
69651         * sysdeps/sh/elf/initfini.c: Remove file.
69652
69653 2012-02-16  David S. Miller  <davem@davemloft.net>
69654
69655         [BZ #11494]
69656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69657
69658         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69659         * sysdeps/sparc/crti.S: New file.
69660         * sysdeps/sparc/crtn.S: New file.
69661         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69662         * sysdeps/sparc/sparc64/Makefile: Likewise.
69663
69664 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69665
69666         [BZ #3335]
69667         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69668
69669 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69670
69671         [BZ #4822]
69672         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69673
69674         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69675         (write, read, close): Likewise.
69676         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69677
69678 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69679
69680         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69681         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69682         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69683         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69684         <bits/signalfd.h>.
69685         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69686         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69687         bits/signalfd.h.
69688
69689 2012-02-14  Marek Polacek  <polacek@redhat.com>
69690
69691         * sysdeps/x86_64/crti.S: New file.
69692         * sysdeps/x86_64/crtn.S: New file.
69693         * sysdeps/x86_64/elf/initfini.c: Remove file.
69694
69695 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69696
69697         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69698         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69699         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69700         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69701         <bits/inotify.h>.
69702         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69704         bits/inotify.h.
69705
69706 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69707
69708         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69709         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69710         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69711         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69712         <bits/eventfd.h>.
69713         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69715         bits/eventfd.h.
69716
69717 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69718
69719         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69720         __feraiseexcept instead of feraiseexcept.
69721
69722         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69723         nanosleep invocations.
69724         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69725         strings, and add error checking for a nanosleep invocations.
69726
69727 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69728
69729         Replace FSF snail mail address with URLs, as per GNU coding standards.
69730         Most of the snail mail addresses were wrong anyway, and omitting
69731         them makes the source code easier to maintain.  Almost all of the
69732         changes are to license notices and to locale LC_IDENTIFICATION
69733         addresses, except for this one:
69734         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69735         not its snail mail address.
69736
69737 2012-02-09  Richard Henderson  <rth@twiddle.net>
69738
69739         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69740         of kernel-features.h.
69741
69742         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69743
69744 2012-02-08  Marek Polacek  <polacek@redhat.com>
69745
69746         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69747         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69748         * sysdeps/gnu/_G_config.h: Likewise.
69749         * sysdeps/generic/_G_config.h: Likewise.
69750
69751 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69752
69753         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69754         tests.
69755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69756
69757         * sysdeps/powerpc/powerpc32/crti.S: New file.
69758         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69759         * sysdeps/powerpc/powerpc64/crti.S: New file.
69760         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69761
69762         * Makeconfig (have-initfini): Don't set.
69763         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69764         * configure.in (nopic_initfini): Don't substitute.
69765         * config.h.in (HAVE_INITFINI): Don't #undef.
69766         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69767         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69768
69769 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69770
69771         Support crti.S and crtn.S provided directly by architectures.
69772         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69773         [crti.S in sysdirs] (omit-deps): Likewise.
69774         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69775         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69776         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69777         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69778         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69779         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69780         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69781         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69782         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69783         compiler output for sysdeps/generic/initfini.c.
69784         * sysdeps/i386/elf/Makefile: Remove file.
69785         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69786
69787 2012-02-07  Marek Polacek  <polacek@redhat.com>
69788
69789         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69790         * sysdeps/gnu/_G_config.h: Likewise.
69791         * sysdeps/mach/hurd/_G_config.h: Likewise.
69792
69793 2012-02-07  Marek Polacek  <polacek@redhat.com>
69794
69795         * math/Makefile (tests): Add tst-CMPLX2.
69796         * math/tst-CMPLX2.c: New file.
69797
69798 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69799
69800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69801
69802         * math/libm-test.inc (jn_test): Add missing L suffix.
69803
69804 2012-02-06  Marek Polacek  <polacek@redhat.com>
69805
69806         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69807         * sysdeps/i386/fpu/e_powf.S: Likewise.
69808         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69809         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69810         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69811         * sysdeps/i386/fpu/e_pow.S: Likewise.
69812         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69813         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69814         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69815         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69816         * sysdeps/i386/fpu/e_log2.S: Likewise.
69817         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69818         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69819         * sysdeps/i386/fpu/e_powl.S: Likewise.
69820         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69821         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69822         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69823         * sysdeps/i386/fpu/e_logl.S: Likewise.
69824         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69825         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69826         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69827         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69828         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69829         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69830         * sysdeps/i386/fpu/e_log.S: Likewise.
69831         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69832         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69833         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69834         * sysdeps/i386/fpu/e_logf.S: Likewise.
69835         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69836         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69837         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69838         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69839         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69840         * sysdeps/i386/fpu/e_log10.S: Likewise.
69841         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69842         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69843         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69844         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69845         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69846         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69847         * sysdeps/i386/asm-syntax.h: Likewise.
69848         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69849         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69850         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69851         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69852         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69853         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69854         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69855         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69856         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69857         * sysdeps/powerpc/sysdep.h: Likewise.
69858         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69859         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69860
69861 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69862
69863         [BZ #411]
69864         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69865
69866 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69867
69868         * sysdeps/i386/sysdep.h: Include <features.h>.
69869         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69870         version.
69871
69872 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69873
69874         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69875         Define.
69876         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69877         LOAD_PIC_REG_STR.
69878
69879 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69880
69881         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69882         (SETUP_PIC_REG): Use GET_PC_THUNK.
69883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69884         macro.
69885
69886 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69887
69888         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69889         for non-PIC compilation.
69890         (SETUP_PIC_REG): Add .p2align directive.
69891         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69892         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69893         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69894         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69895         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69896         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69897         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69898         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69899         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69900         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69901         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69902         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69903         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69904         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69905         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69906         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69907         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69908         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69909         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69910         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69911         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69912         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69913         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69914         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69916         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69917         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69918         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69919         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69920         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69921         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69922         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69923         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69924         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69925         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69926         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69927         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69928         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69929         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69930         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69931         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69932
69933 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69934
69935         * math/tst-CMPLX.c: Include <stdio.h>.
69936
69937 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69938
69939         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69940         float.
69941         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69942         * sysdeps/sparc/bits/mathdef.h: Likewise.
69943
69944 2012-01-31  Marek Polacek  <polacek@redhat.com>
69945
69946         * libio/libio.h: Don't define _PARAMS.
69947         * locale/programs/config.h: Don't define PARAMS.
69948         * stdlib/strtol_l.c: Likewise.
69949         (__strtol_l): Remove PARAMS from the prototype.
69950
69951 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69952
69953         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69954         names.  Just use the correct names.  Remove unnecessary wrapper
69955         functions.
69956         * malloc/arena.c: Likewise.
69957         * malloc/hooks.c: Likewise.
69958
69959         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69960         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69961         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69962
69963 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69964
69965         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69966         into tail calls.
69967         (update_get_addr): New function.
69968         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69969         GET_ADDR_MODULE parameter.
69970
69971 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69972
69973         * crypt/cert.c: Remove __STDC__ conditionals.
69974         * crypt/crypt-entry.c: Likewise.
69975         * crypt/crypt_util.c: Likewise.
69976         * libio/filedoalloc.c: Likewise.
69977         * libio/fileops.c: Likewise.
69978         * libio/genops.c: Likewise.
69979         * libio/iofclose.c: Likewise.
69980         * libio/iofdopen.c: Likewise.
69981         * libio/iofopen.c: Likewise.
69982         * libio/iofopen64.c: Likewise.
69983         * libio/iogetdelim.c: Likewise.
69984         * libio/iopopen.c: Likewise.
69985         * libio/obprintf.c: Likewise.
69986         * libio/oldfileops.c: Likewise.
69987         * libio/oldiofclose.c: Likewise.
69988         * libio/oldiofdopen.c: Likewise.
69989         * libio/oldiofopen.c: Likewise.
69990         * libio/oldiopopen.c: Likewise.
69991         * libio/wfiledoalloc.c: Likewise.
69992         * libio/wgenops.c: Likewise.
69993         * locale/programs/xmalloc.c: Likewise.
69994         * misc/syslog.c: Likewise.
69995         * stdio-common/xbug.c: Likewise.
69996         * string/memchr.c: Likewise.
69997         * string/memcmp.c: Likewise.
69998         * string/memrchr.c: Likewise.
69999         * string/rawmemchr.c: Likewise.
70000         * sysdeps/posix/getcwd.c: Likewise.
70001         * time/strftime_l.c: Likewise.
70002
70003 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70004
70005         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70006         * config.make.in (config-cflags-sse2avx): Define.
70007         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70008         Fix typo.
70009
70010 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70011
70012         * scripts/config.guess: Update from upstream config git repository.
70013         * scripts/config.sub: Likewise.
70014
70015 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70016
70017         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70018         (EM_NUM): Update.
70019         (R_TILEPRO_*, R_TILEGX_*): New macros.
70020
70021         * scripts/firstversions.awk: Fix bug in version range handling.
70022
70023         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70024
70025         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70026
70027         * include/sys/epoll.h: New file.
70028         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70029         libc_hidden_def.
70030
70031 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70032
70033         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70034         Avoid unnecessary __WORDSIZE == 64 test.
70035         (fmaxf): Use VEX format if possible.
70036         (fmax): Likewise.
70037         (fminf): Likewise.
70038         (fmin): Likewise.
70039
70040         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70041         * math/math_private.h: Remove libc_fegetround* and
70042         libc_fesetround*.
70043         * sysdeps/i386/configure.in: Check for -msse2avx.
70044         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70045         also if SSE2AVX is defined.
70046         Remove libc_fegetround* and libc_fesetround*.
70047         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70048         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70049         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70050         of HAS_YMM_USABLE.
70051         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70052         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70054         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70055         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70056
70057         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70058
70059 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70060
70061         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70062         size is not set.
70063         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70064
70065 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70066
70067         [BZ #13618]
70068         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70069         relocation.
70070         * Makeconfig (libm): Define.
70071         * elf/Makefile: Add rules to build and run tst-relsort1.
70072         * elf/tst-relsort1.c: New file.
70073         * elf/tst-relsort1mod1.c: New file.
70074         * elf/tst-relsort1mod2.c: New file.
70075
70076 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70077
70078         * math/s_ldexp.c: Remove __STDC__ conditionals.
70079         * math/s_ldexpf.c: Likewise.
70080         * math/s_ldexpl.c: Likewise.
70081         * math/s_nextafter.c: Likewise.
70082         * math/s_nexttowardf.c: Likewise.
70083         * math/s_significand.c: Likewise.
70084         * math/s_significandf.c: Likewise.
70085         * math/s_significandl.c: Likewise.
70086         * math/w_jnl.c: Likewise.
70087         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70088         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70089         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70090         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70091         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70092         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70093         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70094         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70095         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70096         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70097         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70099         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70101         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70102         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70103         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70104         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70106         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70107         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70108         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70109         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70110         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70111         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70112         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70113         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70114         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70115         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70116         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70117         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70118         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70119         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70120         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70121         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70122         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70123         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70124         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70125         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70126         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70127         * sysdeps/ieee754/k_standard.c: Likewise.
70128         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70129         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70130         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70131         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70132         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70133         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70136         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70137         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70140         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70141         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70143         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70144         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70146         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70147         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70148         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70149         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70150         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70151         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70152         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70153         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70159         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70160         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70161         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70163         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70164         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70165         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70166         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70167         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70168         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70169         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70170         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70171         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70172         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70173         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70174         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70175         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70176         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70177         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70178         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70179         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70180         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70181         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70182         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70183         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70184         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70185         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70186         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70187         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70188         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70189         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70190         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70191         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70192         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70193         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70194         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70195         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70196         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70197         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70198         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70199         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70200         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70201         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70202         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70203         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70204         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70205         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70206         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70207         * sysdeps/ieee754/s_matherr.c: Likewise.
70208         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70209         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70210         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70212
70213 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70214
70215         * crypt/md5.h: Remove __STDC__ conditionals.
70216         * libio/libioP.h: Likewise.
70217         * locale/programs/config.h: Likewise.
70218         * sysdeps/generic/sysdep.h: Likewise.
70219         * sysdeps/i386/asm-syntax.h: Likewise.
70220         * sysdeps/s390/asm-syntax.h: Likewise.
70221         * sysdeps/unix/sysdep.h: Likewise.
70222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70224
70225 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70226
70227         * libio/libio.h: Remove __STDC__ conditionals.
70228         * malloc/obstack.h: Likewise.
70229         * math/complex.h: Likewise.
70230         * math/math.h: Likewise.
70231         * sysdeps/generic/_G_config.h: Likewise.
70232         * sysdeps/gnu/_G_config.h: Likewise.
70233         * sysdeps/mach/hurd/_G_config.h: Likewise.
70234         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70235         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70236         * sysdeps/sparc/bits/mathdef.h: Likewise.
70237
70238 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70239
70240         [BZ #13583]
70241         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70242         Clean up HAS_* macros.
70243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70244         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70245         possible.
70246         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70247         HAS_AVX.
70248         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70249         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70250         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70251         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70252         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70253
70254 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70255
70256         * elf/tst-unique3.cc (gets): Remove declaration.
70257         * elf/tst-unique3lib.cc (gets): Likewise.
70258         * elf/tst-unique3lib2.cc (gets): Likewise.
70259         * elf/tst-unique4.cc (gets): Likewise.
70260
70261 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70262
70263         * include/stdio.h: Add C++ protection.  Add gets declarations and
70264         definitions.
70265         * debug/tst-chk1.c: Don't declare gets here.
70266         * stdio-common/tst-gets.c: Likewise.
70267
70268 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70269
70270         * posix/glob: Remove directory.
70271
70272 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70273
70274         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70275
70276 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70277
70278         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70279         of the non-standard EPFNOSUPPORT.
70280
70281 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70282
70283         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70284         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70285         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70286
70287 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70288
70289         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70290
70291 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70292
70293         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70294         transient errors.
70295         * nscd/grpcache.c (cache_addgr): Likewise.
70296         * nscd/hstcache.c (cache_addhst): Likewise.
70297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70298         * nscd/pwdcache.c (cache_addpw): Likewise.
70299         * nscd/servicescache.c (cache_addserv): Likewise.
70300
70301 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70302
70303         * malloc/malloc.c: Various cleanups.
70304         * malloc/hooks.c: Likewise.
70305
70306         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70307         * stdlib/bug-fmtmsg1.c: New file.
70308
70309         * stdlib/fmtmsg.c (init): Add missing unlock.
70310         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70311
70312 2012-01-12  Marek Polacek  <polacek@redhat.com>
70313
70314         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70315         and _GNU_SOURCE.
70316
70317 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70318
70319         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70320         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70321         macro to ensure uniqueness of label name.
70322         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70323         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70324
70325 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70326
70327         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70328
70329         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70330         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70331         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70333
70334 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70335
70336         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70337
70338         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70339         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70340         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70341
70342         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70343
70344         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70345         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70346         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70347         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70348
70349         * math/bits/math-finite.h: Add ldexp support.
70350
70351 2012-01-10  Marek Polacek  <polacek@redhat.com>
70352
70353         * locale/programs/localedef.h (show_archive_content): Add noreturn
70354         attribute.
70355
70356 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70357
70358         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70359
70360 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70361
70362         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70363
70364         * io/Makefile (headers): Add bits/poll2.h.
70365
70366 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70367
70368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70369         typo #include statement.
70370
70371 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70372
70373         * include/sys/cdefs.h: Define __attribute_alloc_size.
70374         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70375         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70376         * elf/pldd.c: Likewise.
70377         * iconv/iconv_charmap.c: Likewise.
70378         * iconv/iconvconfig.c: Likewise.
70379         * iconv/strtab.c: Likewise.
70380         * locale/programs/locale.c: Likewise.
70381         * locale/programs/localedef.h: Likewise.
70382         * locale/programs/simple-hash.c: Likewise.
70383         * nscd/nscd.h: Likewise.
70384         * nss/makedb.c: Likewise.
70385         * sysdeps/generic/ldconfig.h: Likewise.
70386         * locale/programs/localedef.c: Remove xmalloc prototype.
70387         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70388
70389 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70390
70391         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70392         appropriate.
70393
70394 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70395
70396         * math/Makefile (tests): Add tst-CMPLX.
70397         * math/tst-CMPLX.c: New file.
70398
70399         * math/complex.h (CMPLXL): Fix typo.
70400
70401         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70402         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70403         GLIBC_2.16.
70404         * debug/tst-chk1.c: Add poll and ppoll tests.
70405         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70406         * include/sys/poll.h: Add hidden proto for ppoll.
70407         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70408         * sysdeps/mach/hurd/ppoll.c: Likewise.
70409         * io/ppoll.c: Likewise.
70410         * debug/poll_chk.c: New file.
70411         * debug/ppoll_chk.c: New file.
70412         * include/bits/poll2.h: New file.
70413         * io/bits/poll2.h: New file.
70414
70415         [BZ #1350]
70416         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70417
70418         * configure.in: static is always set to yes.  Remove.
70419         * config.make.in: Don't set build-static.
70420         * Makeconfig: Remove use of build-static.
70421         * dlfcn/Makefile: Likewise.
70422         * elf/Makefile: Likewise.
70423         * math/Makefile: Likewise.
70424         * misc/Makefile: Likewise.
70425         * nptl/Makefile: Likewise.
70426         * sysdeps/mach/hurd/Makefile: Likewise.
70427
70428         * configure.in: PWD_P is not used anymore.
70429         * config.make.in: Remove PWD_P entry.
70430
70431         * configure.in: Remove last remnants of RANLIB.
70432         No need to check for signed size_t anymore.
70433         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70434         and IA-64.
70435         Remove __builtin_expect test because we require at least gcc 3.4.
70436         * aclocal.m4: Likewise.
70437
70438         * wcsmbs/mbrtoc16.c: Implement using towc function.
70439         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70440         * wcsmbs/wcsmbsload.c: Likewise.
70441         * iconv/gconv_simple.c: Likewise.
70442         * iconv/gconv_int.h: Likewise.
70443         * iconv/gconv_builtin.h: Likewise.
70444         * iconv/iconv_prog.c: Remove CHAR16 handling.
70445
70446         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70447
70448         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70449
70450         * configure.in: Remove --with-elf and --enable-bounded options.
70451         Dont set base_machine for ia64.  More non-ELF conditions removed.
70452         Remove testing and setting of leading underscore information.
70453         * config.make.in (build-bounded): Set to no.
70454         * config.h.in: Remove NO_UNDERSCORES entry.
70455         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70456         them.
70457         * csu/start.c: Remove !NO_UNDERSCORE code.
70458         * locale/localeinfo.h: Likewise.
70459         * sysdeps/generic/machine-gmon.h: Likewise.
70460         * sysdeps/generic/sysdep.h: Likewise.
70461         * sysdeps/i386/sysdep.h: Likewise.
70462         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70463         * sysdeps/mach/sysdep.h: Likewise.
70464         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70465         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70466         * sysdeps/sh/sysdep.h: Likewise.
70467         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70468         * sysdeps/unix/i386/sysdep.S: Likewise.
70469         * sysdeps/unix/sparc/start.c: Likewise.
70470         * sysdeps/unix/sparc/sysdep.S: Likewise.
70471         * sysdeps/unix/sparc/sysdep.h: Likewise.
70472         * sysdeps/unix/start.c: Likewise.
70473         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70474         * sysdeps/x86_64/sysdep.h: Likewise.
70475
70476 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70477
70478         [BZ #13553]
70479         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70480         for non-gcc.
70481         * argp/argp-fmtstream.h: Use const instead __const.
70482         * argp/argp.h: Likewise.
70483         * assert/assert.h: Likewise.
70484         * bits/fenv.h: Likewise.
70485         * bits/sched.h: Likewise.
70486         * bits/sigset.h: Likewise.
70487         * bits/sigthread.h: Likewise.
70488         * catgets/nl_types.h: Likewise.
70489         * conform/data/pthread.h-data: Likewise.
70490         * crypt/crypt-private.h: Likewise.
70491         * crypt/crypt.h: Likewise.
70492         * crypt/crypt_util.c: Likewise.
70493         * ctype/ctype.h: Likewise.
70494         * debug/execinfo.h: Likewise.
70495         * debug/mbsnrtowcs_chk.c: Likewise.
70496         * debug/mbsrtowcs_chk.c: Likewise.
70497         * debug/wcsnrtombs_chk.c: Likewise.
70498         * debug/wcsrtombs_chk.c: Likewise.
70499         * debug/wcstombs_chk.c: Likewise.
70500         * dirent/dirent.h: Likewise.
70501         * dlfcn/dlfcn.h: Likewise.
70502         * elf/neededtest4.c: Likewise.
70503         * grp/grp.h: Likewise.
70504         * gshadow/gshadow.h: Likewise.
70505         * iconv/gconv.h: Likewise.
70506         * iconv/gconv_int.h: Likewise.
70507         * iconv/gconv_simple.c: Likewise.
70508         * iconv/iconv.h: Likewise.
70509         * iconv/loop.c: Likewise.
70510         * iconv/skeleton.c: Likewise.
70511         * include/aio.h: Likewise.
70512         * include/aliases.h: Likewise.
70513         * include/argz.h: Likewise.
70514         * include/arpa/inet.h: Likewise.
70515         * include/assert.h: Likewise.
70516         * include/dirent.h: Likewise.
70517         * include/dlfcn.h: Likewise.
70518         * include/execinfo.h: Likewise.
70519         * include/fcntl.h: Likewise.
70520         * include/fenv.h: Likewise.
70521         * include/glob.h: Likewise.
70522         * include/grp.h: Likewise.
70523         * include/libintl.h: Likewise.
70524         * include/mntent.h: Likewise.
70525         * include/netdb.h: Likewise.
70526         * include/pwd.h: Likewise.
70527         * include/rpc/netdb.h: Likewise.
70528         * include/sched.h: Likewise.
70529         * include/search.h: Likewise.
70530         * include/shadow.h: Likewise.
70531         * include/signal.h: Likewise.
70532         * include/stdio.h: Likewise.
70533         * include/stdlib.h: Likewise.
70534         * include/string.h: Likewise.
70535         * include/sys/socket.h: Likewise.
70536         * include/sys/stat.h: Likewise.
70537         * include/sys/statfs.h: Likewise.
70538         * include/sys/statvfs.h: Likewise.
70539         * include/sys/syslog.h: Likewise.
70540         * include/sys/time.h: Likewise.
70541         * include/sys/uio.h: Likewise.
70542         * include/time.h: Likewise.
70543         * include/unistd.h: Likewise.
70544         * include/utmp.h: Likewise.
70545         * include/wchar.h: Likewise.
70546         * include/wctype.h: Likewise.
70547         * inet/aliases.h: Likewise.
70548         * inet/arpa/inet.h: Likewise.
70549         * inet/netinet/ether.h: Likewise.
70550         * inet/netinet/in.h: Likewise.
70551         * intl/libintl.h: Likewise.
70552         * io/bits/fcntl2.h: Likewise.
70553         * io/fcntl.h: Likewise.
70554         * io/ftw.h: Likewise.
70555         * io/sys/poll.h: Likewise.
70556         * io/sys/stat.h: Likewise.
70557         * io/sys/statfs.h: Likewise.
70558         * io/sys/statvfs.h: Likewise.
70559         * io/utime.h: Likewise.
70560         * libio/bits/stdio.h: Likewise.
70561         * libio/bits/stdio2.h: Likewise.
70562         * libio/libio.h: Likewise.
70563         * libio/libioP.h: Likewise.
70564         * libio/stdio.h: Likewise.
70565         * locale/lc-ctype.c: Likewise.
70566         * locale/locale.h: Likewise.
70567         * login/utmp.h: Likewise.
70568         * malloc/arena.c: Likewise.
70569         * malloc/malloc.c: Likewise.
70570         * malloc/malloc.h: Likewise.
70571         * malloc/mcheck.c: Likewise.
70572         * malloc/mtrace.c: Likewise.
70573         * math/bits/mathcalls.h: Likewise.
70574         * math/fenv.h: Likewise.
70575         * math/math_private.h: Likewise.
70576         * misc/bits/error.h: Likewise.
70577         * misc/bits/syslog.h: Likewise.
70578         * misc/err.h: Likewise.
70579         * misc/error.h: Likewise.
70580         * misc/fstab.h: Likewise.
70581         * misc/mntent.h: Likewise.
70582         * misc/regexp.h: Likewise.
70583         * misc/search.h: Likewise.
70584         * misc/sgtty.h: Likewise.
70585         * misc/sys/mman.h: Likewise.
70586         * misc/sys/syslog.h: Likewise.
70587         * misc/sys/uio.h: Likewise.
70588         * misc/sys/xattr.h: Likewise.
70589         * misc/ttyent.h: Likewise.
70590         * nis/rpcsvc/ypclnt.h: Likewise.
70591         * nss/nss.h: Likewise.
70592         * posix/bits/unistd.h: Likewise.
70593         * posix/fnmatch.h: Likewise.
70594         * posix/glob.h: Likewise.
70595         * posix/sched.h: Likewise.
70596         * posix/spawn.h: Likewise.
70597         * posix/sys/wait.h: Likewise.
70598         * posix/unistd.h: Likewise.
70599         * posix/wordexp.h: Likewise.
70600         * pwd/pwd.h: Likewise.
70601         * resolv/netdb.h: Likewise.
70602         * resource/sys/resource.h: Likewise.
70603         * rt/aio.h: Likewise.
70604         * rt/bits/mqueue2.h: Likewise.
70605         * rt/mqueue.h: Likewise.
70606         * shadow/shadow.h: Likewise.
70607         * signal/signal.h: Likewise.
70608         * socket/send.c: Likewise.
70609         * socket/sendto.c: Likewise.
70610         * socket/sys/socket.h: Likewise.
70611         * stdio-common/printf.h: Likewise.
70612         * stdlib/bits/stdlib.h: Likewise.
70613         * stdlib/fmtmsg.h: Likewise.
70614         * stdlib/monetary.h: Likewise.
70615         * stdlib/stdlib.h: Likewise.
70616         * stdlib/ucontext.h: Likewise.
70617         * streams/stropts.h: Likewise.
70618         * string/argz.h: Likewise.
70619         * string/bits/string2.h: Likewise.
70620         * string/string.h: Likewise.
70621         * string/strings.h: Likewise.
70622         * sunrpc/rpc/auth.h: Likewise.
70623         * sunrpc/rpc/auth_des.h: Likewise.
70624         * sunrpc/rpc/clnt.h: Likewise.
70625         * sunrpc/rpc/netdb.h: Likewise.
70626         * sunrpc/rpc/pmap_clnt.h: Likewise.
70627         * sunrpc/rpc/xdr.h: Likewise.
70628         * sysdeps/generic/inttypes.h: Likewise.
70629         * sysdeps/generic/net/if.h: Likewise.
70630         * sysdeps/generic/sys/swap.h: Likewise.
70631         * sysdeps/gnu/net/if.h: Likewise.
70632         * sysdeps/gnu/utmpx.h: Likewise.
70633         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70634         * sysdeps/i386/i486/bits/string.h: Likewise.
70635         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70636         * sysdeps/s390/bits/string.h: Likewise.
70637         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70638         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70639         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70640         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70641         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70642         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70643         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70644         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70645         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70646         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70647         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70648         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70649         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70650         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70651         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70652         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70653         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70654         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70655         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70656         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70657         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70658         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70659         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70660         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70661         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70662         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70663         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70664         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70665         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70666         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70667         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70668         * sysvipc/sys/ipc.h: Likewise.
70669         * sysvipc/sys/msg.h: Likewise.
70670         * sysvipc/sys/sem.h: Likewise.
70671         * sysvipc/sys/shm.h: Likewise.
70672         * termios/termios.h: Likewise.
70673         * time/sys/time.h: Likewise.
70674         * time/time.h: Likewise.
70675         * wcsmbs/bits/wchar2.h: Likewise.
70676         * wcsmbs/uchar.h: Likewise.
70677         * wcsmbs/wchar.h: Likewise.
70678         * wctype/wctype.h: Likewise.
70679
70680         [BZ #13551]
70681         * Makeconfig: Remove all but ELF support including AIX support.
70682         * Makerules: Likewise.
70683         * config.h.in: Likewise.
70684         * config.make.in: Likewise.
70685         * configure: Likewise.
70686         * configure.in: Likewise.
70687         * csu/Makefile: Likewise.
70688         * csu/version.c: Likewise.
70689         * debug/Makefile: Likewise.
70690         * dlfcn/Makefile: Likewise.
70691         * elf/Makefile: Likewise.
70692         * extra-lib.mk: Likewise.
70693         * iconv/Makefile: Likewise.
70694         * include/libc-symbols.h: Likewise.
70695         * include/shlib-compat.h: Likewise.
70696         * resolv/Makefile: Likewise.
70697         * resolv/res_libc.c: Likewise.
70698         * rt/Makefile: Likewise.
70699         * sysdeps/i386/asm-syntax.h: Likewise.
70700         * sysdeps/i386/sysdep.h: Likewise.
70701         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70702         * sysdeps/mach/sysdep.h: Likewise.
70703         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70704         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70705         * sysdeps/s390/asm-syntax.h: Likewise.
70706         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70708         * sysdeps/sh/sysdep.h: Likewise.
70709         * sysdeps/unix/sparc/sysdep.h: Likewise.
70710         * sysdeps/wordsize-32/divdi3.c: Likewise.
70711         * sysdeps/x86_64/sysdep.h: Likewise.
70712
70713         * argp/Versions: Remove _argp_unlock_xxx.
70714
70715         [BZ #13559]
70716         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70717         * abilist/libBrokenLocale.abilist: Likewise.
70718         * abilist/libanl.abilist: Likewise.
70719         * abilist/libc.abilist: Likewise.
70720         * abilist/libcrypt.abilist: Likewise.
70721         * abilist/libdl.abilist: Likewise.
70722         * abilist/libm.abilist: Likewise.
70723         * abilist/libnsl.abilist: Likewise.
70724         * abilist/libpthread.abilist: Likewise.
70725         * abilist/libresolv.abilist: Likewise.
70726         * abilist/librt.abilist: Likewise.
70727         * abilist/libthread_db.abilist: Likewise.
70728         * abilist/libutil.abilist: Likewise.
70729         * abilist/libnss_db.abilist: New file.
70730
70731         * scripts/abilist.awk: Add support for indirect functions.
70732
70733         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70734
70735         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70736
70737         * shlib-versions: Remove entries for ports architectures.
70738
70739         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70740         files in ports.
70741         * elf/stackguard-macros.h: Remove support for IA-64.
70742         * elf/tst-auditmod1.c: Likewise.
70743         * sysdeps/generic/ldsodefs.h: Likewise.
70744
70745         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70746         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70747         configure files.
70748
70749         [BZ #13552]
70750         * configure.in: Remove --enable-omitfp support.
70751         * FAQ.in: Adjust.
70752         * config.make.in: Likewise.
70753         * Makeconfig: Likewise.
70754         * manual/install.texi: Likewise.
70755
70756         In case anyone cares, the IA-64 architecture could move to ports.
70757         * sysdeps/ia64/*: Removed.
70758         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70759         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70760
70761         [BZ #13555]
70762         * configure.in: Remove entries for unsupported architectures.
70763
70764         [BZ #13533]
70765         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70766         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70767         routines.
70768         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70769         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70770         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70771         fall back to using wcrtomb.
70772         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70773         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70774         renaming.
70775         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70776         * wcsmbs/tst-c16c32-1.c: New file.
70777
70778         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70779         local variable.
70780
70781         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70782
70783         * elf/tst-unique3.cc: Add explicit declaration of gets.
70784         * elf/tst-unique3lib.cc: Likewise.
70785         * elf/tst-unique3lib2.cc: Likewise.
70786         * elf/tst-unique4.cc: Likewise.
70787
70788         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70789
70790 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70791
70792         [BZ #13566]
70793         * assert/assert.h (static_assert): Don't define for C++.
70794         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70795         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70796
70797 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70798
70799         * iconv/loop.c (single loop): Fix assertion in storing of
70800         remaining bytes.
70801
70802         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70803
70804 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70805
70806         * posix/getconf.c: Update copyright year.
70807         * nss/getent.c: Likewise.
70808         * nss/makedb.c: Likewise.
70809         * iconv/iconvconfig.c: Likewise.
70810         * iconv/iconv_prog.c: Likewise.
70811         * elf/ldconfig.c: Likewise.
70812         * elf/pldd.c: Likewise.
70813         * elf/sotruss.ksh: Likewise.
70814         * catgets/gencat.c: Likewise.
70815         * csu/version.c: Likewise.
70816         * elf/ldd.bash.in: Likewise.
70817         * elf/sprof.c (print_version): Likewise.
70818         * locale/programs/locale.c: Likewise.
70819         * locale/programs/localedef.c: Likewise.
70820         * login/programs/pt_chown.c: Likewise.
70821         * nscd/nscd.c (print_version): Likewise.
70822         * debug/xtrace.sh: Likewise.
70823         * malloc/memusage.sh: Likewise.
70824         * malloc/mtrace.pl: Likewise.
70825         * debug/catchsegv.sh: Likewise.
70826
70827 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70828
70829         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70830         pure attribute.
70831
70832 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70833
70834         [BZ #13533]
70835         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70836         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70837         transformations.
70838         * iconv/gconv_int.h: Likewise.
70839         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70840         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70841         from libc for GLIBC_2.16.
70842         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70843         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70844         * wcsmbs/uchar.h: Really define mbstate_t.
70845         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70846         * wcsmbs/c16rtomb.c: New file.
70847         * wcsmbs/mbrtoc16.c: New file.
70848         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70849         for C/POSIX locale.
70850         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70851         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70852
70853         * wcsmbs/wchar.h: Add missing __restrict.
70854
70855 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70856
70857         [BZ #13532]
70858         * time/Makefile (routines): Add timespec_get.
70859         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70860         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70861         timespec for ISO C11.
70862         * time/timespec_get.c: New file.
70863         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70864         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70865
70866         [BZ #13531]
70867         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70868         * stdlib/stdlib.h: Declare aligned_alloc.
70869         * Versions.def: Add GLIBC_2.16 for libc.
70870         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70871
70872         [BZ 13527]
70873         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70874         ISO C11.
70875
70876         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70877         code.
70878
70879         [BZ #13528]
70880         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70881
70882         [BZ #13529]
70883         * assert/assert.h (static_assert): Define.
70884
70885         * version.h: Update for 2.16 development version.
70886
70887         [BZ #13526]
70888         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70889         _ISOC11_SOURCE.
70890
70891         * version.h (RELEASE): Bump for 2.15 release.
70892         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70893
70894         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70895         Patch by Marek Polacek <mpolacek@redhat.com>.
70896
70897         * bits/byteswap.h: Protect long long constants with __extension__.
70898         * sysdeps/i386/bits/byteswap.h: Likewise.
70899         * sysdeps/ia64/bits/byteswap.h: Likewise.
70900         * sysdeps/s390/bits/byteswap.h: Likewise.
70901         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70902
70903 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70904
70905         [BZ #13540]
70906         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70907         destination buffer.
70908         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70909
70910 2011-12-23  Marek Polacek  <polacek@redhat.com>
70911
70912         * elf/dl-addr.c (determine_info): Add inline keyword.
70913         * elf/tst-auditmod4b.c (check_avx): Likewise.
70914         * elf/tst-auditmod6b.c (check_avx): Likewise.
70915         * elf/tst-auditmod6c.c (check_avx): Likewise.
70916         * elf/tst-auditmod7b.c (check_avx): Likewise.
70917
70918 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70919
70920         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70921         !__SSE_MATH__.
70922
70923 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70924
70925         [BZ #13540]
70926         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70927         processing for last bytes.
70928
70929 2011-08-06  Bruno Haible  <bruno@clisp.org>
70930
70931         [BZ #13061]
70932         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70933         U+0385, not to U+1FEE.
70934
70935         [BZ #13062]
70936         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70937         entry for U+00A5 U+0301.
70938
70939 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70940
70941         [BZ #13166]
70942         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70943         buffer for the output is too small.
70944
70945         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70946         optimization.
70947
70948         [BZ #13185]
70949         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70950         SSE flags if possible.
70951
70952 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70953
70954         [BZ #13540]
70955         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70956         processing for last bytes.
70957
70958 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70959
70960         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70961         (syscall-list-default-options, syscall-list-default-condition)
70962         (syscall-list-includes): Define.
70963         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70964         list of ABIs and options and #if conditions for each ABI.  Do not
70965         handle common syscalls between ABIs specially.
70966         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70967         Remove.
70968         (syscall-list-variants, syscall-list-32bit-options)
70969         (syscall-list-32bit-condition, syscall-list-64bit-options)
70970         (syscall-list-64bit-condition): Define.
70971         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70972         (syscall-list-variants, syscall-list-32bit-options)
70973         (syscall-list-32bit-condition, syscall-list-64bit-options)
70974         (syscall-list-64bit-condition): Define.
70975         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70976         Remove.
70977         (syscall-list-variants, syscall-list-32bit-options)
70978         (syscall-list-32bit-condition, syscall-list-64bit-options)
70979         (syscall-list-64bit-condition): Define.
70980         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70981         Remove.
70982         (syscall-list-variants, syscall-list-32bit-options)
70983         (syscall-list-32bit-condition, syscall-list-64bit-options)
70984         (syscall-list-64bit-condition): Define.
70985
70986 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70987
70988         * locale/iso-639.def: Add brx entry.
70989
70990         [BZ #13328]
70991         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70992         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70993
70994         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70995         __feraiseexcept_renamed.
70996
70997 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70998
70999         [BZ #13538]
71000         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71001         EPOLLET with unsigned values.
71002         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71003         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71004
71005         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71006         to large cancellation.
71007         * math/s_cacoshf.c: Likewise.
71008         * math/s_cacoshl.c: Likewise.
71009
71010 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71011
71012         [BZ #13305]
71013         [BZ #12786]
71014         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71015         * math/s_cacoshf.c: Likewise.
71016         * math/s_cacoshl.c: Likewise.
71017
71018 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71019
71020         [BZ #13439]
71021         * iconv/gconv.h: Define __GCONV_SWAP.
71022         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71023         * iconvdata/utf-16.c: Likewise.
71024         * iconvdata/utf-32.c: Likewise.
71025
71026 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71027
71028         [BZ #13524]
71029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71030         numerator after shifting it by one limb.
71031
71032 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71033
71034         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71035         under [__USE_EXTERN_INLINES].
71036
71037 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71038
71039         [BZ #13446]
71040         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71041
71042 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71043
71044         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71045         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71046         optimized code.
71047         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71048         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71049         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71050         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71051         for strncasecmp/strncasecmp_l compilation.
71052         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71053         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71054
71055 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71056
71057         [BZ #13484]
71058         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71059         of __asm__.
71060
71061 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71062
71063         [BZ #13506]
71064         * time/tzfile.c (__tzfile_read): Check values from file header.
71065
71066 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71067
71068         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71069         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71070         * powerpc/powerpc32/dl-start.S: Likewise.
71071         * powerpc/powerpc32/elf/start.S: Likewise.
71072         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71073         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71074         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71075         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71076         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71077         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71078         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71079         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71080         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71081         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71082         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71083         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71084         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71085         * powerpc/powerpc32/memset.S: Likewise.
71086         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71087         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71088         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71089         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71090         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71091         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71092         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71093         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71094         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71095         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71096         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71097         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71098         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71099
71100 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71101
71102         * math/libm-test.inc: Added more nearbyint tests.
71103         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71104         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71105         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71106         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71107
71108 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71109
71110         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71111         FD_CLOEXEC.
71112
71113 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71114
71115         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71116         Add wcscpy-ssse3 wcscpy-c.
71117         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71118         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71119         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71120         * sysdeps/x86_64/wcschr.S: New file.
71121         * sysdeps/x86_64/wcsrchr.S: New file.
71122         * string/test-strcmp.c: Remove checking of wcscmp function for
71123         wrong alignments.
71124         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71125         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71126         wcsrchr-sse2 wcsrchr-c.
71127         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71128         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71129         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71130         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71131         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71132         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71133         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71134         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71135         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71136         * wcsmbc/wcschr.c (WCSCHR): New macro.
71137
71138 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71139
71140         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71141         * wcsmbs/test-wcsrchr.c: New file.
71142         * string/test-strrchr.c: Add wcsrchr support.
71143         (WIDE): New macro.
71144         * wcsmbs/test-wcscpy.c: New file.
71145         * string/test-strcpy.c: Add wcscpy support.
71146         (WIDE): New macro.
71147
71148 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71149
71150         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71151         the inner loop.
71152
71153 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71154
71155         [BZ #13472]
71156         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71157
71158 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71159
71160         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71161         Minor optimizations.
71162
71163         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71164         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71165         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71166
71167 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71168
71169         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71170         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71171         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71172         for gcc to avoid warnings.
71173         * inet/Makefile (tests): Add tst-checks.
71174         * inet/tst-checks.c: New file.
71175
71176         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71177         warning.
71178
71179         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71180         __wmemcmp_sse2.
71181
71182         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71183         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71184
71185         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71186
71187 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71188
71189         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71190         problem.
71191
71192         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71193
71194 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71195
71196         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71197         conditional on GCC version.
71198         (__arch_compare_and_exchange_val_8_acq)
71199         (__arch_compare_and_exchange_val_16_acq)
71200         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71201         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71202         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71203
71204 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71205
71206         * sysdeps/sh/backtrace.c: New file.
71207
71208 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71209
71210         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71211         parenthesis.
71212
71213 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71214
71215         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71216         falling back to utime.
71217
71218 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71219
71220         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71221         expectations for float.
71222
71223 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71224
71225         * locale/weight.h (findidx): Add parameter len.
71226         * locale/weightwc.h (findidx): Likewise.
71227         * posix/fnmatch_loop.c (FCT): Adjust caller.
71228         * posix/regcomp.c (build_equiv_class): Likewise.
71229         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71230         * posix/regexec.c (check_node_accept_bytes): Likewise.
71231         * string/strcoll_l.c (STRCOLL): Likewise.
71232         * string/strxfrm_l.c (STRXFRM): Likewise.
71233
71234 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71235
71236         * Makefile.in: Remove CVSOPT handling.
71237         * configure.in: Remove use of AC_REVISION.
71238         * iconvdata/Makefile (distribute): No need to filter out CVS.
71239         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71240         handling.
71241
71242 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71243
71244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71245         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71246         [USE_AS_STRNCASECMP_L]: Likewise.
71247         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71248         NO_TLS_DIRECT_SEG_REFS.
71249         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71250         Fix argument offsets for non-PIC.
71251         [USE_AS_STRNCASECMP_L]: Likewise.
71252         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71253         NO_TLS_DIRECT_SEG_REFS.
71254
71255 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71256
71257         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71258         O_CLOEXEC.
71259         * locale/loadlocale.c (_nl_load_locale): Likewise.
71260
71261 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71262
71263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71264         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71265         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71266         (SYSCALL_GETTIME): Set errno on error.
71267
71268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71269         count references to noai6ai_cached.
71270
71271 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71272
71273         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71274
71275         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71276         FD_CLOEXEC for /proc/self/maps.
71277
71278         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71279         FD_CLOEXEC for /proc/meminfo.
71280
71281         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71282         gai.conf.
71283
71284         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71285         FD_CLOEXEC for given file.
71286
71287         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71288
71289         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71290         FD_CLOEXEC for /etc/hosts.
71291         (_gethtent): Likewise.
71292
71293         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71294
71295         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71296         cancellation and set FD_CLOEXEC for /etc/netgroup.
71297
71298         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71299         reading /etc/publickey.
71300
71301         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71302         allow cancellation when reading /etc/group.
71303
71304         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71305         cancellation.
71306         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71307
71308         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71309         when using data file.
71310
71311         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71312
71313         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71314         (write_nis_obj): Use "c" and "e" in fopen.
71315
71316         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71317
71318         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71319
71320         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71321
71322         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71323
71324         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71325         locale.alias.
71326
71327         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71328
71329         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71330
71331         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71332
71333         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71334         file parsing and set FD_CLOEXEC.
71335
71336 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71337
71338         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71339
71340 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71341
71342         * malloc/arena.c (arena_get2): Don't call reused_arena when
71343         _int_new_arena failed.
71344
71345 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71346
71347         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71348         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71349         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71350         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71353         to compile strcasecmp and strncasecmp.
71354         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71355         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71356
71357         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71358
71359 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71360
71361         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71362         locale-defines.sym to gen-as-const-headers.
71363         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71364         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71365         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71366         to compile strcasecmp and strncasecmp.
71367         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71368         strcasecmp_l and strncasecmp_l.
71369         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71370         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71371         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71372         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71373         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71374         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71375         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71376         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71377         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71378         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71379         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71380
71381 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71382
71383         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71384         result of SYSDEP_GETTIME_CPU to retval.
71385         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71386         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71387
71388         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71389         variable.
71390
71391         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71392         mantissa words.
71393         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71394
71395         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71396         from unused variable.
71397
71398         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71399         DWARF definitions.
71400         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71401         for assembling.
71402
71403         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71404         over namespaces.
71405
71406         * sunrpc/rpc_prot.c (rejected): Fix case value.
71407
71408         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71409         unsigned long long int to avoid warnings in shift.
71410
71411         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71412         of use of trans.
71413         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71414         variable tmp.
71415
71416         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71417         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71418         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71419
71420         * nis/nis_table.c (nis_list): Use variable of correct type for
71421         result of __follow_path call.
71422
71423 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71424
71425         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71426         of math functions ceil, trunc, floor, round, and sqrt, when
71427         avaliable on the platform.
71428         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71429         name clash.
71430         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71431         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71432         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71433
71434 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71435
71436         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71437         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71438
71439 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71440
71441         * include/unistd.h: Fix __readlink return type.
71442         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71443
71444 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71445
71446         * stdlib/ucontext.h: Undo last change for makecontext.
71447
71448 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71449
71450         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71451
71452         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71453         * setjmp/setjmp.h: Mark functions as non-leaf.
71454         * setjmp/bits/setjmp2.h: Likewise.
71455         * stdlib/ucontext.h: Likewise.
71456
71457 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71458
71459         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71460         (reused_arena): Don't check arena limit.
71461         (arena_get2): Atomically check arena limit.
71462
71463 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71464
71465         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71466         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71467
71468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71469         instructions.
71470
71471 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71472
71473         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71474         handler when locking.
71475
71476         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71477         Fix size of allocated buffer.
71478
71479 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71480
71481         [BZ #10103]
71482         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71483         declarations for long double functions.
71484         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71485
71486         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71487
71488 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71489
71490         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71491         installed.
71492
71493         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71494         is disabled.
71495
71496 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71497
71498         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71499
71500 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71501
71502         * include/alloca.h (stackinfo_alloca_round): Define.
71503         (extend_alloca): Use it.
71504         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71505         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71506         here.
71507
71508         * scripts/check-local-headers.sh: Ignore libaudit.h.
71509
71510         * nscd/Makefile (extra-objs): Make recursively expanded.
71511
71512 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71513
71514         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71515         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71516
71517         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71518         * posix/tst-rfc3484-2.c: Likewise.
71519         * posix/tst-rfc3484-3.c: Likewise.
71520
71521         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71522         process_vm_writev.
71523         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71524         process_vm_writev.
71525         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71526         process_vm_writev from libc using GLIBC_2.15 version.
71527
71528         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71529
71530 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71531
71532         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71533         stack usage.
71534
71535 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71536
71537         [BZ #13367]
71538         * nss/getent.c (initgroups_keys): Show error message in case no group
71539         names are given.
71540
71541         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71542         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71543         __bump_nl_timestamp.
71544         * nscd/connections (nscd_init): When host database is served open
71545         netlink socket and request notification about configuration changes.
71546         (main_loop_poll): Track netlink file descriptor and bump timestamp
71547         in case data becomes available.
71548         (main_loop_epoll): Likewise.
71549         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71550         (database_pers_head): Add extra_data fileds.
71551         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71552         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71553         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71554         Adjust caller.
71555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71556         in6ai data, call __free_in6ai.
71557         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71558         Add -DHAVE_NETLINK.
71559         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71560         interface information.  Reuse previous data if netlink timestamp
71561         is not changed.
71562         (__bump_nl_timestamp): New function.
71563         (__free_in6ai): New function.
71564
71565 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71566
71567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71568         close_not_cancel_no_status here.
71569         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71570
71571 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71572
71573         [BZ #13276]
71574         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71575         return value.
71576
71577         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71578         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71579         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71580
71581 2011-07-03  Andreas Jaeger  <aj@suse.de>
71582
71583         [BZ #10709]
71584         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71585         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71586         * math/libm-test.inc (sin_test): Add test case.
71587
71588 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71589
71590         [BZ #13337]
71591         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71592         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71593
71594         * elf/chroot_canon.c (chroot_canon): Cleanups.
71595
71596         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71597
71598         [BZ #13335]
71599         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71600         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71601
71602         * string/test-strchr.c: Make usable for strchrnul testing.
71603         * string/test-strchrnul.c: New file.
71604         * string/Makefile (strop-tests): Add strchrnul.
71605
71606         * po/it.po: Update from translation team.
71607         * po/es.po: Likewise.
71608
71609 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71610
71611         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71612         the three constants needed as parameters.  Drop the others.
71613         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71614         __m128i_strloadu_tolower.
71615         Create and initialize variable zero and use it in all the places
71616         where _mm_setzero_si128 was used.
71617
71618         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71619         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71620         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71621         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71622         anymore.
71623         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71624         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71625         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71626         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71627         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71628         __mpranred, __mptan.
71629         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71630         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71631         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71632         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71633         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71634         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71636         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71637         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71638
71639 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71640
71641         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71642         redefine if SHARED.
71643         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71644
71645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71646         wide char related routines to wcsmbs subdir.
71647
71648 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71649
71650         [BZ #13344]
71651         * misc/sys/cdefs.h (__THROWNL): Define.
71652         * posix/unistd.h: Use __THREADNL instead of __THREAD
71653         for memory synchronization functions.
71654
71655 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71656
71657         [BZ #13349]
71658         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71659         doesn't exist.
71660         * manual/stdio.texi (Obstack Streams): Node removed.
71661
71662 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71663
71664         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71665         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71666         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71667
71668         * math/math_private.h (math_force_eval): Allow non-addressable
71669         arguments.
71670         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71671
71672 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71673
71674         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71675         file is not needed.
71676
71677         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71678         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71679         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71680         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71682         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71683         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71684         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71685         Add AVX variants.
71686         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71687         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71688         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71689         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71690         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71691         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71692         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71693         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71694         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71695         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71696         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71697         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71698         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71699         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71700         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71701         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71702         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71703         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71704         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71705
71706         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71707         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71708
71709         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71710         place.  Use VEX encoding when compiling for AVX.
71711
71712 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71713
71714         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71715         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71716
71717         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71718
71719 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71720
71721         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71722         useless if() expression.
71723         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71724         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71725         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71726         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71727         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71728         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71731         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71732         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71733         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71734         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71735         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71736         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71737         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71738         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71739         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71740         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71741         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71742
71743         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71744
71745 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71746
71747         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71748         condition.
71749         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71750
71751 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71752
71753         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71754         .text section.  Avoid duplicate constants.
71755         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71756         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71757         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71761         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71763         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71764         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71765         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71766         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71767         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71768         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71769         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71770         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71771         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71772         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71773         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71774         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71775         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71776         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71777         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71778         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71779         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71780         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71781         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71782         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71783         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71784         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71785         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71786         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71787         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71788         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71789         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71790         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71791         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71792         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71793         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71794         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71795         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71796         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71797         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71798         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71799         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71800
71801 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71802
71803         * sysdeps/x86_64/dla.h: Move to ...
71804         * sysdeps/x86_64/fpu/dla.h: ...here.
71805         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71806         situations.  Use __builtin_fma only for gcc 4.6 and up.
71807
71808         * config.make.in: Add have-mfma4 entry.
71809         * configure.in: Substitute libc_cv_cc_fma4.
71810         * math/Makefile (dbl-only-routines): Add sincostab.
71811         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71812         Use __sincostab not sincos.
71813         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71814         name is a macro.
71815         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71816         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71817         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71819         using __copysign.
71820         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71821         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71822         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71823         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71824         and __inv.
71825         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71826         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71827         __copysign.
71828         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71829         define aliases when function name is a macro.
71830         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71831         sysdeps/ieee754/dbl-64/sincos.tbl.
71832         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71833         fma4-enabled routines.
71834         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71835         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71836         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71837         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71838         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71839         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71840         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71841         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71842         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71843         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71844         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71845         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71846         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71847         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71848         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71849         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71850         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71851         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71852         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71853         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71854         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71855         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71856         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71857         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71859         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71860         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71861         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71862         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71863         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71864
71865         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71866         rename.
71867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71874         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71875
71876 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71877
71878         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71879
71880 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71881
71882         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71883
71884         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71885         prediction.
71886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71887
71888         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71889         Remove unused variable magic_bits.
71890         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71891
71892         * string/strnlen.c: Define and use STRNLEN macro.
71893         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71894         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71895         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71896         * wcsmbs/wcslen.c: Define and use WCSLEN.
71897         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71898         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71899         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71900         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71901         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71902         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71903         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71904
71905 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71906
71907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71908         strnlen-sse2-no-bsf.
71909         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71910         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71911         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71912         Add strnlen support.
71913         (USE_AS_STRNLEN): New macro.
71914         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71915         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71916         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71917         * sysdeps/x86_64/wcslen.S: New file.
71918
71919 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71920
71921         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71922         XMM-moves are used for copying on small sizes.
71923
71924 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71925
71926         * wcsmbs/Makefile (strop-tests): Add wcschr.
71927         * wcsmbs/test-wcschr.c: New file.
71928         * string/test-strchr.c: Update.
71929         Add wcschr support.
71930         (WIDE): New macro.
71931
71932 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71933
71934         * wcsmbs/Makefile (strop-tests): Add wcslen.
71935         * wcsmbs/test-wcslen.c: New file.
71936         * string/test-strlen.c: Update.
71937         Add wcslen support.
71938         (WIDE): New macro.
71939
71940 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71941
71942         * po/it.po: Update from translation team.
71943
71944 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71945
71946         * sysdeps/x86_64/wcscmp.S: Update.
71947         Fix wrong comparison semantics.
71948         wcscmp shall use signed comparison not unsigned.
71949         Don't use substraction to avoid overflow bug.
71950         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71951         * wcsmbc/wcscmp.c: Likewise.
71952         * string/test-strcmp.c: Likewise.
71953         Add new tests to check cases with negative values.
71954
71955 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71956
71957         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71958         * sysdeps/x86_64/dla.h: ...here.  New file.
71959         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71960         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71963         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71964         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71965         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71966         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71967         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71968
71969 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71970
71971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71972         __ynl_finite aliases.
71973
71974 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71975
71976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71977
71978         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71979         define DLA_FMA.
71980         [DLA_FMA] (EMULV): Use DLA_FMA.
71981         [DLA_FMA] (MUL12): Use EMULV.
71982         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71983         that are not needed.
71984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71985         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71989         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71990         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71991
71992 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71993
71994         * math/s_nan.c: Undef __nan.
71995         * math/s_nanf.c: Undef __nanf.
71996         * math/s_nanl.c: Undef __nanl.
71997         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71998         "math_private.h".
71999
72000 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72001
72002         * math/s_catan.c: Add branch predictions.
72003         * math/s_catanf.c: Likewise.
72004         * math/s_catanh.c: Likewise.
72005         * math/s_catanhf.c: Likewise.
72006         * math/s_catanhl.c: Likewise.
72007         * math/s_catanl.c: Likewise.
72008         * math/s_cexp.c: Likewise.
72009         * math/s_cexpf.c: Likewise.
72010         * math/s_cexpl.c: Likewise.
72011         * math/s_clog.c: Likewise.
72012         * math/s_clog10.c: Likewise.
72013         * math/s_clog10f.c: Likewise.
72014         * math/s_clog10l.c: Likewise.
72015         * math/s_clogf.c: Likewise.
72016         * math/s_clogl.c: Likewise.
72017         * math/s_csqrt.c: Likewise.
72018         * math/s_csqrtf.c: Likewise.
72019         * math/s_csqrtl.c: Likewise.
72020         * math/s_ctanf.c: Likewise.
72021         * math/s_ctanh.c: Likewise.
72022         * math/s_ctanhf.c: Likewise.
72023         * math/s_ctanhl.c: Likewise.
72024         * math/s_ctanl.c: Likewise.
72025
72026         * math/math_private.h: Define __nan, __nanf, __nanl.
72027         * math/s_cacosh.c: Include <math_private.h>.
72028         * math/s_cacoshl.c: Likewise.
72029         * math/s_casinh.c: Likewise.
72030         * math/s_casinhf.c: Likewise.
72031         * math/s_casinhl.c: Likewise.
72032         * math/s_ccos.c: Rely entire on ccosh.
72033         * math/s_ccosf.c: Rely entire on ccoshf.
72034         * math/s_ccosl.c: Rely entirely on ccoshl.
72035         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72036         Remove tests for FE_INVALID.
72037         * math/s_ccoshf.c: Likewise.
72038         * math/s_ccoshl.c: Likewise.
72039         * math/s_csin.c: Likewise.
72040         * math/s_csinf.c: Likewise.
72041         * math/s_csinh.c Likewise.
72042         * math/s_csinhf.c: Likewise.
72043         * math/s_csinhl.c: Likewise.
72044         * math/s_csinl.c: Likewise.
72045         * math/s_ctan.c: Likewise.
72046         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72047         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72048         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72049
72050 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72051
72052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72053         compilation problems.
72054
72055         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72056         __builtin_expect.
72057
72058 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72059
72060         * sysdeps/i386/configure.in: Test for -mfma4 option.
72061         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72062         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72063         COMMON_CPUID_INDEX_80000001.
72064         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72065         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72066         use it if FMA3 is not supported.
72067         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72068
72069         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72070         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72071
72072 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72073
72074         [BZ #12892]
72075         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72076         it would create a cycle with a link time dependency.
72077
72078 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72079
72080         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72081         instruction.
72082         * string/Makefile (strop-tests): Add rawmemchr.
72083         * string/test-rawmemchr.c: New file.
72084
72085         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72087         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72088         when compiling str{,n}casecmp and when AVX is available.  Hook up
72089         new optimized code in initializers.
72090
72091 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72092
72093         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72094         __feraiseexcept instead of feraiseexcept.
72095
72096 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72097
72098         * math/math_private.h: Define defaults for libc_fetestexcept and
72099         libc_feupdateenv.
72100         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72101         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72102         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72103         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72104         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72105         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72106         libc_fetestexcept and libc_feupdateenv.
72107
72108         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72109         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72110         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72111         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72112         libc_feholdexcept_setround.
72113
72114         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72115         Add s_nearbyint-c and s_nearbyintf-c.
72116         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72117         nearbyintf inlines.
72118         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72119         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72120         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72121         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72122
72123         * math/math_private.h: Define defaults for libc_fegetround,
72124         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72125         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72126         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72127         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72128         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72129         standard functions.
72130         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72131         Remove comments and hacks for old compiler versions.
72132         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72133         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72134         libc_feholdexceptl.
72135
72136 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72137
72138         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72139         (__feraiseexcept_renamed): Add __NTH.
72140         (feraiseexcept): Add __NTH.  Rename local variables to fix
72141         namespace violations.
72142
72143 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72144
72145         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72146
72147         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72148
72149         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72150         recently added interfaces.
72151         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72152
72153         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72154         about macro parameter expansion.
72155
72156         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72157         __NO_MATH_INLINES is defined.  Cleanups.
72158
72159         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72160         and __floorf is target has SSE4.1.
72161         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72162         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72163         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72164         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72165
72166         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72167         name.
72168         (floorf): Likewise.
72169
72170         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72171
72172 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72173
72174         * misc/sys/cdefs.h: Fix last change.
72175
72176         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72177         database lookup.
72178
72179 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72180
72181         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72182
72183         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72184         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72185         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72186         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72187         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72188         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72189         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72190         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72191         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72192         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72193         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72194         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72195         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72196         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72197         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72198         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72199         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72200         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72201         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72202         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72203         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72204         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72205
72206         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72207         ceil, ceilf, floor, floorf.
72208
72209         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72210         Perform IRELATIVE relocations last.
72211
72212         * elf/do-rel.h: Add another parameter nrelative, replacing the
72213         local variable with the same name.  Change name of the function
72214         to end in Rel or Rela (uppercase).
72215         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72216         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72217         elf_dynamic_do_##reloc function.
72218
72219 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72220
72221         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72222         is sufficient, at least on modern CPUs.
72223
72224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72225
72226         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72227         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72228
72229         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72230         __expl_finite.
72231         * math/bits/math-finite.h: Add entries for exp.
72232         * math/e_expl.c: Add __*_finite alias.
72233         * sysdeps/i386/fpu/e_exp.S: Likewise.
72234         * sysdeps/i386/fpu/e_expf.S: Likewise.
72235         * sysdeps/i386/fpu/e_expl.c: Likewise.
72236         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72237         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72238         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72239         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72240         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72241         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72242         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72243
72244         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72245         is sufficient, at least on modern CPUs.
72246
72247         * ctype/ctype-info.c (__ctype_init): Define.
72248         * include/ctype.h (__ctype_init): Declare.
72249         (__ctype_b_loc): The variable is always initialized.
72250         (__ctype_toupper_loc): Likewise.
72251         (__ctype_tolower_loc): Likewise.
72252         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72253         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72254
72255 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72256
72257         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72258
72259         * configure.in: Also look in $cxxmachine/include for C++ system
72260         headers.
72261
72262 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72263
72264         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72265         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72266         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72267         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72268         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72269         (USE_AS_WMEMCMP): New macro.
72270         Fixing indents.
72271         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72272         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72273         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72274         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72276         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72277         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72278         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72279         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72280         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72281         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72282         (USE_AS_WMEMCMP): New macro.
72283         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72284         * sysdeps/string/test-memcmp.c: Update.
72285         Fix simple_wmemcmp.
72286         Add new tests.
72287         * wcsmbs/wmemcmp.c: Update.
72288         (WMEMCMP): New macro.
72289         Fix overflow bug.
72290
72291 2011-10-12  Andreas Jaeger  <aj@suse.de>
72292
72293         [BZ #13268]
72294         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72295
72296 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72297
72298         * libio/iofwide.c (do_length): Avoid warning.
72299
72300         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72301
72302 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72303
72304         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72305
72306         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72307         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72308         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72309         * sysdeps/i386/i686/fpu/e_log.S: New file.
72310         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72311         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72312
72313         * ctype/ctype.h: Add support for inlined isXXX functions when
72314         compiling C++ code.
72315
72316 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72317
72318         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72319
72320         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72321
72322 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72323
72324         [BZ #13291]
72325         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72326
72327 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72328
72329         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72330         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72331         feraiseexcept.
72332
72333         * sysdeps/x86_64/memrchr.S: Check for zero size.
72334
72335         * string/stratcliff.c: Add memrchr tests.
72336
72337 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72338
72339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72340         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72341         rawmemchr-sse2 rawmemchr-sse2-bsf.
72342         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72343         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72344         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72345         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72346         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72347         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72348         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72349         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72350         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72351         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72352         * string/memrchr.c (MEMRCHR): New macro.
72353
72354 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72355
72356         Add integration with gcc's -ffinite-math-only and optimize wrapper
72357         functions in libm.
72358         * Versions.def: Define GLIBC_2.15 version for libm.
72359         * math/Makefile (headers): Add bits/math-finite.h.
72360         * math/bits/math-finite.h: New file.
72361         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72362         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72363         * math/e_acoshl.c: Add __*_finite alias.
72364         * math/e_acosl.c: Likewise.
72365         * math/e_asinl.c: Likewise.
72366         * math/e_atan2l.c: Likewise.
72367         * math/e_atanhl.c: Likewise.
72368         * math/e_coshl.c: Likewise.
72369         * math/e_exp10.c: Likewise.
72370         * math/e_exp10f.c: Likewise.
72371         * math/e_exp10l.c: Likewise.
72372         * math/e_exp2l.c: Likewise.
72373         * math/e_fmodl.c: Likewise.
72374         * math/e_gammal_r.c: Likewise.
72375         * math/e_hypotl.c: Likewise.
72376         * math/e_j0l.c: Likewise.
72377         * math/e_j1l.c: Likewise.
72378         * math/e_jnl.c: Likewise.
72379         * math/e_lgammal_r.c: Likewise.
72380         * math/e_log10l.c: Likewise.
72381         * math/e_log2l.c: Likewise.
72382         * math/e_logl.c: Likewise.
72383         * math/e_powl.c: Likewise.
72384         * math/e_sinhl.c: Likewise.
72385         * math/e_sqrtl.c: Likewise.
72386         * math/e_scalb.c: Completely rewritten and optimized.
72387         * math/e_scalbf.c: Likewise.
72388         * math/e_scalbl.c: Likewise.
72389         * math/w_acos.c: Likewise.
72390         * math/w_acosf.c: Likewise.
72391         * math/w_acosl.c: Likewise.
72392         * math/w_acosh.c: Likewise.
72393         * math/w_acoshf.c: Likewise.
72394         * math/w_acoshl.c: Likewise.
72395         * math/w_asin.c: Likewise.
72396         * math/w_asinf.c: Likewise.
72397         * math/w_asinl.c: Likewise.
72398         * math/w_atan2.c: Likewise.
72399         * math/w_atan2f.c: Likewise.
72400         * math/w_atan2l.c: Likewise.
72401         * math/w_atanh.c: Likewise.
72402         * math/w_atanhf.c: Likewise.
72403         * math/w_atanhl.c: Likewise.
72404         * math/w_exp10.c: Likewise.
72405         * math/w_exp10f.c: Likewise.
72406         * math/w_exp10l.c: Likewise.
72407         * math/w_fmod.c: Likewise.
72408         * math/w_fmodf.c: Likewise.
72409         * math/w_fmodl.c: Likewise.
72410         * math/w_j0.c: Likewise.
72411         * math/w_j0f.c: Likewise.
72412         * math/w_j0l.c: Likewise.
72413         * math/w_j1.c: Likewise.
72414         * math/w_j1f.c: Likewise.
72415         * math/w_j1l.c: Likewise.
72416         * math/w_jn.c: Likewise.
72417         * math/w_jnf.c: Likewise.
72418         * math/w_log.c: Likewise.
72419         * math/w_logf.c: Likewise.
72420         * math/w_logl.c: Likewise.
72421         * math/w_log10.c: Likewise.
72422         * math/w_log10f.c: Likewise.
72423         * math/w_log10l.c: Likewise.
72424         * math/w_log2.c: Likewise.
72425         * math/w_log2f.c: Likewise.
72426         * math/w_log2l.c: Likewise.
72427         * math/w_pow.c: Likewise.
72428         * math/w_powf.c: Likewise.
72429         * math/w_powl.c: Likewise.
72430         * math/w_remainder.c: Likewise.
72431         * math/w_remainderf.c: Likewise.
72432         * math/w_remainderl.c: Likewise.
72433         * math/w_scalb.c: Likewise.
72434         * math/w_scalbf.c: Likewise.
72435         * math/w_scalbl.c: Likewise.
72436         * math/w_sqrt.c: Likewise.
72437         * math/w_sqrtf.c: Likewise.
72438         * math/w_sqrtl.c: Likewise.
72439         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72440         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72441         used.
72442         * math/math_private.h: Declare __kernel_standard_f.
72443         * math/w_cosh.c: Remove cruft and optimize a bit.
72444         * math/w_coshf.c: Likewise.
72445         * math/w_coshl.c: Likewise.
72446         * math/w_exp2.c: Likewise.
72447         * math/w_exp2f.c: Likewise.
72448         * math/w_exp2l.c: Likewise.
72449         * math/w_hypot.c: Likewise.
72450         * math/w_hypotf.c: Likewise.
72451         * math/w_hypotl.c: Likewise.
72452         * math/w_lgamma.c: Likewise.
72453         * math/w_lgamma_r.c: Likewise.
72454         * math/w_lgammaf.c: Likewise.
72455         * math/w_lgammaf_r.c: Likewise.
72456         * math/w_lgammal.c: Likewise.
72457         * math/w_lgammal_r.c: Likewise.
72458         * math/w_sinh.c: Likewise.
72459         * math/w_sinhf.c: Likewise.
72460         * math/w_sinhl.c: Likewise.
72461         * math/w_tgamma.c: Likewise.
72462         * math/w_tgammaf.c: Likewise.
72463         * math/w_tgammal.c: Likewise.
72464         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72465         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72466         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72467         Minor optimizations.  Pretty printing.  Remove cruft.
72468         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72469         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72470         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72471         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72472         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72473         * sysdeps/i386/fpu/e_asin.S: Likewise.
72474         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72475         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72476         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72477         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72478         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72479         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72480         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72481         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72482         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72483         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72484         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72485         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72486         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72487         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72488         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72489         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72490         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72491         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72492         * sysdeps/i386/fpu/e_log.S: Likewise.
72493         * sysdeps/i386/fpu/e_log10.S: Likewise.
72494         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72495         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72496         * sysdeps/i386/fpu/e_log2.S: Likewise.
72497         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72498         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72499         * sysdeps/i386/fpu/e_logf.S: Likewise.
72500         * sysdeps/i386/fpu/e_logl.S: Likewise.
72501         * sysdeps/i386/fpu/e_pow.S: Likewise.
72502         * sysdeps/i386/fpu/e_powf.S: Likewise.
72503         * sysdeps/i386/fpu/e_powl.S: Likewise.
72504         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72505         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72506         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72507         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72508         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72509         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72510         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72511         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72512         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72513         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72516         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72517         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72518         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72519         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72520         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72521         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72522         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72523         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72524         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72526         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72527         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72529         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72530         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72531         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72533         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72534         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72535         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72536         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72537         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72538         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72539         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72540         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72541         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72542         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72543         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72544         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72545         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72546         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72547         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72548         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72549         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72550         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72551         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72552         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72553         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72554         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72555         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72556         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72557         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72558         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72559         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72560         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72561         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72562         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72563         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72564         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72565         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72566         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72568         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72569         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72570         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72571         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72572         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72573         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72574         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72577         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72578         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72579         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72581         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72583         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72587         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72589         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72590         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72591         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72592         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72593         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72594         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72595         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72596         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72597         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72598         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72599         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72600         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72601         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72602         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72603         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72604         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72605         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72606         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72607         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72608         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72609         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72610         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72611         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72612         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72613         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72614         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72615         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72616         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72617         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72618         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72619         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72620         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72621         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72622         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72623         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72624         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72625         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72626         (__isnanf): Likewise.
72627         (__isinf_ns): Likewise.
72628         (__isinf_nsf): Likewise.
72629         (__finite): Likewise.
72630         (__finitef): Likewise.
72631         (__ieee754_sqrt): Define as macro.
72632         (__ieee754_sqrtf): Define as macro.
72633         (__ieee754_sqrtl): Define as macro.
72634         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72635         inlined copy.
72636         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72637         __FINITE_MATH_ONLY__ consistent.
72638         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72639
72640 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72641
72642         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72643         of rawmemchr.
72644
72645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72646
72647 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72648
72649         * po/ja.po: Update from translation team.
72650
72651 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72652
72653         * locale/programs/locarchive.c (prepare_address_space): New function.
72654         (create_archive, enlarge_archive, open_archive): Use it.
72655
72656         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72657         inside [SHARED], where it is used.
72658
72659         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72660
72661         * nss/getent.c (netgroup_keys): Remove unused variable.
72662         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72663
72664 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72665
72666         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72667         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72669         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72670         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72671         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72672         * math/Makefile (libm-calls): Add s_isinf_ns.
72673         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72674         * math/multc3.c: Likewise.
72675         * math/s_casin.c: Likewise.
72676         * math/s_casinf.c: Likewise.
72677         * math/s_casinl.c: Likewise.
72678         * math/s_ccos.c: Likewise.
72679         * math/s_ccosf.c: Likewise.
72680         * math/s_ccosl.c: Likewise.
72681         * math/s_ctan.c: Likewise.
72682         * math/s_ctanf.c: Likewise.
72683         * math/s_ctanh.c: Likewise.
72684         * math/s_ctanhf.c: Likewise.
72685         * math/s_ctanhl.c: Likewise.
72686         * math/s_ctanl.c: Likewise.
72687         * math/w_fmod.c: Likewise.
72688         * math/w_fmodf.c: Likewise.
72689         * math/w_fmodl.c: Likewise.
72690         * math/w_remainder.c: Likewise.
72691         * math/w_remainderf.c: Likewise.
72692         * math/w_remainderl.c: Likewise.
72693         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72694         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72695         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72697         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72698         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72699         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72700         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72701
72702         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72703         of the number.
72704         * stdio-common/printf_fphex.c: Likewise.
72705         * stdio-common/printf_size.c: Likewise.
72706
72707         * math/e_exp10.c: Include math_private.h using <...> not "...".
72708         * math/e_exp10f.c: Likewise.
72709         * math/e_exp10l.c: Likewise.
72710         * math/e_exp2l.c: Likewise.
72711         * math/e_j0l.c: Likewise.
72712         * math/e_j1l.c: Likewise.
72713         * math/e_jnl.c: Likewise.
72714         * math/e_lgammal_r.c: Likewise.
72715         * math/e_rem_pio2l.c: Likewise.
72716         * math/e_scalb.c: Likewise.
72717         * math/e_scalbf.c: Likewise.
72718         * math/e_scalbl.c: Likewise.
72719         * math/k_cosl.c: Likewise.
72720         * math/k_sinl.c: Likewise.
72721         * math/k_tanl.c: Likewise.
72722         * math/s_cacoshf.c: Likewise.
72723         * math/s_catan.c: Likewise.
72724         * math/s_catanf.c: Likewise.
72725         * math/s_catanh.c: Likewise.
72726         * math/s_catanhf.c: Likewise.
72727         * math/s_catanhl.c: Likewise.
72728         * math/s_catanl.c: Likewise.
72729         * math/s_ccosh.c: Likewise.
72730         * math/s_ccoshf.c: Likewise.
72731         * math/s_ccoshl.c: Likewise.
72732         * math/s_cexp.c: Likewise.
72733         * math/s_cexpf.c: Likewise.
72734         * math/s_cexpl.c: Likewise.
72735         * math/s_clog.c: Likewise.
72736         * math/s_clog10.c: Likewise.
72737         * math/s_clog10f.c: Likewise.
72738         * math/s_clog10l.c: Likewise.
72739         * math/s_clogf.c: Likewise.
72740         * math/s_clogl.c: Likewise.
72741         * math/s_csin.c: Likewise.
72742         * math/s_csinf.c: Likewise.
72743         * math/s_csinh.c: Likewise.
72744         * math/s_csinhf.c: Likewise.
72745         * math/s_csinhl.c: Likewise.
72746         * math/s_csinl.c: Likewise.
72747         * math/s_csqrt.c: Likewise.
72748         * math/s_csqrtf.c: Likewise.
72749         * math/s_csqrtl.c: Likewise.
72750         * math/s_ctan.c: Likewise.
72751         * math/s_ctanf.c: Likewise.
72752         * math/s_ctanh.c: Likewise.
72753         * math/s_ctanhf.c: Likewise.
72754         * math/s_ctanhl.c: Likewise.
72755         * math/s_ctanl.c: Likewise.
72756         * math/s_ldexp.c: Likewise.
72757         * math/s_ldexpf.c: Likewise.
72758         * math/s_ldexpl.c: Likewise.
72759         * math/s_significand.c: Likewise.
72760         * math/s_significandf.c: Likewise.
72761         * math/s_significandl.c: Likewise.
72762         * math/w_acos.c: Likewise.
72763         * math/w_acosf.c: Likewise.
72764         * math/w_acosh.c: Likewise.
72765         * math/w_acoshf.c: Likewise.
72766         * math/w_acoshl.c: Likewise.
72767         * math/w_acosl.c: Likewise.
72768         * math/w_asin.c: Likewise.
72769         * math/w_asinf.c: Likewise.
72770         * math/w_asinl.c: Likewise.
72771         * math/w_atan2.c: Likewise.
72772         * math/w_atan2f.c: Likewise.
72773         * math/w_atan2l.c: Likewise.
72774         * math/w_atanh.c: Likewise.
72775         * math/w_atanhf.c: Likewise.
72776         * math/w_atanhl.c: Likewise.
72777         * math/w_cosh.c: Likewise.
72778         * math/w_coshf.c: Likewise.
72779         * math/w_coshl.c: Likewise.
72780         * math/w_dremf.c: Likewise.
72781         * math/w_exp10.c: Likewise.
72782         * math/w_exp10f.c: Likewise.
72783         * math/w_exp10l.c: Likewise.
72784         * math/w_exp2.c: Likewise.
72785         * math/w_exp2f.c: Likewise.
72786         * math/w_fmod.c: Likewise.
72787         * math/w_fmodf.c: Likewise.
72788         * math/w_fmodl.c: Likewise.
72789         * math/w_hypot.c: Likewise.
72790         * math/w_hypotf.c: Likewise.
72791         * math/w_hypotl.c: Likewise.
72792         * math/w_j0.c: Likewise.
72793         * math/w_j0f.c: Likewise.
72794         * math/w_j0l.c: Likewise.
72795         * math/w_j1.c: Likewise.
72796         * math/w_j1f.c: Likewise.
72797         * math/w_j1l.c: Likewise.
72798         * math/w_jn.c: Likewise.
72799         * math/w_jnf.c: Likewise.
72800         * math/w_jnl.c: Likewise.
72801         * math/w_lgamma.c: Likewise.
72802         * math/w_lgamma_r.c: Likewise.
72803         * math/w_lgammaf.c: Likewise.
72804         * math/w_lgammaf_r.c: Likewise.
72805         * math/w_lgammal.c: Likewise.
72806         * math/w_lgammal_r.c: Likewise.
72807         * math/w_log.c: Likewise.
72808         * math/w_log10.c: Likewise.
72809         * math/w_log10f.c: Likewise.
72810         * math/w_log10l.c: Likewise.
72811         * math/w_log2.c: Likewise.
72812         * math/w_log2f.c: Likewise.
72813         * math/w_log2l.c: Likewise.
72814         * math/w_logf.c: Likewise.
72815         * math/w_logl.c: Likewise.
72816         * math/w_pow.c: Likewise.
72817         * math/w_powf.c: Likewise.
72818         * math/w_powl.c: Likewise.
72819         * math/w_remainder.c: Likewise.
72820         * math/w_remainderf.c: Likewise.
72821         * math/w_remainderl.c: Likewise.
72822         * math/w_scalb.c: Likewise.
72823         * math/w_scalbf.c: Likewise.
72824         * math/w_scalbl.c: Likewise.
72825         * math/w_sinh.c: Likewise.
72826         * math/w_sinhf.c: Likewise.
72827         * math/w_sinhl.c: Likewise.
72828         * math/w_sqrt.c: Likewise.
72829         * math/w_sqrtf.c: Likewise.
72830         * math/w_sqrtl.c: Likewise.
72831         * math/w_tgamma.c: Likewise.
72832         * math/w_tgammaf.c: Likewise.
72833         * math/w_tgammal.c: Likewise.
72834
72835         * po/ja.po: Update from translation team.
72836
72837 2011-09-29  Andreas Jaeger  <aj@suse.de>
72838
72839         [BZ #13179]
72840         * sunrpc/netname.c (netname2host): Fix logic.
72841
72842         [BZ #6779]
72843         [BZ #6783]
72844         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72845         correctly.
72846         * math/w_remainder.c (__remainder): Likewise.
72847         * math/w_remainderf.c (__remainderf): Likewise.
72848         * math/libm-test.inc (remainder_test): Add test cases.
72849
72850 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72851
72852         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72853         sdiv_qrnnd.
72854
72855 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72856
72857         * string/test-memcmp.c: Avoid unncessary #defines.
72858         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72859
72860 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72861
72862         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72863         Use new sse2 version for core i3 - i7 as it's faster
72864         than sse42 version.
72865         (bit_Prefer_PMINUB_for_stringop): New.
72866         * sysdeps/x86_64/rawmemchr.S: Update.
72867         Replace with faster SSE2 version.
72868         * sysdeps/x86_64/memrchr.S: New file.
72869         * sysdeps/x86_64/memchr.S: Update.
72870         Replace with faster SSE2 version.
72871
72872 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72873
72874         * elf/dl-load.c (lose): Add cast to avoid warning.
72875
72876 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72877
72878         * po/ca.po: Update from translation team.
72879
72880         * inet/getnetgrent_r.c: Hook up nscd.
72881         * nscd/Makefile (routines): Add nscd_netgroup.
72882         (nscd-modules): Add netgroupcache.
72883         (CFLAGS-netgroupcache.c): Define.
72884         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72885         (cache_search): Add const to second parameter.
72886         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72887         INNETGR.
72888         (dbs): Add netgrdb entry.
72889         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72890         (verify_persistent_db): Handle netgrdb.
72891         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72892         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72893         GETFDNETGR.
72894         (netgroup_response_header): Define.
72895         (innetgroup_response_header): Define.
72896         (datahead): Add netgroup_response_header and innetgroup_response_header
72897         elements.
72898         * nscd/nscd.conf: Add entries for netgroup cache.
72899         * nscd/nscd.h (dbtype): Add netgrdb.
72900         (_PATH_NSCD_NETGROUP_DB): Define.
72901         (netgroup_iov_disabled): Declare.
72902         (xmalloc, xcalloc, xrealloc): Move declarations here.
72903         (cache_search): Adjust prototype.
72904         Add netgroup-related prototypes.
72905         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72906         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72907         (__nscd_innetgr): Declare.
72908         * nscd/selinux.c (perms): Use access_vector_t as element type and
72909         add netgroup-related initializers.
72910         * nscd/netgroupcache.c: New file.
72911         * nscd/nscd_netgroup.c: New file.
72912         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72913         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72914         For four parameters use innetgr.
72915         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72916         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72917         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72918         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72919
72920         * nscd/connections.c (register_traced_file): Don't register file
72921         for disabled databases.
72922
72923 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72924
72925         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72926
72927         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72928         from tree and freeing node.
72929
72930 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72931
72932         * nss/nsswitch.c (__nss_database_lookup): Handle
72933         nss_parse_service_list out of memory case.
72934
72935 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72936
72937         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72938         out of memory case.
72939
72940 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72941
72942         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72943         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72944         pass it down.
72945         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72946         elf_machine_rela, elf_machine_lazy_rel.
72947         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72948         (ELF_DYNAMIC_DO_REL): Likewise.
72949         (ELF_DYNAMIC_DO_RELA): Likewise.
72950         (ELF_DYNAMIC_RELOCATE): Likewise.
72951         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72952         to ELF_DYNAMIC_DO_REL.
72953         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72954         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72955         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72956         elf_machine_rela.
72957         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72958         skip_ifunc, don't call ifunc function if non-zero.
72959         (elf_machine_rela): Likewise.
72960         (elf_machine_lazy_rel): Likewise.
72961         (elf_machine_lazy_rela): Likewise.
72962         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72963         (elf_machine_lazy_rel): Likewise.
72964         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72965         Likewise.
72966         (elf_machine_lazy_rel): Likewise.
72967         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72968         Likewise.
72969         (elf_machine_lazy_rel): Likewise.
72970         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72971         (elf_machine_lazy_rel): Likewise.
72972         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72973         (elf_machine_lazy_rel): Likewise.
72974         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72975         (elf_machine_lazy_rel): Likewise.
72976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72977         (elf_machine_lazy_rel): Likewise.
72978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72979         (elf_machine_lazy_rel): Likewise.
72980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72981         (elf_machine_lazy_rel): Likewise.
72982
72983 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72984
72985         * nss/nss_files/files-init.c (_nss_files_init): Use static
72986         initialization for all the *_traced_file variables.
72987
72988 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72989
72990         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72991
72992 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72993
72994         [BZ #13226]
72995         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72996
72997 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72998
72999         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73000         Reread the line before reparsing it.
73001
73002 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73003
73004         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73005
73006 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73007             Maxim Kuvyrkov  <maxim@codesourcery.com>
73008             Joseph Myers  <joseph@codesourcery.com>
73009
73010         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73011         if needed for __stack_chk_guard.
73012
73013 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73014
73015         * sysdeps/posix/spawni.c (script_execute): Always define it.
73016         It will be optimized away if unused.
73017         (maybe_script_execute): New function.
73018         (__spawni): Call it.
73019
73020         * Makerules: Don't include tls.make.
73021         (config-tls): Always set to thread.
73022         * tls.make.c: File removed.
73023
73024 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73025
73026         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73027         * config.make.in (CPPFLAGS-config): New substituted variable.
73028
73029 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73030
73031         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73032
73033         [BZ #13192]
73034         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73035         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73036
73037 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73038
73039         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73040         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73041         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73042         (CALL_FAIL): Likewise.
73043         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73044         (CALL_FAIL): Macro removed.
73045         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73046
73047 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73048
73049         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73050         for __FINITE_MATH_ONLY__ == 1.
73051
73052 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73053
73054         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73055         __ieee754_sqrt instead of sqrt.
73056         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73057         __ieee754_sqrtf instead of sqrtf.
73058         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73059         __floorf instead of floorf.
73060         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73061         __floorf, __truncf instead of floorf, truncf.
73062
73063 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73064
73065         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73066
73067         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73068         __extern_always_inline.
73069         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73070         32-bit.
73071
73072 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73073
73074         * elf/rtld.c (dl_main): Also relocate in dependency order when
73075         doing symbol dependency testing.
73076
73077 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73078
73079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73080         Always define `refsym'.
73081
73082 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73083
73084         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73085         (__FD_ELT): Renamed from __FDELT.
73086         * misc/bits/select2.h (__FD_ELT): Likewise.
73087         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73088         __FD_MASK instead of __FDELT, __FDMASK.
73089         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73090         Likewise.
73091         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73092         Likewise.
73093
73094         * elf/Makefile (gen-ldd): Fix pattern.
73095
73096         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73097         (init_tls): Likewise.
73098
73099 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73100
73101         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73102
73103 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73104
73105         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73106         `struct cmsghdr *' instead of `void *'.
73107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73108         Likewise.
73109
73110 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73111
73112         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73113         if non-absolute.
73114         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73115         ldd_rewrite_script.
73116
73117 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73118
73119         * configure.in: Remove --with-tls option.
73120         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73121         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73122         out in case it is missing.
73123         * sysdeps/ia64/elf/configure.in: Likewise.
73124         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73125         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73126         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73127         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73128         * sysdeps/sh/elf/configure.in: Likewise.
73129         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73130         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73131         * sysdeps/x86_64/elf/configure.in: Likewise.
73132         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73133         * sysdeps/mach/hurd/tls.h: Likewise.
73134
73135         [BZ #13067]
73136         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73137
73138         [BZ #13090]
73139         * configure.in: Fix use of AC_INIT.
73140
73141         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73142
73143 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73144
73145         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73146         __set_errno.
73147         * malloc/hooks.c: Likewise.
73148
73149         [BZ #11929]
73150         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73151         variables statically.
73152         (narenas): Initialize.
73153         (list_lock): Initialize.
73154         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73155         initializtion of main_arena and list_lock.  Small cleanups.
73156         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73157         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73158         Add initializers to main_arena and mp_.
73159         (malloc_state): Remove pagesize member.  Change all users to use
73160         GLRO(dl_pagesize).
73161
73162         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73163         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73164         is always initialized.
73165
73166         * malloc/malloc.c: Removed unused configurations and dead code.
73167         * malloc/arena.c: Likewise.
73168         * malloc/hooks.c: Likewise.
73169         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73170
73171         * include/tls.h: Removed.  USE___THREAD must always be defined.
73172         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73173         * elf/dl-libc.c: Likewise.
73174         * elf/dl-tsd.c: Likewise.
73175         * include/errno.h: Likewise.
73176         * include/netdb.h: Likewise.
73177         * include/resolv.h: Likewise.
73178         * inet/herrno-loc.c: Likewise.
73179         * inet/herrno.c: Likewise.
73180         * malloc/arena.c: Likewise.
73181         * malloc/hooks.c: Likewise.
73182         * malloc/malloc.c: Likewise.
73183         * resolv/res-state.c: Likewise.
73184         * resolv/res_libc.c: Likewise.
73185         * sysdeps/i386/dl-machine.h: Likewise.
73186         * sysdeps/ia64/dl-machine.h: Likewise.
73187         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73188         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73189         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73190         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73191         * sysdeps/sh/dl-machine.h: Likewise.
73192         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73193         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73194         * sysdeps/unix/i386/sysdep.S: Likewise.
73195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73196         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73201         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73202         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73205         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73206         * sysdeps/x86_64/dl-machine.h: Likewise.
73207         * tls.make.c: Likewise.
73208
73209         * configure.in: Remove --with-__thread option.  Make tests for
73210         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73211         tls_model attribute fail if no support is available.  Remove
73212         USE_IN_LIBIO.
73213         * Makeconfig: Adjust for dropped configure option.  All features are
73214         now mandatory.
73215         * Makerules: Likewise.
73216         * Versions.def: Likewise.
73217         * argp/argp-fmtstream.c: Likewise.
73218         * argp/argp-fmtstream.h: Likewise.
73219         * argp/argp-help.c: Likewise.
73220         * assert/assert.c: Likewise.
73221         * config.h.in: Likewise.
73222         * config.make.in: Likewise.
73223         * configure: Likewise.
73224         * configure.in: Likewise.
73225         * csu/Versions: Likewise.
73226         * csu/init.c: Likewise.
73227         * elf/tst-audit2.c: Likewise.
73228         * elf/tst-tls10.c: Likewise.
73229         * elf/tst-tls10.h: Likewise.
73230         * elf/tst-tls11.c: Likewise.
73231         * elf/tst-tls12.c: Likewise.
73232         * elf/tst-tls14.c: Likewise.
73233         * elf/tst-tlsmod11.c: Likewise.
73234         * elf/tst-tlsmod12.c: Likewise.
73235         * elf/tst-tlsmod13.c: Likewise.
73236         * elf/tst-tlsmod13a.c: Likewise.
73237         * elf/tst-tlsmod14a.c: Likewise.
73238         * elf/tst-tlsmod15b.c: Likewise.
73239         * elf/tst-tlsmod16a.c: Likewise.
73240         * elf/tst-tlsmod16b.c: Likewise.
73241         * elf/tst-tlsmod7.c: Likewise.
73242         * elf/tst-tlsmod8.c: Likewise.
73243         * elf/tst-tlsmod9.c: Likewise.
73244         * gmon/gmon.c: Likewise.
73245         * grp/fgetgrent_r.c: Likewise.
73246         * grp/putgrent.c: Likewise.
73247         * hurd/fopenport.c: Likewise.
73248         * include/libc-symbols.h: Likewise.
73249         * include/tls.h: Likewise.
73250         * intl/gettextP.h: Likewise.
73251         * intl/loadinfo.h: Likewise.
73252         * locale/global-locale.c: Likewise.
73253         * locale/localeinfo.h: Likewise.
73254         * mach/devstream.c: Likewise.
73255         * malloc/arena.c: Likewise.
73256         * malloc/set-freeres.c: Likewise.
73257         * misc/err.c: Likewise.
73258         * misc/getttyent.c: Likewise.
73259         * misc/mntent_r.c: Likewise.
73260         * posix/getopt.c: Likewise.
73261         * posix/wordexp.c: Likewise.
73262         * pwd/fgetpwent_r.c: Likewise.
73263         * resolv/Versions: Likewise.
73264         * resolv/res_hconf.c: Likewise.
73265         * shadow/fgetspent_r.c: Likewise.
73266         * shadow/putspent.c: Likewise.
73267         * stdio-common/printf_fphex.c: Likewise.
73268         * stdio-common/tmpfile.c: Likewise.
73269         * stdlib/abort.c: Likewise.
73270         * stdlib/fmtmsg.c: Likewise.
73271         * sunrpc/auth_unix.c: Likewise.
73272         * sunrpc/clnt_perr.c: Likewise.
73273         * sunrpc/clnt_tcp.c: Likewise.
73274         * sunrpc/clnt_udp.c: Likewise.
73275         * sunrpc/clnt_unix.c: Likewise.
73276         * sunrpc/openchild.c: Likewise.
73277         * sunrpc/svc_simple.c: Likewise.
73278         * sunrpc/svc_tcp.c: Likewise.
73279         * sunrpc/svc_udp.c: Likewise.
73280         * sunrpc/svc_unix.c: Likewise.
73281         * sunrpc/xdr.c: Likewise.
73282         * sunrpc/xdr_array.c: Likewise.
73283         * sunrpc/xdr_rec.c: Likewise.
73284         * sunrpc/xdr_ref.c: Likewise.
73285         * sunrpc/xdr_stdio.c: Likewise.
73286
73287 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73288
73289         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73290
73291 2011-07-03  Andreas Jaeger  <aj@suse.de>
73292
73293         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73294         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73295         regenerate with gen-libm-tests.pl.
73296
73297 2010-05-12  Petr Baudis  <pasky@suse.cz>
73298
73299         [BZ #11589]
73300         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73301         around j0() zero points by switching to j1().
73302         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73303         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73304         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73305         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73306
73307 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73308
73309         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73310         instead of 0.
73311         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73312         instead of 0.
73313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73314         Patch in part by Pavel Roskin <proski@gnu.org>.
73315
73316         [BZ #13138]
73317         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73318         realloc.
73319         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73320         Free memory block if necessary.
73321
73322         [BZ #12847]
73323         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73324         be NULL.  Don't lock in this case.
73325
73326 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73327
73328         * elf/elf.h (ELFOSABI_GNU): New macro.
73329         (ELFOSABI_LINUX): Define to that.
73330
73331 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73332
73333         * string/strncat.c (strncat): Undef the symbol in case it has been
73334         defined in bits/string.h.
73335
73336 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73337
73338         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73339
73340         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73341         link map.
73342
73343 2011-08-17  Andreas Jaeger  <aj@suse.de>
73344
73345         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73346
73347 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73348             Ian Lance Taylor  <iant@google.com>
73349
73350         * math/libm-test.inc (lround_test): New testcase.
73351         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73352
73353 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73354
73355         * Makefile: Remove support for automatic cvs check-ins.
73356         * Makerules: Likewise.
73357         * config.make.in: Likewise.
73358         * configure.in: Likewise.
73359         * intl/Makefile: Likewise.
73360         * locale/Makefile: Likewise.
73361         * po/Makefile: Likewise.
73362         * posix/Makefile: Likewise.
73363         * sysdeps/gnu/Makefile: Likewise.
73364         * sysdeps/mach/hurd/Makefile: Likewise.
73365         * sysdeps/sparc/sparc32/Makefile: Likewise.
73366
73367         [BZ #13118]
73368         * posix/Makefile (bug-regex32-ENV): Define.
73369         Patch by John Stanley <jpsinthemix@verizon.net>.
73370
73371         * misc/Makefile (headers): Add bits/select2.h.
73372         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73373         * misc/bits/select2.h: New file.
73374         * include/bits/select2.h: New file.
73375         * debug/Makefile (routines): Add fdelt_chk.
73376         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73377         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73378         FD_ISSET.
73379         * debug/fdelt_chk.c: New file.
73380
73381         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73382         * wcsmbs/test-wmemcmp.c: Likewise.
73383         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73384         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73385
73386 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73387
73388         * string/Makefile (strop-tests): Add memcmp.
73389         * string/test-wmemcmp.c: New file.
73390         * string/test-memcmp.c: Add wmemcmp support.
73391
73392 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73393
73394         [BZ #13153]
73395         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73396         2011-07-19 change.
73397
73398         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73399         garbage value in a __mach_port_mod_refs call in the cases of the
73400         task-self and thread-self ports.
73401
73402 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73403
73404         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73405
73406 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73407
73408         * elf/dl-load.c (lose): Check for non-null L.
73409
73410 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73411
73412         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73413
73414         * elf/dl-libc.c (dlerror_run): Pass back error code from
73415         dl_catch_error.
73416
73417         [BZ #13123]
73418         * elf/dl-load.c (lose): Free l_origin if it is valid.
73419
73420         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73421         names.
73422         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73423         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73426         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73427         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73428
73429 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73430
73431         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73432         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73433         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73434         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73435         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73436         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73437         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73438         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73439         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73440         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73441
73442 2011-08-15  Alan Modra  <amodra@gmail.com>
73443
73444         [BZ #13092]
73445         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73446         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73447         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73448         ppc_mcount to static-only-routines.
73449         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73450         __mcount_internal.
73451         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73452         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73453
73454 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73455
73456         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73457         for finite and infinity parameters.
73458
73459 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73460
73461         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73462         and add nop instructions for throughput optimization.
73463         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73464
73465 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73466
73467         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73468         aligned copy for power7 with vector-scalar instructions.
73469         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73470
73471 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73472
73473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73474         AVX check.
73475
73476 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73477
73478         [BZ #13144]
73479         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73480         last change.
73481
73482 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73483
73484         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73485         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73486         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73487         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73488         clock_gettime.
73489
73490 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73491
73492         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73493         Forgot to demangle the pointer.
73494
73495         * sysdeps/i386/sysdep.h: Define atom_text_section.
73496         * sysdeps/x86_64/sysdep.h: Likewise.
73497         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73498         section with atom_text_section.
73499         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73500         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73501         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73502         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73503         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73504
73505         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73506         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73507         already be defined.  Change to take two parameters and don't assign
73508         result to variable.  Adjust all users.
73509         Define INTERNAL_GETTIME if not already defined.
73510         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73511         call.
73512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73513         HAVE_CLOCK_GETTIME_VSYSCALL.
73514         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73515
73516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73517         gettimeofday vsyscall, just use time.
73518
73519 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73520
73521         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73522         <errno.h>.
73523
73524 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73525
73526         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73527         syscall on x86-64.
73528         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73529         syscall.
73530         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73531         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73532         syscall if possible.
73533
73534 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73535
73536         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73537         e_ident.  Don't pass to find_mapsXX.
73538         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73539
73540 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73541
73542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73543         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73544         * sysdeps/x86_64/multiarch/strchr.S: Update.
73545         Check bit_slow_BSF bit.
73546         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73547         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73548         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73549
73550 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73551
73552         [BZ #13134]
73553         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73554         before glibc 2.15.
73555         (tryshell): Define.
73556         (__spawni): Change last parameter to be flag.  Test
73557         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73558         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73559         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73560         * posix/spawni.c: Likewise.
73561         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73562         * posix/spawnp.c: Likewise.  Change normal version to use
73563         SPAWN_XFLAGS_USE_PATH.
73564         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73565         SPAWN_XFLAGS_TRY_SHELL.
73566
73567         [BZ #13150]
73568         * posix/glob.h: Remove gcc 1.x support.
73569
73570         [BZ #13068]
73571         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73572
73573 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73574
73575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73576         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73577         strrchr-sse2-bsf
73578         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73579         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73580         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73581         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73582         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73583         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73584
73585 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73586
73587         * sysdeps/x86_64/wcscmp.S: New file.
73588
73589         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73590         wcscmp-c wcscmp-sse2
73591         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73592         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73593         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73594         * wcsmbs/wcscmp.c: Allow renaming.
73595
73596 2011-09-05  David S. Miller  <davem@davemloft.net>
73597
73598         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73599         stack slot, rather than the struct return pointer slot.
73600         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73601         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73603         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73604
73605 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73606
73607         * po/ja.po: Update from translation team.
73608
73609         [BZ #13144]
73610         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73611         kernel in 64-bit binaries.
73612
73613 2011-09-01  David S. Miller  <davem@davemloft.net>
73614
73615         * elf/elf.h (HWCAP_SPARC_*): Move to..
73616         * sysdeps/sparc/sysdep.h: this new file and add new values.
73617         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73618         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73619         _DL_HWCAP_COUNT to 24.
73620         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73621         entries.
73622         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73623         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73624         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73625         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73626         instead of magic constants.
73627         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73628
73629 2011-08-31  David S. Miller  <davem@davemloft.net>
73630
73631         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73633         Reimplement to do errno handling inline.
73634         (SYSCALL_ERROR_HANDLER): New macro.
73635         (__SYSCALL_STRING): Do not do errno handling in asm.
73636         (__CLONE_SYSCALL_STRING): Delete.
73637         (__INTERNAL_SYSCALL_STRING): Delete.
73638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73639         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73640         (PSEUDO): Reimplement to do errno handling inline.
73641         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73642         (SYSCALL_ERROR_HANDLER): New macro.
73643         (__SYSCALL_STRING): Do not do errno handling in asm.
73644         (__CLONE_SYSCALL_STRING): Delete.
73645         (__INTERNAL_SYSCALL_STRING): Delete.
73646         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73647         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73648         i386.
73649         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73650         (inline_syscall*): Add 'err' argument.
73651         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73652         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73653         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73654         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73655
73656         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73657         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73658
73659 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73660
73661         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73662
73663 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73664
73665         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73666         directive.
73667
73668 2011-08-24  David S. Miller  <davem@davemloft.net>
73669
73670         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73671
73672 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73673
73674         * elf/Makefile: Add rules to build and run unload8 test.
73675         * elf/unload8.c: New file.
73676         * elf/unload8mod1.c: New file.
73677         * elf/unload8mod1x.c: New file.
73678         * elf/unload8mod2.c: New file.
73679         * elf/unload8mod3.c: New file.
73680
73681         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73682         it wasn't used.
73683
73684 2011-08-23  David S. Miller  <davem@davemloft.net>
73685
73686         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73687         subtract stack bias.
73688         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73689         %sp not %fp in calculations.
73690         (_JMPBUF_UNWINDS_ADJ): Likewise.
73691
73692         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73693         (aio_suspend): Call it to force an exception region around the
73694         AIO_MISC_WAIT() invocation.
73695
73696 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73697
73698         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73699         backslash.
73700
73701 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73702
73703         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73704         protection macro.
73705         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73706         and <dl-machine.h>.
73707         (Elf64_FuncDesc): Remove.
73708
73709 2011-08-22  David S. Miller  <davem@davemloft.net>
73710
73711         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73712         sigaltstack check, add missing cfi directives.
73713         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73714         missing cfi directives, and sigaltstack handling.
73715
73716 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73717
73718         [BZ #11724]
73719         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73720         object is seen twice.
73721         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73722
73723         * elf/Makefile (distribute): Add tst-initorder2.c.
73724         (tests): Add tst-initorder2.
73725         (modules-names): Add tst-initorder2a tst-initorder2b
73726         tst-initorder2c tst-initorder2d.  Add rules to build them.
73727         ($(objpfx)tst-initorder2.out): New rule.
73728         * elf/tst-initorder2.c: New file.
73729         * elf/tst-initorder2.exp: New file.
73730
73731 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73732
73733         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73734
73735         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73736         dependencies back to end of function.
73737
73738         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73739         $(elfobjdir)/ld.so.
73740
73741 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73742
73743         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73744         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73746         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73747         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73748         of __vdso_gettimeofday.
73749         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73750         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73751         attribute_hidden.
73752         (_libc_vdso_platform_setup): Remove initialization of
73753         __vdso_gettimeofday and __vdso_time.
73754
73755 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73756
73757         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73758         and fgetc_unlocked.
73759         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73760         getc_unlocked.
73761
73762         * elf/dl-open.c (add_to_global): Report additions to the global scope
73763         for LD_DEBUG=scopes.
73764         (dl_open_worker): Also print scope of newly loaded dependencies.
73765         (_dl_show_scope): Indicate if there is no scope.
73766
73767         [BZ #13114]
73768         * stdio-common/Makefile (tests): Add bug24.
73769         * stdio-common/bug24.c: New file.
73770
73771 2011-08-19  Andreas Jaeger  <aj@suse.de>
73772
73773         [BZ #13114]
73774         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73775         non-existant file when using close-on-exec mode.
73776
73777 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73778
73779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73780         the very first instruction.
73781
73782         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73783         the CFI state in the end.
73784         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73785         inclusion of dl-trampoline.h.
73786         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73787
73788 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73789
73790         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73791         expectations for long double.
73792
73793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73794         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73795
73796 2011-08-14  David S. Miller  <davem@davemloft.net>
73797
73798         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73799         artificual limit depends upon the system page size.
73800
73801 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73802
73803         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73804         * resolv/Makefile: Define CFLAGS-libresolv.
73805
73806 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73807
73808         * nss/makedb.c (compute_tables): Make variables used in nested
73809         function static.
73810
73811 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73812
73813         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73814         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73815         if buffer was too small.
73816
73817         * elf/pldd.c (main): Attach to all threads in the process.
73818         Rewrite /proc handling to use *at functions.
73819
73820 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73821
73822         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73823         specifies first scope to show.
73824         (dl_open_worker): Update callers.  Move printing scope of new
73825         object to before the relocation.
73826         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73827         * sysdeps/generic/ldsodefs.h: Update declaration.
73828
73829         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73830         string for the scope number.
73831
73832 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73833
73834         * nscd/servicescache.c (cache_addserv): Make sure written is always
73835         initialized.
73836
73837 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73838
73839         * sysdeps/i386/i486/bits/atomic.h
73840         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73841         statement expression, so as to suppress "set but not used" warning.
73842         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73843
73844         * string/strncat.c (STRNCAT): Use prototype definition.
73845
73846         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73847         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73848         -Iprograms here.
73849         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73850         (localedef-modules): Add localedef.
73851         (locale-modules): Add locale.
73852
73853         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73854         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73855         to avoid a warning.
73856
73857 2011-08-14  David S. Miller  <davem@davemloft.net>
73858
73859         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73860         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73861
73862 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73863
73864         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73865         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73866         * elf/rtld.c (dl_main): Set l_name of vDSO.
73867         Call _dl_show_scope when DL_DEBUG_SCOPES.
73868         (process_dl_debug): Recognize scopes flag and also set it for all.
73869         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73870         Declare _dl_show_scope.
73871
73872         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73873         (do_dlopen): Pass caller_dlopen to dl_open.
73874         (__libc_dlopen_mode): Initialize caller_dlopen.
73875
73876         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73877         of libc.  Make tolower call locale-independent.  Optimize a bit by
73878         using isdigit instead of isalnum.
73879         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73880
73881 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73882
73883         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73884         was a dependency or dynamically loaded.
73885
73886 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73887
73888         * intl/l10nflist.c: Allow architecture-specific pop function.
73889         * sysdeps/x86_64/l10nflist.c: New file.
73890
73891         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73892         classification.
73893
73894 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73895
73896         * include/dirent.h: Add libc_hidden_proto for scandirat and
73897         scandirat64.  Don't declare __scandirat64.
73898         * dirent/scandirat.c: Add libc_hidden_def.
73899         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73900         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73901
73902 2011-08-10  David S. Miller  <davem@davemloft.net>
73903
73904         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73905         enum.
73906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73907         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73909
73910 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73911
73912         * Versions.def [libc]: Add GLIBC_2.15.
73913         * dirent/Makefile (routines): Add scandirat and scandirat64.
73914         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73915         GLIBC_2.15.
73916         * dirent/dirent.h: Declare scandirat and scandirat64.
73917         * dirent/scandirat.c: New file.
73918         * dirent/scandirat64.c: New file.
73919         * sysdeps/wordsize-64/scandirat.c: New file.
73920         * sysdeps/wordsize-64/scandirat64.c: New file.
73921         * dirent/opendir.c: Define opendirat.
73922         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73923         using scandirat.
73924         * dirent/scandir64.c: Adjust for scandir.c change.
73925         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73926         __scandirat64, and __scandir_cancel_handler.
73927         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73928         additional parameter and use openat instead of open (outside of ld.so).
73929         Add new __opendir as wrapper around __opendirat.
73930         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73931         here without requiring old scandirat implementation.
73932
73933 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73934
73935         * dirent/scandir.c (cancel_handler): Renamed to
73936         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73937         defined.  Adjust users.
73938         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73939         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73940
73941 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73942
73943         * string/test-string.h (IMPL): Use __STRING to expand name and then
73944         stringify it.
73945
73946         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73947         of cleanups.
73948
73949 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73950
73951         * string/Makefile: Update.
73952         (strop-tests): Append strncat.
73953         * string/test-wcscmp.c: New file.
73954         New comprehensive test for wcscmp.
73955         * string/test-strcmp.c: Update.
73956         (WIDE): New define.
73957
73958 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73959
73960         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73961         line.
73962
73963 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73964
73965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73966         encoding to ACE if AI_IDN.
73967
73968 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73969
73970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73971         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73972
73973 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73974
73975         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73976         Fix overflow bug in strncat.
73977         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73978
73979         * string/test-strncat.c: Update.
73980         Add new tests for checking overflow bugs.
73981
73982 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73983
73984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73985         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73986         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73987         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73988         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73989         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73990         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73991         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73992         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73993
73994         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73995         (USE_AS_STRCAT): Define.
73996         Add strcat and strncat support.
73997         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73998
73999 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74000
74001         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74002         __n bigger than INT_MAX+1.
74003         (__strncmp_g): Likewise.
74004
74005 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74006
74007         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74008         * libio/stido.h: Likewise.
74009
74010         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74011         (AF_NFC): Define.
74012         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74013         (AF_NFC): Define.
74014
74015         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74016         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74017         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74018         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74019         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74020
74021         [BZ #13021]
74022         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74023         installed.
74024
74025         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74026         typo.
74027         (_dl_x86_64_save_sse): Likewise.
74028
74029 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74030
74031         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74032         OSXSAVE.
74033         (_dl_x86_64_save_sse): Likewise.
74034
74035         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74036
74037         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74038
74039 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74040
74041         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74042         change.
74043         (_dl_x86_64_save_sse): Use correct AVX check.
74044
74045 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74046
74047         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74048         bug in strncpy/strncat.
74049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74050
74051 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74052
74053         * string/tester.c (test_strcat): Add tests for different alignments
74054         of source and destination.
74055         (test_strncat): Likewise.
74056
74057 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74058
74059         [BZ #12852]
74060         * posix/glob.c (glob): Check passed in values before using them in
74061         expressions to avoid some overflows.
74062         (glob_in_dir): Likewise.
74063
74064         [BZ #13007]
74065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74066         check for AVX enablement so that we don't crash with old kernels and
74067         new hardware.
74068         * elf/tst-audit4.c: Add same checks here.
74069         * elf/tst-audit6.c: Likewise.
74070
74071         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74072
74073 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74074
74075         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74076
74077 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74078
74079         * po/cs.po: Update from translation team.
74080         * po/bg.po: Likewise.
74081
74082 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74083
74084         * misc/sys/cdefs.h: Add support for const attribute.
74085         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74086         to gnu_dev_{major,minor,makedev} functions.
74087
74088 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74089
74090         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74091
74092 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74093
74094         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74095         strlen results.
74096
74097 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74098
74099         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74100         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74101         register in order to avoid conflicts with the soft frame pointer
74102         being held in r11 when necessary.
74103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74104         (INTERNAL_VSYSCALL_NCS): Likewise.
74105
74106 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74107
74108         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74109         * elf/dl-fini.c (_dl_fini): Adjust caller.
74110         * elf/dl-close.c (_dl_close_worker): Likewise.
74111         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74112
74113 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74114
74115         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74116         "aux_cache->nlibs < 0".
74117
74118         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74119         in the reload-count case.
74120
74121 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74122
74123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74124         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74125         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74126         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74127         * sysdeps/x86_64/multiarch/strcat.S: New file.
74128         * sysdeps/x86_64/multiarch/strncat.S: New file.
74129         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74130         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74131         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74132         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74133         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74134         (USE_AS_STRCAT): Define.
74135         Add strcat and strncat support.
74136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74138         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74139         * string/strncat.c: Update.
74140         (USE_AS_STRNCAT): Define.
74141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74142         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74143         and i7.
74144         * sysdeps/x86_64/multiarch/init-arch.h
74145         (bit_Prefer_PMINUB_for_stringop): New.
74146         (index_Prefer_PMINUB_for_stringop): Likewise.
74147         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74148         bit_Prefer_PMINUB_for_stringop.
74149
74150 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74151
74152         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74153         buffer64.
74154         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74155         of casting of buffer.
74156         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74157         buffer32 and buffer64.
74158         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74159         writes instead of casting of buffer.
74160         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74161         buffer32.
74162         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74163         casting of buffer.
74164
74165 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74166
74167         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74168
74169 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74170
74171         * nscd/nscd.c (termination_handler): Don't do anything for a database
74172         if it has not yet been initialized.
74173
74174 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74175
74176         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74177
74178 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74179
74180         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74181
74182 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74183
74184         * po/nl.po: Update from translation team.
74185         * po/sv.po: Likewise.
74186
74187 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74188
74189         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74190         now disallowed by GCC.
74191
74192         * configure.in (use-default-link): Default to yes if a test -shared
74193         link meets our qualifications.
74194         * configure: Regenerated.
74195
74196         * config.make.in (output-format): New variable.
74197         * configure.in: Check for ld --print-output-format support.
74198         * configure: Regenerated.
74199         * Makerules ($(common-objpfx)format.lds)
74200         [$(output-format) != unknown]: Just use $(output-format),
74201         instead of the linker-script munging.
74202
74203 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74204
74205         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74206         of $(common-objpfx)shlib.lds.
74207         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74208
74209         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74210         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74211
74212         * configure.in (-z relro check): Adjust test code to add a large
74213         writable data section after it.
74214         * configure: Regenerated.
74215
74216 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74217
74218         * configure.in (-z relro check): Fix test code to make the variable
74219         truly const.
74220         * configure: Regenerated.
74221
74222 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74223
74224         * nscd/nscd.h (struct traced_file): Define.
74225         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74226         elements.  Add traced_files.
74227         (inotify_fd): Declare.
74228         (register_traced_file): Declare.
74229         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74230         (inotify_fd): Export.
74231         (resolv_conf_descr): Remove.
74232         (nscd_init): Move inotify descriptor creation to main.
74233         Don't register files for notification here.
74234         (register_traced_file): New function.
74235         (invalidate_cache): Don't use reset_res to determine whether to call
74236         res_init, go through the list of registered files.
74237         (main_loop_poll): The inotify descriptors are now stored in the
74238         structures for the traced files.
74239         (main_loop_epoll): Likewise.
74240         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74241         to __nss_disable_nscd.
74242         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74243         for a database anymore.  Check the records for all the registered
74244         files instead.
74245         * nss/Makefile (libnss_files-routines): Add files-init.
74246         (libnss_db-routines): Add db-init.
74247         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74248         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74249         * nss/nss_db/db-init.c: New file.
74250         * nss/nss_files/files-init.c: New file.
74251         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74252         __nss_lookup_function.
74253         (__nss_lookup_function): Call nss_load_library.
74254         (nss_load_all_libraries): New function.
74255         (__nss_disable_nscd): Take parameter with callback function for files
74256         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74257         used for the cached services.
74258         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74259         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74260         options for features to all the files in nscd.
74261
74262         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74263
74264 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74265
74266         * csu/elf-init.c (__libc_csu_init): Comment typo.
74267
74268 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74269
74270         * po/pl.po: Update from translation team.
74271         * po/ja.po: Likewise.
74272         * po/ru.po: Likewise.
74273         * po/ko.po: Likewise.
74274         * po/fr.po: Likewise.
74275
74276 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74277
74278         * configure.in (.ctors/.dtors header and trailer check):
74279         Use an empirical test on a built program.
74280         * configure: Regenerated.
74281
74282         * configure.in (-z relro check): Use an empirical test on a built DSO.
74283         Detect, but do not require, on ia64.
74284         * configure: Regenerated.
74285
74286         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74287         Update tests that use readelf to use $READELF instead.
74288         * configure: Regenerated.
74289
74290 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74291
74292         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74293         if the result is not used.
74294
74295 2011-07-05  Andreas Jaeger  <aj@suse.de>
74296
74297         [BZ#9696]
74298         * stdlib/tst-strtod.c: Add testcase.
74299
74300 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74301
74302         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74303         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74304         The latter has a higher limit.  Take additional parameter to pass to
74305         the new function.
74306         (__pathconf): Pass file to __statfs_link_max.
74307         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74308         __statfs_link_max.
74309         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74310         __statfs_link_max.
74311
74312         [BZ #12868]
74313         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74314         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74315         Handle Lustre.
74316         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74317         (__statfs_filesize_max): Likewise.
74318         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74319
74320 2011-07-05  Andreas Jaeger  <aj@suse.de>
74321
74322         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74323
74324 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74325
74326         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74327         `status' variable.
74328         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74329         Likewise.
74330
74331 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74332
74333         * Makefile (strop-tests): Add strncat.
74334         * string/test-strncat.c: New file.
74335
74336 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74337
74338         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74339
74340 2011-06-21  Andreas Jaeger  <aj@suse.de>
74341
74342         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74343         Copy rule from iconvdata/Makefile.
74344
74345 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74346
74347         [BZ #12922]
74348         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74349         but no long options are defined, just return 'W'.
74350
74351 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74352
74353         [BZ #9696]
74354         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74355
74356 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74357
74358         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74359         netgroups to read.
74360         (innetgr): Likewise.
74361
74362 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74363
74364         * config.make.in (install_root): Default to $(DESTDIR).
74365
74366 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74367
74368         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74369
74370 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74371
74372         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74373
74374         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74375         containing directory rather than embedding absolute directory names.
74376
74377         * scripts/check-local-headers.sh: Rewritten using awk.
74378         Match by word, not by line.  Print error messages for matches.
74379         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74380
74381         * Makerules [shlib-lds-flags empty]:
74382         ($(common-objpfx)libc_pic.opts): New target.
74383         ($(common-objpfx)libc_pic.os.clean): New target.
74384         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74385
74386         * config.make.in (OBJCOPY): New variable.
74387         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74388         * configure: Regenerated.
74389
74390         * config.make.in (use-default-link): New variable.
74391         * configure.in (use_default_link): Grok --with-default-link to set it.
74392         * configure: Regenerated.
74393         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74394         (shlib-lds, shlib-lds-flags): Define to empty.
74395
74396         * Makerules (shlib-lds): New variable.
74397         (shlib-lds-flags): New variable.
74398         (build-shlib, build-moduile, build-module-asneeded): Use it.
74399         ($(common-objpfx)libc.so): Use $(shlib-lds).
74400         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74401         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74402
74403         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74404         DT_FLAGS/DT_FLAGS_1 with zero flags.
74405
74406         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74407         linker script munging.
74408
74409 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74410
74411         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74412         as 128-bit value.
74413         * crypt/sha512.c (sha512_process_block): Perform total addition using
74414         128-bit if possible.
74415         (__sha512_finish_ctx): Likewise.
74416         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74417         as 64-bit value.
74418         * crypt/sha256.c (SWAP64): Define.
74419         (sha256_process_block): Perform total addition using 64-bit if
74420         possible.
74421         (__sha256_finish_ctx): Likewise.
74422
74423 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74424
74425         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74426         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74427         * nscd/hstcache.c (cache_addhst): Likewise.
74428         * nscd/grpcache.c (cache_addgr): Likewise.
74429         * nscd/aicache.c (addhstaiX): Likewise.
74430         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74431
74432 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74433
74434         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74436         * nscd/hstcache.c (cache_addhst): Likewise.
74437         * nscd/grpcache.c (cache_addgr): Likewise.
74438         * nscd/aicache.c (addhstaiX): Likewise.
74439
74440 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74441
74442         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74443         domain only when needed.
74444
74445 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74446
74447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74448         is always restored.
74449
74450 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74451
74452         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74453         are re-adding the entry.
74454         * nscd/servicescache.c (cache_addserv): Likewise.
74455
74456 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74457
74458         * sysdeps/generic/dl-irel.h: fix protection against multiple
74459         inclusions.
74460         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74461
74462 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74463
74464         [BZ #12935]
74465         * malloc/memusage.sh: Fix quoting in message.
74466         * debug/xtrace.sh: Likewise.
74467
74468         * configure.in: Remove support for --experimental-malloc option, make
74469         it the default.
74470         * config.make.in: Likewise.
74471         * malloc/Makefile: Likewise.
74472
74473 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74474
74475         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74476         two-byte characters.
74477
74478 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74479
74480         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74481         AC_CACHE_CHECK invocation.
74482         * configure: Regenerated.
74483
74484         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74485
74486 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74487
74488         [BZ #12350]
74489         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74490         bit from old_res_options.
74491
74492         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74493
74494         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74495         value type for setfct.
74496
74497 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74498
74499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74500         __gettimeofday instead of gettimeofday.
74501
74502 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74503
74504         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74505
74506 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74507
74508         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74509
74510         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74511         info.
74512
74513 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74514
74515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74516         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74517         strcpy-sse2-unaligned strncpy-sse2-unaligned
74518         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74519         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74520         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74521         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74522         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74525         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74526         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74527         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74528         (STRCPY): Support SSE2 and SSSE3 versions.
74529
74530 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74531
74532         [BZ #12874]
74533         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74534         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74535         kernels which artificially limit size of requests.
74536
74537 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74538
74539         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74540         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74541         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74542         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74543         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74544         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74545         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74546         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74547         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74549         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74550         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74551         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74552         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74553         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74555         Enable unaligned load optimization for Intel Core i3, i5 and i7
74556         processors.
74557         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74558         Define.
74559         (index_Fast_Unaligned_Load): Define.
74560         (HAS_FAST_UNALIGNED_LOAD): Define.
74561
74562 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74563
74564         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74565
74566 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74567
74568         [BZ #12907]
74569         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74570         until it is clear that the information is realy needed.
74571         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74572
74573 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74574
74575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74576
74577 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74578
74579         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74580         /sys/devices/system/cpu/online if it is usable.
74581
74582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74583         reading the information from the /proc filesystem to once a second.
74584
74585 2011-06-21  Andreas Jaeger  <aj@suse.de>
74586
74587         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74588         NULL after inclusion of kernel headers.
74589
74590 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74591
74592         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74593         calls to internal_setent.
74594
74595         [BZ #12885]
74596         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74597         addresses using gethostbyname4_r ignore IPv4 addresses.
74598
74599         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74600         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74601
74602         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74603
74604 2011-06-20  David S. Miller  <davem@davemloft.net>
74605
74606         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74607         inclusions.
74608         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74609
74610         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74611         (elf_irel): Use it.
74612         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74613         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74614         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74615         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74616         * sysdeps/x86_64/dl-irel.h: Likewise.
74617
74618         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74619         * elf/dl-sym.c: Likewise.
74620
74621 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74622
74623         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74624         need to dereference resplen2.
74625
74626 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74627
74628         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74629
74630 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74631
74632         * Makeconfig: Define vardbdir and inst_vardbdir.
74633         * nss/Makefile: Add rules to install db-Makefile.
74634
74635         * nss/nss_db/db-XXX.c: Cleanup.
74636
74637         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74638         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74639         GLIBC_PRIVATE.
74640         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74641         * nss/makedb.c: Implement -g option to specify that value strings
74642         are generated and should not be added to table iterated over for
74643         get*ent calls.
74644         * nss/nss_db/db-initgroups.c: New file.
74645
74646         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74647         interface.
74648
74649         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74650         (internal_getgrouplist): Adjust to name change.
74651         Update use_initgroups_entry if this is not the first call.
74652         * nss/databases.def: Add initgroups entry.
74653
74654         * nss/makedb.c (compute_tables): Check result of multiple hash table
74655         sizes to minimize maximum chain length.
74656
74657 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74658
74659         * Versions.def: Add entry for libnss_db.
74660         * shlib-versions: Likewise.
74661         * nss/Makefile: Add rules to build libnss_db.
74662         * nss/Versions: Add libnss_db information.  Organize libnss_files
74663         entries better.
74664         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74665         makedb progra.  Some minor improvements to generate smaller files.
74666         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74667         here from...
74668         * nss/makedb.c: ...here.
74669         Improve database format to be smaller and require less memory at
74670         runtime.
74671         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74672         db anymore.
74673         * nss/nss_db/db-netgrp.c: Likewise.
74674         * nss/nss_db/db-open.c: Likewise.
74675         * nss/nss_files/flies-XXX.x: Adjust comments.
74676         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74677         * nss/nss_files/files-grp.c: Likewise.
74678         * nss/nss_files/files-hosts.c: Likewise.
74679         * nss/nss_files/files-network.c: Likewise.
74680         * nss/nss_files/files-proto.c: Likewise.
74681         * nss/nss_files/files-pwd.c: Likewise.
74682         * nss/nss_files/files-rpc.c: Likewise.
74683         * nss/nss_files/files-service.c: Likewise.
74684         * nss/nss_files/files-sgrp.c: Likewise.
74685         * nss/nss_files/files-spwd.c: Likewise.
74686         * nss/nss_db/db-alias.c: Removed.
74687         * nss/nss_db/dummy-db.h: Removed.
74688
74689 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74690
74691         * nss/makedb.c: Rewritten to not use database library.
74692         * nss/Makefile: Update to build new makedb program.
74693
74694 2011-06-14  Andreas Jaeger  <aj@suse.de>
74695
74696         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74697         memset declaration.
74698
74699 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74700
74701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74702         tmpbuf.
74703
74704 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74705
74706         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74707         * elf/Makefile ($(objpfx)ld.so): Likewise.
74708
74709         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74710         Don't list ld.so twice in dependencies.
74711
74712         * posix/bug-regex31.c: Include <stdlib.h>.
74713
74714         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74715
74716         * nis/nss_compat/compat-spwd.c
74717         (getspent_next_nss_netgr): Remove unused variable.
74718         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74719
74720         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74721         nonmembers" output to use the right array.
74722
74723         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74724
74725         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74726
74727         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74728         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74729         * catgets/gencat.c (read_input_file): Likewise.
74730         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74731
74732         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74733         variable definition inside #if's controlling its use.
74734
74735         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74736
74737         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74738
74739         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74740
74741         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74742         unreachable code.
74743
74744         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74745
74746         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74747         * configure: Regenerated.
74748
74749         * Makerules: Revert last change.
74750         * elf/Makefile: Likewise.
74751
74752 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74753
74754         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74755         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74756         (reloc-link): Likewise.
74757
74758 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74759
74760         * elf/Makefile: Add rules to build pldd.
74761         * elf/pldd.c: New file.
74762         * elf/pldd-xx.c: New file.
74763
74764 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74765
74766         * version.h: Update for 2.15 development version.
74767
74768 2011-06-07  David S. Miller  <davem@davemloft.net>
74769
74770         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74771         ifuncs.
74772         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74773         elf_machine_lazy_rel): Likewise.
74774         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74776         elf_machine_lazy_rel): Likewise.
74777         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74778         dl_hwcap via passed in argument.
74779         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74780         Likewise.
74781
74782 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74783
74784         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74785
74786 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74787
74788         [BZ #12849]
74789         * manual/fdl-1.1.texi: New file, verbatim from:
74790         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74791         * manual/lgpl-2.1.texi: New file, verbatim from:
74792         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74793         * manual/Makefile (licenses): New variable, list those new file names.
74794         (texis): Use it.
74795         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74796
74797         * manual/fdl.texi: File removed.
74798         * manual/lesser.texi: File removed.
74799         * manual/libc.texinfo (Copying, Documentation License):
74800         Use new @include file names, put @appendix directive before @include.
74801
74802 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74803
74804         [BZ #12841]
74805         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74806         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74807         (mq_open): Add __NTH.
74808
74809 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74810
74811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74812         Assume Intel Core i3/i5/i7 processor if AVX is available.
74813
74814 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74815
74816         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74817         typo.
74818
74819 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74820
74821         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74822         memory.  Use alloca_account.  Fix memory leak when retrying.
74823
74824 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74825
74826         * version.h (RELEASE): Bump for 2.14 release.
74827         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74828
74829         * config.make.in (RANLIB): Remove entry.
74830
74831 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74832
74833         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74834         (libc.pot): Work around missing support for .ksh extension in xgettext.
74835
74836         [BZ #12684]
74837         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74838         if both request failed.
74839         (send_dg): In case of server errors clear resplen or *resplen2.
74840
74841         [BZ #12454]
74842         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74843         when there are multiple maps.
74844         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74845         (_dl_fini): Remove test here.
74846
74847         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74848
74849 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74850
74851         [BZ #12350]
74852         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74853         bit from old_res_options.
74854         (gaih_inet): Likewise.
74855
74856         [BZ #11099]
74857         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74858         as signed.
74859
74860         * resolv/res_init.c (res_setoptions): Make the code more compact.
74861
74862         [BZ #11558]
74863         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74864         set RES_USEVC.
74865
74866         [BZ #11634]
74867         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74868
74869         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74870
74871         [BZ #11781]
74872         * malloc/malloc.h: Declare malloc hook variables as volatile.
74873
74874         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74875         in last patch.
74876
74877         [BZ #11799]
74878         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74879         raise in the comment.
74880         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74881         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74882         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74883
74884 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74885
74886         [BZ #12811]
74887         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74888         grow the buffers more if it already has to be sufficient.
74889         (build_wcs_upper_buffer): Likewise.
74890         * posix/regexec.c (check_matching): Likewise.
74891         (clean_state_log_if_needed): Likewise.
74892         (extend_buffers): Don't enlarge buffers beyond size of the input
74893         buffer.
74894         Patches mostly by Emil Wojak <emil@wojak.eu>.
74895         * posix/bug-regex32.c: New file.
74896         * posix/Makefile (tests): Add bug-regex32.
74897
74898         * locale/findlocale.c (_nl_find_locale): Return right away if
74899         _nl_explode_name failed.
74900         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74901
74902         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74903
74904         * debug/xtrace.sh: Unify messages.
74905         * malloc/memusage.sh: Likewise.
74906
74907         [BZ #12813]
74908         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74909         time symbol from vDSO.  Substitute with vsyscall if not available.
74910         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74911         __vdso_time.
74912
74913         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74914         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74915         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74916         Add sendmmsg and internal_sendmmsg.
74917         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74918         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74919         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74920
74921         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74922         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74923         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74924
74925 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74926
74927         [BZ #12813]
74928         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74929         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74930         available.
74931         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74932         __vdso_getcpu.
74933
74934         [BZ #12814]
74935         * iconvdata/Makefile (tests): Add bug-iconv9.
74936         * iconvdata/bug-iconv9.c: New file.
74937
74938 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74939
74940         [BZ #12814]
74941         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74942
74943 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74944
74945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74946         (struct user_regs_struct): Change intcs field back to cs.
74947
74948 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74949
74950         * po/ja.po: Update from translation team.
74951
74952 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74953
74954         [BZ #12795]
74955         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74956         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74957
74958 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74959
74960         * stdlib/longlong.h: Update from GCC.
74961
74962 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74963
74964         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74965         parameter name.
74966         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74967         Add parameter name.
74968         (__sysconf): Pass it down.
74969
74970 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74971
74972         [BZ #12671]
74973         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74974         some situations.
74975         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74976         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74977         add in in __libc_use_alloca calls.  Adjust callers.
74978         (glob): Use malloc in some situations.
74979
74980         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74981         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74982         pltexit.
74983
74984 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74985
74986         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74987         and CLOCK_BOOTTIME_ALARM.
74988
74989         [BZ #12782]
74990         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74991         is returned.
74992
74993         * string/_strerror.c (__strerror_r): Print negative errors as signed
74994         numbers.
74995
74996         [BZ #12777]
74997         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74998         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74999         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75000
75001         * configure.in: Fix typo in redirection and correct removal of test
75002         files in two cases.
75003
75004         [BZ #12788]
75005         * locale/setlocale.c (new_composite_name): Fix test to check for
75006         identical name of all categories.
75007
75008         [BZ #12792]
75009         * libio/filedoalloc.c (local_isatty): New function.
75010         (_IO_file_doallocate): Use local_isatty.
75011         * stdio-common/perror.c (perror): In case a new stream is used
75012         forward the stream error.
75013         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75014         error flag.
75015
75016 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75017
75018         [BZ #11884]
75019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75020         alloca.
75021         * include/alloca.h (extend_alloca_account): Define.
75022
75023         [BZ #11857]
75024         * posix/regex.h: Fix comments with documentation of user-accessible
75025         fields after compilation and describe correct free'ing of pattern
75026         after re_compile_pattern.
75027         Patch by Reuben Thomas <rrt@sc3d.org>.
75028
75029 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75030
75031         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75032         and -mno-altivec to prevent the compiler from using Altivec and/or
75033         VSX instructions when the corresponding registers are not available.
75034
75035 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75036
75037         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75038
75039 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75040
75041         * libio/freopen.c (freopen): Use __dup2, not dup2.
75042         * libio/freopen64.c (freopen64): Likewise.
75043
75044 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75045
75046         [BZ #12775]
75047         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75048         * math/Makefile (tests): Add test-powl.
75049         (CFLAGS-test-powl.c): Define.
75050         * math/test-powl.c: New file.
75051
75052 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75053
75054         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75055
75056 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75057
75058         [BZ #11837]
75059         * iconvdata/gb18030.c: Update to GB18020-2005.
75060
75061 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75062
75063         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75064         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75065         Patch by Aharon Robbins <arnold@skeeve.com>.
75066
75067         [BZ #11892]
75068         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75069         on the stack.
75070
75071         [BZ #11895]
75072         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75073         through underflows.
75074
75075         [BZ #12766]
75076         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75077         point to strings before performing equality test for error_one_per_line
75078         mode.
75079
75080         [BZ #11697]
75081         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75082
75083         [BZ #11820]
75084         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75085         (struct user_fpregs_struct): Avoid __uint*_t types.
75086
75087         [BZ #6420]
75088         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75089         symbol info.  Use it instead of calling _dl_addr locally.
75090         (lock_and_info): New function.
75091         (tr_freehook): Call lock_and_info and pass symbol info as additional
75092         parameter to tr_where.
75093         (tr_mallochook): Likewise.
75094         (tr_reallochook): Likewise.
75095         (tr_memalignhook): Likewise.
75096
75097         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75098         used and couldn't be at all thread-safe.
75099
75100 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75101
75102         * libio/freopen.c (freopen): Don't close old file descriptor
75103         before the new one is opened.  Instead dup the new file descriptor
75104         to the old one after the new stream is created.
75105         * libio/freopen64.c (freopen64): Likewise.
75106         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75107         * libio/fileops.c (_IO_new_file_close_it): Handle new
75108         _IO_FLAGS2_NOCLOSE flag.
75109         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75110         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75111         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75112         _IO_FLAGS2_NOCLOSE flag.
75113         * include/unistd.h: Add hidden_proto for dup3.
75114         Define __have_dup3.
75115         * io/dup3.c: Define hidden symbol.
75116         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75117
75118         [BZ #7101]
75119         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75120         when an incomplete long option is used.
75121         * posix/tst-getopt_long1.c: New file.
75122         * posix/Makefile (tests): Add tst-getopt_long1.
75123
75124         [BZ #10138]
75125         * scripts/config.guess: Update from autoconf-2.68.
75126         * scripts/config.sub: Likewise.
75127
75128         [BZ #10157]
75129         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75130         tests into ...
75131         (has_cpuclock): ...this.  New function.
75132         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75133         macro here based on has_cpuclock code.
75134
75135         [BZ #10149]
75136         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75137         First byte (not low byte) is now always NUL.
75138         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75139
75140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75141         Use non-cancelable interfaces.
75142
75143         [BZ #9809]
75144         * locale/iso-639.def: Add entry for Sorani.
75145
75146         [BZ #11901]
75147         * include/stdlib.h: Move include protection to the right place.
75148         Define abort_msg_s.  Declare __abort_msg with it.
75149         * stdlib/abort.c (__abort_msg): Adjust type.
75150         * assert/assert.c (__assert_fail_base): New function.  Majority
75151         of code from __assert_fail.  Allocate memory for __abort_msg with
75152         mmap.
75153         (__assert_fail): Now call __assert_fail_base.
75154         * assert/assert-perr.c: Remove bulk of implementation.  Use
75155         __assert_fail_base.
75156         * include/assert.hL Declare __assert_fail_base.
75157         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75158         mmap.
75159         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75160
75161 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75162
75163         [BZ #11952]
75164         [BZ #12453]
75165         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75166         until all modules are registered in the DTV.
75167         * elf/Makefile: Add rules to build and run tst-tls19.
75168         * elf/tst-tls19.c: New file.
75169         * elf/tst-tls19mod1.c: New file.
75170         * elf/tst-tls19mod2.c: New file.
75171         * elf/tst-tls19mod3.c: New file.
75172         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75173
75174         [BZ #12083]
75175         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75176         correctly.
75177
75178         [BZ #12601]
75179         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75180         two-byte sequence errors.
75181         * iconvdata/Makefile (tests): Add bug-iconv8.
75182         * iconvdata/bug-iconv8.c: New file.
75183
75184         [BZ #12626]
75185         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75186         buf2 definition.
75187
75188         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75189
75190         [BZ #12432]
75191         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75192         (dummy_getcfa): New function.
75193         (init): Get _Unwind_GetCFA address, use dummy if not found.
75194         (backtrace_helper): In recursion check, also check whether CFA changes.
75195         (__backtrace): Completely initialize arg.
75196
75197         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75198         storing incomplete byte sequence in state object.  Avoid testing for
75199         guaranteed too small input if we know there is enough data available.
75200
75201 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75202
75203         * Makeconfig (+link-pie): Indent.
75204         * Rules (binaries-pie): Define if $(have-fpie) and
75205         $(build-shared).
75206         (binaries-shared): Also filter out $(binaries-pie).
75207         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75208         * nscd/Makefile (others-pie): Add nscd.
75209         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75210         ($(objpfx)nscd): Remove command override.
75211         * login/Makefile (others-pie): Add pt_chown.
75212         ($(objpfx)pt_chown): Remove command override.
75213         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75214         remove command overrides.
75215
75216 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75217
75218         * libio/tst_putwc.c: Fix error messages.
75219
75220         [BZ #12724]
75221         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75222         currently writing and seek to current position when not.
75223         * libio/Makefile (tests): Add bug-fclose1.
75224         * libio/bug-fclose1.c: New file.
75225
75226 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75227
75228         [BZ #12511]
75229         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75230         don't set DF_1_NODELETE here.
75231         (do_lookup_x): When entering new entry test for copy relocation
75232         and if necessary set DF_1_NODELETE flag.
75233         * elf/tst-unique4.cc: New file.
75234         * elf/tst-unique4.h: New file.
75235         * elf/tst-unique4lib.cc: New file.
75236         * elf/Makefile: Add rules to build and run tst-unique4.
75237         Patch by Piotr Bury <pbury@goahead.com>.
75238
75239 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75240
75241         [BZ #12052]
75242         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75243
75244         [BZ #12625]
75245         * misc/mntent_r.c (addmntent): Flush the stream after the output
75246
75247         [BZ #12393]
75248         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75249         (is_trusted_path_normalize): Skip initial colon.  Append slash
75250         to empty buffer.  Duplicate is_trusted_path code but allow
75251         constructed patch to be prefix.
75252         (is_dst): Allow $ORIGIN followed by /.
75253         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75254         Correct testing of result of is_trusted_path_normalize
75255         (decompose_rpath): Fix warning.
75256
75257 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75258
75259         [BZ #11257]
75260         * grp/initgroups.c (internal_getgrouplist): When we found the service
75261         list through the initgroups entry in nsswitch.conf do not always
75262         continue on a successful lookup.  Don't always use the
75263         __nss_group_database value if it is set.
75264         * nss/nsswitch.conf (initgroups): Change action for successful db
75265         lookup to continue for compatibility.
75266
75267 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75268
75269         [BZ #11532]
75270         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75271         and CP774 modules.
75272         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75273         and CP774 modules.
75274         * iconvdata/tst-tables.sh: Likewise.
75275         * iconvdata/cp770.c: New file.
75276         * iconvdata/cp771.c: New file.
75277         * iconvdata/cp772.c: New file.
75278         * iconvdata/cp773.c: New file.
75279         * iconvdata/cp774.c: New file.
75280         * iconvdata/testdata/CP770: New file.
75281         * iconvdata/testdata/CP770..UTF8: New file.
75282         * iconvdata/testdata/CP771: New file.
75283         * iconvdata/testdata/CP771..UTF8: New file.
75284         * iconvdata/testdata/CP772: New file.
75285         * iconvdata/testdata/CP772..UTF8: New file.
75286         * iconvdata/testdata/CP773: New file.
75287         * iconvdata/testdata/CP773..UTF8: New file.
75288         * iconvdata/testdata/CP774: New file.
75289         * iconvdata/testdata/CP774..UTF8: New file.
75290
75291         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75292         END CHARMAP line.
75293         * iconvdata/gen-8bit-gap.sh: Likewise.
75294         * iconvdata/gen-8bit.sh: Likewise.
75295
75296         * locale/iso-639.def: Add ary entry.
75297
75298         [BZ #11258]
75299         * locale/C-translit.h.in: Add U20A1 transliteration.
75300
75301         [BZ #12178]
75302         * locale/iso-639.def: Add wae entry.
75303         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75304
75305         [BZ #12545]
75306         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75307         for n.
75308
75309         [BZ #12711]
75310         * locale/C-translit.h.in: Add entry for U20B9.
75311         Patch by pravin.d.s@gmail.com.
75312
75313 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75314
75315         [BZ #12713]
75316         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75317         ENAMETOOLONG use generic getcwd.
75318         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75319         in rtld.  Use *stat64.
75320         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75321         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75322         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75323         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75324         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75325         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75326         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75327         __fstatat64 macros.
75328         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75329         * dirent/rewinddir.c: Add libc_hidden_def.
75330         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75331         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75332
75333         * include/dirent.h (__alloc_dir): Add flags parameter.
75334         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75335         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75336         __alloc_dir.
75337         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75338         from fdopendir if O_CLOEXEC is already set.
75339
75340 2011-03-15  Alan Modra  <amodra@gmail.com>
75341
75342         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75343         l_tls_firstbyte_offset non-zero.  Save padding offset in
75344         l_tls_firstbyte_offset for later use.
75345         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75346         freeing static tls block.
75347
75348 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75349
75350         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75351         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75352         being defined by the kernel headers.
75353
75354 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75355
75356         [BZ #12734]
75357         * resolv/resolv.h: Define RES_NOTLDQUERY.
75358         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75359         no-tld-query and set RES_NOTLDQUERY.
75360         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75361         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75362         modern BIND to search name as TLD unless forbidden.
75363
75364 2011-05-07  Petr Baudis  <pasky@suse.cz>
75365             Ulrich Drepper  <drepper@gmail.com>
75366
75367         [BZ #12393]
75368         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75369         (is_trusted_path): ...to here.
75370         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75371         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75372         using is_trusted_path_normalize() in setuid scripts.
75373
75374 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75375
75376         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75377         __BEGIN/__END_DECLS.
75378
75379 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75380
75381         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75382         NSS_STATUS_NOTFOUND if no record was found.
75383
75384 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75385
75386         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75387         (headers-not-in-tirpc): Remove rpc/netdb.h
75388         * resolv/netdb.h: Revert last change.
75389
75390 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75391
75392         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75393         circular dependency between libgcc.a and libc.a.
75394
75395 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75396
75397         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75398         * nis/Makefile: Don't install rpcsvc/*.
75399         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75400         instead of <rpc/types.h>.
75401         (MAXHOSTNAMELEN): Define.
75402
75403 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75404
75405         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75406
75407 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75408
75409         [BZ #12714]
75410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75411         gethostbyname4_r when IPv6 results are possible.
75412
75413 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75414
75415         [BZ #12723]
75416         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75417         _PC_PIPE_BUF handling.
75418
75419 2011-04-30  Bruno Haible  <bruno@clisp.org>
75420
75421         [BZ #12717]
75422         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75423         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75424         to 'int'.
75425         * inet/getnameinfo.c (getnameinfo): Likewise.
75426
75427 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75428
75429         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75430         to groups setting in database lookup.
75431         * nss/nsswitch.conf: Add initgroups entry.
75432
75433 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75434
75435         [BZ #12685]
75436         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75437         mode string.
75438         Patch by Eric Blake <eblake@redhat.com>.
75439
75440 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75441
75442         * sunrpc/Makefile (need-export-routines): Add svc_run.
75443         (routines): Remove svc_run.
75444         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75445         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75446         * sunrpc/svc_run.c (svc_run): Likewise.
75447         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75448
75449 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75450
75451         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75452         problem in reallocation in last patch.
75453
75454 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75455
75456         * sunrpc/Makefile: Move inclusion of Rules.
75457
75458 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75459
75460         * nss/nss_files/files-initgroups.c: New file.
75461         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75462         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75463         _nss_files_initgroups_dyn.
75464
75465 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75466
75467         * elf/elf.h (R_ARM_IRELATIVE): Define.
75468
75469 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75470
75471         * po/ru.po: Update from translation team.
75472
75473 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75474
75475         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75476         dependencies.
75477
75478 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75479
75480         [BZ #12653]
75481         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75482         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75483         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75484         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75485         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75486
75487 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75488
75489         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75490         differing bytes.
75491         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75492         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75494
75495 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75496
75497         [BZ #12420]
75498         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75499         storing it.
75500         * stdlib/bug-getcontext.c: New file.
75501         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75502
75503 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75504
75505         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75506         instructions into .machine "z9-109".
75507         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75508         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75509
75510 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75511
75512         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75513         between environment variables and auxiliary vector.
75514
75515 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75516
75517         * Makefile: Add rules to build linkobj/libc.so.
75518         * include/libc-symbols.h: Define libc_hidden_nolink.
75519         * include/rpc/auth.h: Mark functions which are to be hidden.
75520         * include/rpc/auth_des.h: Likewise.
75521         * include/rpc/auth_unix.h: Likewise.
75522         * include/rpc/clnt.h: Likewise.
75523         * include/rpc/des_crypt.h: Likewise.
75524         * include/rpc/key_prot.h: Likewise.
75525         * include/rpc/pmap_clnt.h: Likewise.
75526         * include/rpc/pmap_prot.h: Likewise.
75527         * include/rpc/pmap_rmt.h: Likewise.
75528         * include/rpc/rpc_msg.h: Likewise.
75529         * include/rpc/svc.h: Likewise.
75530         * include/rpc/svc_auth.h: Likewise.
75531         * include/rpc/xdr.h: Likewise.
75532         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75533         * nss/Makefile: Likewise.
75534         * sunrpc/Makefile: Don't install headers.  Build library with normal
75535         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75536         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75537         for the compat linking library.  Remove use of INTDEF/INTUSE.
75538         * sunrpc/auth_none.c: Likewise.
75539         * sunrpc/auth_unix.c: Likewise.
75540         * sunrpc/authdes_prot.c: Likewise.
75541         * sunrpc/authuxprot.c: Likewise.
75542         * sunrpc/clnt_gen.c: Likewise.
75543         * sunrpc/clnt_perr.c: Likewise.
75544         * sunrpc/clnt_raw.c: Likewise.
75545         * sunrpc/clnt_simp.c: Likewise.
75546         * sunrpc/clnt_tcp.c: Likewise.
75547         * sunrpc/clnt_udp.c: Likewise.
75548         * sunrpc/clnt_unix.c: Likewise.
75549         * sunrpc/des_crypt.c: Likewise.
75550         * sunrpc/des_soft.c: Likewise.
75551         * sunrpc/get_myaddr.c: Likewise.
75552         * sunrpc/key_call.c: Likewise.
75553         * sunrpc/key_prot.c: Likewise.
75554         * sunrpc/netname.c: Likewise.
75555         * sunrpc/pm_getmaps.c: Likewise.
75556         * sunrpc/pm_getport.c: Likewise.
75557         * sunrpc/pmap_clnt.c: Likewise.
75558         * sunrpc/pmap_prot.c: Likewise.
75559         * sunrpc/pmap_prot2.c: Likewise.
75560         * sunrpc/pmap_rmt.c: Likewise.
75561         * sunrpc/publickey.c: Likewise.
75562         * sunrpc/rpc_cmsg.c: Likewise.
75563         * sunrpc/rpc_common.c: Likewise.
75564         * sunrpc/rpc_dtable.c: Likewise.
75565         * sunrpc/rpc_prot.c: Likewise.
75566         * sunrpc/rpc_thread.c: Likewise.
75567         * sunrpc/rtime.c: Likewise.
75568         * sunrpc/svc.c: Likewise.
75569         * sunrpc/svc_auth.c: Likewise.
75570         * sunrpc/svc_authux.c: Likewise.
75571         * sunrpc/svc_raw.c: Likewise.
75572         * sunrpc/svc_run.c: Likewise.
75573         * sunrpc/svc_simple.c: Likewise.
75574         * sunrpc/svc_tcp.c: Likewise.
75575         * sunrpc/svc_udp.c: Likewise.
75576         * sunrpc/svc_unix.c: Likewise.
75577         * sunrpc/svcauth_des.c: Likewise.
75578         * sunrpc/xcrypt.c: Likewise.
75579         * sunrpc/xdr.c: Likewise.
75580         * sunrpc/xdr_array.c: Likewise.
75581         * sunrpc/xdr_float.c: Likewise.
75582         * sunrpc/xdr_intXX_t.c: Likewise.
75583         * sunrpc/xdr_mem.c: Likewise.
75584         * sunrpc/xdr_rec.c: Likewise.
75585         * sunrpc/xdr_ref.c: Likewise.
75586         * sunrpc/xdr_sizeof.c: Likewise.
75587         * sunrpc/xdr_stdio.c: Likewise.
75588
75589 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75590
75591         [BZ #12650]
75592         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75593         * sysdeps/ia64/dl-tls.h: Likewise.
75594         * sysdeps/powerpc/dl-tls.h: Likewise.
75595         * sysdeps/s390/dl-tls.h: Likewise.
75596         * sysdeps/sh/dl-tls.h: Likewise.
75597         * sysdeps/sparc/dl-tls.h: Likewise.
75598         * sysdeps/x86_64/dl-tls.h: Likewise.
75599         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75600
75601 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75602
75603         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75604         rpath element also skip the following colon.
75605         (expand_dynamic_string_token): Add is_path parameter and pass
75606         down to DL_DST_REQUIRED and _dl_dst_substitute.
75607         (decompose_rpath): Call expand_dynamic_string_token with
75608         non-zero is_path.  Ignore empty rpaths.
75609         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75610         with zero is_path.
75611
75612 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75613
75614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75615         Make cancelable.
75616
75617 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75618
75619         [BZ #12655]
75620         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75621         Patch by Filipe David Manana <fdmanana@apache.org>.
75622
75623 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75624
75625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75626         Maintain aligned stack.
75627         (CHECK_RSP): Remove unused macro.
75628
75629 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75630
75631         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75632         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75633
75634 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75635
75636         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75637
75638         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75639
75640 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75641
75642         [BZ #12518]
75643         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75644         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75645         * sysdeps/x86_64/memmove.c: New file.
75646         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75647         (memcpy): Renamed to ...
75648         (__new_memcpy): This.
75649         (memcpy): Provide GLIBC_2_14 memcpy.
75650         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75651         (memcpy): Provide GLIBC_2_2_5 memcpy.
75652
75653 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75654
75655         [BZ #12631]
75656         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75657
75658 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75659
75660         * misc/syncfs.c: New file.
75661         * misc/Makefile (routines): Add syncfs.
75662         * posix/unistd.h: Declare syncfs.
75663         * sysdeps/unix/syscalls.list: Add syncfs.
75664
75665 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75666
75667         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75668         open_by_handle_at.
75669         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75670         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75671         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75672         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75674         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75675         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75676
75677 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75678
75679         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75680         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75681         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75683         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75685         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75686
75687         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75688         sync_file_range.c with -fexceptions.
75689         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75690         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75691         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75692         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75693         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75694         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75696         sync_file_range as cancellation point
75697         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75698         now a wrapper around __call_sync_file_range with cancellation handling.
75699         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75700         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75701         function name to __call_sync_file_range.
75702         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75703         Add call_sync_file_range.
75704
75705 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75706
75707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75708         bits/timex.h.
75709
75710 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75711
75712         * iconv/iconv.h: Fix typo in comment.
75713         * io/fcntl.h: Likewise.
75714         * libio/stdio.h: Likewise.
75715         * posix/spawn.h: Likewise.
75716         * posix/unistd.h: Likewise.
75717         * stdlib/stdlib.h: Likewise.
75718         * time/time.h: Likewise.
75719         * wcsmbs/wchar.h: Likewise.
75720
75721         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75722         open_by_handle): Add.
75723         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75724         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75725         Augment a few comments.
75726         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75728         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75731         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75732         open_by_handle.
75733
75734         * io/fcntl.h (AT_EMPTY_PATH): Define.
75735
75736 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75737
75738         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75739         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75740         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75741         to...
75742         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75743         * Versions.def: Add GLIBC_2.14.
75744         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75745         Export.
75746
75747 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75748
75749         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75750         round counter.
75751         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75752
75753 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75754
75755         [BZ #12597]
75756         * string/test-strncmp.c (do_page_test): New function.
75757         (check2): Likewise.
75758         (test_main): Call check2.
75759         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75760
75761 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75762
75763         [BZ #12587]
75764         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75765         Handle cache information in CPU leaf 4.
75766         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75767
75768 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75769
75770         [BZ #12583]
75771         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75772         character representation.
75773         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75774
75775 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75776
75777         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75778         END(__isnan) to END(__isnanf) to match function entry point/label
75779         EALIGN(__isnanf,...).
75780
75781 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75782
75783         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75784
75785 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75786
75787         [BZ #12510]
75788         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75789         copy from the symbol referenced in the relocation to initialize the
75790         used variable.
75791         Patch by Piotr Bury <pbury@goahead.com>.
75792         * elf/Makefile: Add rules to build and tst-unique3.
75793         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75794         * elf/tst-unique3.cc: New file.
75795         * elf/tst-unique3.h: New file.
75796         * elf/tst-unique3lib.cc: New file.
75797         * elf/tst-unique3lib2.cc: New file.
75798
75799         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75800
75801 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75802
75803         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75804         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75805         to _start.
75806
75807 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75808
75809         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75810         to-be-loaded object along a path to loader is ld.so.
75811
75812 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75813             Ulrich Drepper  <drepper@gmail.com>
75814
75815         * sysdeps/x86_64/memset.S: After aligning destination, code
75816         branches to different locations depending on the value of
75817         misalignment, when multiarch is enabled. Fix this.
75818
75819 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75820
75821         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75822         Set _x86_64_preferred_memory_instruction for AMD processsors.
75823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75824         Set bit_Prefer_SSE_for_memop for AMD processors.
75825
75826 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75827
75828         * libio/fmemopen.c (fmemopen): Optimize a bit.
75829
75830 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75831
75832         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75833
75834 2011-03-03  Roland McGrath  <roland@redhat.com>
75835
75836         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75837
75838 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75839
75840         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75841         __bzero_ultra1 instead of __memset_ultra1.
75842
75843 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75844             Ulrich Drepper  <drepper@gmail.com>
75845
75846         [BZ #12509]
75847         * include/link.h (struct link_map): Add l_orig_initfini.
75848         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75849         returning unsuccessfully.
75850         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75851         close of a file loaded at startup, restore the original l_initfini
75852         list.
75853         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75854         list, store the pointer.
75855         * elf/Makefile ($(objpfx)noload-mem): New rule.
75856         (noload-ENV): Define.
75857         (tests): Add $(objpfx)noload-mem.
75858         * elf/noload.c: Include <memcheck.h>.
75859         (main): Call mtrace.  Close all opened handles.
75860
75861 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75862
75863         [BZ #12454]
75864         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75865         dependencies are missing.
75866
75867 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75868
75869         Fix __if_freereq crash: Unlike the generic version which uses free,
75870         Hurd needs munmap.
75871         * sysdeps/mach/hurd/ifreq.h: New file.
75872
75873 2011-01-27  Petr Baudis  <pasky@suse.cz>
75874             Ulrich Drepper  <drepper@gmail.com>
75875
75876         [BZ 12445]#
75877         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75878         to extend_alloca().
75879         * stdio-common/bug23.c: New file.
75880         * stdio-common/Makefile (tests): Add bug23.
75881
75882 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75883             Ulrich Drepper  <drepper@gmail.com>
75884
75885         [BZ #12489]
75886         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75887         before performing relro protection.  At old place add assertion
75888         to make sure nothing changed.
75889
75890 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75891             Glauber de Oliveira Costa  <glommer@gmail.com>
75892
75893         * elf/elf.h: Add new ARM TLS relocs.
75894
75895 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75896
75897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75898         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75899         cast from r3.
75900         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75901         'tests' variable.
75902         * sysdeps/wordsize-64/tst-writev.c: New file.
75903
75904 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75905
75906         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75907         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75908         insns in _dl_start to prevent a TOC reference before relocs are
75909         resolved.
75910
75911 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75912
75913         [BZ #12469]
75914         * Makeconfig: Remove RANLIB definition.
75915         * Makerules: Don't use RANLIB.
75916         * aclocal.m4: Remove ranlib test.
75917         * configure.in: No need to check for ranlib.
75918         * elf/rtld-Rules: Don't use RANLIB.
75919
75920 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75921
75922         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75923         protection macro.
75924         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75925         inclusion protection macro.
75926
75927         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75928         SIGRTMIN and SIGRTMAX and print information in that case only when
75929         SIGRTMIN is defined.
75930
75931 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75932
75933         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75934         arginfo fn returning -1.
75935
75936         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75937         and thousands string is zero terminated.
75938
75939 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75940
75941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75942         sysdeps/unix/sysv/linux/bits/socket.h.
75943
75944 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75945
75946         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75947         (__CPU_COUNT): Remove old macros.
75948         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75949         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75950         (__CPU_ALLOC, __CPU_FREE): Add macros.
75951         (__sched_cpualloc, __sched_cpufree): Add declarations.
75952
75953 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75954
75955         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75956         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75957         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75958         (readdhstai): Return value of addhstaiX call.
75959         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75960         (addgrbyX): Return value returned by cache_addgr.
75961         (readdgrbyname): Return value returned by addgrbyX.
75962         (readdgrbygid): Likewise.
75963         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75964         (addpwbyX): Return value returned by cache_addpw.
75965         (readdpwbyname): Return value returned by addhstbyX.
75966         (readdpwbyuid): Likewise.
75967         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75968         (addservbyX): Return value returned by cache_addserv.
75969         (readdservbyname): Return value returned by addservbyX:
75970         (readdservbyport): Likewise.
75971         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75972         (addhstbyX): Return value returned by cache_addhst.
75973         (readdhstbyname): Return value returned by addhstbyX.
75974         (readdhstbyaddr): Likewise.
75975         (readdhstbynamev6): Likewise.
75976         (readdhstbyaddrv6): Likewise.
75977         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75978         (readdinitgroups): Return value returned by addinitgroupsX.
75979         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75980         (prune_cache): Keep track of timeout value of re-added entries.
75981         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75982         * nscd/nscd.h: Adjust prototypes of readd* functions.
75983
75984 2011-02-04  Roland McGrath  <roland@redhat.com>
75985
75986         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75987         (nis_stats): Likewise.
75988         * nis/nis_modify.c (nis_modify): Likewise.
75989         * nis/nis_remove.c (nis_remove): Likewise.
75990         * nis/nis_add.c (nis_add): Likewise.
75991
75992         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75993
75994         * posix/fnmatch_loop.c: Add some consts.
75995
75996         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75997
75998 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75999
76000         [BZ #12460]
76001         * config.make.in (config-cflags-novzeroupper): Define.
76002         * configure.in: Substitute libc_cv_cc_novzeroupper.
76003         * elf/Makefile (AVX-CFLAGS): Define.
76004         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76005         (CFLAGS-tst-auditmod4a.c): Likewise.
76006         (CFLAGS-tst-auditmod4b.c): Likewise.
76007         (CFLAGS-tst-auditmod6b.c): Likewise.
76008         (CFLAGS-tst-auditmod6c.c): Likewise.
76009         (CFLAGS-tst-auditmod7b.c): Likewise.
76010         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76011
76012 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76013
76014         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76015         function to the callback.
76016         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76017
76018 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76019
76020         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76021         of errno.
76022
76023 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76024
76025         [BZ #11724]
76026         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76027         of constructors.
76028         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76029         of destructors.
76030         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76031
76032         [BZ #11724]
76033         * elf/Makefile: Add rules to build and run new test.
76034         * elf/tst-initorder.c: New file.
76035         * elf/tst-initorder.exp: New file.
76036         * elf/tst-initordera1.c: New file.
76037         * elf/tst-initordera2.c: New file.
76038         * elf/tst-initordera3.c: New file.
76039         * elf/tst-initordera4.c: New file.
76040         * elf/tst-initorderb1.c: New file.
76041         * elf/tst-initorderb2.c: New file.
76042         * elf/tst-order-a1.c: New file.
76043         * elf/tst-order-a2.c: New file.
76044         * elf/tst-order-a3.c: New file.
76045         * elf/tst-order-a4.c: New file.
76046         * elf/tst-order-b1.c: New file.
76047         * elf/tst-order-b2.c: New file.
76048         * elf/tst-order-main.c: New file.
76049         New test case by George Gensure <werkt0@gmail.com>.
76050
76051 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76052
76053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76054         decoding ACE if AI_CANONIDN.
76055
76056 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76057
76058         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76059
76060 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76061
76062         * version.h (RELEASE): Bump for 2.13 release.
76063         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76064
76065         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76066
76067         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76068         MADV_NOHUGEPAGE.
76069         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76070         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76071         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76072         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76073         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76074         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76075
76076         * posix/getconf.c: Update copyright year.
76077         * catgets/gencat.c: Likewise.
76078         * csu/version.c: Likewise.
76079         * debug/catchsegv.sh: Likewise.
76080         * debug/xtrace.sh: Likewise.
76081         * elf/ldconfig.c: Likewise.
76082         * elf/ldd.bash.in: Likewise.
76083         * elf/sprof.c (print_version): Likewise.
76084         * iconv/iconv_prog.c: Likewise.
76085         * iconv/iconvconfig.c: Likewise.
76086         * locale/programs/locale.c: Likewise.
76087         * locale/programs/localedef.c: Likewise.
76088         * malloc/memusage.sh: Likewise.
76089         * malloc/mtrace.pl: Likewise.
76090         * nscd/nscd.c (print_version): Likewise.
76091         * nss/getent.c: Likewise.
76092
76093         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76094         PF_CAIF, and PF_ALG.
76095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76096
76097 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76098
76099         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76100         (modules-names): Use them.
76101         (ifunc-test-modules, ifunc-pie-tests): Define.
76102         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76103         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76104         (test-extras): Likewise.
76105         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76106         $(compile-command.c).
76107         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76108         (all-built-dso): Define.
76109         (check-textrel.out, check-execstack.out): Depend on it.
76110
76111         * configure.in: Don't override --enable-multi-arch.
76112
76113 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76114
76115         [BZ #6812]
76116         * nscd/hstcache.c (tryagain): Define.
76117         (cache_addhst): Return tryagain not notfound for temporary errors.
76118         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76119         failed.
76120
76121 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76122
76123         [BZ #10563]
76124         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76125         to make the syscall.
76126         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76127
76128         [BZ #12378]
76129         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76130         and fall back to matching as normal character if the string ends before
76131         the matching ']' is found.  This is what POSIX requires.
76132         * posix/testfnm.c: Adjust test result.
76133         * posix/globtest.sh: Adjust test result.  Add new test.
76134         * posix/tst-fnmatch.input: Likewise.
76135         * posix/tst-fnmatch2.c: Add new test.
76136
76137 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76138
76139         * elf/Makefile (check-execstack): Revert last change.  Depend on
76140         check-execstack.h.
76141         (check-execstack.h): New target.
76142         (generated): Add check-execstack.h.
76143         * elf/check-execstack.c: Include "check-execstack.h".
76144         (main): Revert last change.
76145         (handle_file): Return zero if GNU_STACK is absent and
76146         DEFAULT_STACK_PERMS doesn't include PF_X.
76147
76148 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76149
76150         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76151         in child fails because the descriptor is already closed.
76152         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76153         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76154         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76155
76156         [BZ #12397]
76157         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76158         syscall.
76159
76160         [BZ #10484]
76161         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76162         temporary buffer used to handle multi lookups locally.
76163         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76164
76165 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76166
76167         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76168         loader is ld.so.
76169
76170 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76171
76172         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76173         alignment for SSE2.
76174
76175 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76176
76177         [BZ #12394]
76178         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76179         characters.  When rounding increased number of integer digits recompute
76180         number of groups.
76181         * stdio-common/tst-grouping.c: New file.
76182         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76183
76184 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76185
76186         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76187         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76188
76189         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76190         void.
76191         * bits/select.h: Likewise.
76192
76193 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76194
76195         * po/ja.po: Update from translation team.
76196
76197 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76198
76199         [BZ #11155]
76200         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76201         implementation just like for lxstat, fxstatat, et al.
76202
76203 2010-12-27  Jim Meyering  <meyering@redhat.com>
76204
76205         [BZ #12348]
76206         * posix/regexec.c (build_trtable): Return failure indication upon
76207         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76208
76209 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76210
76211         [BZ #12201]
76212         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76213         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76214         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76215         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76216
76217         [BZ #12207]
76218         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76219
76220         [BZ #12204]
76221         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76222         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76223
76224 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76225
76226         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76227         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76228         script has SORT_BY_INIT_PRIORITY.
76229         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76230         NO_CTORS_DTORS_SECTIONS is defined.
76231         * elf/soinit.c: Likewise.
76232         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76233         NO_CTORS_DTORS_SECTIONS is defined.
76234         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76235         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76236         * sysdeps/sh/init-first.c: Likewise.
76237         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76238
76239 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76240
76241         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76242         always use the slow path.
76243
76244 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76245
76246         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76247         similar rule which adds the sysdep directories to the header search in
76248         order to pick up the correct platform stackinfo.h.
76249         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76250         perform test if it is, otherwise return successfully without testing.
76251         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76252         DEFAULT_STACK_PERMS define in stackinfo.h.
76253         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76254         defined in stackinfo.h.
76255         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76256         DEFAULT_STACK_PERMS defined in stackinfo.h.
76257         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76258         * sysdeps/ia64/stackinfo.h: Likewise.
76259         * sysdeps/s390/stackinfo.h: Likewise.
76260         * sysdeps/sh/stackinfo.h: Likewise.
76261         * sysdeps/sparc/stackinfo.h: Likewise.
76262         * sysdeps/x86_64/stackinfo.h: Likewise.
76263         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76264         PF_X for powerpc64.  Retain PF_X for powerpc32.
76265
76266 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76267
76268         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76269         accurately.
76270         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76271         GETDENTS_64BIT_ALIGNED.
76272
76273 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76274
76275         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76276
76277 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76278
76279         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76280         _GNU_SOURCE.
76281
76282         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76283         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76284         Remove __restrict.
76285         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76286         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76287
76288 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76289
76290         [BZ #11655]
76291         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76292         are initialized.
76293
76294 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76295
76296         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76297
76298 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76299
76300         * po/it.po: Update from translation team.
76301
76302 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76303
76304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76305         unused codes.
76306
76307 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76308
76309         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76310
76311 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76312
76313         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76314         specially.
76315         (gaih_getanswer_slice): Likewise.
76316
76317 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76318
76319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76320
76321 2010-05-31  Petr Baudis  <pasky@suse.cz>
76322
76323         [BZ #11149]
76324         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76325         silently even in the chroot mode.
76326
76327 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76328
76329         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76330         last patch a bit.  Pretty printing
76331
76332 2010-05-31  Petr Baudis <pasky@suse.cz>
76333
76334         [BZ #10085]
76335         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76336         initialization of skip_initgroups_dyn.
76337
76338 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76339
76340         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76341         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76342
76343 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76344
76345         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76346
76347 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76348
76349         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76350         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76351         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76352         ($(objpfx)tst-fnmatch-mem): New rule.
76353         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76354         * posix/tst-fnmatch.c (main): Call mtrace.
76355
76356 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76357
76358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76359         Support Intel processor model 6 and model 0x2c.
76360
76361 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76362
76363         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76364           signed comparison.
76365
76366 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76367
76368         [BZ #12205]
76369         * string/test-strncasecmp.c (check_result): New function.
76370         (do_one_test): Use it.
76371         (check1): New function.
76372         (test_main): Use it.
76373         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76374         Support strcasecmp and strncasecmp.
76375
76376 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76377
76378         [BZ #12194]
76379         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76380         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76381
76382 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76383
76384         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76385         IFUNC support.
76386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76387         memset-x86-64.
76388         * sysdeps/x86_64/multiarch/bzero.S: New file.
76389         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76390         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76391         * sysdeps/x86_64/multiarch/memset.S: New file.
76392         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76394         Set bit_Prefer_SSE_for_memop for Intel processors.
76395         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76396         Define.
76397         (index_Prefer_SSE_for_memop): Define.
76398         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76399
76400 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76401
76402         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76403         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76404
76405 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76406
76407         [BZ #12191]
76408         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76409         (__x86_64_raw_data_cache_size_half): Likewise.
76410         (__x86_64_raw_shared_cache_size): Likewise.
76411         (__x86_64_raw_shared_cache_size_half): Likewise.
76412
76413         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76414         (__x86_64_raw_data_cache_size_half): Likewise.
76415         (__x86_64_raw_shared_cache_size): Likewise.
76416         (__x86_64_raw_shared_cache_size_half): Likewise.
76417         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76418         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76419         and __x86_64_raw_shared_cache_size_half.  Round
76420         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76421         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76422         to multiple of 256 bytes.
76423
76424 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76425
76426         [BZ #12167]
76427         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76428         of inacessible symlinks.  Verify result of symlink before returning it.
76429         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76430         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76431
76432 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76433
76434         * math/math.h (isinf): Fix typo in comment.
76435
76436 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76437
76438         * po/da.po: Update from translation team.
76439
76440 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76441
76442         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76443         is added to the list.
76444
76445 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76446             Ulrich Drepper  <drepper@gmail.com>
76447
76448         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76449         the global list here.  Move code to...
76450         (_dl_add_to_namespace_list): ...here.  New function.
76451         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76452         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76453         * elf/dl-load.c (lose): Don't remove the element from the list.
76454         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76455         (_dl_map_object): Likewise.
76456
76457 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76458
76459         [BZ #12159]
76460         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76461         into all bytes of SSE register.
76462         Patch by Richard Li <richardpku@gmail.com>.
76463
76464 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76465
76466         [BZ #12140]
76467         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76468         perturbing.
76469
76470 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76471
76472         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76473         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76474         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76475         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76477         submachine.
76478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76479
76480 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76481
76482         * include/dlfcn.h (__RTLD_SECURE): Define.
76483         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76484         mode & __RTLD_SECURE instead.
76485         (open_path): Rename preloaded parameter to secure.
76486         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76487         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76488         * elf/dl-deps.c (openaux): Likewise.
76489         * elf/rtld.c (struct map_args): Remove is_preloaded.
76490         (map_doit): Don't use it.
76491         (dl_main): Likewise.
76492         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76493         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76494
76495 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76496
76497         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76498         (sysd-rules-targets): Remove duplicates.
76499         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76500         rtld-%.$o dependency.
76501
76502 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76503
76504         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76505         _dl_map_object do it.
76506
76507 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76508
76509         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76510         fast fma builtins, define the macros in the C99 standard.
76511         (FP_FAST_FMAF): Likewise.
76512         (FP_FAST_FMAL): Likewise.
76513         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76514
76515         * bits/mathdef.h: Update copyright year.
76516         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76517
76518 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76519
76520         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76521         builtins, define the macros in the C99 standard.
76522         (FP_FAST_FMAF): Likewise.
76523         (FP_FAST_FMAL): Likewise.
76524         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76525         multiply/add.
76526         (FP_FAST_FMAF): Likewise.
76527
76528 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76529
76530         [BZ #3268]
76531         * math/libm-test.inc (fma_test): Some new testcases.
76532         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76533         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76534         y and infinite z.  Do multiplication by C already in long double.
76535         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76537         y and infinite z.  Do bitwise or of inexact bit into u.d.
76538         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76539         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76540         * sysdeps/i386/fpu/s_fma.S: Removed.
76541         * sysdeps/i386/fpu/s_fmal.S: Removed.
76542
76543 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76544
76545         [BZ #3268]
76546         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76548         computation is not scheduled after fetestexcept.  Fix value
76549         of minimum denormal long double.
76550
76551 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76552
76553         [BZ #3268]
76554         * math/libm-test.inc (fma_test): Add some more tests.
76555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76556         correctly.
76557
76558 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76559
76560         * scripts/data/localplt-s390-linux-gnu.data: New file.
76561         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76562
76563 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76564
76565         [BZ #3268]
76566         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76567         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76568         instead of dbl-64.
76569         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76570         inlines.
76571         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76573         if one of x and y is very large and the other is subnormal.
76574         * sysdeps/s390/fpu/s_fmaf.c: New file.
76575         * sysdeps/s390/fpu/s_fma.c: New file.
76576         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76577         * sysdeps/powerpc/fpu/s_fma.S: New file.
76578         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76579         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76580         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76581
76582 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76583
76584         [BZ #3268]
76585         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76586         fma tests.
76587         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76588         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76589         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76590         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76591         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76592         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76593         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76594
76595 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76596
76597         [BZ #12078]
76598         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76599         * posix/bug-regex31.input: Add test case.
76600
76601 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76602
76603         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76604         * posix/bug-regex31.input: New file.
76605
76606         [BZ #12078]
76607         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76608         (parse_sub_exp): Fix last change, use postorder.
76609
76610         * posix/bug-regex31.c: New file.
76611         * posix/Makefile: Add rules to build and run bug-regex31.
76612
76613         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76614
76615         [BZ #12078]
76616         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76617
76618         [BZ #12108]
76619         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76620         to have entries in sys_siglist.
76621
76622         [BZ #12093]
76623         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76624         be NULL.
76625
76626 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76627
76628         [BZ #3268]
76629         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76630         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76631         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76632         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76633         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76634         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76635         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76636         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76637         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76638         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76639         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76640         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76641         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76642         * math/ftestexcept.c (fetestexcept): Likewise.
76643         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76644         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76645         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76646         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76647         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76648         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76649         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76650
76651 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76652
76653         [BZ #12107]
76654         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76655         newline.
76656
76657 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76658
76659         * string/bug-strstr1.c: New file.
76660         * string/Makefile: Add rules to build and run bug-strstr1.
76661
76662 2010-10-05  Eric Blake  <eblake@redhat.com>
76663
76664         [BZ #12092]
76665         * string/str-two-way.h (two_way_long_needle): Always clear memory
76666         when skipping input due to the shift table.
76667
76668 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76669
76670         [BZ #12005]
76671         * malloc/mcheck.c: Handle large requests.
76672
76673         [BZ #12077]
76674         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76675         for strncmp and strncasecmp.
76676         * string/stratcliff.c: Add tests for strcmp and strncmp.
76677         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76678
76679 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76680
76681         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76682         __set_fpscr.
76683
76684 2010-09-30  Andreas Jaeger  <aj@suse.de>
76685
76686         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76687         (CGROUP_SUPER_MAGIC): Define.
76688         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76689         Handle btrfs and cgroup file systems.
76690         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76691         Likewise.
76692
76693 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76694
76695         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76696         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76697
76698 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76699
76700         [BZ #12067]
76701         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76702         trying to locate the ELF header.
76703
76704 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76705
76706         [BZ #11611]
76707         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76708         Mask out sign-bit copies when constructing f_fsid.
76709
76710 2010-09-24  Petr Baudis <pasky@suse.cz>
76711
76712         * debug/stack_chk_fail_local.c: Add missing licence exception.
76713         * debug/warning-nop.c: Likewise.
76714
76715 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76716
76717         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76718         implementing getdents64 using getdents syscall, set d_type if
76719         __ASSUME_GETDENTS32_D_TYPE.
76720
76721 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76722
76723         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76724         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76725
76726 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76727
76728         [BZ #12037]
76729         * posix/unistd.h: Undo change of feature selection for ftruncate from
76730         2010-01-11.
76731
76732 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76733
76734         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76735         detection.
76736
76737 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76738
76739         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76740         fanotify_mark.
76741         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76742
76743 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76744
76745         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76746         variables after CHECK_SP call.
76747         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76748
76749 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76750             Ulrich Drepper  <drepper@redhat.com>
76751
76752         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76753         re-relocationg ld.so.
76754         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76755         _dl_init_paths call.
76756         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76757         here anymore.
76758
76759 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76760
76761         * resolv/res_init.c (__res_vinit): Count the default server we added.
76762
76763 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76764             Ulrich Drepper  <drepper@redhat.com>
76765
76766         [BZ #11968]
76767         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76768         (____longjmp_chk): Use %ebx for saving value across system call.
76769         Add unwind info.
76770
76771 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76772
76773         * manual/Makefile: Don't mix pattern rules with normal rules.
76774
76775 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76776
76777         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76778         operation.
76779         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76780         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76781         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76782         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76783         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76784         Likewise.
76785
76786 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76787
76788         [BZ #11979]
76789         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76790         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76791
76792 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76793
76794         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76795         * sysdeps/x86_64/addmul_1.S: Likewise.
76796         * sysdeps/x86_64/lshift.S: Likewise.
76797         * sysdeps/x86_64/mul_1.S: Likewise.
76798         * sysdeps/x86_64/rshift.S: Likewise.
76799         * sysdeps/x86_64/sub_n.S: Likewise.
76800         * sysdeps/x86_64/submul_1.S: Likewise.
76801
76802 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76803
76804         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76805         Define __sched_param instead of SCHED_* and sched_param when
76806         <bits/sched.h> is included with __need_schedparam defined.
76807         * bits/sched.h [__need_schedparam]
76808         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76809         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76810         (__defined_schedparam): Define to 1.
76811         (__sched_param): New structure, identical to sched_param.
76812         (__need_schedparam): Undefine.
76813
76814 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76815
76816         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76817         (epoll_create1): Declare.
76818
76819         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76820
76821 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76822
76823         [BZ #7066]
76824         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76825         shifting retval into place.
76826
76827 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76828
76829         * nis/rpcsvc/nis.h: Update copyright notice.
76830         * nis/rpcsvc/nis.x: Likewise.
76831         * nis/rpcsvc/nis_callback.h: Likewise.
76832         * nis/rpcsvc/nis_callback.x: Likewise.
76833         * nis/rpcsvc/nis_object.x: Likewise.
76834         * nis/rpcsvc/nis_tags.h: Likewise.
76835         * nis/rpcsvc/yp.h: Likewise.
76836         * nis/rpcsvc/yp.x: Likewise.
76837         * nis/rpcsvc/ypupd.h: Likewise.
76838         * nis/yp_xdr.c: Likewise.
76839         * nis/ypupdate_xdr.c: Likewise.
76840
76841         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76842         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76843         (pmap_getport): Use __libc_rpc_getport.
76844         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76845         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76846         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76847
76848 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76849
76850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76851         fanotify_mark.
76852
76853 2010-08-27  Roland McGrath  <roland@redhat.com>
76854
76855         * sysdeps/i386/i686/multiarch/Makefile
76856         (CFLAGS-varshift.c): New variable.
76857
76858 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76859
76860         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76861         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76862
76863         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76864
76865         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76866
76867 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76868
76869         * sysdeps/x86_64/strlen.S: Unroll the loop.
76870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76871         strlen-sse2 strlen-sse2-bsf.
76872         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76873         __strlen_no_bsf if bit_Slow_BSF is set.
76874         (__strlen_sse42): Removed.
76875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76876         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76877
76878 2010-08-25  Roland McGrath  <roland@redhat.com>
76879
76880         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76881         * sysdeps/x86_64/multiarch/varshift.c: New file.
76882         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76883         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76884         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76885         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76886
76887 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76888
76889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76890         strlen-sse2 strlen-sse2-bsf.
76891         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76892         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76893         (__strlen_sse2): Removed.
76894         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76895         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76897         bit_Slow_BSF for Atom.
76898         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76899         (index_Slow_BSF): Define.
76900         (HAS_SLOW_BSF): Define.
76901
76902 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76903
76904         [BZ #10851]
76905         * resolv/res_init.c (__res_vinit): When no server address at all
76906         is given default to loopback.
76907
76908 2010-08-24  Roland McGrath  <roland@redhat.com>
76909
76910         * configure.in: Remove config-name.h generation.
76911         * configure: Regenerated.
76912         * config-name.in: File removed.
76913         * scripts/config-uname.sh: New file.
76914         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76915         ($(objdir)config-name.h): New target.
76916
76917         * sunrpc/rpc_parse.h: Avoid nested comment.
76918
76919 2010-08-24  Richard Henderson  <rth@redhat.com>
76920             Ulrich Drepper  <drepper@redhat.com>
76921             H.J. Lu  <hongjiu.lu@intel.com>
76922
76923         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76925         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76926         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76927         _mm_alignr_epi8 with _mm_loadu_si128.
76928         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76929         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76930         (__m128i_shift_right): Removed.
76931         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76932         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76933         * sysdeps/x86_64/multiarch/varshift.h: New file.
76934         * sysdeps/x86_64/multiarch/varshift.S: New file.
76935
76936 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76937
76938         * configure.in: Move assembler checks to before sysdep dir checking.
76939
76940 2010-08-20  Petr Baudis  <pasky@suse.cz>
76941
76942         * LICENSES: Sync the sunrpc license.
76943
76944 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76945
76946         * sunrpc/auth_des.c: Update copyright notice once again.
76947         * sunrpc/auth_none.c: Likewise.
76948         * sunrpc/auth_unix.c: Likewise.
76949         * sunrpc/authdes_prot.c: Likewise.
76950         * sunrpc/authuxprot.c: Likewise.
76951         * sunrpc/bindrsvprt.c: Likewise.
76952         * sunrpc/clnt_gen.c: Likewise.
76953         * sunrpc/clnt_perr.c: Likewise.
76954         * sunrpc/clnt_raw.c: Likewise.
76955         * sunrpc/clnt_simp.c: Likewise.
76956         * sunrpc/clnt_tcp.c: Likewise.
76957         * sunrpc/clnt_udp.c: Likewise.
76958         * sunrpc/clnt_unix.c: Likewise.
76959         * sunrpc/des_crypt.c: Likewise.
76960         * sunrpc/des_soft.c: Likewise.
76961         * sunrpc/get_myaddr.c: Likewise.
76962         * sunrpc/getrpcport.c: Likewise.
76963         * sunrpc/key_call.c: Likewise.
76964         * sunrpc/key_prot.c: Likewise.
76965         * sunrpc/openchild.c: Likewise.
76966         * sunrpc/pm_getmaps.c: Likewise.
76967         * sunrpc/pm_getport.c: Likewise.
76968         * sunrpc/pmap_clnt.c: Likewise.
76969         * sunrpc/pmap_prot.c: Likewise.
76970         * sunrpc/pmap_prot2.c: Likewise.
76971         * sunrpc/pmap_rmt.c: Likewise.
76972         * sunrpc/rpc/auth.h: Likewise.
76973         * sunrpc/rpc/auth_unix.h: Likewise.
76974         * sunrpc/rpc/clnt.h: Likewise.
76975         * sunrpc/rpc/des_crypt.h: Likewise.
76976         * sunrpc/rpc/key_prot.h: Likewise.
76977         * sunrpc/rpc/netdb.h: Likewise.
76978         * sunrpc/rpc/pmap_clnt.h: Likewise.
76979         * sunrpc/rpc/pmap_prot.h: Likewise.
76980         * sunrpc/rpc/pmap_rmt.h: Likewise.
76981         * sunrpc/rpc/rpc.h: Likewise.
76982         * sunrpc/rpc/rpc_des.h: Likewise.
76983         * sunrpc/rpc/rpc_msg.h: Likewise.
76984         * sunrpc/rpc/svc.h: Likewise.
76985         * sunrpc/rpc/svc_auth.h: Likewise.
76986         * sunrpc/rpc/types.h: Likewise.
76987         * sunrpc/rpc/xdr.h: Likewise.
76988         * sunrpc/rpc_clntout.c: Likewise.
76989         * sunrpc/rpc_cmsg.c: Likewise.
76990         * sunrpc/rpc_common.c: Likewise.
76991         * sunrpc/rpc_cout.c: Likewise.
76992         * sunrpc/rpc_dtable.c: Likewise.
76993         * sunrpc/rpc_hout.c: Likewise.
76994         * sunrpc/rpc_main.c: Likewise.
76995         * sunrpc/rpc_parse.c: Likewise.
76996         * sunrpc/rpc_parse.h: Likewise.
76997         * sunrpc/rpc_prot.c: Likewise.
76998         * sunrpc/rpc_sample.c: Likewise.
76999         * sunrpc/rpc_scan.c: Likewise.
77000         * sunrpc/rpc_scan.h: Likewise.
77001         * sunrpc/rpc_svcout.c: Likewise.
77002         * sunrpc/rpc_tblout.c: Likewise.
77003         * sunrpc/rpc_util.c: Likewise.
77004         * sunrpc/rpc_util.h: Likewise.
77005         * sunrpc/rpcinfo.c: Likewise.
77006         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77007         * sunrpc/rpcsvc/key_prot.x: Likewise.
77008         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77009         * sunrpc/rpcsvc/mount.x: Likewise.
77010         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77011         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77012         * sunrpc/rpcsvc/rex.x: Likewise.
77013         * sunrpc/rpcsvc/rstat.x: Likewise.
77014         * sunrpc/rpcsvc/rusers.x: Likewise.
77015         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77016         * sunrpc/rpcsvc/spray.x: Likewise.
77017         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77018         * sunrpc/rtime.c: Likewise.
77019         * sunrpc/svc.c: Likewise.
77020         * sunrpc/svc_auth.c: Likewise.
77021         * sunrpc/svc_authux.c: Likewise.
77022         * sunrpc/svc_raw.c: Likewise.
77023         * sunrpc/svc_run.c: Likewise.
77024         * sunrpc/svc_simple.c: Likewise.
77025         * sunrpc/svc_tcp.c: Likewise.
77026         * sunrpc/svc_udp.c: Likewise.
77027         * sunrpc/svc_unix.c: Likewise.
77028         * sunrpc/svcauth_des.c: Likewise.
77029         * sunrpc/xcrypt.c: Likewise.
77030         * sunrpc/xdr.c: Likewise.
77031         * sunrpc/xdr_array.c: Likewise.
77032         * sunrpc/xdr_float.c: Likewise.
77033         * sunrpc/xdr_mem.c: Likewise.
77034         * sunrpc/xdr_rec.c: Likewise.
77035         * sunrpc/xdr_ref.c: Likewise.
77036         * sunrpc/xdr_sizeof.c: Likewise.
77037         * sunrpc/xdr_stdio.c: Likewise.
77038
77039         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77040         handling.
77041
77042 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77043
77044         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77045
77046 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77047
77048         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77049         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77050         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77051         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77052         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77053         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77054         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77055         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77056         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77057         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77058         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77059         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77060         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77061         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77062
77063 2010-07-26  Anton Blanchard  <anton@samba.org>
77064
77065         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77066         * malloc/arena.c (heap_trim): Likewise.
77067
77068 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77069
77070         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77071         here.  Not...
77072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77073         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77074
77075 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77076
77077         * sysdeps/i386/elf/Makefile: New file.
77078
77079 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77080
77081         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77082         from fanotify_init.
77083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77085
77086 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77087
77088         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77089         of strncasecmp_l.
77090         * sysdeps/multiarch/strcmp.S: Likewise.
77091
77092 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77093
77094         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77095         strncase_l-nonascii.
77096         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77097         Add strncase_l-ssse3.
77098         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77099         * sysdeps/x86_64/strcmp.S: Likewise.
77100         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77101         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77102         * sysdeps/x86_64/strncase.S: New file.
77103         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77104         * sysdeps/x86_64/strncase_l.S: New file.
77105         * string/Makefile (strop-tests): Add strncasecmp.
77106         * string/test-strncasecmp.c: New file.
77107
77108         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77109         warning.
77110
77111         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77112         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77113
77114 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77115
77116         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77117
77118 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77119
77120         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77121         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77122         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77123
77124 2010-05-01  Alan Modra  <amodra@gmail.com>
77125
77126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77127         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77128         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77129         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77130         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77131         tidying.  Don't tail-call __sigjmp_save for static lib.
77132         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77133         save location.
77134         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77135         (CALL_MCOUNT): Add eh info, and nop after bl.
77136         (TAIL_CALL_SYSCALL_ERROR): New macro.
77137         (PSEUDO_RET): Use it.
77138         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77139         Correct save location of integer regs and cr.
77140         (_dl_profile_resolve): Correct cr save location.  Delete nops
77141         after bl when SHARED.  Reduce cfi size a little by better
77142         placement of cfi directives.
77143         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77144         make a stack frame.  Instead use parm save area as a temp.
77145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77146         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77148         Don't make a stack frame for parent, use parm save area.
77149         Increase child stack frame to 112 bytes.  Don't save unused reg,
77150         and adjust reg usage.  Set up cfi on error recovery and
77151         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77153         (__makecontext): Add dummy nop after jump to exit.
77154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77155         Use correct parm save area and cr save, reduce stack frame.
77156         Correct cfi for possible PSEUDO_RET frame setup.
77157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77158         Branch to local label emitted by PSEUDO_RET rather than
77159         __syscall_error.
77160
77161 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77162
77163         [BZ #11904]
77164         * locale/programs/locale.c (print_assignment): New function.
77165         (show_locale_vars): Use it.
77166
77167 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77168
77169         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77170         field.
77171         (struct statfs64): Likewise.
77172         (_STATFS_F_FLAGS): Define.
77173         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77174         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77175         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77176         (ST_VALID): Define locally.
77177         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77178         __statvfs_getflags, use the provided value.
77179         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77180         __ASSUME_STATFS_F_FLAGS.
77181
77182         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77183
77184         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77185         Add sys/fanotify.h.
77186         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77187         fanotify_mask for GLIBC_2.13.
77188         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77189         fanotify_init and fanotify_mark.
77190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77191         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77192
77193         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77194         Add prlimit.
77195         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77196         prlimit64 for GLIBC_2.13.
77197         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77198         prlimit64.
77199         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77200         syscall.
77201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77203         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77204         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77205         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77206         add prlimit alias.
77207         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77208
77209         [BZ #11903]
77210         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77211         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77212
77213         * nss/Makefile: Add rules to build and run tst-nss-test1.
77214         * shlib-versions: Add entry for libnss_test1.
77215         * nss/nss_test1.c: New file.
77216         * nss/tst-nss-test1.c: New file.
77217
77218         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77219         (__nss_configure_lookup): Set appropriate entry in
77220         __nss_configure_lookup to true.
77221         * nss/nsswitch.h: Define enum with indeces of databases in
77222         databases and __nss_database_custom arrays.  Declare
77223         __nss_database_custom.
77224         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77225         to avoid using nscd when custom rules are installed.
77226         * nss/getXXbyYY_r.c: Likewise.
77227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77228
77229         * nss/nss_files/files-parse.c: Whitespace fixes.
77230
77231 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77232
77233         [BZ #11883]
77234         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77235         * posix/fnmatch_loop.c: Likewise.
77236
77237 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77238
77239         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77240         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77241         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77242         * Versions.def [GLIBC_2.13]: Add.
77243
77244 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77245
77246         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77247         Also fail if tpwd after pwuid call is NULL.
77248
77249 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77250
77251         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77252         when converting to ms.
77253
77254 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77255
77256         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77257         EOPNOTSUPP errors with ENOTTY.
77258         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77259         EOPNOTSUPP errors with ENOTTY.
77260
77261 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77262
77263         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77264         Add strcasecmp_l-ssse3.
77265         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77266         strcasecmp.
77267         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77268         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77269         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77270
77271 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77272
77273         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77274
77275         * string/Makefile (strop-tests): Add strcasecmp.
77276         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77277         strcasecmp_l-nonascii.
77278         (gen-as-const-headers): Add locale-defines.sym.
77279         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77280         * sysdeps/x86_64/strcasecmp.S: New file.
77281         * sysdeps/x86_64/strcasecmp_l.S: New file.
77282         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77283         * sysdeps/x86_64/locale-defines.sym: New file.
77284         * string/test-strcasecmp.c: New file.
77285
77286         * string/test-strcasestr.c: Test both ends of the range of characters.
77287         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77288
77289 2010-07-29  Roland McGrath  <roland@redhat.com>
77290
77291         [BZ #11856]
77292         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77293
77294 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77295
77296         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77297         for ld.so.
77298
77299 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77300
77301         * manual/memory.texi (Malloc Tunable Parameters): Document
77302         M_PERTURB.
77303
77304 2010-07-26  Roland McGrath  <roland@redhat.com>
77305
77306         [BZ #11840]
77307         * configure.in (-fgnu89-inline check): Set and substitute
77308         gnu89_inline, not libc_cv_gnu89_inline.
77309         * configure: Regenerated.
77310         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77311
77312 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77313
77314         * string/test-strnlen.c: New file.
77315         * string/Makefile (strop-tests): Add strnlen.
77316         * string/tester.c (test_strnlen): Add a few more test cases.
77317         * string/tst-strlen.c: Better error reporting.
77318
77319         * sysdeps/x86_64/strnlen.S: New file.
77320
77321 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77322
77323         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77324         lower-latency instructions.
77325
77326 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77327
77328         * string/test-strcasestr.c: New file.
77329         * string/test-strstr.c: New file.
77330         * string/Makefile (strop-tests): Add strstr and strcasestr.
77331         * string/str-two-way.h: Don't undefine MAX.
77332         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77333
77334 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77335
77336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77337         strcasestr-nonascii.
77338         (CFLAGS-strcasestr-nonascii.c): Define.
77339         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77340         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77341         Remove unused attribute.
77342
77343 2010-07-20  Roland McGrath  <roland@redhat.com>
77344
77345         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77346         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77347         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77348         like LD_HWCAP_MASK can disable hwcaps.
77349
77350 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77351
77352         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77353
77354 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77355
77356         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77357         call in strcasestr.
77358         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77359         __strcasestr_sse42_nonascii.
77360         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77361         strcasestr-nonascii.c.
77362         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77363
77364 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77365
77366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77367         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77368         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77369         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77370
77371 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77372
77373         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77374         fcntl.
77375
77376 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77377
77378         [BZ #11577]
77379         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77380         dl_signal_cerror.
77381
77382 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77383
77384         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77385         _PC_PIPE_BUF using F_GETPIPE_SZ.
77386
77387 2010-07-05  Roland McGrath  <roland@redhat.com>
77388
77389         * manual/arith.texi (Rounding Functions): Fix rint description
77390         implicit in round description.
77391
77392 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77393
77394         * elf/Makefile: Fix linking for a few tests to make recent linker
77395         happy.
77396
77397 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77398
77399         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77400         $(common-objpfx)libc_nonshared.a.
77401
77402 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77403
77404         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77405         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77406         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77407         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77408         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77409         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77410         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77411         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77426         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77427         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77428         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77429         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77430         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77431         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77432         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77433         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77434         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77435         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77436         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77437         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77452
77453 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77454
77455         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77456         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77457         * string/memmove.c (memmove): Renamed to ...
77458         (MEMMOVE): ...this.  Default to memmove.
77459         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77460         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77461         (END_CHK): Define.
77462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77463         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77464         mempcpy-ssse3-back memmove-ssse3-back.
77465         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77468         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77469         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77470         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77471         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77472         * sysdeps/x86_64/multiarch/memmove.c: New file.
77473         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77474         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77475         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77476         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77477         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77478         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77479         Define.
77480         (index_Fast_Copy_Backward): Define.
77481         (HAS_ARCH_FEATURE): Define.
77482         (HAS_FAST_REP_STRING): Define.
77483         (HAS_FAST_COPY_BACKWARD): Define.
77484
77485 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77486
77487         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77488         Restore proper fallback handling.
77489
77490 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77491
77492         [BZ #11701]
77493         * posix/group_member.c (__group_member): Correct checking loop.
77494
77495         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77496         OOM in getpwuid_r correctly.  Return error number when the caller
77497         should return, otherwise -1.
77498         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77499         call returning > 0 value.
77500         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77501
77502 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77503
77504         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77505         libc_nonshared.a from targets in modules-names.
77506
77507 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77508
77509         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77510         requires it.
77511
77512 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77513
77514         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77515         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77517         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77518
77519 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77520
77521         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77522
77523 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77524
77525         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77526         and F_GETPIPE_SZ.
77527         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77528         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77531         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77532         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77533
77534 2010-06-14  Roland McGrath  <roland@redhat.com>
77535
77536         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77537
77538 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77539
77540         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77541         __REDIRECT followed by __THROW.
77542         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77543         * posix/getopt.h (getopt): Likewise.
77544
77545 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77546
77547         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77548         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77549         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77550         in AT_FLAGS.
77551         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77552         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77553
77554 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77555
77556         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77557
77558 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77559
77560         [BZ #11640]
77561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77562         Properly check family and model.
77563
77564 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77565
77566         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77567
77568 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77569
77570         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77571
77572 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77573
77574         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77575         symbol reference.
77576
77577 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77578
77579         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77580         symbol reference.
77581
77582 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77583
77584         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77585         and internal_recvmmsg.
77586         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77587         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77588         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77589         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77590
77591         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77592         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77593         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77594
77595 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77596
77597         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77598
77599 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77600
77601         POWER7 optimizations.
77602         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77603         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77604
77605 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77606
77607         * version.h: Update for 2.13 development version.
77608
77609 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77610
77611         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77612         exceptions.  Return 0.
77613
77614 2010-05-07  Roland McGrath  <roland@redhat.com>
77615
77616         * elf/ldconfig.c (main): Add a const.
77617
77618 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77619
77620         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77621         (args_options): Add no-idn option.
77622         (ahosts_keys_int): Add idn_flags to ai_flags.
77623         (parse_option): Handle 'i' option to clear idn_flags.
77624
77625         * malloc/malloc.c (_int_free): Possible race in the most recently
77626         added check.  Only act on the data if no current modification
77627         happened.
77628
77629 See ChangeLog.17 for earlier changes.